issue31, a mini preview of the previous and next photo is now shown in a single photo...
[phpfspot.git] / templates / single_photo.tpl
index 5ad245004c5b08ad1e620225440222c5990745b9..5b5c7ac27b2a791212b9a0020b417b67220f3acd 100644 (file)
     <a class="smalltag" href="javascript:Tags('add', '{$id}');" onclick="click(this);" onclick="click(this);">{$name}</a><br />
     { /foreach }
    { /if }
     <a class="smalltag" href="javascript:Tags('add', '{$id}');" onclick="click(this);" onclick="click(this);">{$name}</a><br />
     { /foreach }
    { /if }
+   <br />
+   { if $prev_img }
+    <u>Previous:</u><br />
+    <a href="{$previous_url}" onclick="click(this);">
+     <img src="phpfspot_img.php?idx={$prev_img}&amp;width={$mini_width}" /><br />
+    </a>
+   { /if}
+   { if $next_img }
+    <u>Next:</u><br />
+    <a href="{$next_url}" onclick="click(this);">
+     <img src="phpfspot_img.php?idx={$next_img}&amp;width={$mini_width}" /><br />
+    </a>
+   { /if}
    </div>
   </td>
  </tr>
    </div>
   </td>
  </tr>