mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-01 20:04:51 +02:00
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:
@@ -36,7 +36,6 @@ check_status(ACCESS_GUEST);
|
||||
//
|
||||
$title= l10n('About Piwigo');
|
||||
$page['body_id'] = 'theAboutPage';
|
||||
include(PHPWG_ROOT_PATH.'include/page_header.php');
|
||||
|
||||
trigger_action('loc_begin_about');
|
||||
|
||||
@@ -50,6 +49,14 @@ if ( $theme_about !== false )
|
||||
$template->assign('THEME_ABOUT', $theme_about);
|
||||
}
|
||||
|
||||
// include menubar
|
||||
$themeconf = $template->get_template_vars('themeconf');
|
||||
if (!isset($themeconf['Exclude']) OR !in_array('theAboutPage', $themeconf['Exclude']))
|
||||
{
|
||||
include( PHPWG_ROOT_PATH.'include/menubar.inc.php');
|
||||
}
|
||||
|
||||
include(PHPWG_ROOT_PATH.'include/page_header.php');
|
||||
$template->pparse('about');
|
||||
include(PHPWG_ROOT_PATH.'include/page_tail.php');
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user