* @copyright 2024 Eddy Prosperi * @license GNU General Public License versione 2 o successiva; vedi LICENSE.txt */ // No direct access defined('_JEXEC') or die; use \Joomla\CMS\HTML\HTMLHelper; use \Joomla\CMS\Factory; use \Joomla\CMS\Uri\Uri; use \Joomla\CMS\Router\Route; use \Joomla\CMS\Language\Text; use \Joomla\CMS\Layout\LayoutHelper; use \Joomla\CMS\Session\Session; use \Joomla\CMS\User\UserFactoryInterface; HTMLHelper::_('bootstrap.tooltip'); HTMLHelper::_('behavior.multiselect'); HTMLHelper::_('formbehavior.chosen', 'select'); $user = Factory::getApplication()->getIdentity(); $userId = $user->get('id'); $listOrder = $this->state->get('list.ordering'); $listDirn = $this->state->get('list.direction'); $canCreate = $user->authorise('core.create', 'com_highlights') && file_exists(JPATH_COMPONENT . DIRECTORY_SEPARATOR . 'forms' . DIRECTORY_SEPARATOR . 'highlightform.xml'); $canEdit = $user->authorise('core.edit', 'com_highlights') && file_exists(JPATH_COMPONENT . DIRECTORY_SEPARATOR . 'forms' . DIRECTORY_SEPARATOR . 'highlightform.xml'); $canCheckin = $user->authorise('core.manage', 'com_highlights'); $canChange = $user->authorise('core.edit.state', 'com_highlights'); $canDelete = $user->authorise('core.delete', 'com_highlights'); // Import CSS $wa = $this->document->getWebAssetManager(); $wa->useStyle('com_highlights.list'); ?> params->get('show_page_heading')) : ?>