aboutsummaryrefslogtreecommitdiffstats
path: root/identification.php
diff options
context:
space:
mode:
Diffstat (limited to 'identification.php')
-rw-r--r--identification.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/identification.php b/identification.php
index 6d345bf45..20be085b1 100644
--- a/identification.php
+++ b/identification.php
@@ -73,7 +73,6 @@ if (isset($_POST['login']))
//
$title = l10n('Identification');
$page['body_id'] = 'theIdentificationPage';
-include(PHPWG_ROOT_PATH.'include/page_header.php');
$template->set_filenames( array('identification'=>'identification.tpl') );
@@ -97,7 +96,15 @@ if ( sizeof( $errors ) != 0 )
$template->assign('errors', $errors);
}
+// include menubar
+$themeconf = $template->get_template_vars('themeconf');
+if (!isset($themeconf['Exclude']) OR !in_array('theIdentificationPage', $themeconf['Exclude']))
+{
+ include( PHPWG_ROOT_PATH.'include/menubar.inc.php');
+}
+
//----------------------------------------------------------- html code display
+include(PHPWG_ROOT_PATH.'include/page_header.php');
$template->pparse('identification');
include(PHPWG_ROOT_PATH.'include/page_tail.php');
?>