From 8de82f0fbbe0b14048825ae14cbc7210d8de7d64 Mon Sep 17 00:00:00 2001
From: Andreas Unterkircher <unki@netshadow.at>
Date: Fri, 8 Jun 2007 15:04:17 +0000
Subject: 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
---
 templates/single_photo.tpl | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'templates')

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>
-- 
cgit v1.2.3-18-g5258