issue27, remove any value from tag-search-input-valid when date search is invoked...
[phpfspot.git] / templates / single_photo.tpl
index 5ad245004c5b08ad1e620225440222c5990745b9..9f9269367307b3a44a6285bec57af842385bb43f 100644 (file)
@@ -6,10 +6,12 @@
    &nbsp;{$description}<br />
   </td>
   <td class="index_header" style="text-align: right;">
+   {if $extern_link }
+    <a href="{$extern_link}" title="Use this link to return to the current view"><img src="resources/link.png" /></a>
+   {/if}
    <a href="{$image_url_full}" target="_blank" onclick="click(this);">
     <img src="resources/original.png" alt="original resolution" />
    </a>
-   <img src="resources/information.png" alt="additional informations" />
   </td>
  </tr>
  <tr>
     <a class="smalltag" href="javascript:Tags('add', '{$id}');" onclick="click(this);" onclick="click(this);">{$name}</a><br />
     { /foreach }
    { /if }
+   <hr>
+   { if $prev_img }
+    <u><img src="resources/photo.png" alt="photo icon" />&nbsp;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><img src="resources/photo.png" alt="photo icon" />&nbsp;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>