diff options
| author | spiderr <spider@viovio.com> | 2013-04-18 11:10:56 -0400 |
|---|---|---|
| committer | spiderr <spider@viovio.com> | 2013-04-18 11:10:56 -0400 |
| commit | aac732f8eead4e22818875988214c295c72c9c4e (patch) | |
| tree | d639bce9e1e5d34abe57105dab05b9400673170f /templates | |
| parent | 6c38147093e7a1d48aaa0164ffec91c6f9722360 (diff) | |
| download | articles-aac732f8eead4e22818875988214c295c72c9c4e.tar.gz articles-aac732f8eead4e22818875988214c295c72c9c4e.tar.bz2 articles-aac732f8eead4e22818875988214c295c72c9c4e.zip | |
tweak menu to display title link only when passed var
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/menu_articles.tpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/menu_articles.tpl b/templates/menu_articles.tpl index e1c2eb1..e14b30b 100644 --- a/templates/menu_articles.tpl +++ b/templates/menu_articles.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}"> {if $gBitUser->hasPermission( 'p_articles_read' )} <li><a class="item" href="{$smarty.const.ARTICLES_PKG_URL}index.php">{booticon iname="icon-home" ipackage="icons" iexplain="Articles Home" ilocation=menu}</a></li> |
