renamed search to tagsearch
[phpfspot.git] / templates / tags.tpl
index 4801743653f0a28e2b9d7d94f342ca21b316b248..3efcc31813de483e13f63d50a7f2330847f9db10 100644 (file)
@@ -1,13 +1,12 @@
 <table>
  <tr>
   <td style="vertical-align: middle; text-decoration: underline;">
 <table>
  <tr>
   <td style="vertical-align: middle; text-decoration: underline;">
-   <input type="image" src="resources/loupe.png" alt="Tag-Search" />
-   Tag-Search:
+   <img src="resources/loupe.png" alt="loupe" />Tag-Search:
   </td>
  </tr>
  <tr>
   <td class="searchfor">
   </td>
  </tr>
  <tr>
   <td class="searchfor">
-   <form onsubmit="startSearch(document.getElementsByName('searchfor')[0].value); return false;">
+   <form action="" onsubmit="startTagSearch(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>
     <input type="text" name="searchfor" value="{$searchfor}" size="15" />
     <input type="image" src="resources/doit.png" alt="Tag-Search" />
    </form>
@@ -15,7 +14,7 @@
  </tr>
  <tr>
   <td style="vertical-align: middle; text-decoration: underline;">
  </tr>
  <tr>
   <td style="vertical-align: middle; text-decoration: underline;">
-   <img src="resources/available_tags.png" \>Available Tags:
+   <img src="resources/available_tags.png" alt="available tags" />Available Tags:
   </td>
  </tr>
  <tr>
   </td>
  </tr>
  <tr>
    <table style="width: 100%;">
     <tr>
      <td style="vertical-align: bottom; text-decoration: underline;">
    <table style="width: 100%;">
     <tr>
      <td style="vertical-align: bottom; text-decoration: underline;">
-      <img src="resources/selected_tags.png" />Selected Tags:
+      <img src="resources/selected_tags.png" alt="selected tags" />Selected Tags:
      </td>
      </td>
-     <td style="vertical-align: bottom;">
+     <td style="vertical-align: bottom; white-space: nowrap;">
       &nbsp;
       &nbsp;
-      Condition:
-      <input type="radio" name="condition" value="or" onclick="Tags('condition', this);" {if $current_condition == "or" } checked="checked" { /if } />OR
-      <input type="radio" name="condition" value="and" onclick="Tags('condition', this);" {if $current_condition == "and" } checked="checked" { /if } />AND
+      <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>
    </table>