* @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\FileLayout;
use Joomla\CMS\Layout\LayoutHelper;
$app = Factory::getApplication();
$this->category->text = $this->category->description;
$app->triggerEvent('onContentPrepare', array($this->category->extension . '.categories', &$this->category, &$this->params, 0));
$this->category->description = $this->category->text;
$results = $app->triggerEvent('onContentAfterTitle', array($this->category->extension . '.categories', &$this->category, &$this->params, 0));
$afterDisplayTitle = trim(implode("\n", $results));
$results = $app->triggerEvent('onContentBeforeDisplay', array($this->category->extension . '.categories', &$this->category, &$this->params, 0));
$beforeDisplayContent = trim(implode("\n", $results));
$results = $app->triggerEvent('onContentAfterDisplay', array($this->category->extension . '.categories', &$this->category, &$this->params, 0));
$afterDisplayContent = trim(implode("\n", $results));
$htag = $this->params->get('show_page_heading') ? 'h2' : 'h1';
?>
params->get('show_page_heading')) : ?>
params->get('show_category_title', 1)) : ?>
<>
category->title; ?>
>
params->get('show_cat_tags', 1) && !empty($this->category->tags->itemTags)) : ?>
category->tagLayout = new FileLayout('joomla.content.tags'); ?>
category->tagLayout->render($this->category->tags->itemTags); ?>
params->get('show_description', 1) || $this->params->def('show_description_image', 1)) : ?>
params->get('show_description_image') && $this->category->getParams()->get('image')) : ?>
$this->category->getParams()->get('image'),
'alt' => empty($this->category->getParams()->get('image_alt')) && empty($this->category->getParams()->get('image_alt_empty')) ? false : $this->category->getParams()->get('image_alt'),
]
); ?>
params->get('show_description') && $this->category->description) : ?>
category->description, '', 'com_content.category'); ?>
lead_items) && empty($this->link_items) && empty($this->intro_items)) : ?>
params->get('show_no_articles', 1)) : ?>
lead_items)) : ?>
lead_items as &$item) : ?>
item = &$item;
echo $this->loadTemplate('item');
?>
intro_items)) : ?>
params->get('blog_class', ''); ?>
params->get('num_columns') > 1) : ?>
params->get('multi_column_order', 0) === 0 ? ' masonry-' : ' columns-'; ?>
params->get('num_columns'); ?>
intro_items as $key => &$item) : ?>
item = & $item;
echo $this->loadTemplate('item');
?>
link_items)) : ?>
loadTemplate('links'); ?>
maxLevel != 0 && !empty($this->children[$this->category->id])) : ?>
params->get('show_category_heading_title_text', 1) == 1) : ?>
loadTemplate('children'); ?>
params->def('show_pagination', 1) == 1 || ($this->params->get('show_pagination') == 2)) && ($this->pagination->pagesTotal > 1)) : ?>
params->def('show_pagination_results', 1)) : ?>
pagination->getPagesCounter(); ?>