issue13, if user jumps into from an external link, immediatley display the photo...
[phpfspot.git] / templates / index.tpl
index 9442f4ac42c6ac46ba1539c2bb71fa7e8c0eeb6b..3cad8ba03049b33350f35d9cb3d2da7726d11c24 100644 (file)
@@ -1,5 +1,5 @@
 {include file="header.tpl"}
 {include file="header.tpl"}
- <body onload="refreshAvailableTags(); refreshSelectedTags();">
+ <body onload="init_phpfspot();">
   <div id="frame">
   <table>
    <tr>
   <div id="frame">
   <table>
    <tr>
@@ -9,14 +9,14 @@
    </tr>
    <tr>
     <td colspan="2" class="menu">
    </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>
-     <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>
-     <a href="javascript:showCredits();">
-      <img src="resources/credits.png" />
+     <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>
      </a>
     </td>
    </tr>