first tag search functionality
[phpfspot.git] / templates / tags.tpl
1 <table>
2  <tr>
3   <td style="vertical-align: middle; text-decoration: underline;">
4    <input type="image" src="resources/loupe.png" alt="Tag-Search" />
5    Tag-Search:
6   </td>
7  </tr>
8  <tr>
9   <td class="searchfor">
10    <form onsubmit="startSearch(document.getElementsByName('searchfor')[0].value); return false;">
11     <input type="text" name="searchfor" value="{$searchfor}" size="15" />
12     <input type="image" src="resources/doit.png" alt="Tag-Search" />
13    </form>
14   </td>
15  </tr>
16  <tr>
17   <td style="vertical-align: middle; text-decoration: underline;">
18    <img src="resources/available_tags.png" \>Available Tags:
19   </td>
20  </tr>
21  <tr>
22   <td class="available_tags">
23    <div id="available_tags"></div>
24   </td>
25  </tr>
26  <tr>
27   <td>
28    <table style="width: 100%;">
29     <tr>
30      <td style="vertical-align: bottom; text-decoration: underline;">
31       <img src="resources/selected_tags.png" />Selected Tags:
32      </td>
33      <td style="vertical-align: bottom;">
34       &nbsp;
35       Condition:
36       <input type="radio" name="condition" value="or" onclick="Tags('condition', this);" {if $current_condition == "or" } checked="checked" { /if } />OR
37       <input type="radio" name="condition" value="and" onclick="Tags('condition', this);" {if $current_condition == "and" } checked="checked" { /if } />AND
38      </td>
39     </tr>
40    </table>
41   </td>
42  </tr>
43  <tr>
44   <td class="selected_tags">
45    <div id="selected_tags"></div>
46   </td>
47  </tr>
48  <tr>
49   <td>&nbsp;</td>
50  </tr>
51 </table>