From b9739c78ee4dcd5faed853cda0a3d1efb025755d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 30 Jan 2026 00:54:39 +0000 Subject: [PATCH] Remove all template overrides Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com> --- CHANGELOG.md | 4 + .../html/com_contact/contact/default.php | 177 --------- .../html/com_contact/contact/index.html | 81 ---- src/templates/html/com_contact/default.php | 177 --------- src/templates/html/com_contact/index.html | 81 ---- .../html/com_content/article/index.html | 81 ---- .../html/com_content/article/toc-left.php | 159 -------- .../html/com_content/article/toc-right.php | 161 -------- .../html/com_content/categories/default.php | 33 -- .../com_content/categories/default_items.php | 77 ---- .../html/com_content/categories/index.html | 81 ---- .../html/com_content/category/blog.php | 143 ------- .../com_content/category/blog_children.php | 86 ----- .../html/com_content/category/blog_item.php | 102 ----- .../html/com_content/category/blog_links.php | 27 -- .../html/com_content/category/default.php | 25 -- .../com_content/category/default_articles.php | 349 ------------------ .../com_content/category/default_children.php | 85 ----- .../html/com_content/category/index.html | 81 ---- .../html/com_content/featured/default.php | 75 ---- .../com_content/featured/default_item.php | 121 ------ .../com_content/featured/default_links.php | 26 -- .../html/com_content/featured/index.html | 81 ---- src/templates/html/com_content/index.html | 81 ---- .../html/com_engage/comments/default.php | 78 ---- .../html/com_engage/comments/default_form.php | 90 ----- .../html/com_engage/comments/default_list.php | 286 -------------- .../com_engage/comments/default_login.php | 45 --- .../html/com_engage/comments/index.html | 81 ---- src/templates/html/com_engage/index.html | 81 ---- src/templates/html/index.html | 81 ---- src/templates/html/layouts/chromes/card.php | 61 --- src/templates/html/layouts/chromes/html5.php | 88 ----- src/templates/html/layouts/chromes/index.html | 81 ---- src/templates/html/layouts/chromes/noCard.php | 55 --- src/templates/html/layouts/index.html | 81 ---- src/templates/html/mod_custom/banner.php | 34 -- src/templates/html/mod_custom/hero.php | 34 -- src/templates/html/mod_custom/index.html | 81 ---- src/templates/html/mod_gabble/default.php | 160 -------- src/templates/html/mod_gabble/index.html | 81 ---- .../html/mod_menu/collapse-metismenu.php | 28 -- .../html/mod_menu/dropdown-metismenu.php | 110 ------ .../mod_menu/dropdown-metismenu_component.php | 79 ---- .../mod_menu/dropdown-metismenu_heading.php | 61 --- .../mod_menu/dropdown-metismenu_separator.php | 61 --- .../html/mod_menu/dropdown-metismenu_url.php | 76 ---- src/templates/html/mod_menu/index.html | 81 ---- src/templates/html/tinymce/index.html | 81 ---- src/templates/templateDetails.xml | 1 - 50 files changed, 4 insertions(+), 4466 deletions(-) delete mode 100644 src/templates/html/com_contact/contact/default.php delete mode 100644 src/templates/html/com_contact/contact/index.html delete mode 100644 src/templates/html/com_contact/default.php delete mode 100644 src/templates/html/com_contact/index.html delete mode 100644 src/templates/html/com_content/article/index.html delete mode 100644 src/templates/html/com_content/article/toc-left.php delete mode 100644 src/templates/html/com_content/article/toc-right.php delete mode 100644 src/templates/html/com_content/categories/default.php delete mode 100644 src/templates/html/com_content/categories/default_items.php delete mode 100644 src/templates/html/com_content/categories/index.html delete mode 100644 src/templates/html/com_content/category/blog.php delete mode 100644 src/templates/html/com_content/category/blog_children.php delete mode 100644 src/templates/html/com_content/category/blog_item.php delete mode 100644 src/templates/html/com_content/category/blog_links.php delete mode 100644 src/templates/html/com_content/category/default.php delete mode 100644 src/templates/html/com_content/category/default_articles.php delete mode 100644 src/templates/html/com_content/category/default_children.php delete mode 100644 src/templates/html/com_content/category/index.html delete mode 100644 src/templates/html/com_content/featured/default.php delete mode 100644 src/templates/html/com_content/featured/default_item.php delete mode 100644 src/templates/html/com_content/featured/default_links.php delete mode 100644 src/templates/html/com_content/featured/index.html delete mode 100644 src/templates/html/com_content/index.html delete mode 100644 src/templates/html/com_engage/comments/default.php delete mode 100644 src/templates/html/com_engage/comments/default_form.php delete mode 100644 src/templates/html/com_engage/comments/default_list.php delete mode 100644 src/templates/html/com_engage/comments/default_login.php delete mode 100644 src/templates/html/com_engage/comments/index.html delete mode 100644 src/templates/html/com_engage/index.html delete mode 100644 src/templates/html/index.html delete mode 100644 src/templates/html/layouts/chromes/card.php delete mode 100644 src/templates/html/layouts/chromes/html5.php delete mode 100644 src/templates/html/layouts/chromes/index.html delete mode 100644 src/templates/html/layouts/chromes/noCard.php delete mode 100644 src/templates/html/layouts/index.html delete mode 100644 src/templates/html/mod_custom/banner.php delete mode 100644 src/templates/html/mod_custom/hero.php delete mode 100644 src/templates/html/mod_custom/index.html delete mode 100644 src/templates/html/mod_gabble/default.php delete mode 100644 src/templates/html/mod_gabble/index.html delete mode 100644 src/templates/html/mod_menu/collapse-metismenu.php delete mode 100644 src/templates/html/mod_menu/dropdown-metismenu.php delete mode 100644 src/templates/html/mod_menu/dropdown-metismenu_component.php delete mode 100644 src/templates/html/mod_menu/dropdown-metismenu_heading.php delete mode 100644 src/templates/html/mod_menu/dropdown-metismenu_separator.php delete mode 100644 src/templates/html/mod_menu/dropdown-metismenu_url.php delete mode 100644 src/templates/html/mod_menu/index.html delete mode 100644 src/templates/html/tinymce/index.html diff --git a/CHANGELOG.md b/CHANGELOG.md index 7b18904..f574ad2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,10 @@ - Updated version to 03.06.02 - Updated all documentation to use MokoCassiopeia +### Removed +- Removed logo.svg and favicon.ico files +- Removed all template overrides (html folder and contents) + ## [03.06.00] 2026-01-28 ### Changed - Updated version to 03.06.00 across all files diff --git a/src/templates/html/com_contact/contact/default.php b/src/templates/html/com_contact/contact/default.php deleted file mode 100644 index 9286424..0000000 --- a/src/templates/html/com_contact/contact/default.php +++ /dev/null @@ -1,177 +0,0 @@ - - * @license GNU General Public License version 2 or later; see LICENSE.txt - */ - -defined('_JEXEC') or die; - -use Joomla\CMS\Factory; -use Joomla\CMS\Helper\ContentHelper; -use Joomla\CMS\HTML\HTMLHelper; -use Joomla\CMS\Language\Text; -use Joomla\CMS\Layout\FileLayout; -use Joomla\CMS\Layout\LayoutHelper; -use Joomla\CMS\Plugin\PluginHelper; -use Joomla\CMS\Router\Route; -use Joomla\Component\Contact\Site\Helper\RouteHelper; - -$tparams = $this->item->params; -$canDo = ContentHelper::getActions('com_contact', 'category', $this->item->catid); -$canEdit = $canDo->get('core.edit') || ($canDo->get('core.edit.own') && $this->item->created_by === Factory::getUser()->id); -$htag = $tparams->get('show_page_heading') ? 'h2' : 'h1'; -?> - -
- -
-
-
- item, $tparams); ?> -
-
-
- - - get('show_page_heading')) : ?> -

- escape($tparams->get('page_heading')); ?> -

- - - item->name && $tparams->get('show_name')) : ?> - - - -
-
- get('show_contact_category'); ?> - - -

- item->category_title; ?> -

- - item->catid, $this->item->language); ?> -

