aboutsummaryrefslogtreecommitdiffstats
path: root/search.php
diff options
context:
space:
mode:
Diffstat (limited to 'search.php')
-rw-r--r--search.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/search.php b/search.php
index fecbf4552..7cfbab3ae 100644
--- a/search.php
+++ b/search.php
@@ -227,7 +227,15 @@ if (sizeof($errors) != 0)
{
$template->assign('errors', $errors);
}
-//------------------------------------------------------------ log informations
+
+// include menubar
+$themeconf = $template->get_template_vars('themeconf');
+if (!isset($themeconf['Exclude']) OR !in_array('theSearchPage', $themeconf['Exclude']))
+{
+ include( PHPWG_ROOT_PATH.'include/menubar.inc.php');
+}
+
+//------------------------------------------------------------ html code display
include(PHPWG_ROOT_PATH.'include/page_header.php');
$template->pparse('search');
include(PHPWG_ROOT_PATH.'include/page_tail.php');