diff options
author | patdenice <patdenice@piwigo.org> | 2010-03-23 21:19:55 +0000 |
---|---|---|
committer | patdenice <patdenice@piwigo.org> | 2010-03-23 21:19:55 +0000 |
commit | c4fd9f91412e5be9d9c426d18ea260ae970e96d4 (patch) | |
tree | 16286aff56868844a8088346fcd2a9ca3c5923bc /picture.php | |
parent | 8b816a18f45bb698c5a84eaca50f4de1dcb903c1 (diff) |
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
Diffstat (limited to 'picture.php')
-rw-r--r-- | picture.php | 10 |
1 files changed, 8 insertions, 2 deletions
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 |