issue6, improved page selector
[phpfspot.git] / templates / index.tpl
index 31b91198e7b8d05a03b5a2e6d73597fbbb5a926b..9c336e6d2415f72dda597ed7c43e969d56691453 100644 (file)
@@ -1,5 +1,5 @@
 {include file="header.tpl"}
- <body onload="refreshAvailableTags(); refreshSelectedTags();">
+ <body onload="init_phpfspot();">
   <div id="frame">
   <table>
    <tr>
@@ -9,20 +9,33 @@
    </tr>
    <tr>
     <td colspan="2" class="menu">
-     <a href="javascript:showPhotoIndex();">
-      <img src="resources/home.png" />
+     <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);">
-      <img src="resources/reload.png" />
+     <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>
-     <a href="javascript:showCredits();">Credits</a>
     </td>
    </tr>
    <tr>
-    <td class="tags">
-     <div id="tags">
-      {include file="tags.tpl"}
-     </div>
+    <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">