From f6e7e3fe1c54943ea4a10030b50e6d88dd154b18 Mon Sep 17 00:00:00 2001 From: HWFord <54360213+HWFord@users.noreply.github.com> Date: Thu, 12 Mar 2026 15:29:29 +0100 Subject: [PATCH] Move admin nav to seperate file --- admin/themes/default/template/admin.tpl | 331 +----------------- .../template/include/admin_nav.inc.tpl | 227 ++++++++++++ 2 files changed, 228 insertions(+), 330 deletions(-) create mode 100644 admin/themes/default/template/include/admin_nav.inc.tpl diff --git a/admin/themes/default/template/admin.tpl b/admin/themes/default/template/admin.tpl index b34a6352b..38f848178 100644 --- a/admin/themes/default/template/admin.tpl +++ b/admin/themes/default/template/admin.tpl @@ -61,336 +61,7 @@ let username = '{$USERNAME}' {combine_script id='jquery' path='themes/default/js/jquery.min.js'} {/strip} - - - -{*
- {'Visit'|translate} - - -
- {$USERNAME} *} -{* - {'Visit Gallery'|translate} -*} - -{* {strip} - -{if $theme_id eq "clear"} - Dark -{elseif $theme_id eq "roma"} - Light -{/if} - -{/strip} - - {'Help Me'|translate} - {'Logout'|translate} -
-
*} -{* *} +{include file='include/admin_nav.inc.tpl'}
diff --git a/admin/themes/default/template/include/admin_nav.inc.tpl b/admin/themes/default/template/include/admin_nav.inc.tpl new file mode 100644 index 000000000..9d7925e06 --- /dev/null +++ b/admin/themes/default/template/include/admin_nav.inc.tpl @@ -0,0 +1,227 @@ + + + + + \ No newline at end of file