first implementation of "selected tag condition"
[phpfspot.git] / templates / single_photo.tpl
index 2acf924b666cd7fc9af3f930148e868739bbc22b..9f2bcd9f11e2b25c2a32ba3cef208c65bb480332 100644 (file)
@@ -1,24 +1,59 @@
+<!-- Single photo -->
 <table>
  <tr>
 <table>
  <tr>
-  <td colspan="3">
-   <img src="{$image_url}" />
+  <td class="index_header" style="text-align: left;">
+   <b>Photo {$image_name}</b>, {$c_date}, {$madewith}<br />
+  </td>
+  <td class="index_header" style="text-align: right;">
+   <a href="{$image_url_full}" target="_blank" onclick="click(this);">
+    <img src="resources/loupe.png" />
+   </a>
+   <img src="resources/information.png" />
   </td>
  </tr>
  <tr>
   </td>
  </tr>
  <tr>
-  <td style="text-align: left;">
-   { if $previous_url == "" }
-   &nbsp;
-   { else }
-   <a href="{$previous_url}">Previous</a>
-   { /if }
-  </td>
-  <td>&nbsp;</td>
-  <td style="text-align: right;">
-   { if $next_url == "" }
-   &nbsp;
-   { else }
-   <a href="{$next_url}">Next</a>
-   { /if}
+  <td colspan="2">
+   <div id='single'>
+   <table>
+    <tr>
+     <td colspan="3">
+     { if $next_url == "" }
+      <a href="javascript:showPhotoIndex();">
+     { else }
+      <a href="{$next_url}"> 
+     { /if }
+       <img src="{$image_url}" width="{$width}" height="{$height}" />
+      </a>
+     </td>
+    </tr>
+    <tr>
+     <td style="text-align: left; width: 33%;">
+      { if $previous_url == "" }
+       &nbsp;
+      { else }
+      <a href="{$previous_url}">
+       <img src="resources/arrow_left.png" />
+      </a>
+      { /if }
+     </td>
+     <td style="text-align: center; width: 33%;">
+      <a href="javascript:showPhotoIndex();">
+       <img src="resources/arrow_up.png" />
+      </a>
+     </td>
+     <td style="text-align: right; width: 33%;">
+      { if $next_url == "" }
+      &nbsp;
+      { else }
+      <a href="{$next_url}"> 
+       <img src="resources/arrow_right.png" />
+      </a>
+      { /if}
+     </td>
+    </tr>
+   </table>
+   </div>
   </td>
  </tr>
 </table>
   </td>
  </tr>
 </table>
+<!-- /Single photo -->