* @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('Y-m-d H:i:s'); $isNotPublishedYet = $this->item->publish_up > $currentDate; $isExpired = !is_null($this->item->publish_down) && $this->item->publish_down < $currentDate; ?>
params->get('show_page_heading')) : ?> item->pagination) && !$this->item->paginationposition && $this->item->paginationrelative) { echo $this->item->pagination; } ?> get('show_modify_date') || $params->get('show_publish_date') || $params->get('show_create_date') || $params->get('show_hits') || $params->get('show_category') || $params->get('show_parent_category') || $params->get('show_author') || $assocParam; ?> get('show_title')) : ?> $params, 'item' => $this->item)); ?> item->event->afterDisplayTitle; ?> $this->item, 'params' => $params, 'position' => 'above')); ?> get('show_tags', 1) && !empty($this->item->tags->itemTags)) : ?> item->tagLayout = new FileLayout('joomla.content.tags'); ?> item->tagLayout->render($this->item->tags->itemTags); ?> item->event->beforeDisplayContent; ?> get('urls_position', 0) === 0) : ?> loadTemplate('links'); ?> get('access-view')) : ?> item); ?> item->pagination) && !$this->item->paginationposition && !$this->item->paginationrelative) : echo $this->item->pagination; endif; ?> item->toc)) : echo $this->item->toc; endif; ?>
item->text; ?>
$this->item, 'params' => $params, 'position' => 'below')); ?> get('show_tags', 1) && !empty($this->item->tags->itemTags)) : ?> item->tagLayout = new FileLayout('joomla.content.tags'); ?> item->tagLayout->render($this->item->tags->itemTags); ?> item->pagination) && $this->item->paginationposition && !$this->item->paginationrelative) : echo $this->item->pagination; ?> get('urls_position', 0) === 1) : ?> loadTemplate('links'); ?> get('show_noauth') == true && $user->get('guest')) : ?> item); ?> item->introtext); ?> get('show_readmore') && $this->item->fulltext != null) : ?> getMenu(); ?> getActive(); ?> id; ?> setVar('return', base64_encode(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language))); ?> $this->item, 'params' => $params, 'link' => $link)); ?> item->pagination) && $this->item->paginationposition && $this->item->paginationrelative) : echo $this->item->pagination; ?> item->event->afterDisplayContent; ?>