issue30, fixed wickled lines when images have different lines
[phpfspot.git] / templates / index.tpl
index e38a8230f11e616aa76e2323a43cbeda86176c6c..f42a124860076625e5e8bdb2f699be753b8a3fcd 100644 (file)
@@ -1,11 +1,52 @@
 {include file="header.tpl"}
- <body onload="refreshAvailableTags(); refreshSelectedTags();">
-  <div id="logo">noch keins da</div>
-  <div id="tags">
-   {include file="tags.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:resetAll();" onclick="click(this);" title="Reset selected-tags and search results">
+      <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="options">
+     <table>
+      <tr>
+       <td>
+        {include file="search.tpl"}
+       </td>
+      </tr>
+      <tr>
+       <td>
+        <div id="tags">
+         {include file="tags.tpl"}
+        </div>
+       </td>
+      </tr>
+     </table>
+    </td>
+    <td class="content">
+     <div id="content">
+      {include file="welcome.tpl"}
+     </div>
+    </td>
+   </tr>
+  </table>
   </div>
-  <div id="content">
-  {include file="body.tpl"}
+  <div style="text-align: right; font-size: 10px; color: #ffffff">
+   Licensed under GPLv3, <a href="http://oss.netshadow.at/oss/phpfspot/Project" style="font-size: 10px; color: #ffffff">phpfspot</a>
   </div>
  </body>
 {include file="footer.tpl"}