default theme, make sort-select box a template function
[phpfspot.git] / themes / default / templates / search.tpl
1 <table style="width: 100%;">
2  <tr>
3   <td style="vertical-align: middle; text-decoration: underline;">
4    <img src="resources/loupe.png" alt="loupe" />Search:
5   </td>
6  </tr>
7  <tr>
8   <td class="searchfor">
9    <table>
10     <form action="" onsubmit="startSearch(); return false;">
11     <tr>
12      <td>Tag:</td>
13      <td>
14       <input type="text" name="searchfor" value="{$searchfor}" size="15" />
15      </td>
16      <td>
17       <input type="image" src="resources/doit.png" alt="Tag-Search" onclick="click(this);" />
18      </td>
19     </tr>
20     <tr>
21      <td>Date:</td>
22      <td>
23       { if ! $date_search_enabled }
24        <input type="checkbox" name="consider_date" value="Y" onclick="datesearch();">
25       { else }
26        <input type="checkbox" name="consider_date" value="Y" onclick="datesearch();" checked="checked">
27       { /if }
28       consider date-range
29      </td>
30     </tr>
31     <tr>
32      <td>&nbsp;</td>
33      <td>{$from_date} <a href="javascript:showCalendar('from');" onclick="click(this);"><img src="resources/date.png" id="frompic"/></a></td>
34     </tr>
35     <tr>
36      <td>&nbsp;</td>
37      <td>
38       {$to_date} <a href="javascript:showCalendar('to');" onclick="click(this);"><img src="resources/date.png" id="topic" /></a>
39      </td>
40      <td>
41       <input type="image" src="resources/doit.png" alt="Tag-Search" onclick="click(this);" />
42      </td>
43     </tr>
44     <tr>
45      <td>
46       Sort-Order:
47      </td>
48      <td>
49       { sort_select_list }
50      </td>
51      <td>
52       <input type="image" src="resources/doit.png" alt="Tag-Search" onclick="click(this);" />
53      </td>
54     </tr>
55     </form>
56    </table>
57    <div id='calendar'></div>
58   </td>
59  </tr>
60 </table>