projects
/
phpfspot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
only show preview icon in photo index when use_lightbox is set in the config
[phpfspot.git]
/
themes
/
default
/
templates
/
photo_index.tpl
diff --git
a/themes/default/templates/photo_index.tpl
b/themes/default/templates/photo_index.tpl
index d83456803e30aa560b29ec397c2c23f975477e09..1a1a18856ecb64129add77f4fcc5f52f5835373f 100644
(file)
--- a/
themes/default/templates/photo_index.tpl
+++ b/
themes/default/templates/photo_index.tpl
@@
-54,7
+54,9
@@
<br />
{$img_name[thumb]}
</a>
<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>
<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}
</div>
{/if}