. */ use Alledia\OSMap\Factory; use Joomla\CMS\HTML\HTMLHelper; defined('_JEXEC') or die(); if ($this->params->get('use_css', 1)) : HTMLHelper::_('stylesheet', 'com_osmap/sitemap_html.min.css', ['relative' => true]); endif; if ($this->debug) : Factory::getApplication()->input->set('tmpl', 'component'); HTMLHelper::_('stylesheet', 'com_osmap/sitemap_html_debug.min.css', ['relative' => true]); endif; if ($this->params->get('menu_text') !== null) : // We have a menu, so let's use its params to display the heading $pageHeading = $this->params->get('page_heading', $this->params->get('page_title')); else : // We don't have a menu, so lets use the sitemap name $pageHeading = $this->sitemap->name; endif; $class = join(' ', array_filter([ 'osmap-sitemap', $this->debug ? 'osmap-debug' : '', $this->params->get('pageclass_sfx', '') ])); ?>
params->get('show_page_heading', 1)) : ?> params->get('show_sitemap_description', 1)) : ?>
params->get('sitemap_description', ''); ?>
loadTemplate('items'); ?>