summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspiderr <spider@viovio.com>2013-04-18 11:14:22 -0400
committerspiderr <spider@viovio.com>2013-04-18 11:14:22 -0400
commitb4159665708dae767747a5a32d2e442727b6a81c (patch)
tree3717d26a321d09d0c82dc4be74590da529da2f99
parent16e7d6d61993e5f6b6210294055777d3d9f971fd (diff)
downloadnexus-b4159665708dae767747a5a32d2e442727b6a81c.tar.gz
nexus-b4159665708dae767747a5a32d2e442727b6a81c.tar.bz2
nexus-b4159665708dae767747a5a32d2e442727b6a81c.zip
tweak menu to display title link only when passed var
-rw-r--r--templates/menu_nexus.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/menu_nexus.tpl b/templates/menu_nexus.tpl
index 7f084d2..783c009 100644
--- a/templates/menu_nexus.tpl
+++ b/templates/menu_nexus.tpl
@@ -1,5 +1,5 @@
{strip}
-<a class="dropdown-toggle" data-toggle="dropdown" href="#"> {tr}{$packageMenuTitle}{/tr} <b class="caret"></b></a>
+{if $packageMenuTitle}<a class="dropdown-toggle" data-toggle="dropdown" href="#"> {tr}{$packageMenuTitle}{/tr} <b class="caret"></b></a>{/if}
<ul class="{$packageMenuClass}">
<li><a class="head" href="{$smarty.const.NEXUS_PKG_URL}menus.php">{booticon ipackage="icons" iname="icon-sitemap" iexplain="Menus" ilocation=menu}</a></li>
{if $gNexus->mInfo.menu_id}