support for F-Spot photo versioning, refs #67
[phpfspot.git] / themes / default / templates / single_photo.tpl
index b1415178135ad4114d0c5be3890d40d26254cd29..572bef70ddc322889bac9a07dd94f2a7ea05f582 100644 (file)
@@ -39,7 +39,7 @@
    { /if }
    { if $ExifOrigResolution }
    <u><img src="{$web_path}/resources/image.png" alt="resolution icon" />&nbsp;Original resolution:</u><br />
-   {$ExifOrigResolution}<br />
+   {$ExifOrigResolution}px<br />
    { /if }
    <u>Size:</u>&nbsp;{$ExifFileSize}<br />
    { if $image_rating }
     {/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 />
 <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();