summaryrefslogtreecommitdiffstats
path: root/themes/default/templates/photo_index.tpl
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2008-05-24 13:01:13 +0200
committerAndreas Unterkircher <unki@netshadow.at>2008-05-24 13:01:13 +0200
commit6c98040d5b5f29f3952b8222d5cf256007347e5d (patch)
tree31f781bf71e0fc431328d163c4361f07e2f9ffb2 /themes/default/templates/photo_index.tpl
parente75b25313a062eaac262f504397b1b75c092a6cd (diff)
parent99dd0b5d5e19d565088595a9fd9d164bcd4834ae (diff)
Merge branch 'rating'
Diffstat (limited to 'themes/default/templates/photo_index.tpl')
-rw-r--r--themes/default/templates/photo_index.tpl8
1 files changed, 8 insertions, 0 deletions
diff --git a/themes/default/templates/photo_index.tpl b/themes/default/templates/photo_index.tpl
index c9da477..7fe04ab 100644
--- a/themes/default/templates/photo_index.tpl
+++ b/themes/default/templates/photo_index.tpl
@@ -78,9 +78,17 @@
<br />
{$img_name[thumb]}
</a>
+ <!-- show lightbox eyes, if enabled -->
{ if $use_lightbox }
<a href="{$web_path}/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="{$web_path}/resources/eyes.png" /></a>
{ /if }
+ <!-- show F-Spot photo rating value, if available -->
+ { if $img_rating[thumb] }
+ <br />
+ {section name="rating" loop=$img_rating[thumb] step=1}
+ <img src="{$web_path}/resources/star.png" />
+ {/section}
+ { /if }
</div>
{/if}