summaryrefslogtreecommitdiffstats
path: root/themes/default
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2008-01-15 19:39:37 +0100
committerAndreas Unterkircher <unki@netshadow.at>2008-01-15 19:39:37 +0100
commit9e0069f45399b5436200c158c8fdbda3da1ffe5a (patch)
treeaac7518d1b57d075b15af35c6726b2612c27e4a1 /themes/default
parentb8e94789af7969321cd895d1cef5d175074afcbb (diff)
use HTML_AJAXs replace function to alter content of content-div
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
Diffstat (limited to 'themes/default')
-rw-r--r--themes/default/templates/single_photo.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/default/templates/single_photo.tpl b/themes/default/templates/single_photo.tpl
index 19329cc..2032f52 100644
--- a/themes/default/templates/single_photo.tpl
+++ b/themes/default/templates/single_photo.tpl
@@ -64,9 +64,9 @@
<div style="text-align: left; margin-top: 20px; margin-left: 20px;">
{ if $next_url == "" }
- <a href="javascript:showPhotoIndex();" onclick="click(this);">
+ <a href="javascript:showPhotoIndex();" onclick="click(this);" name="photo">
{ else }
- <a href="{$next_url}" onclick="click(this);" title="click for the next photo" name="image">
+ <a href="{$next_url}" onclick="click(this);" title="click for the next photo" name="photo">
{ /if }
<img src="{$image_url}" width="{$width}" height="{$height}" alt="{$image_filename}" />
</a>