first implementation of "selected tag condition"
[phpfspot.git] / templates / index.tpl
index dfbaf6855750f48e631ccd5fb69c5ef0be14e7e4..9442f4ac42c6ac46ba1539c2bb71fa7e8c0eeb6b 100644 (file)
@@ -1,11 +1,38 @@
 {include file="header.tpl"}
- <body>
-  <div id="logo">noch keins da</div>
-  <div id="tags">
-   {include file="tags.tpl"}
-  </div>
-  <div id="content">
-  {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();">
+      <img src="resources/home.png" />
+     </a>
+     <a href="javascript:Tags('reset', 0);">
+      <img src="resources/reload.png" />
+     </a>
+     <a href="javascript:showCredits();">
+      <img src="resources/credits.png" />
+     </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"}