diff --git a/html/mod_menu/collapse-default.php b/html/mod_menu/collapse-default.php deleted file mode 100644 index c7c4f58..0000000 --- a/html/mod_menu/collapse-default.php +++ /dev/null @@ -1,42 +0,0 @@ - - * @license GNU General Public License version 2 or later; see LICENSE.txt - */ - -defined('_JEXEC') or die; - -use Joomla\CMS\Helper\ModuleHelper; -use Joomla\CMS\HTML\HTMLHelper; -use Joomla\CMS\Language\Text; - - - -$id = ''; -if ($tagId = $params->get('tag_id', '')) -{ - $id = ' id="' . $tagId . '"'; -} - -?> - diff --git a/html/mod_menu/item-heading.php b/html/mod_menu/item-heading.php deleted file mode 100644 index 79c0b45..0000000 --- a/html/mod_menu/item-heading.php +++ /dev/null @@ -1 +0,0 @@ - data-bs-toggle="dropdown" aria-expanded="false">=$item->title;?> \ No newline at end of file diff --git a/html/mod_menu/item-url.php b/html/mod_menu/item-url.php deleted file mode 100644 index 453a700..0000000 --- a/html/mod_menu/item-url.php +++ /dev/null @@ -1,8 +0,0 @@ - - &$value){ - echo ' ' . $name . '="' . $value. '"'; - } - unset($value); - ?>>=$item->title;?> - \ No newline at end of file diff --git a/html/mod_menu/item.php b/html/mod_menu/item.php deleted file mode 100644 index 5442d70..0000000 --- a/html/mod_menu/item.php +++ /dev/null @@ -1,90 +0,0 @@ -hasChildren() && ($item->level < $params['endLevel']); - $hasParent = $item->hasParent(); - - $itemParams = $item->getParams(); - $class = 'item-' . $item->id; - $mi_class = 'nav-link'; - $attributes = array(); - - if ($hasParent) - { - $mi_class .= " dropdown-item"; - } else { - // $class .= " nav-item"; - } - $class .= " nav-item"; - - if ($hasChildren) - { - $class .= " dropdown"; - $mi_class .= " dropdown-toggle"; - $attributes["role"] = 'button'; - } - if ($item->type === 'separator') - { - $class .= ' divider'; - } - if ($item->id == $default_id) - { - $class .= ' default'; - } - - if ($item->id == $active_id || ($item->type === 'alias' && $itemParams->get('aliasoptions') == $active_id)) - { - $class .= ' current'; - } - - 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 '