summaryrefslogtreecommitdiffstats
path: root/themes/default/templates/search.tpl
blob: 10800e1441e34342eb2b519b3099ce5ecf8a83ed (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
58
59
60
61
62
63
64
65
66
<span style="vertical-align: middle; text-decoration: underline;">
 <img src="resources/loupe.png" alt="loupe" />Search:
</span>
<form action="" onsubmit="startSearch(); return false;">
<div class="searchfor">
<table>
 <tr>
  <td>Tag:</td>
  <td>
   <input type="text" name="searchfor_tag" value="{$searchfor_tag}" size="15" />
  </td>
  <td>
   <input type="image" class="submit" src="resources/doit.png" alt="start search" title="start search" onclick="click(this);" />
  </td>
 </tr>
 <tr>
  <td>Name:</td>
  <td>
   <input type="text" name="searchfor_name" value="{$searchfor_name}" size="15" />
  </td>
  <td>
   <input type="image" class="submit" src="resources/doit.png" alt="start search" title="start search" onclick="click(this);" />
  </td>
 </tr>
 <tr>
  <td>Date:</td>
  <td style="white-space: nowrap;">
   { if ! $date_search_enabled }
    <input type="checkbox" class="checkbox" name="consider_date" value="Y" onclick="datesearch();">
   { else }
    <input type="checkbox" class="checkbox" name="consider_date" value="Y" onclick="datesearch();" checked="checked">
   { /if }
   consider date-range
  </td>
  <td>&nbsp;</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" class="submit" src="resources/doit.png" alt="start search" title="start search" onclick="click(this);" />
  </td>
 </tr>
 <tr>
  <td>
   Sort-Order:&nbsp;
  </td>
  <td>
   <select name="sort_order" onchange="update_sort_order(this);">
    { sort_select_list }
   </select>
  </td>
  <td>
   &nbsp;
  </td>
 </tr>
</table>
</div>
</form>
<div id='calendar'></div>