aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/template/picture_nav_buttons.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/template/picture_nav_buttons.tpl')
-rw-r--r--themes/default/template/picture_nav_buttons.tpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/themes/default/template/picture_nav_buttons.tpl b/themes/default/template/picture_nav_buttons.tpl
index 06b236a88..f0e1300b5 100644
--- a/themes/default/template/picture_nav_buttons.tpl
+++ b/themes/default/template/picture_nav_buttons.tpl
@@ -1,5 +1,6 @@
<div class="navButtons">
-
+
+{if $DISPLAY_NAV_BUTTONS and !isset($slideshow)}
{if isset($last)}
<a class="navButton" href="{$last.U_IMG}" title="{'Last'|@translate} : {$last.TITLE}" rel="last"><img src="{$ROOT_URL}{$themeconf.icon_dir}/last.png" class="button" alt="{'Last'|@translate}"></a>
{else}
@@ -58,6 +59,7 @@
<a class="navButton"> <img src="{$ROOT_URL}{$themeconf.icon_dir}/inc_period_unactive.png" class="button" alt=""></a>
{/if}
{/if}
+{/if}
</div>