* * This file is part of a Moko Consulting project. * * SPDX-License-Identifier: GPL-3.0-or-later */ 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\LayoutHelper; // Load Bootstrap TOC assets $wa = Factory::getApplication()->getDocument()->getWebAssetManager(); $wa->useStyle('vendor.bootstrap-toc'); $wa->useScript('vendor.bootstrap-toc.js'); // Get article params $params = $this->item->params; $images = json_decode($this->item->images); $urls = json_decode($this->item->urls); $canEdit = $params->get('access-edit'); $info = $params->get('info_block_position', 0); // Check if associations are implemented $assocParam = (Associations::isEnabled() && $params->get('show_associations')); ?>