* @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Factory; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Router\Route; use Joomla\CMS\Session\Session; if (Factory::getApplication()->isClient('site')) { Session::checkToken('get') or die(Text::_('JINVALID_TOKEN')); } /** @var Joomla\CMS\WebAsset\WebAssetManager $wa */ $wa = $this->document->getWebAssetManager(); $wa->useScript('com_fields.admin-fields-modal')->useScript('modal-content-select'); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); $editor = Factory::getApplication()->getInput()->get('editor', '', 'cmd'); ?>
$this]); ?> items)) : ?>
'icon-trash', 0 => 'icon-times', 1 => 'icon-check', 2 => 'icon-folder', ]; foreach ($this->items as $i => $item) : $attrs = 'data-content-select data-content-type="com_fields.field"' . ' data-id="' . ((int) $item->id) . '"' . ' data-title="' . $this->escape($item->title) . '"' . ' data-name="' . $this->escape($item->name) . '"' . ' data-group="' . ((int) $item->group_id) . '"'; $attrs1 = $attrs; $attrs1 .= ' data-html="{field ' . ((int) $item->id) . '}"'; $attrs2 = $attrs; $attrs2 .= ' data-html="{fieldgroup ' . ((int) $item->group_id) . '}"'; // @TODO: Remove onclick="" after full transition to postMessage() ?>
, ,
type; ?> escape($item->access_level); ?> id; ?>
pagination->getListFooter(); ?>