limit width/height for thumb display
[phpfspot.git] / templates / index.tpl
index eeb1de779cd7ed3fceaa8e8b96e3bd7cc5b5e18b..e0b3b4b3ba00cd66cb9ec86c16bb92d1a07c2234 100644 (file)
@@ -1,6 +1,38 @@
 {include file="header.tpl"}
- <body>
-  {include file="tags.tpl"}
-  {include file="body.tpl"}
+ <body onload="refreshAvailableTags(); refreshSelectedTags();">
+  <div id="frame">
+  <table>
+   <tr>
+    <td class="logo" colspan="2">
+     {$page_title}
+    </td>
+   </tr>
+   <tr>
+    <td colspan="2" class="menu">
+     <a href="javascript:showPhotoIndex();" onclick="click(this);">
+      <img src="resources/photo_index.png" alt="photo index" />
+     </a>
+     <a href="javascript:Tags('reset', 0);" onclick="click(this);">
+      <img src="resources/reload.png" alt="reset tags" />
+     </a>
+     <a href="javascript:showCredits();" onclick="click(this);">
+      <img src="resources/credits.png" alt="show credits" />
+     </a>
+    </td>
+   </tr>
+   <tr>
+    <td class="tags">
+     <div id="tags">
+      {include file="tags.tpl"}
+     </div>
+    </td>
+    <td class="content">
+     <div id="content">
+      {include file="welcome.tpl"}
+     </div>
+    </td>
+   </tr>
+  </table>
+  </div>
  </body>
 {include file="footer.tpl"}