issue59, thumbnail matrix is now also free off HTML tables
[phpfspot.git] / themes / default / templates / index.tpl
index f42a124860076625e5e8bdb2f699be753b8a3fcd..791dd32f446fb8a866867372be07cb94ad5fa31f 100644 (file)
@@ -1,52 +1,48 @@
 {include file="header.tpl"}
  <body onload="init_phpfspot();">
 {include file="header.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>
+  <!-- top menu -->
+
+  <div class="menu">
+   <div class="icons">
+    <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>
+   </div>
+   <div class="logo">&nbsp;{$page_title}</div>
   </div>
   </div>
-  <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>
+  <!-- /top menu -->
+
+  <span style="clear: both;">
+  <!-- option column -->
+  <div class="options" style="float: left;">
+   <table>
+    <tr>
+     <td>
+      {include file="search.tpl"}
+     </td>
+    </tr>
+    <tr>
+     <td>
+      <div id="tags">
+       {include file="tags.tpl"}
+      </div>
+     </td>
+    </tr>
+   </table>
   </div>
   </div>
- </body>
+  <!-- /option column -->
+
+  <!-- content column -->
+  <div id="content" class="content">
+   {include file="welcome.tpl"}
+  </div>
+  </span>
+
 {include file="footer.tpl"}
 {include file="footer.tpl"}