restore HOME links, change parameter name for remove menu on certain page

git-svn-id: http://piwigo.org/svn/trunk@10824 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
mistic100 2011-05-09 15:04:15 +00:00
commit e38092f36c
21 changed files with 57 additions and 19 deletions

View file

@ -230,7 +230,7 @@ if (sizeof($errors) != 0)
// include menubar
$themeconf = $template->get_template_vars('themeconf');
if (!isset($themeconf['Exclude']) OR !in_array('theSearchPage', $themeconf['Exclude']))
if (!isset($themeconf['hide_menu_on']) OR !in_array('theSearchPage', $themeconf['hide_menu_on']))
{
include( PHPWG_ROOT_PATH.'include/menubar.inc.php');
}