aboutsummaryrefslogtreecommitdiffstats
path: root/about.php
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2011-05-07 15:55:10 +0000
committermistic100 <mistic@piwigo.org>2011-05-07 15:55:10 +0000
commitfdfe41e3433d420bbfe643ada3e98e1d081fd78d (patch)
tree61f0238a5a0b39daabf8e6baaa9b72096b758893 /about.php
parent0cbac27ddbc1116095561864981af4f6f7cf7f57 (diff)
merge spread_menus to the core
git-svn-id: http://piwigo.org/svn/trunk@10812 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'about.php')
-rw-r--r--about.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/about.php b/about.php
index 32861b4ae..ec524938a 100644
--- a/about.php
+++ b/about.php
@@ -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');
?>