merge spread_menus to the core

git-svn-id: http://piwigo.org/svn/trunk@10812 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
mistic100
2011-05-07 15:55:10 +00:00
parent 0cbac27ddb
commit fdfe41e343
32 changed files with 191 additions and 67 deletions

View File

@@ -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');
?>