diff options
author | Andreas Unterkircher <unki@netshadow.at> | 2008-03-27 20:45:58 +0100 |
---|---|---|
committer | Andreas Unterkircher <unki@netshadow.at> | 2008-03-27 20:45:58 +0100 |
commit | ba67cbf2ecb051b36ba0985099a76456b5c38e15 (patch) | |
tree | 54bd0dbfac8c06da75237e3286c12c0f3e7c25da | |
parent | 0b79deeea3e8d6058eb5651200dbe127c02e0019 (diff) |
only show preview icon in photo index when use_lightbox is set in the config
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
-rw-r--r-- | themes/default/templates/photo_index.tpl | 2 |
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]}&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} |