summaryrefslogtreecommitdiffstats
path: root/themes/default/templates/single_photo.tpl
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2008-01-19 10:02:19 +0100
committerAndreas Unterkircher <unki@netshadow.at>2008-01-19 10:02:19 +0100
commitaddc988921081fcc4571be3cc7cd2375e621fee4 (patch)
tree897e4471e21e60325f1938ce0e7f7fd1e1003a63 /themes/default/templates/single_photo.tpl
parent1b98418fc7f31d2d10364a60bc798ee85ef7add1 (diff)
issue102, use javascript to jump to the correct thumbnail when returing from photo-view
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
Diffstat (limited to 'themes/default/templates/single_photo.tpl')
-rw-r--r--themes/default/templates/single_photo.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/default/templates/single_photo.tpl b/themes/default/templates/single_photo.tpl
index 2032f52..62a2bf7 100644
--- a/themes/default/templates/single_photo.tpl
+++ b/themes/default/templates/single_photo.tpl
@@ -80,7 +80,7 @@
<img src="resources/arrow_left.png" alt="previous photo" />
</a>
{ /if }
- <a href="javascript:showPhotoIndex({$current});" onclick="click(this);" title="click to go back to the index">
+ <a href="javascript:showPhotoIndex({$current_page}, {$current_img});" onclick="click(this);" title="click to go back to the index">
<img src="resources/arrow_up.png" alt="photo index" />
</a>
{ if $next_url == "" }