diff options
author | mistic100 <mistic@piwigo.org> | 2011-05-07 15:55:10 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2011-05-07 15:55:10 +0000 |
commit | fdfe41e3433d420bbfe643ada3e98e1d081fd78d (patch) | |
tree | 61f0238a5a0b39daabf8e6baaa9b72096b758893 /search.php | |
parent | 0cbac27ddbc1116095561864981af4f6f7cf7f57 (diff) |
merge spread_menus to the core
git-svn-id: http://piwigo.org/svn/trunk@10812 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'search.php')
-rw-r--r-- | search.php | 10 |
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'); |