* @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\Component\Associations\Administrator\Helper\AssociationsHelper; /** @var Joomla\CMS\WebAsset\WebAssetManager $wa */ $wa = $this->document->getWebAssetManager(); $wa->useScript('com_associations.admin-associations-default') ->useScript('table.columns') ->useScript('multiselect'); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); $canManageCheckin = Factory::getUser()->authorise('core.manage', 'com_checkin'); $iconStates = array( -2 => 'icon-trash', 0 => 'icon-times', 1 => 'icon-check', 2 => 'icon-folder', ); Text::script('COM_ASSOCIATIONS_PURGE_CONFIRM_PROMPT', true); ?>
$this)); ?> state->get('itemtype') == '' || $this->state->get('language') == '') : ?>
items)) : ?>
typeSupports['state'])) : ?> typeFields['menutype'])) : ?> typeFields['access'])) : ?> items as $i => $item) : $canCheckin = true; $canEdit = AssociationsHelper::allowEdit($this->extensionName, $this->typeName, $item->id); $canCheckin = $canManageCheckin || AssociationsHelper::canCheckinItem($this->extensionName, $this->typeName, $item->id); $isCheckout = AssociationsHelper::isCheckoutItem($this->extensionName, $this->typeName, $item->id); ?> typeSupports['state'])) : ?> typeFields['menutype'])) : ?> typeFields['access'])) : ?>
, ,
level)) : ?> $item->level)); ?> editor, $item->checked_out_time, 'associations.', $canCheckin); ?> escape($item->title); ?> escape($item->title); ?> typeFields['alias'])) : ?>
escape($item->alias)); ?>
typeFields['catid'])) : ?>
escape($item->category_title); ?>
extensionName, $this->typeName, (int) $item->id, $item->language, !$isCheckout, false); ?> extensionName, $this->typeName, (int) $item->id, $item->language, !$isCheckout, true); ?> escape($item->menutype_title); ?> escape($item->access_level); ?> id; ?>
pagination->getListFooter(); ?>