summaryrefslogtreecommitdiff
path: root/templates/menu_nexus_admin.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/menu_nexus_admin.tpl')
-rw-r--r--templates/menu_nexus_admin.tpl12
1 files changed, 5 insertions, 7 deletions
diff --git a/templates/menu_nexus_admin.tpl b/templates/menu_nexus_admin.tpl
index 1570a7a..66e67f5 100644
--- a/templates/menu_nexus_admin.tpl
+++ b/templates/menu_nexus_admin.tpl
@@ -1,9 +1,7 @@
{strip}
-<li class="dropdown-submenu">
- <a href="#" onclick="return(false);" tabindex="-1" class="sub-menu-root">{tr}{$smarty.const.NEXUS_PKG_DIR|capitalize}{/tr}</a>
- <ul class="dropdown-menu sub-menu">
- <li><a class="item" href="{$smarty.const.KERNEL_PKG_URL}admin/index.php?page=nexus">{tr}Nexus Settings{/tr}</a></li>
- <li><a class="item" href="{$smarty.const.NEXUS_PKG_URL}">{tr}Nexus Menus{/tr}</a></li>
- </ul>
-</li>
+{if $packageMenuTitle}<a href="#"> {tr}{$packageMenuTitle|capitalize}{/tr}</a>{/if}
+<ul class="{$packageMenuClass}">
+ <li><a class="item" href="{$smarty.const.KERNEL_PKG_URL}admin/index.php?page=nexus">{tr}Nexus{/tr}</a></li>
+ <li><a class="item" href="{$smarty.const.NEXUS_PKG_URL}">{tr}Nexus Menus{/tr}</a></li>
+</ul>
{/strip}