-
@@ -310,3 +315,7 @@ y.callService(
{/if}{*comments*}
{if !empty($PLUGIN_PICTURE_AFTER)}{$PLUGIN_PICTURE_AFTER}{/if}
+
+{if isset($MENUBAR)}
+
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'); ?> diff --git a/admin/configuration.php b/admin/configuration.php index c84962e42..ea8c6b773 100644 --- a/admin/configuration.php +++ b/admin/configuration.php @@ -84,6 +84,7 @@ $display_checkboxes = array( 'picture_download_icon', 'picture_navigation_icons', 'picture_navigation_thumb', + 'picture_menu', ); $display_info_checkboxes = array( diff --git a/admin/themes/default/template/configuration.tpl b/admin/themes/default/template/configuration.tpl index e241f220f..aeeba5ab3 100644 --- a/admin/themes/default/template/configuration.tpl +++ b/admin/themes/default/template/configuration.tpl @@ -285,6 +285,13 @@ + +