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