* @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; /** @var \Joomla\CMS\WebAsset\WebAssetManager $wa */ $wa = $this->document->getWebAssetManager(); $wa->useScript('table.columns') ->useScript('multiselect'); $user = Factory::getUser(); $clientId = (int) $this->state->get('client_id', 0); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); ?>
$this, 'options' => array('selectorFieldName' => 'client_id'))); ?> total > 0) : ?> items as $i => $item) : $canCreate = $user->authorise('core.create', 'com_templates'); $canEdit = $user->authorise('core.edit', 'com_templates'); $canChange = $user->authorise('core.edit.state', 'com_templates'); ?>
, ,
id, false, 'cid', 'cb', $item->title); ?> escape($item->title); ?> escape($item->title); ?> preview) : ?> client_id === 1 ? 'administrator' : 'site'; ?> home == '0' || $item->home == '1') : ?> home != '0', $i, 'styles.', $canChange && $item->home != '1'); ?> image) : ?> image . '.gif', $item->language_title, array('title' => Text::sprintf('COM_TEMPLATES_GRID_UNSET_LANGUAGE', $item->language_title)), true); ?> home; ?> image) : ?> image . '.gif', $item->language_title, array('title' => $item->language_title), true); ?> home; ?> home == '1') : ?> home != '0' && $item->home != '1') : ?> escape($item->language_title)); ?> assigned > 0) : ?> escape($item->assigned)); ?> escape($item->template)); ?> id; ?>
pagination->getListFooter(); ?>