issue118, user-friendly-url to directly address a tag
[phpfspot.git] / themes / default / templates / index.tpl
index 10459aa72dc3f39389408687c7e96d6b95d9bb77..46effe2436f4bcd6d36ec1967543e5a97aceef00 100644 (file)
@@ -1,18 +1,24 @@
 {include file="header.tpl"}
- <body onload="init_phpfspot();">
+ <body onload="init_phpfspot('{$web_path}');">
  
+  <!-- loading -->
+
+  <div id="HTML_AJAX_LOADING">
+   <img src="{$web_path}/resources/loading.gif" style="vertical-align: middle;" />&nbsp;&nbsp;Loading...
+  </div>
+
   <!-- 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 href="javascript:showPhotoIndex();" onclick="click(this);" title="Show Photo Index (CTRL+ALT+i)">
+     <img src="{$web_path}/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 href="javascript:resetAll();" onclick="click(this);" title="Reset selected-tags and search results (CTRL+ALT+r)">
+     <img src="{$web_path}/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" />
+     <img src="{$web_path}/resources/credits.png" alt="show credits" />
     </a>
    </div>
    <div class="logo">&nbsp;{$page_title}</div>
@@ -33,7 +39,7 @@
 
   <!-- content column -->
   <div id="content" class="content">
-   {include file="welcome.tpl"}
+   { $initial_content }
   </div>
   </span>