issue30, fixed wickled lines when images have different lines
[phpfspot.git] / templates / single_photo.tpl
index 5b5c7ac27b2a791212b9a0020b417b67220f3acd..0d04e17c2d4adb56672b0c1de7a45cae9ba2901f 100644 (file)
@@ -1,15 +1,27 @@
 <!-- Single photo -->
 <table>
  <tr>
-  <td class="index_header" style="text-align: left;">
+  <td class="content_title" style="text-align: left;">
    <b>Photo {$image_name}</b><br />
-   &nbsp;{$description}<br />
+   {if $photo_count > 0}
+    {$photo_number} of {$photo_count}
+    {if $photo_count == 1}
+     Photo
+    {else}
+     Photos
+    {/if}
+    {if $description}
+     &nbsp;{$description}<br />
+    {/if}
+   {/if}
   </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 }
-   <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>