default theme, make sort-select box a template function
[phpfspot.git] / themes / default / templates / single_photo.tpl
index bb8c9179e2599caa7aaf03e9504135aa08ae5904..d80a0067d7dc91a0050830e7d5de31e69cd8cfb0 100644 (file)
@@ -1,5 +1,5 @@
 <!-- Single photo -->
-<table>
+<table style="width: 100%;">
  <tr>
   <td class="content_title" style="text-align: left;">
    <b>Photo {$image_name}</b><br />
@@ -16,7 +16,7 @@
    {/if}
   </td>
   <td class="index_header" style="text-align: right;">
-   <a href="javascript:autoBrowse();"><img src="resources/slideshow.png" /></a>
+   <a href="javascript:startAutoBrowse();" title="auto browsing"><img id="autobrowse_ico" src="resources/32_play.png" /></a>
    {if $extern_link }
     <a href="{$extern_link}" title="Use this link to return to the current view"><img src="resources/link.png" /></a>
    {/if}
   </td>
  </tr>
  <tr>
-  <td>
+  <td style="width: 100%;">
    <div id='single'>
-   <table>
+   <table class="matrix">
     <tr>
      <td colspan="3">
      { if $next_url == "" }
       <a href="javascript:showPhotoIndex();" onclick="click(this);">
      { else }
-      <a href="{$next_url}" onclick="click(this);"> 
+      <a href="{$next_url}" onclick="click(this);" title="click for the next photo"
      { /if }
        <img src="{$image_url}" width="{$width}" height="{$height}" alt="photo" />
       </a>
       { if $previous_url == "" }
        <img src="resources/arrow_left_gray.png" alt="first photo reached" />
       { else }
-      <a href="{$previous_url}" onclick="click(this);">
+      <a href="{$previous_url}" onclick="click(this);" title="click for the previous photo">
        <img src="resources/arrow_left.png" alt="previous photo" />
       </a>
       { /if }
      </td>
      <td style="text-align: center; width: 33%;">
-      <a href="javascript:showPhotoIndex({$current});" onclick="click(this);">
+      <a href="javascript:showPhotoIndex({$current});" onclick="click(this);" title="click to go back to the index">
        <img src="resources/arrow_up.png" alt="photo index" />
       </a>
      </td>
@@ -59,7 +59,7 @@
       { if $next_url == "" }
        <img src="resources/arrow_right_gray.png" alt="last photo reached" />
       { else }
-      <a href="{$next_url}" onclick="click(this);" id="next_img" 
+      <a href="{$next_url}" onclick="click(this);" title="click for the next photo"
        <img src="resources/arrow_right.png" alt="next photo" />
       </a>
       { /if}
@@ -68,7 +68,7 @@
    </table>
    </div>
   </td>
-  <td style="width: 150px; padding-top: 20px;">
+  <td style="width: 150px; padding-top: 20px; padding-right: 20px">
    <div id="photo_details">
    { if $ExifMadeWith }
    <u><img src="resources/camera.png" alt="camera icon" />&nbsp;Image taken with:</u><br />