aboutsummaryrefslogtreecommitdiffstats
path: root/nbm.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--nbm.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/nbm.php b/nbm.php
index 9bb40aee6..d98f8c1ac 100644
--- a/nbm.php
+++ b/nbm.php
@@ -65,7 +65,6 @@ else
// +-----------------------------------------------------------------------+
$title = l10n('Notification');
$page['body_id'] = 'theNBMPage';
-include(PHPWG_ROOT_PATH.'include/page_header.php');
$template->set_filenames(array('nbm'=>'nbm.tpl'));
@@ -78,10 +77,18 @@ $template->assign(
'infos' => $page['infos'],
)
);
+
+// include menubar
+$themeconf = $template->get_template_vars('themeconf');
+if (!isset($themeconf['Exclude']) OR !in_array('theNBMPage', $themeconf['Exclude']))
+{
+ include( PHPWG_ROOT_PATH.'include/menubar.inc.php');
+}
// +-----------------------------------------------------------------------+
// | html code display |
// +-----------------------------------------------------------------------+
+include(PHPWG_ROOT_PATH.'include/page_header.php');
$template->parse('nbm');
include(PHPWG_ROOT_PATH.'include/page_tail.php');
?>