support for F-Spot photo versioning, refs #67
[phpfspot.git] / themes / default / templates / single_photo.tpl
index 9b690ffbd7bba8638a24dfbe919eedf267ae647d..572bef70ddc322889bac9a07dd94f2a7ea05f582 100644 (file)
    {$ExifOrigResolution}px<br />
    { /if }
    <u>Size:</u>&nbsp;{$ExifFileSize}<br />
    {$ExifOrigResolution}px<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 $has_versions }
+    <br />
+    Versions:<br />
+    <select onchange="update_photo_version(this, {$photo});">
+    { photo_version_select_list photo=$photo current=$version }
+    </select>
+    <br />
+   { /if }
    { if $tags }
     <br />
     <u><img src="{$web_path}/resources/small_available_tags.png" alt="available tags" />&nbsp;Tagged with:</u><br />
    { if $tags }
     <br />
     <u><img src="{$web_path}/resources/small_available_tags.png" alt="available tags" />&nbsp;Tagged with:</u><br />
 <script type="text/javascript">
 <!--
    if(autobrowse && document.getElementById("autobrowse_ico"))
 <script type="text/javascript">
 <!--
    if(autobrowse && document.getElementById("autobrowse_ico"))
-      document.getElementById("autobrowse_ico").src = '{$web_path}/resources/32_pause.png';
+      document.getElementById("autobrowse_ico").src = '{$web_path}/resources/16_pause.png';
 
    /* lets preload to previous and the next image to speedup */
    var image_next = new Image();
 
    /* lets preload to previous and the next image to speedup */
    var image_next = new Image();