- - escape($this->item->category_title); ?> - -

- - - item->event->afterDisplayTitle; ?> - - get('show_contact_list') && count($this->contacts) > 1) : ?> -
- - contacts, - 'select_contact', - 'class="form-select" onchange="document.location.href = this.value"', - 'link', - 'name', - $this->item->link - ); - ?> -
- - - 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; ?> - - params->get('show_info', 1)) : ?> -
- ' . Text::_('COM_CONTACT_DETAILS') . ''; ?> - - item->image && $tparams->get('show_image')) : ?> -
- $this->item->image, - 'alt' => $this->item->name, - 'itemprop' => 'image', - ] - ); ?> -
- - - item->con_position && $tparams->get('show_position')) : ?> -
-
:
-
- item->con_position; ?> -
-
- - -
- loadTemplate('address'); ?> - - get('allow_vcard')) : ?> - - - - -
-
- - - get('show_links')) : ?> - loadTemplate('links'); ?> - - - get('show_articles') && $this->item->user_id && $this->item->articles) : ?> - ' . Text::_('JGLOBAL_ARTICLES') . ''; ?> - - loadTemplate('articles'); ?> - - - get('show_profile') && $this->item->user_id && PluginHelper::isEnabled('user', 'profile')) : ?> - ' . Text::_('COM_CONTACT_PROFILE') . ''; ?> - - loadTemplate('profile'); ?> - - - get('show_user_custom_fields') && $this->contactUser) : ?> - loadTemplate('user_custom_fields'); ?> - -
-
- get('show_email_form') && ($this->item->email_to || $this->item->user_id)) : ?> - loadTemplate('form'); ?> - -
-
- - item->misc && $tparams->get('show_misc')) : ?> - ' . Text::_('COM_CONTACT_OTHER_INFORMATION') . ''; ?> - -
-
- item->misc; ?> -
-
- - item->event->afterDisplayContent; ?> -
diff --git a/src/templates/html/com_contact/contact/index.html b/src/templates/html/com_contact/contact/index.html deleted file mode 100644 index f55e685..0000000 --- a/src/templates/html/com_contact/contact/index.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - Redirecting… - - - - - - - - - - - - - - - - - - - -
Redirecting to the site root… If you are not redirected, click here.
- - diff --git a/src/templates/html/com_contact/default.php b/src/templates/html/com_contact/default.php deleted file mode 100644 index 9286424..0000000 --- a/src/templates/html/com_contact/default.php +++ /dev/null @@ -1,177 +0,0 @@ - - * @license GNU General Public License version 2 or later; see LICENSE.txt - */ - -defined('_JEXEC') or die; - -use Joomla\CMS\Factory; -use Joomla\CMS\Helper\ContentHelper; -use Joomla\CMS\HTML\HTMLHelper; -use Joomla\CMS\Language\Text; -use Joomla\CMS\Layout\FileLayout; -use Joomla\CMS\Layout\LayoutHelper; -use Joomla\CMS\Plugin\PluginHelper; -use Joomla\CMS\Router\Route; -use Joomla\Component\Contact\Site\Helper\RouteHelper; - -$tparams = $this->item->params; -$canDo = ContentHelper::getActions('com_contact', 'category', $this->item->catid); -$canEdit = $canDo->get('core.edit') || ($canDo->get('core.edit.own') && $this->item->created_by === Factory::getUser()->id); -$htag = $tparams->get('show_page_heading') ? 'h2' : 'h1'; -?> - -
- -
-
-
- item, $tparams); ?> -
-
-
- - - get('show_page_heading')) : ?> -

- escape($tparams->get('page_heading')); ?> -

- - - item->name && $tparams->get('show_name')) : ?> - - - -
-
- get('show_contact_category'); ?> - - -

- item->category_title; ?> -

- - item->catid, $this->item->language); ?> -

- - escape($this->item->category_title); ?> - -

