summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2025-08-27 17:12:13 +0100
committerlsces <lester@lsces.co.uk>2025-08-27 17:12:13 +0100
commit72ad9a9e51db8f54eae01991d6905db6b4306c19 (patch)
treef5a82fb5772c418712f58462d11d08b04ce84a2e /templates
parentda8147a0536f1f5189afd03a996359d32b98ba65 (diff)
downloadnexus-72ad9a9e51db8f54eae01991d6905db6b4306c19.tar.gz
nexus-72ad9a9e51db8f54eae01991d6905db6b4306c19.tar.bz2
nexus-72ad9a9e51db8f54eae01991d6905db6b4306c19.zip
Code updated to PHP8.4 and namespace
Diffstat (limited to 'templates')
-rw-r--r--templates/menu_nexus.tpl2
-rw-r--r--templates/menu_nexus_admin.tpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/menu_nexus.tpl b/templates/menu_nexus.tpl
index 783c009..dbda709 100644
--- a/templates/menu_nexus.tpl
+++ b/templates/menu_nexus.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}">
<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}
diff --git a/templates/menu_nexus_admin.tpl b/templates/menu_nexus_admin.tpl
index 66e67f5..1d7d1ad 100644
--- a/templates/menu_nexus_admin.tpl
+++ b/templates/menu_nexus_admin.tpl
@@ -1,5 +1,5 @@
{strip}
-{if $packageMenuTitle}<a href="#"> {tr}{$packageMenuTitle|capitalize}{/tr}</a>{/if}
+{if !empty($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>