From fdfe41e3433d420bbfe643ada3e98e1d081fd78d Mon Sep 17 00:00:00 2001 From: mistic100 Date: Sat, 7 May 2011 15:55:10 +0000 Subject: merge spread_menus to the core git-svn-id: http://piwigo.org/svn/trunk@10812 68402e56-0260-453c-a942-63ccdbb3a9ee --- picture.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'picture.php') diff --git a/picture.php b/picture.php index c0493d8b0..3464230f6 100644 --- a/picture.php +++ b/picture.php @@ -1040,6 +1040,14 @@ if ($metadata_showable and pwg_get_session_var('show_metadata') <> null ) include(PHPWG_ROOT_PATH.'include/picture_metadata.inc.php'); } +// include menubar +$themeconf = $template->get_template_vars('themeconf'); +if ($conf['picture_menu'] AND (!isset($themeconf['Exclude']) OR !in_array('theIdentificationPage', $themeconf['Exclude']))) +{ + include( PHPWG_ROOT_PATH.'include/menubar.inc.php'); + $template->assign('U_ADMIN', $url_admin); // overwrited by the menu +} + include(PHPWG_ROOT_PATH.'include/page_header.php'); trigger_action('loc_end_picture'); if ($page['slideshow'] and $conf['light_slideshow']) -- cgit v1.2.3