From e8d0c9f901590b899b62319181bec15d584d19ca Mon Sep 17 00:00:00 2001 From: Mike Koch Date: Wed, 14 Jan 2015 17:08:33 -0500 Subject: [PATCH] Show maintenance mode / kb only above the navbar --- inc/common.inc.php | 1 - inc/show_admin_nav.inc.php | 34 ++++++++++++++++------------------ 2 files changed, 16 insertions(+), 19 deletions(-) diff --git a/inc/common.inc.php b/inc/common.inc.php index b68338d7..f8010ca3 100644 --- a/inc/common.inc.php +++ b/inc/common.inc.php @@ -873,7 +873,6 @@ function hesk_show_notice($message,$title='',$append_colon=true) {
-
+'; + hesk_show_notice($hesklang['mma2'], $hesklang['mma1'], false); + echo ''; +} +// Show a notice if we are in "Knowledgebase only" mode +if ( hesk_check_kb_only(false) ) +{ + echo '
'; + hesk_show_notice($hesklang['kbo2'], $hesklang['kbo1'], false); + echo '
'; +} +?>
- - '; - hesk_show_notice($hesklang['mma2'], $hesklang['mma1'], false); - echo '
'; - } - - // Show a notice if we are in "Knowledgebase only" mode - if ( hesk_check_kb_only(false) ) - { - echo '
'; - hesk_show_notice($hesklang['kbo2'], $hesklang['kbo1'], false); - echo '
'; - } - ?>