specify an empty action for xhtml validation
[phpfspot.git] / templates / tags.tpl
index 2a6a7a88f1b6914475780364b56a1a2b6dd46b99..20d5c9be730edc3859c7c15eda18ba9c816ddb0e 100644 (file)
@@ -1,31 +1,49 @@
 <table>
  <tr>
-  <td>
-   The following tags are available:
+  <td style="vertical-align: middle; text-decoration: underline;">
+   <img src="resources/loupe.png" alt="loupe" />Tag-Search:
   </td>
  </tr>
  <tr>
-  <td>
-   <div id='available_tags'></div>
+  <td class="searchfor">
+   <form action="" onsubmit="startSearch(document.getElementsByName('searchfor')[0].value); return false;">
+    <input type="text" name="searchfor" value="{$searchfor}" size="15" />
+    <input type="image" src="resources/doit.png" alt="Tag-Search" />
+   </form>
   </td>
  </tr>
  <tr>
-  <td>
-   The following tags have been selected:
+  <td style="vertical-align: middle; text-decoration: underline;">
+   <img src="resources/available_tags.png" alt="available tags" />Available Tags:
   </td>
  </tr>
  <tr>
-  <td>
-   <div id='selected_tags'></div>
+  <td class="available_tags">
+   <div id="available_tags"></div>
   </td>
  </tr>
  <tr>
-  <td>&nbsp;</td>
+  <td>
+   <table style="width: 100%;">
+    <tr>
+     <td style="vertical-align: bottom; text-decoration: underline;">
+      <img src="resources/selected_tags.png" alt="selected tags" />Selected Tags:
+     </td>
+     <td style="vertical-align: bottom; white-space: nowrap;">
+      &nbsp;
+      <input type="radio" name="condition" value="or" onclick="Tags('condition', this);" {if $current_condition == "or" } checked="checked" { /if } />||
+      <input type="radio" name="condition" value="and" onclick="Tags('condition', this);" {if $current_condition == "and" } checked="checked" { /if } />&amp;&amp;
+     </td>
+    </tr>
+   </table>
+  </td>
  </tr>
  <tr>
-  <td>
-   <a href="javascript:showPhotoIndex();">Photo Index</a>
-   <a href="javascript:Tags('reset', 0);">Reset Tags</a>
+  <td class="selected_tags">
+   <div id="selected_tags"></div>
   </td>
  </tr>
+ <tr>
+  <td>&nbsp;</td>
+ </tr>
 </table>