* @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; $user = Factory::getUser(); $userId = $user->get('id'); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); Text::script('COM_FINDER_INDEX_CONFIRM_DELETE_PROMPT'); /** @var Joomla\CMS\WebAsset\WebAssetManager $wa */ $wa = $this->document->getWebAssetManager(); $wa->useScript('com_finder.filters') ->useScript('table.columns') ->useScript('multiselect'); ?>
$this)); ?> items)) : ?>
authorise('core.create', 'com_finder'); $canEdit = $user->authorise('core.edit', 'com_finder'); $userAuthoriseCoreManage = $user->authorise('core.manage', 'com_checkin'); $userAuthoriseCoreEditState = $user->authorise('core.edit.state', 'com_finder'); $userId = $user->id; foreach ($this->items as $i => $item) : $canCheckIn = $userAuthoriseCoreManage || $item->checked_out == $userId || is_null($item->checked_out); $canChange = $userAuthoriseCoreEditState && $canCheckIn; $escapedTitle = $this->escape($item->title); ?>
, ,
filter_id, false, 'cid', 'cb', $item->title); ?> state, $i, 'filters.', $canChange); ?> checked_out) : ?> editor, $item->checked_out_time, 'filters.', $canCheckIn); ?> created_by_alias ?: $item->user_name; ?> created, Text::_('DATE_FORMAT_LC4')); ?> map_count; ?> filter_id; ?>
pagination->getListFooter(); ?>