summaryrefslogtreecommitdiffstats
path: root/themes/default
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2008-03-27 20:45:58 +0100
committerAndreas Unterkircher <unki@netshadow.at>2008-03-27 20:45:58 +0100
commitba67cbf2ecb051b36ba0985099a76456b5c38e15 (patch)
tree54bd0dbfac8c06da75237e3286c12c0f3e7c25da /themes/default
parent0b79deeea3e8d6058eb5651200dbe127c02e0019 (diff)
only show preview icon in photo index when use_lightbox is set in the config
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
Diffstat (limited to 'themes/default')
-rw-r--r--themes/default/templates/photo_index.tpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/themes/default/templates/photo_index.tpl b/themes/default/templates/photo_index.tpl
index d834568..1a1a188 100644
--- a/themes/default/templates/photo_index.tpl
+++ b/themes/default/templates/photo_index.tpl
@@ -54,7 +54,9 @@
<br />
{$img_name[thumb]}
</a>
+ { if $use_lightbox }
<a href="phpfspot_img.php?idx={$images[thumb]}&amp;width={$preview_width}" alt="thumb_{$images[thumb]}" rel="lightbox[photoidx]" title="Preview of {$img_fullname[thumb]}"><img src="resources/eyes.png" /></a>
+ { /if }
</div>
{/if}