projects
/
phpfspot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
support for F-Spot photo versioning, refs #67
[phpfspot.git]
/
themes
/
default
/
templates
/
single_photo.tpl
diff --git
a/themes/default/templates/single_photo.tpl
b/themes/default/templates/single_photo.tpl
index 20b59f8d6c49f9a540e27e5742bb9797f0769672..572bef70ddc322889bac9a07dd94f2a7ea05f582 100644
(file)
--- a/
themes/default/templates/single_photo.tpl
+++ b/
themes/default/templates/single_photo.tpl
@@
-49,6
+49,14
@@
{/section}
<br />
{ /if }
{/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" /> Tagged with:</u><br />
{ if $tags }
<br />
<u><img src="{$web_path}/resources/small_available_tags.png" alt="available tags" /> Tagged with:</u><br />
@@
-108,7
+116,7
@@
<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();