restyle single photo view
authorAndreas Unterkircher <unki@netshadow.at>
Thu, 7 Jun 2007 15:21:32 +0000 (15:21 +0000)
committerAndreas Unterkircher <unki@netshadow.at>
Thu, 7 Jun 2007 15:21:32 +0000 (15:21 +0000)
git-svn-id: file:///var/lib/svn/phpfspot/trunk@43 fa6a889d-dae6-447d-9e79-4ba9a3039384

templates/single_photo.tpl

index 2acf924b666cd7fc9af3f930148e868739bbc22b..3965edcb3f6b55e4045a5e24c5bcfc55b47b8285 100644 (file)
@@ -1,24 +1,41 @@
+<!-- Single photo -->
 <table>
  <tr>
 <table>
  <tr>
-  <td colspan="3">
-   <img src="{$image_url}" />
+  <td class="index_header">
+   <b>Photo {$image_name}</b><br />
   </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>
+   <div id='matrix'>
+   <table>
+    <tr>
+     <td colspan="3">
+      <a href="javascript:showPhotoIndex();">
+       <img src="{$image_url}" />
+      </a>
+     </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>
+    </tr>
+   </table>
+   </div>
   </td>
  </tr>
 </table>
   </td>
  </tr>
 </table>
+<!-- /Single photo -->