* @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\Associations; use Joomla\CMS\Language\Text; use Joomla\CMS\Layout\FileLayout; use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Router\Route; use Joomla\CMS\Uri\Uri; use Joomla\Component\Content\Administrator\Extension\ContentComponent; use Joomla\Component\Content\Site\Helper\RouteHelper; // Create shortcuts to some parameters. $params = $this->item->params; $canEdit = $params->get('access-edit'); $user = Factory::getUser(); $info = $params->get('info_block_position', 0); $htag = $this->params->get('show_page_heading') ? 'h2' : 'h1'; // Check if associations are implemented. If they are, define the parameter. $assocParam = (Associations::isEnabled() && $params->get('show_associations')); $currentDate = Factory::getDate()->format('d-m-Y'); $isNotPublishedYet = $this->item->publish_up > $currentDate; $isExpired = !is_null($this->item->publish_down) && $this->item->publish_down < $currentDate; $fullimg = json_decode($this->item->images); $pubblicazione = $this->item->publish_up; $pubblicazione = Factory::getDate()->format('d.m.Y'); $revisione = $this->item->modified; $revisione = Factory::getDate()->format('d.m.Y'); ; $urlcompleto = Uri::getInstance(); $config = JFactory::getConfig(); $nomesito = $config->get('sitename'); $baseImagePath= Uri::root(false) . "media/templates/site/joomla-italia-theme/images/"; ?>
item->text, true, false, false) ; ?>