summaryrefslogtreecommitdiff
path: root/templates/menu_wiki.tpl
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2025-08-29 13:04:10 +0100
committerlsces <lester@lsces.co.uk>2025-08-29 13:04:10 +0100
commitc4d6afd84628b8ba6caa5ff0dee2f7d0f5cadd84 (patch)
tree982653f2ea684df2940bafbdf446043bfa1a9534 /templates/menu_wiki.tpl
parent144b7ea64606dd1875b10ce87693250f84bea3f7 (diff)
downloadwiki-c4d6afd84628b8ba6caa5ff0dee2f7d0f5cadd84.tar.gz
wiki-c4d6afd84628b8ba6caa5ff0dee2f7d0f5cadd84.tar.bz2
wiki-c4d6afd84628b8ba6caa5ff0dee2f7d0f5cadd84.zip
Templates updated to Smarty5, PHP8.4 and namespace
Diffstat (limited to 'templates/menu_wiki.tpl')
-rwxr-xr-x[-rw-r--r--]templates/menu_wiki.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/menu_wiki.tpl b/templates/menu_wiki.tpl
index 8890614..e7f51f5 100644..100755
--- a/templates/menu_wiki.tpl
+++ b/templates/menu_wiki.tpl
@@ -1,5 +1,5 @@
{strip}
-{if $packageMenuTitle}<a class="dropdown-toggle" data-toggle="dropdown" href="#"> {tr}{$packageMenuTitle}{/tr} <b class="caret"></b></a>{/if}
+{if !empty($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_wiki_view_page' )}
<li><a class="item" href="{$smarty.const.WIKI_PKG_URL}index.php">{booticon iname="fa-house" iexplain="`$smarty.const.WIKI_PKG_DIR|ucwords` Home" ilocation=menu}</a></li>