issue13, if user jumps into from an external link, immediatley display the photo...
[phpfspot.git] / templates / index.tpl
index b3e8a160c8eab1f544f4c19f912f316f931660b6..3cad8ba03049b33350f35d9cb3d2da7726d11c24 100644 (file)
@@ -1,11 +1,38 @@
 {include file="header.tpl"}
- <body onload="refreshAvailableTags(); refreshSelectedTags();">
-  <div id="logo">noch keins da</div>
-  <div id="tags">
-   {include file="tags.tpl"}
-  </div>
-  <div id="content">
-   {include file="welcome.tpl"}
+ <body onload="init_phpfspot();">
+  <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);" title="Show Photo Index">
+      <img src="resources/photo_index.png" alt="photo index" />
+     </a>
+     <a href="javascript:Tags('reset', 0);" onclick="click(this);" title="Reset Selected Tags and Tag-Search">
+      <img src="resources/reload.png" alt="reset tags" />
+     </a>
+     <a href="javascript:showCredits();" onclick="click(this);" title="Show's a little credit page">
+      <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"}