* @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\Session\Session; use Joomla\Utilities\ArrayHelper; $canEdit = Factory::getApplication()->getIdentity()->authorise('core.edit', 'com_highlights'); if (!$canEdit && Factory::getApplication()->getIdentity()->authorise('core.edit.own', 'com_highlights')) { $canEdit = Factory::getApplication()->getIdentity()->id == $this->item->created_by; } ?>
params->get('show_page_heading')) : ?>
item->etichetta; ?>
item->titolo; ?>
item->sottotitolo; ?>
item->descrizione); ?>
item->lingua; ?>
item->link_pulsante; ?>
item->testo_pulsante; ?>
item->data; echo $date > 0 ? HTMLHelper::_('date', $date, Text::_('DATE_FORMAT_LC4')) : '-'; ?>
item->classe; ?>
item->immagine_main; ?>
item->immagine_secondaria; ?>
item->data_inizio_pubblicazione; echo $date > 0 ? HTMLHelper::_('date', $date, Text::_('DATE_FORMAT_LC4')) : '-'; ?>
item->data_fine_pubblicazione; echo $date > 0 ? HTMLHelper::_('date', $date, Text::_('DATE_FORMAT_LC4')) : '-'; ?>
getIdentity()->authorise('core.manage', 'com_highlights.' . $this->item->id) || $this->item->checked_out == Factory::getApplication()->getIdentity()->id; ?> item->checked_out == 0): ?> item->checked_out > 0) : ?> getIdentity()->authorise('core.delete','com_highlights.highlight.'.$this->item->id)) : ?> Text::_('COM_HIGHLIGHTS_DELETE_ITEM'), 'height' => '50%', 'width' => '20%', 'modalWidth' => '50', 'bodyHeight' => '100', 'footer' => '' . Text::_('COM_HIGHLIGHTS_DELETE_ITEM') .'' ), Text::sprintf('COM_HIGHLIGHTS_DELETE_CONFIRM', $this->item->id) ); ?>