support for F-Spot photo versioning, refs #67
[phpfspot.git] / themes / default / templates / single_photo.tpl
index 20b59f8d6c49f9a540e27e5742bb9797f0769672..572bef70ddc322889bac9a07dd94f2a7ea05f582 100644 (file)
     {/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();