aboutsummaryrefslogtreecommitdiffstats
path: root/picture.php
diff options
context:
space:
mode:
Diffstat (limited to 'picture.php')
-rw-r--r--picture.php10
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