summaryrefslogtreecommitdiffstats
path: root/templates/single_photo.tpl
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2007-06-08 15:04:17 +0000
committerAndreas Unterkircher <unki@netshadow.at>2007-06-08 15:04:17 +0000
commit8de82f0fbbe0b14048825ae14cbc7210d8de7d64 (patch)
tree7e7e2f3766a86403180f90bbb412714f060aed7c /templates/single_photo.tpl
parent6c5c8d3368e841a6d0d48ad26e08b60c64b950d4 (diff)
according some colleagues on a click on the picture the next should appear
git-svn-id: file:///var/lib/svn/phpfspot/trunk@51 fa6a889d-dae6-447d-9e79-4ba9a3039384
Diffstat (limited to 'templates/single_photo.tpl')
-rw-r--r--templates/single_photo.tpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/single_photo.tpl b/templates/single_photo.tpl
index 2243b56..716a78e 100644
--- a/templates/single_photo.tpl
+++ b/templates/single_photo.tpl
@@ -14,7 +14,11 @@
<table>
<tr>
<td colspan="3">
+ { if $next_url == "" }
<a href="javascript:showPhotoIndex();">
+ { else }
+ <a href="{$next_url}">
+ { /if }
<img src="{$image_url}" />
</a>
</td>