issue47, long photo names now getting wraped
[phpfspot.git] / templates / single_photo.tpl
index 0f1bd2f25d752f73d47d3b56bcd628ce93bf3708..527584368ef43842cc6f646981c9ce328391c587 100644 (file)
@@ -1,11 +1,14 @@
 <!-- Single photo -->
 <table>
  <tr>
-  <td class="index_header" style="text-align: left;">
+  <td class="photo_name" style="text-align: left;">
    <b>Photo {$image_name}</b><br />
    &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>
     <a class="smalltag" href="javascript:Tags('add', '{$id}');" onclick="click(this);" onclick="click(this);">{$name}</a><br />
     { /foreach }
    { /if }
-   <br />
+   <hr>
    { if $prev_img }
-    <u>Previous:</u><br />
+    <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>Next:</u><br />
+    <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>