issue121, show rating value in photo-index- and single-photo-view
[phpfspot.git] / themes / default / templates / single_photo.tpl
index 97ef0cfe16dfaef8b12e6ea12ce8f20c27a931a9..b1415178135ad4114d0c5be3890d40d26254cd29 100644 (file)
    {$ExifOrigResolution}<br />
    { /if }
    <u>Size:</u>&nbsp;{$ExifFileSize}<br />
+   { if $image_rating }
+    <u><img src="{$web_path}/resources/rating.png" alt="rating" />&nbsp;Rating:</u><br />
+    {section name="rating" loop=$image_rating step=1}
+     <img src="{$web_path}/resources/star.png" />
+    {/section}
+    <br />
+   { /if }
    { if $tags }
     <br />
     <u><img src="{$web_path}/resources/small_available_tags.png" alt="available tags" />&nbsp;Tagged with:</u><br />