according some colleagues on a click on the picture the next should appear
authorAndreas Unterkircher <unki@netshadow.at>
Fri, 8 Jun 2007 15:04:17 +0000 (15:04 +0000)
committerAndreas Unterkircher <unki@netshadow.at>
Fri, 8 Jun 2007 15:04:17 +0000 (15:04 +0000)
git-svn-id: file:///var/lib/svn/phpfspot/trunk@51 fa6a889d-dae6-447d-9e79-4ba9a3039384

templates/single_photo.tpl

index 2243b5622c6a2fb2a216da24e165ca3b027c439c..716a78e27dba995ba4b058cc7cc0b41ceb52ef70 100644 (file)
    <table>
     <tr>
      <td colspan="3">
+     { if $next_url == "" }
       <a href="javascript:showPhotoIndex();">
+     { else }
+      <a href="{$next_url}"> 
+     { /if }
        <img src="{$image_url}" />
       </a>
      </td>