- - - item->event->afterDisplayTitle; ?> - - get('show_contact_list') && count($this->contacts) > 1) : ?> -
- - contacts, - 'select_contact', - 'class="form-select" onchange="document.location.href = this.value"', - 'link', - 'name', - $this->item->link - ); - ?> -
- - - 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; ?> - - params->get('show_info', 1)) : ?> -
- ' . Text::_('COM_CONTACT_DETAILS') . ''; ?> - - item->image && $tparams->get('show_image')) : ?> -
- $this->item->image, - 'alt' => $this->item->name, - 'itemprop' => 'image', - ] - ); ?> -
- - - item->con_position && $tparams->get('show_position')) : ?> -
-
:
-
- item->con_position; ?> -
-
- - -
- loadTemplate('address'); ?> - - get('allow_vcard')) : ?> - - - - -
-
- - - get('show_links')) : ?> - loadTemplate('links'); ?> - - - get('show_articles') && $this->item->user_id && $this->item->articles) : ?> - ' . Text::_('JGLOBAL_ARTICLES') . ''; ?> - - loadTemplate('articles'); ?> - - - get('show_profile') && $this->item->user_id && PluginHelper::isEnabled('user', 'profile')) : ?> - ' . Text::_('COM_CONTACT_PROFILE') . ''; ?> - - loadTemplate('profile'); ?> - - - get('show_user_custom_fields') && $this->contactUser) : ?> - loadTemplate('user_custom_fields'); ?> - -
-
- get('show_email_form') && ($this->item->email_to || $this->item->user_id)) : ?> - loadTemplate('form'); ?> - -
-
- - item->misc && $tparams->get('show_misc')) : ?> - ' . Text::_('COM_CONTACT_OTHER_INFORMATION') . ''; ?> - -
-
- item->misc; ?> -
-
- - item->event->afterDisplayContent; ?> -
diff --git a/src/templates/html/com_contact/index.html b/src/templates/html/com_contact/index.html deleted file mode 100644 index f55e685..0000000 --- a/src/templates/html/com_contact/index.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - Redirecting… - - - - - - - - - - - - - - - - - - - -
Redirecting to the site root… If you are not redirected, click here.
- - diff --git a/src/templates/html/com_content/article/index.html b/src/templates/html/com_content/article/index.html deleted file mode 100644 index f55e685..0000000 --- a/src/templates/html/com_content/article/index.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - Redirecting… - - - - - - - - - - - - - - - - - - - -
Redirecting to the site root… If you are not redirected, click here.
- - diff --git a/src/templates/html/com_content/article/toc-left.php b/src/templates/html/com_content/article/toc-left.php deleted file mode 100644 index 8285750..0000000 --- a/src/templates/html/com_content/article/toc-left.php +++ /dev/null @@ -1,159 +0,0 @@ - - - This file is part of a Moko Consulting project. - - SPDX-License-Identifier: GPL-3.0-or-later - - # FILE INFORMATION - DEFGROUP: Joomla.Template.Site - INGROUP: MokoCassiopeia - REPO: https://github.com/mokoconsulting-tech/MokoCassiopeia - PATH: ./templates/mokocassiopeia/html/com_content/article/toc-left.php - VERSION: 03.06.02 - BRIEF: Template override for Joomla articles with Table of Contents aligned left - */ - -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; - ?> -
-
- ' . Text::_('TPL_MOKO-CASSIOPEIA_TOC') . ''; - ?> - -
- 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; ?> -
- diff --git a/src/templates/html/com_content/article/toc-right.php b/src/templates/html/com_content/article/toc-right.php deleted file mode 100644 index 9d9b87a..0000000 --- a/src/templates/html/com_content/article/toc-right.php +++ /dev/null @@ -1,161 +0,0 @@ - - - This file is part of a Moko Consulting project. - - SPDX-License-Identifier: GPL-3.0-or-later - - # FILE INFORMATION - DEFGROUP: Joomla.Template.Site - INGROUP: MokoCassiopeia - REPO: https://github.com/mokoconsulting-tech/MokoCassiopeia - PATH: ./templates/mokocassiopeia/html/com_content/article/toc-right.php - VERSION: 03.06.02 - BRIEF: Template override for Joomla articles with Table of Contents aligned right - */ - -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; - ?> -
-
- ' . Text::_('TPL_MOKO-CASSIOPEIA_TOC') . ''; - ?> - - -
- 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; ?> -
- diff --git a/src/templates/html/com_content/categories/default.php b/src/templates/html/com_content/categories/default.php deleted file mode 100644 index e7f4505..0000000 --- a/src/templates/html/com_content/categories/default.php +++ /dev/null @@ -1,33 +0,0 @@ - - * @license GNU General Public License version 2 or later; see LICENSE.txt - */ - -defined('_JEXEC') or die; - -use Joomla\CMS\Language\Text; -use Joomla\CMS\Layout\LayoutHelper; - -// Add strings for translations in Javascript. -Text::script('JGLOBAL_EXPAND_CATEGORIES'); -Text::script('JGLOBAL_COLLAPSE_CATEGORIES'); - -/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */ -$wa = $this->document->getWebAssetManager(); -$wa->getRegistry()->addExtensionRegistryFile('com_categories'); -$wa->usePreset('com_categories.shared-categories-accordion'); - -?> -
- loadTemplate('items'); - ?> -
- diff --git a/src/templates/html/com_content/categories/default_items.php b/src/templates/html/com_content/categories/default_items.php deleted file mode 100644 index 9e2db70..0000000 --- a/src/templates/html/com_content/categories/default_items.php +++ /dev/null @@ -1,77 +0,0 @@ - - * @license GNU General Public License version 2 or later; see LICENSE.txt - */ - -defined('_JEXEC') or die; - -use Joomla\CMS\HTML\HTMLHelper; -use Joomla\CMS\Language\Text; -use Joomla\CMS\Router\Route; -use Joomla\Component\Content\Site\Helper\RouteHelper; - -if ($this->maxLevelcat != 0 && count($this->items[$this->parent->id]) > 0) : - ?> -
- items[$this->parent->id] as $id => $item) : ?> - params->get('show_empty_categories_cat') || $item->numitems || count($item->getChildren())) : ?> -
-
-
- - escape($item->title); ?> - params->get('show_cat_num_articles_cat') == 1) :?> - -   - numitems; ?> - - -
- getChildren()) > 0 && $this->maxLevelcat > 1) : ?> - - -
- params->get('show_description_image') && $item->getParams()->get('image')) : ?> - getParams()->get('image'), $item->getParams()->get('image_alt')); ?> - - params->get('show_subcat_desc_cat') == 1) : ?> - description) : ?> -
- description, '', 'com_content.categories'); ?> -
- - - - getChildren()) > 0 && $this->maxLevelcat > 1) : ?> - - -
- - -
- - diff --git a/src/templates/html/com_content/categories/index.html b/src/templates/html/com_content/categories/index.html deleted file mode 100644 index f55e685..0000000 --- a/src/templates/html/com_content/categories/index.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - Redirecting… - - - - - - - - - - - - - - - - - - - -
Redirecting to the site root… If you are not redirected, click here.
- - diff --git a/src/templates/html/com_content/category/blog.php b/src/templates/html/com_content/category/blog.php deleted file mode 100644 index f17f23d..0000000 --- a/src/templates/html/com_content/category/blog.php +++ /dev/null @@ -1,143 +0,0 @@ - - * @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', [$this->category->extension . '.categories', &$this->category, &$this->params, 0]); -$this->category->description = $this->category->text; - -$results = $app->triggerEvent('onContentAfterTitle', [$this->category->extension . '.categories', &$this->category, &$this->params, 0]); -$afterDisplayTitle = trim(implode("\n", $results)); - -$results = $app->triggerEvent('onContentBeforeDisplay', [$this->category->extension . '.categories', &$this->category, &$this->params, 0]); -$beforeDisplayContent = trim(implode("\n", $results)); - -$results = $app->triggerEvent('onContentAfterDisplay', [$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) : ?> - - -
- - - 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) : ?> - - -
- - - 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)) : ?> - - - -
- -
- diff --git a/src/templates/html/com_content/category/blog_children.php b/src/templates/html/com_content/category/blog_children.php deleted file mode 100644 index dd9827c..0000000 --- a/src/templates/html/com_content/category/blog_children.php +++ /dev/null @@ -1,86 +0,0 @@ - - * @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\Router\Route; -use Joomla\Component\Content\Site\Helper\RouteHelper; - -$lang = Factory::getLanguage(); -$user = Factory::getUser(); -$groups = $user->getAuthorisedViewLevels(); - -if ($this->maxLevel != 0 && count($this->children[$this->category->id]) > 0) : ?> - children[$this->category->id] as $id => $child) : ?> - - access, $groups)) : ?> - params->get('show_empty_categories') || $child->numitems || count($child->getChildren())) : ?> -
- isRtl()) : ?> - - - - - - params->get('show_subcat_desc') == 1) : ?> - description) : ?> -
- description, '', 'com_content.category'); ?> -
- - - - maxLevel > 1 && count($child->getChildren()) > 0) : ?> -
- children[$child->id] = $child->getChildren(); - $this->category = $child; - $this->maxLevel--; - echo $this->loadTemplate('children'); - $this->category = $child->getParent(); - $this->maxLevel++; - ?> -
- -
- - - - - - * @license GNU General Public License version 2 or later; see LICENSE.txt - */ - -defined('_JEXEC') or die; - -use Joomla\CMS\Factory; -use Joomla\CMS\Language\Associations; -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 a shortcut for params. -$params = $this->item->params; -$canEdit = $this->item->params->get('access-edit'); -$info = $params->get('info_block_position', 0); - -// 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'); -$isUnpublished = ($this->item->state == ContentComponent::CONDITION_UNPUBLISHED || $this->item->publish_up > $currentDate) - || ($this->item->publish_down < $currentDate && $this->item->publish_down !== null); - -?> -
-item); ?> - -
- -
- -item); ?> - - - $params, 'item' => $this->item]); ?> - - - - 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); ?> - - - $this->item, 'params' => $params, 'position' => 'above']); ?> - - get('show_tags', 1) && !empty($this->item->tags->itemTags)) : ?> - item->tags->itemTags); ?> - - - get('show_intro')) : ?> - - item->event->afterDisplayTitle; ?> - - - - item->event->beforeDisplayContent; ?> - - item->introtext; ?> - - - - $this->item, 'params' => $params, 'position' => 'below']); ?> - - get('show_tags', 1) && !empty($this->item->tags->itemTags)) : ?> - item->tags->itemTags); ?> - - - - get('show_readmore') && $this->item->readmore) : - if ($params->get('access-view')) : - $link = Route::_(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)); - else : - $menu = Factory::getApplication()->getMenu(); - $active = $menu->getActive(); - $itemId = $active->id; - $link = new Uri(Route::_('index.php?option=com_users&view=login&Itemid=' . $itemId, false)); - $link->setVar('return', base64_encode(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language))); - endif; ?> - - $this->item, 'params' => $params, 'link' => $link]); ?> - - - - -
- - - - item->event->afterDisplayContent; ?> -
-
- - diff --git a/src/templates/html/com_content/category/blog_links.php b/src/templates/html/com_content/category/blog_links.php deleted file mode 100644 index 792c341..0000000 --- a/src/templates/html/com_content/category/blog_links.php +++ /dev/null @@ -1,27 +0,0 @@ - - * @license GNU General Public License version 2 or later; see LICENSE.txt - */ - -defined('_JEXEC') or die; - -use Joomla\CMS\Router\Route; -use Joomla\Component\Content\Site\Helper\RouteHelper; - -?> - - - diff --git a/src/templates/html/com_content/category/default.php b/src/templates/html/com_content/category/default.php deleted file mode 100644 index 0f7745b..0000000 --- a/src/templates/html/com_content/category/default.php +++ /dev/null @@ -1,25 +0,0 @@ - - * @license GNU General Public License version 2 or later; see LICENSE.txt - */ - -defined('_JEXEC') or die; - -use Joomla\CMS\Layout\LayoutHelper; - -?> -
- -subtemplatename = 'articles'; -echo LayoutHelper::render('joomla.content.category_default', $this); -?> - -
- diff --git a/src/templates/html/com_content/category/default_articles.php b/src/templates/html/com_content/category/default_articles.php deleted file mode 100644 index f079f29..0000000 --- a/src/templates/html/com_content/category/default_articles.php +++ /dev/null @@ -1,349 +0,0 @@ - - * @license GNU General Public License version 2 or later; see LICENSE.txt - */ - -defined('_JEXEC') or die; - -use Joomla\CMS\Component\ComponentHelper; -use Joomla\CMS\Factory; -use Joomla\CMS\HTML\HTMLHelper; -use Joomla\CMS\Language\Associations; -use Joomla\CMS\Language\Multilanguage; -use Joomla\CMS\Language\Text; -use Joomla\CMS\Router\Route; -use Joomla\CMS\Uri\Uri; -use Joomla\Component\Content\Administrator\Extension\ContentComponent; -use Joomla\Component\Content\Site\Helper\AssociationHelper; -use Joomla\Component\Content\Site\Helper\RouteHelper; - -/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */ -$wa = $this->document->getWebAssetManager(); -$wa->useScript('com_content.articles-list'); - -// Create some shortcuts. -$n = count($this->items); -$listOrder = $this->escape($this->state->get('list.ordering')); -$listDirn = $this->escape($this->state->get('list.direction')); -$langFilter = false; - -// Tags filtering based on language filter -if (($this->params->get('filter_field') === 'tag') && (Multilanguage::isEnabled())) { - $tagfilter = ComponentHelper::getParams('com_tags')->get('tag_list_language_filter'); - - switch ($tagfilter) { - case 'current_language': - $langFilter = Factory::getApplication()->getLanguage()->getTag(); - break; - - case 'all': - $langFilter = false; - break; - - default: - $langFilter = $tagfilter; - } -} - -// Check for at least one editable article -$isEditable = false; - -if (!empty($this->items)) { - foreach ($this->items as $article) { - if ($article->params->get('access-edit')) { - $isEditable = true; - break; - } - } -} - -$currentDate = Factory::getDate()->format('Y-m-d H:i:s'); -?> - -
- params->get('filter_field') !== 'hide') : ?> -
- params->get('filter_field') === 'tag') : ?> - - - - - params->get('filter_field') === 'month') : ?> - - - - - - - - - - params->get('filter_field') !== 'tag' && $this->params->get('filter_field') !== 'month') : ?> - - - -
- - - params->get('show_pagination_limit')) : ?> -
- - pagination->getLimitBox(); ?> -
- - - items)) : ?> - params->get('show_no_articles', 1)) : ?> -
- - -
- - - - - params->get('show_headings', '1') ? '' : ' class="visually-hidden"'; ?>> - - - params->get('list_show_date')) : ?> - - - params->get('list_show_author')) : ?> - - - params->get('list_show_hits')) : ?> - - - params->get('list_show_votes', 0) && $this->vote) : ?> - - - params->get('list_show_ratings', 0) && $this->vote) : ?> - - - - - - - - - items as $i => $article) : ?> - items[$i]->state == ContentComponent::CONDITION_UNPUBLISHED) : ?> - - - - - - params->get('list_show_date')) : ?> - - - params->get('list_show_author', 1)) : ?> - - - params->get('list_show_hits', 1)) : ?> - - - params->get('list_show_votes', 0) && $this->vote) : ?> - - - params->get('list_show_ratings', 0) && $this->vote) : ?> - - - - - - - - -
- -
- - - - - - - - - - - - - - - - - -
- access, $this->user->getAuthorisedViewLevels())) : ?> - - escape($article->title); ?> - - params->get('show_associations')) : ?> -
- id); ?> - - params->get('flags', 1) && $association['language']->image) : ?> - image . '.gif', $association['language']->title_native, ['title' => $association['language']->title_native], true); ?> - - - lang_code); ?> - lang_code; ?> - title_native; ?> - - - -
- - - escape($article->title) . ' : '; - $itemId = Factory::getApplication()->getMenu()->getActive()->id; - $link = new Uri(Route::_('index.php?option=com_users&view=login&Itemid=' . $itemId, false)); - $link->setVar('return', base64_encode(RouteHelper::getArticleRoute($article->slug, $article->catid, $article->language))); - ?> - - - - params->get('show_associations')) : ?> -
- id); ?> - - params->get('flags', 1)) : ?> - image . '.gif', $association['language']->title_native, ['title' => $association['language']->title_native], true); ?> - - - lang_code); ?> - lang_code; ?> - title_native; ?> - - - -
- - - state == ContentComponent::CONDITION_UNPUBLISHED) : ?> -
- - - -
- - publish_up > $currentDate) : ?> -
- - - -
- - publish_down) && $article->publish_down < $currentDate) : ?> -
- - - -
- -
- displayDate, - $this->escape($this->params->get('date_format', Text::_('DATE_FORMAT_LC3'))) - ); ?> - - author) || !empty($article->created_by_alias)) : ?> - author ?> - created_by_alias ?: $author; ?> - contact_link) && $this->params->get('link_author') == true) : ?> - params->get('show_headings')) : ?> - contact_link, $author); ?> - - contact_link, $author)); ?> - - - params->get('show_headings')) : ?> - - - - - - - - - params->get('show_headings')) : ?> - hits; ?> - - hits); ?> - - - - - params->get('show_headings')) : ?> - rating_count; ?> - - rating_count); ?> - - - - - params->get('show_headings')) : ?> - rating; ?> - - rating); ?> - - - - params->get('access-edit')) : ?> - params); ?> - -
- - - - category->getParams()->get('access-create')) : ?> - category, $this->category->params); ?> - - - - items)) : ?> - params->def('show_pagination', 2) == 1 || ($this->params->get('show_pagination') == 2)) && ($this->pagination->pagesTotal > 1)) : ?> -
- params->def('show_pagination_results', 1)) : ?> - - - -
- - -
- - - - -
-
- diff --git a/src/templates/html/com_content/category/default_children.php b/src/templates/html/com_content/category/default_children.php deleted file mode 100644 index 942c59a..0000000 --- a/src/templates/html/com_content/category/default_children.php +++ /dev/null @@ -1,85 +0,0 @@ - - * @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\Router\Route; -use Joomla\Component\Content\Site\Helper\RouteHelper; - -$lang = Factory::getLanguage(); -$user = Factory::getUser(); -$groups = $user->getAuthorisedViewLevels(); -?> - -children[$this->category->id]) > 0) : ?> - children[$this->category->id] as $id => $child) : ?> - - access, $groups)) : ?> - params->get('show_empty_categories') || $child->getNumItems(true) || count($child->getChildren())) : ?> -
- isRtl()) : ?> - - - - - params->get('show_subcat_desc') == 1) : ?> - description) : ?> -
- description, '', 'com_content.category'); ?> -
- - - - getChildren()) > 0 && $this->maxLevel > 1) : ?> -
- children[$child->id] = $child->getChildren(); - $this->category = $child; - $this->maxLevel--; - echo $this->loadTemplate('children'); - $this->category = $child->getParent(); - $this->maxLevel++; - ?> -
- - -
- - - - - diff --git a/src/templates/html/com_content/category/index.html b/src/templates/html/com_content/category/index.html deleted file mode 100644 index f55e685..0000000 --- a/src/templates/html/com_content/category/index.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - Redirecting… - - - - - - - - - - - - - - - - - - - -
Redirecting to the site root… If you are not redirected, click here.
- - diff --git a/src/templates/html/com_content/featured/default.php b/src/templates/html/com_content/featured/default.php deleted file mode 100644 index 8214b33..0000000 --- a/src/templates/html/com_content/featured/default.php +++ /dev/null @@ -1,75 +0,0 @@ - - * @license GNU General Public License version 2 or later; see LICENSE.txt - */ - -defined('_JEXEC') or die; - -?> - - diff --git a/src/templates/html/com_content/featured/default_item.php b/src/templates/html/com_content/featured/default_item.php deleted file mode 100644 index 07d526b..0000000 --- a/src/templates/html/com_content/featured/default_item.php +++ /dev/null @@ -1,121 +0,0 @@ - - * @license GNU General Public License version 2 or later; see LICENSE.txt - */ - -defined('_JEXEC') or die; - -use Joomla\CMS\Factory; -use Joomla\CMS\Language\Associations; -use Joomla\CMS\Language\Text; -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 a shortcut for params. -$params = &$this->item->params; -$canEdit = $this->item->params->get('access-edit'); -$info = $this->item->params->get('info_block_position', 0); - -// 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'); -$isExpired = !is_null($this->item->publish_down) && $this->item->publish_down < $currentDate; -$isNotPublishedYet = $this->item->publish_up > $currentDate; -$isUnpublished = $this->item->state == ContentComponent::CONDITION_UNPUBLISHED || $isNotPublishedYet || $isExpired; -?> - -item); ?> - -
- -
- - - get('show_title')) : ?> -

