From c4fd9f91412e5be9d9c426d18ea260ae970e96d4 Mon Sep 17 00:00:00 2001 From: patdenice Date: Tue, 23 Mar 2010 21:19:55 +0000 Subject: Feature 1533: Change "General" by "Options" in Configuration menu. Change "Default Display" tab by "Guest Settings" tab. Add display tab in Configuration/Option menu. Allow to activate/deactivate a lot of display features: On main page: # Display only recently posted images # Sort order # Display all elements in all sub-categories # Display a calendar by posted date # Display a calendar by creation date # Slideshow On photo page: # Show file metadata # slideshow # Add this image to your favorites # Navigation Bar # Navigation Thumbnails git-svn-id: http://piwigo.org/svn/trunk@5293 68402e56-0260-453c-a942-63ccdbb3a9ee --- picture.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'picture.php') diff --git a/picture.php b/picture.php index 6edbb6ca0..289839e7a 100644 --- a/picture.php +++ b/picture.php @@ -716,7 +716,7 @@ if ($page['slideshow']) } $template->assign('slideshow', $tpl_slideshow ); } -else +elseif ($conf['picture_slideshow_icon']) { $template->assign( array( @@ -739,10 +739,16 @@ $template->assign( 'U_HOME' => make_index_url(), 'U_UP' => $url_up, - 'U_METADATA' => $url_metadata, + 'DISPLAY_NAV_BUTTONS' => $conf['picture_navigation_icons'], + 'DISPLAY_NAV_THUMB' => $conf['picture_navigation_thumb'] ) ); +if ($conf['picture_metadata_icon']) +{ + $template->assign('U_METADATA', $url_metadata); +} + //------------------------------------------------------- upper menu management -- cgit v1.2.3