- get('link_titles') && $params->get('access-view')) : ?> - - - escape($this->item->title); ?> - -

- - - item->state == ContentComponent::CONDITION_UNPUBLISHED) : ?> - - - - - - - - - - - $params, 'item' => $this->item]); ?> - - - - item->event->afterDisplayTitle; ?> - - - 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); ?> - - - $this->item, 'params' => $params, 'position' => 'above']); ?> - - get('show_tags', 1) && !empty($this->item->tags->itemTags)) : ?> - item->tags->itemTags); ?> - - - - item->event->beforeDisplayContent; ?> - - item->introtext; ?> - - - - $this->item, 'params' => $params, 'position' => 'below']); ?> - - get('show_tags', 1) && !empty($this->item->tags->itemTags)) : ?> - item->tags->itemTags); ?> - - - - get('show_readmore') && $this->item->readmore) : - if ($params->get('access-view')) : - $link = Route::_(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)); - else : - $menu = Factory::getApplication()->getMenu(); - $active = $menu->getActive(); - $itemId = $active->id; - $link = new Uri(Route::_('index.php?option=com_users&view=login&Itemid=' . $itemId, false)); - $link->setVar('return', base64_encode(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language))); - endif; ?> - - $this->item, 'params' => $params, 'link' => $link]); ?> - - - - -
- - -
- - -item->event->afterDisplayContent; ?> - diff --git a/src/templates/html/com_content/featured/default_links.php b/src/templates/html/com_content/featured/default_links.php deleted file mode 100644 index 87ff897..0000000 --- a/src/templates/html/com_content/featured/default_links.php +++ /dev/null @@ -1,26 +0,0 @@ - - * @license GNU General Public License version 2 or later; see LICENSE.txt - */ - -defined('_JEXEC') or die; - -use Joomla\CMS\Router\Route; -use Joomla\Component\Content\Site\Helper\RouteHelper; - -?> - - diff --git a/src/templates/html/com_content/featured/index.html b/src/templates/html/com_content/featured/index.html deleted file mode 100644 index f55e685..0000000 --- a/src/templates/html/com_content/featured/index.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - Redirecting… - - - - - - - - - - - - - - - - - - - -
Redirecting to the site root… If you are not redirected, click here.
- - diff --git a/src/templates/html/com_content/index.html b/src/templates/html/com_content/index.html deleted file mode 100644 index f55e685..0000000 --- a/src/templates/html/com_content/index.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - Redirecting… - - - - - - - - - - - - - - - - - - - -
Redirecting to the site root… If you are not redirected, click here.
- - diff --git a/src/templates/html/com_engage/comments/default.php b/src/templates/html/com_engage/comments/default.php deleted file mode 100644 index e0ec457..0000000 --- a/src/templates/html/com_engage/comments/default.php +++ /dev/null @@ -1,78 +0,0 @@ - -
- -

- headerKey, $this->pagination->total, $this->title) ?> -

- - loadPosition('engage-before-comments') ?> - - pagination->total): ?> -
- loadTemplate('list') ?> -
- - loadPosition('engage-after-comments') ?> - - pagination->pagesTotal > 1): ?> -
- -
- - - - areCommentsClosed && $this->user->guest && !$this->perms['create']): ?> - loadTemplate('login') ?> - - - perms['create'] && !$this->areCommentsClosed): ?> - loadTemplate('form') ?> - - - perms['create'] && $this->areCommentsClosed): ?> -
-

- -

-

- areCommentsClosedAfterTime): ?> - - - - -

-
- -
diff --git a/src/templates/html/com_engage/comments/default_form.php b/src/templates/html/com_engage/comments/default_form.php deleted file mode 100644 index 4f8f740..0000000 --- a/src/templates/html/com_engage/comments/default_form.php +++ /dev/null @@ -1,90 +0,0 @@ -get('comments_reply_bad_ux', 0) == 1) && empty($this->form->getValue('body')); - -HTMLHelper::_('behavior.formvalidator'); -?> - -
- -
- - -
- - - - - -
-

- -

- - loadPosition('engage-before-reply'); ?> - -
-
-
- - Some User -
- - -
-
- - form->getFieldsets()) as $fieldSet) - { - echo $this->form->renderFieldset($fieldSet); - } ?> - -
-
- -
-
- - loadPosition('engage-after-reply'); ?> -
-
diff --git a/src/templates/html/com_engage/comments/default_list.php b/src/templates/html/com_engage/comments/default_list.php deleted file mode 100644 index 4e04e3f..0000000 --- a/src/templates/html/com_engage/comments/default_list.php +++ /dev/null @@ -1,286 +0,0 @@ - 0]; -$parentNames = [0 => '']; - -foreach ($this->items as $comment): -$user = !empty($comment->created_by) && empty($comment->name) ? UserFetcher::getUser($comment->created_by) : new User(); - -if (empty($comment->created_by) || !empty($comment->name)) { - $user->name = $comment->name; - $user->email = $comment->email; -} - -$parentIds[$comment->depth] = $comment->id; -$parentNames[$comment->depth] = $user->name; -// Deeper level comment. Indent with - - - - - - diff --git a/src/templates/html/com_engage/comments/default_login.php b/src/templates/html/com_engage/comments/default_login.php deleted file mode 100644 index d08c718..0000000 --- a/src/templates/html/com_engage/comments/default_login.php +++ /dev/null @@ -1,45 +0,0 @@ -get('login_module', '-1'); -$moduleContent = (empty($loginModule) || ($loginModule === '-1')) ? '' : trim($this->loadModule($loginModule)); -$positionContent = trim($this->loadPosition('engage-login')); - -/** - * A reason for this to happen is that site owner wants discussion to be open to invitation-only members of the site but - * visible by anyone. This is mostly relevant in political organizations, NGOs and local / closed community - * organizations where a small number of people are openly discussing a public interest issue, but they don't want to - * allow random people to detract the conversation. - */ -if (empty($moduleContent) && empty($positionContent)) -{ - return; -} -?> - diff --git a/src/templates/html/com_engage/comments/index.html b/src/templates/html/com_engage/comments/index.html deleted file mode 100644 index f55e685..0000000 --- a/src/templates/html/com_engage/comments/index.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - Redirecting… - - - - - - - - - - - - - - - - - - - -
Redirecting to the site root… If you are not redirected, click here.
- - diff --git a/src/templates/html/com_engage/index.html b/src/templates/html/com_engage/index.html deleted file mode 100644 index f55e685..0000000 --- a/src/templates/html/com_engage/index.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - Redirecting… - - - - - - - - - - - - - - - - - - - -
Redirecting to the site root… If you are not redirected, click here.
- - diff --git a/src/templates/html/index.html b/src/templates/html/index.html deleted file mode 100644 index f55e685..0000000 --- a/src/templates/html/index.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - Redirecting… - - - - - - - - - - - - - - - - - - - -
Redirecting to the site root… If you are not redirected, click here.
- - diff --git a/src/templates/html/layouts/chromes/card.php b/src/templates/html/layouts/chromes/card.php deleted file mode 100644 index 64d7ab5..0000000 --- a/src/templates/html/layouts/chromes/card.php +++ /dev/null @@ -1,61 +0,0 @@ - - * @copyright (C) 2025 Jonathan Miler || Moko Consulting - * @license GNU General Public License version 2 or later; see LICENSE.txt - */ - -defined('_JEXEC') or die; - -use Joomla\Utilities\ArrayHelper; - -$module = $displayData['module']; -$params = $displayData['params']; -$attribs = $displayData['attribs']; - -if ($module->content === null || $module->content === '') { - return; -} - -$moduleTag = $params->get('module_tag', 'div'); -$moduleAttribs = []; -$moduleAttribs['class'] = $module->position . ' card ' . htmlspecialchars($params->get('moduleclass_sfx', ''), ENT_QUOTES, 'UTF-8'); -$headerTag = htmlspecialchars($params->get('header_tag', 'h3'), ENT_QUOTES, 'UTF-8'); -$headerClass = htmlspecialchars($params->get('header_class', ''), ENT_QUOTES, 'UTF-8'); -$headerAttribs = []; -$headerAttribs['class'] = $headerClass; - -// Only output a header class if it is not card-title -if ($headerClass !== 'card-title') : - $headerAttribs['class'] = 'card-header ' . $headerClass; -endif; - -// Only add aria if the moduleTag is not a div -if ($moduleTag !== 'div') { - if ($module->showtitle) : - $moduleAttribs['aria-labelledby'] = 'mod-' . $module->id; - $headerAttribs['id'] = 'mod-' . $module->id; - else : - $moduleAttribs['aria-label'] = $module->title; - endif; -} - -$header = '<' . $headerTag . ' ' . ArrayHelper::toString($headerAttribs) . '>' . $module->title . ''; -?> -< > - showtitle && $headerClass !== 'card-title') : ?> - - -
- showtitle && $headerClass === 'card-title') : ?> - - - content; ?> -
-> - diff --git a/src/templates/html/layouts/chromes/html5.php b/src/templates/html/layouts/chromes/html5.php deleted file mode 100644 index 0100966..0000000 --- a/src/templates/html/layouts/chromes/html5.php +++ /dev/null @@ -1,88 +0,0 @@ - - * @license GNU General Public License version 2 or later; see LICENSE.txt - * - * html5 (chosen html5 tag and font header tags) - */ - -defined('_JEXEC') or die; - -use Joomla\Utilities\ArrayHelper; - -$module = $displayData['module']; -$params = $displayData['params']; - -//var_dump($module->position); - -if ((string) $module->content === '') { - return; -} - -$moduleIcon = ''; - -if ($module->position == 'sidebar-left' || $module->position == 'sidebar-right') { - switch ($module->module) { - case 'mod_virtuemart_cart': - $moduleIcon = ' - - '; - break; - case 'mod_virtuemart_category': - $moduleIcon = ' - - '; - break; - case 'mod_virtuemart_product': - $moduleIcon = ' - - - - '; - break; - default: - $moduleIcon = ''; - } -} - -$moduleTag = htmlspecialchars($params->get('module_tag', 'div'), ENT_QUOTES, 'UTF-8'); -$moduleAttribs = []; -$moduleAttribs['class'] = 'moduletable ' . htmlspecialchars($params->get('moduleclass_sfx', ''), ENT_QUOTES, 'UTF-8'); -$bootstrapSize = (int) $params->get('bootstrap_size', 0); -$asideCol = ($module->position == 'sidebar-left' || $module->position == 'sidebar-right') ? ' col-md-6' : ''; -$footerCol = $module->position == 'footer' ? ' col-md-6' : ''; -$moduleAttribs['class'] .= $bootstrapSize !== 0 ? $footerCol . ' col-lg-' . $bootstrapSize : $asideCol; -$headerTag = htmlspecialchars($params->get('header_tag', 'h3'), ENT_QUOTES, 'UTF-8'); -$headerClass = htmlspecialchars($params->get('header_class', ''), ENT_QUOTES, 'UTF-8'); -$headerAttribs = []; -$headerAttribs['class'] = 'module-title '; - -// Only output a header class if one is set -if ($headerClass !== '') { - $headerAttribs['class'] = $headerClass; -} - -// Only add aria if the moduleTag is not a div -if ($moduleTag !== 'div') { - if ($module->showtitle) : - $moduleAttribs['aria-labelledby'] = 'mod-' . $module->id; - $headerAttribs['id'] = 'mod-' . $module->id; - else : - $moduleAttribs['aria-label'] = $module->title; - endif; -} - -$header = '<' . $headerTag . ' ' . ArrayHelper::toString($headerAttribs) . '>' . $module->title . $moduleIcon . ''; -?> -< > - showtitle) : ?> - - - content; ?> -> - diff --git a/src/templates/html/layouts/chromes/index.html b/src/templates/html/layouts/chromes/index.html deleted file mode 100644 index f55e685..0000000 --- a/src/templates/html/layouts/chromes/index.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - Redirecting… - - - - - - - - - - - - - - - - - - - -
Redirecting to the site root… If you are not redirected, click here.
- - diff --git a/src/templates/html/layouts/chromes/noCard.php b/src/templates/html/layouts/chromes/noCard.php deleted file mode 100644 index 804f1d6..0000000 --- a/src/templates/html/layouts/chromes/noCard.php +++ /dev/null @@ -1,55 +0,0 @@ - - * @copyright (C) 2025 Jonathan Miler || Moko Consulting - * @license GNU General Public License version 2 or later; see LICENSE.txt - */ - -defined('_JEXEC') or die; - -use Joomla\Utilities\ArrayHelper; - -$module = $displayData['module']; -$params = $displayData['params']; -$attribs = $displayData['attribs']; - -if ($module->content === null || $module->content === '') { - return; -} - -$moduleTag = $params->get('module_tag', 'div'); -$moduleAttribs = []; -$moduleAttribs['class'] = $module->position . ' no-card ' . htmlspecialchars($params->get('moduleclass_sfx', ''), ENT_QUOTES, 'UTF-8'); -$headerTag = htmlspecialchars($params->get('header_tag', 'h3'), ENT_QUOTES, 'UTF-8'); -$headerClass = htmlspecialchars($params->get('header_class', ''), ENT_QUOTES, 'UTF-8'); -$headerAttribs = []; - -// Only output a header class if one is set -if ($headerClass !== '') { - $headerAttribs['class'] = $headerClass; -} - -// Only add aria if the moduleTag is not a div -if ($moduleTag !== 'div') { - if ($module->showtitle) : - $moduleAttribs['aria-labelledby'] = 'mod-' . $module->id; - $headerAttribs['id'] = 'mod-' . $module->id; - else : - $moduleAttribs['aria-label'] = $module->title; - endif; -} - -$header = '<' . $headerTag . ' ' . ArrayHelper::toString($headerAttribs) . '>' . $module->title . ''; -?> -< > - showtitle) : ?> - - - content; ?> -> - diff --git a/src/templates/html/layouts/index.html b/src/templates/html/layouts/index.html deleted file mode 100644 index f55e685..0000000 --- a/src/templates/html/layouts/index.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - Redirecting… - - - - - - - - - - - - - - - - - - - -
Redirecting to the site root… If you are not redirected, click here.
- - diff --git a/src/templates/html/mod_custom/banner.php b/src/templates/html/mod_custom/banner.php deleted file mode 100644 index 2b8a89f..0000000 --- a/src/templates/html/mod_custom/banner.php +++ /dev/null @@ -1,34 +0,0 @@ - - * @copyright (C) 2025 Jonathan Miler || Moko Consulting - * @license GNU General Public License version 2 or later; see LICENSE.txt - */ - -defined('_JEXEC') or die; - -use Joomla\CMS\HTML\HTMLHelper; -use Joomla\CMS\Uri\Uri; - -$modId = 'mod-custom' . $module->id; - -if ($params->get('backgroundimage')) { - /** @var Joomla\CMS\WebAsset\WebAssetManager $wa */ - $wa = $app->getDocument()->getWebAssetManager(); - $wa->addInlineStyle(' -#' . $modId . '{background-image: url("' . Uri::root(true) . '/' . HTMLHelper::_('cleanImageURL', $params->get('backgroundimage'))->url . '");} -', ['name' => $modId]); -} -?> - - - diff --git a/src/templates/html/mod_custom/hero.php b/src/templates/html/mod_custom/hero.php deleted file mode 100644 index 1ec8c73..0000000 --- a/src/templates/html/mod_custom/hero.php +++ /dev/null @@ -1,34 +0,0 @@ - - * @copyright (C) 2025 Jonathan Miler || Moko Consulting - * @license GNU General Public License version 2 or later; see LICENSE.txt - */ - -defined('_JEXEC') or die; - -use Joomla\CMS\HTML\HTMLHelper; -use Joomla\CMS\Uri\Uri; - -$modId = 'mod-custom' . $module->id; - -if ($params->get('backgroundimage')) { - /** @var Joomla\CMS\WebAsset\WebAssetManager $wa */ - $wa = $app->getDocument()->getWebAssetManager(); - $wa->addInlineStyle(' -#' . $modId . '{background-image: url("' . Uri::root(true) . '/' . HTMLHelper::_('cleanImageURL', $params->get('backgroundimage'))->url . '");} -', ['name' => $modId]); -} -?> - -
-
- content; ?> -
-
- diff --git a/src/templates/html/mod_custom/index.html b/src/templates/html/mod_custom/index.html deleted file mode 100644 index f55e685..0000000 --- a/src/templates/html/mod_custom/index.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - Redirecting… - - - - - - - - - - - - - - - - - - - -
Redirecting to the site root… If you are not redirected, click here.
- - diff --git a/src/templates/html/mod_gabble/default.php b/src/templates/html/mod_gabble/default.php deleted file mode 100644 index 379d70f..0000000 --- a/src/templates/html/mod_gabble/default.php +++ /dev/null @@ -1,160 +0,0 @@ -getSession(); -$config = $app->getParams('com_gabble'); -$document = Factory::getDocument(); -$document->addStyleSheet('media/com_gabble/css/gabble.css'); -$document->addStyleSheet('media/templates/site/cassiopeia_meaewellness/css/gable.css'); -$lang = Factory::getLanguage(); -$lang->load('com_gabble'); - -Text::script('COM_GABBLE_TIMEOUT'); - -if ( !$currentuser->get("id")){ - - echo '
-
-
-
'. Text::_('COM_GABBLE_LOGGEDIN') . '
-
-
-
'; - - return; - -} - -$input = $app->input; - -if ($input->get('option') == 'com_gabble') { - - echo '
-
-
- -
'. Text::_('COM_GABBLE_GABBLE_CHAT') . '
-
-
-
'; - - return; - -} - -$document->addScript('media/com_gabble/js/gabble_com.js'); -//$document->addScript('media/templates/site/cassiopeia_meaewellness/js/mod_gabblegabble_com.js'); -?> - -
- -
- -
-
- -
- -
- -
- - -
-
- -
-
- -
- -
- - - -
- - - -
- -
- " alt="OpenAI GPT"> -
- -
- -
- - - - - "> - - - - - -
- -

Tabaoca

- diff --git a/src/templates/html/mod_gabble/index.html b/src/templates/html/mod_gabble/index.html deleted file mode 100644 index f55e685..0000000 --- a/src/templates/html/mod_gabble/index.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - Redirecting… - - - - - - - - - - - - - - - - - - - -
Redirecting to the site root… If you are not redirected, click here.
- - diff --git a/src/templates/html/mod_menu/collapse-metismenu.php b/src/templates/html/mod_menu/collapse-metismenu.php deleted file mode 100644 index 925e889..0000000 --- a/src/templates/html/mod_menu/collapse-metismenu.php +++ /dev/null @@ -1,28 +0,0 @@ - - * @license GNU General Public License version 2 or later; see LICENSE.txt - */ - -defined('_JEXEC') or die; - -use Joomla\CMS\HTML\HTMLHelper; -use Joomla\CMS\Language\Text; - -HTMLHelper::_('bootstrap.collapse'); -?> - - - diff --git a/src/templates/html/mod_menu/dropdown-metismenu.php b/src/templates/html/mod_menu/dropdown-metismenu.php deleted file mode 100644 index d6111fe..0000000 --- a/src/templates/html/mod_menu/dropdown-metismenu.php +++ /dev/null @@ -1,110 +0,0 @@ - - * @copyright (C) 2025 Jonathan Miler || Moko Consulting - * @license GNU General Public License version 2 or later; see LICENSE.txt - */ - -defined('_JEXEC') or die; - -use Joomla\CMS\Helper\ModuleHelper; -use Joomla\Utilities\ArrayHelper; - -/** @var \Joomla\CMS\WebAsset\WebAssetManager $wa */ -$wa = $app->getDocument()->getWebAssetManager(); -$wa->registerAndUseScript('metismenu', 'media/templates/site/mokocassiopeia/js/mod_menu/menu-metismenu.min.js', [], ['defer' => true], ['metismenujs']); - -$attributes = []; -$attributes['class'] = 'mod-menu mod-menu_dropdown-metismenu metismenu mod-list ' . $class_sfx; - -if ($tagId = $params->get('tag_id', '')) { - $attributes['id'] = $tagId; -} - -$start = (int) $params->get('startLevel', 1); - -?> -
    > - &$item) { - // Skip sub-menu items if they are set to be hidden in the module's options - if (!$showAll && $item->level > $start) { - continue; - } - - $itemParams = $item->getParams(); - $class = []; - $class[] = 'metismenu-item item-' . $item->id . ' level-' . ($item->level - $start + 1); - - if ($item->id == $default_id) { - $class[] = 'default'; - } - - if ($item->id == $active_id || ($item->type === 'alias' && $itemParams->get('aliasoptions') == $active_id)) { - $class[] = 'current'; - } - - if (in_array($item->id, $path)) { - $class[] = 'active'; - } elseif ($item->type === 'alias') { - $aliasToId = $itemParams->get('aliasoptions'); - - if (count($path) > 0 && $aliasToId == $path[count($path) - 1]) { - $class[] = 'active'; - } elseif (in_array($aliasToId, $path)) { - $class[] = 'alias-parent-active'; - } - } - - if ($item->type === 'separator') { - $class[] = 'divider'; - } - - if ($showAll) { - if ($item->deeper) { - $class[] = 'deeper'; - } - - if ($item->parent) { - $class[] = 'parent'; - } - } - - echo '
  • '; - - switch ($item->type) : - case 'separator': - case 'component': - case 'heading': - case 'url': - require ModuleHelper::getLayoutPath('mod_menu', 'dropdown-metismenu_' . $item->type); - break; - - default: - require ModuleHelper::getLayoutPath('mod_menu', 'dropdown-metismenu_url'); - endswitch; - - switch (true) : - // The next item is deeper. - case $showAll && $item->deeper: - echo '
      '; - break; - - // The next item is shallower. - case $item->shallower: - echo ''; - echo str_repeat('
  • ', $item->level_diff); - break; - - // The next item is on the same level. - default: - echo ''; - break; - endswitch; -} -?>
- diff --git a/src/templates/html/mod_menu/dropdown-metismenu_component.php b/src/templates/html/mod_menu/dropdown-metismenu_component.php deleted file mode 100644 index e8cc033..0000000 --- a/src/templates/html/mod_menu/dropdown-metismenu_component.php +++ /dev/null @@ -1,79 +0,0 @@ - - * @copyright (C) 2025 Jonathan Miler || Moko Consulting - * @license GNU General Public License version 2 or later; see LICENSE.txt - */ - -defined('_JEXEC') or die; - -use Joomla\CMS\Filter\OutputFilter; -use Joomla\CMS\HTML\HTMLHelper; - -$attributes = []; - -if ($item->anchor_title) { - $attributes['title'] = $item->anchor_title; -} - -if ($item->anchor_css) { - $attributes['class'] = $item->anchor_css; -} - -if ($item->anchor_rel) { - $attributes['rel'] = $item->anchor_rel; -} - -if ($item->id == $active_id) { - $attributes['aria-current'] = 'location'; - - if ($item->current) { - $attributes['aria-current'] = 'page'; - } -} - -$linktype = $item->title; - -if ($item->menu_icon) { - // The link is an icon - if ($itemParams->get('menu_text', 1)) { - // If the link text is to be displayed, the icon is added with aria-hidden - $linktype = '' . $item->title; - } else { - // If the icon itself is the link, it needs a visually hidden text - $linktype = '' . $item->title . ''; - } -} elseif ($item->menu_image) { - // The link is an image, maybe with an own class - $image_attributes = []; - - if ($item->menu_image_css) { - $image_attributes['class'] = $item->menu_image_css; - } - - $linktype = HTMLHelper::_('image', $item->menu_image, $item->title, $image_attributes); - - if ($itemParams->get('menu_text', 1)) { - $linktype .= '' . $item->title . ''; - } -} - -if ($item->browserNav == 1) { - $attributes['target'] = '_blank'; -} elseif ($item->browserNav == 2) { - $options = 'toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes'; - - $attributes['onclick'] = "window.open(this.href, 'targetWindow', '" . $options . "'); return false;"; -} - -echo HTMLHelper::link(OutputFilter::ampReplace(htmlspecialchars($item->flink, ENT_COMPAT, 'UTF-8', false)), $linktype, $attributes); - -if ($showAll && $item->deeper) { - echo ''; -} - diff --git a/src/templates/html/mod_menu/dropdown-metismenu_heading.php b/src/templates/html/mod_menu/dropdown-metismenu_heading.php deleted file mode 100644 index 6df3bd0..0000000 --- a/src/templates/html/mod_menu/dropdown-metismenu_heading.php +++ /dev/null @@ -1,61 +0,0 @@ - - * @copyright (C) 2025 Jonathan Miler || Moko Consulting - * @license GNU General Public License version 2 or later; see LICENSE.txt - */ - -defined('_JEXEC') or die; - -use Joomla\CMS\HTML\HTMLHelper; -use Joomla\Utilities\ArrayHelper; - -$attributes = []; - -if ($item->anchor_title) { - $attributes['title'] = $item->anchor_title; -} - -$attributes['class'] = 'mod-menu__heading nav-header'; -$attributes['class'] .= $item->anchor_css ? ' ' . $item->anchor_css : null; - -$linktype = $item->title; - -if ($item->menu_icon) { - // The link is an icon - if ($itemParams->get('menu_text', 1)) { - // If the link text is to be displayed, the icon is added with aria-hidden - $linktype = '' . $item->title; - } else { - // If the icon itself is the link, it needs a visually hidden text - $linktype = '' . $item->title . ''; - } -} elseif ($item->menu_image) { - // The link is an image, maybe with an own class - $image_attributes = []; - - if ($item->menu_image_css) { - $image_attributes['class'] = $item->menu_image_css; - } - - $linktype = HTMLHelper::_('image', $item->menu_image, $item->title, $image_attributes); - - if ($itemParams->get('menu_text', 1)) { - $linktype .= '' . $item->title . ''; - } -} - -if ($showAll && $item->deeper) { - $attributes['class'] .= ' mm-collapsed mm-toggler mm-toggler-nolink'; - $attributes['aria-haspopup'] = 'true'; - $attributes['aria-expanded'] = 'false'; - echo ''; -} else { - echo '' . $linktype . ''; -} - diff --git a/src/templates/html/mod_menu/dropdown-metismenu_separator.php b/src/templates/html/mod_menu/dropdown-metismenu_separator.php deleted file mode 100644 index 640ae62..0000000 --- a/src/templates/html/mod_menu/dropdown-metismenu_separator.php +++ /dev/null @@ -1,61 +0,0 @@ - - * @copyright (C) 2025 Jonathan Miler || Moko Consulting - * @license GNU General Public License version 2 or later; see LICENSE.txt - */ - -defined('_JEXEC') or die; - -use Joomla\CMS\HTML\HTMLHelper; -use Joomla\Utilities\ArrayHelper; - -$attributes = []; - -if ($item->anchor_title) { - $attributes['title'] = $item->anchor_title; -} - -$attributes['class'] = 'mod-menu__separator separator'; -$attributes['class'] .= $item->anchor_css ? ' ' . $item->anchor_css : null; - -$linktype = $item->title; - -if ($item->menu_icon) { - // The link is an icon - if ($itemParams->get('menu_text', 1)) { - // If the link text is to be displayed, the icon is added with aria-hidden - $linktype = '' . $item->title; - } else { - // If the icon itself is the link, it needs a visually hidden text - $linktype = '' . $item->title . ''; - } -} elseif ($item->menu_image) { - // The link is an image, maybe with an own class - $image_attributes = []; - - if ($item->menu_image_css) { - $image_attributes['class'] = $item->menu_image_css; - } - - $linktype = HTMLHelper::_('image', $item->menu_image, $item->title, $image_attributes); - - if ($itemParams->get('menu_text', 1)) { - $linktype .= '' . $item->title . ''; - } -} - -if ($showAll && $item->deeper) { - $attributes['class'] .= ' mm-collapsed mm-toggler mm-toggler-nolink'; - $attributes['aria-haspopup'] = 'true'; - $attributes['aria-expanded'] = 'false'; - echo ''; -} else { - echo '' . $linktype . ''; -} - diff --git a/src/templates/html/mod_menu/dropdown-metismenu_url.php b/src/templates/html/mod_menu/dropdown-metismenu_url.php deleted file mode 100644 index 391fa00..0000000 --- a/src/templates/html/mod_menu/dropdown-metismenu_url.php +++ /dev/null @@ -1,76 +0,0 @@ - - * @copyright (C) 2025 Jonathan Miler || Moko Consulting - * @license GNU General Public License version 2 or later; see LICENSE.txt - */ - -defined('_JEXEC') or die; - -use Joomla\CMS\Filter\OutputFilter; -use Joomla\CMS\HTML\HTMLHelper; - -$attributes = []; - -if ($item->anchor_title) { - $attributes['title'] = $item->anchor_title; -} - -if ($item->anchor_css) { - $attributes['class'] = $item->anchor_css; -} - -if ($item->anchor_rel) { - $attributes['rel'] = $item->anchor_rel; -} - -$linktype = $item->title; - -if ($item->menu_icon) { - // The link is an icon - if ($itemParams->get('menu_text', 1)) { - // If the link text is to be displayed, the icon is added with aria-hidden - $linktype = '' . $item->title; - } else { - // If the icon itself is the link, it needs a visually hidden text - $linktype = '' . $item->title . ''; - } -} elseif ($item->menu_image) { - // The link is an image, maybe with an own class - $image_attributes = []; - - if ($item->menu_image_css) { - $image_attributes['class'] = $item->menu_image_css; - } - - $linktype = HTMLHelper::_('image', $item->menu_image, $item->title, $image_attributes); - - if ($itemParams->get('menu_text', 1)) { - $linktype .= '' . $item->title . ''; - } -} - -if ($item->browserNav == 1) { - $attributes['target'] = '_blank'; - $attributes['rel'] = 'noopener noreferrer'; - - if ($item->anchor_rel == 'nofollow') { - $attributes['rel'] .= ' nofollow'; - } -} elseif ($item->browserNav == 2) { - $options = 'toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,' . $params->get('window_open'); - - $attributes['onclick'] = "window.open(this.href, 'targetWindow', '" . $options . "'); return false;"; -} - -echo HTMLHelper::link(OutputFilter::ampReplace(htmlspecialchars($item->flink, ENT_COMPAT, 'UTF-8', false)), $linktype, $attributes); - -if ($showAll && $item->deeper) { - echo ''; -} - diff --git a/src/templates/html/mod_menu/index.html b/src/templates/html/mod_menu/index.html deleted file mode 100644 index f55e685..0000000 --- a/src/templates/html/mod_menu/index.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - Redirecting… - - - - - - - - - - - - - - - - - - - -
Redirecting to the site root… If you are not redirected, click here.
- - diff --git a/src/templates/html/tinymce/index.html b/src/templates/html/tinymce/index.html deleted file mode 100644 index f55e685..0000000 --- a/src/templates/html/tinymce/index.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - Redirecting… - - - - - - - - - - - - - - - - - - - -
Redirecting to the site root… If you are not redirected, click here.
- - diff --git a/src/templates/templateDetails.xml b/src/templates/templateDetails.xml index d3264e9..0ba4aa1 100644 --- a/src/templates/templateDetails.xml +++ b/src/templates/templateDetails.xml @@ -36,7 +36,6 @@ joomla.asset.json offline.php templateDetails.xml - html media/templates/site/mokocassiopeia/css/editor.css