1 |
<html> |
2 |
<head> |
3 |
<title>[% IF param.search %][% param.search %] [% date_limit %] - [% END %]Mail::Box Web Search</title> |
4 |
<link rel="StyleSheet" type="text/css" href="/style.css"> |
5 |
</head> |
6 |
|
7 |
[% PROCESS macros.tt2 %] |
8 |
|
9 |
<body> |
10 |
|
11 |
<table border="0" width="100%"> |
12 |
<tr> |
13 |
<td colspan="2"> |
14 |
|
15 |
<form name="search_form"> |
16 |
<a href="/">#</a> |
17 |
Search |
18 |
<select name="search_fld"> |
19 |
[% option("search_fld","message","anywhere") %] |
20 |
[% option("search_fld","subject","message subject") %] |
21 |
[% option("search_fld","body","message text") %] |
22 |
[% option("search_fld","from_phrase","sender name") %] |
23 |
[% option("search_fld","from_address","sender address") %] |
24 |
[% option("search_fld","to_phrase","recipient name") %] |
25 |
[% option("search_fld","to_address","recipient address") %] |
26 |
[% option("search_fld","cc_phrase","also to name") %] |
27 |
[% option("search_fld","bcc_phrase","sneek to name") %] |
28 |
</select> |
29 |
<input type="text" name="search_val" size=20 value="[% param.search_val %]"> |
30 |
</select> |
31 |
<input type="submit" name="submit" value="Go!"> |
32 |
|
33 |
[% IF param.sort_by %] |
34 |
<input type="hidden" name="sort_by" value="[% param.sort_by %]"> |
35 |
[% END %] |
36 |
</form> |
37 |
|
38 |
</td> |
39 |
</tr> |
40 |
|
41 |
<tr> |
42 |
<td valign="top" width="90%"> |
43 |
|
44 |
[% IF results %] |
45 |
[% INCLUDE results.html %] |
46 |
[% ELSIF message %] |
47 |
[% INCLUDE message.html %] |
48 |
[% ELSIF apropos %] |
49 |
[% INCLUDE apropos.html %] |
50 |
[% END %] |
51 |
|
52 |
</td> |
53 |
<td valign="top"> |
54 |
|
55 |
[% USE cal = Calendar.Simple(mm,yyyy) %] |
56 |
|
57 |
<table border="0"> |
58 |
<tr><th class="calendar" colspan="7"> |
59 |
<a href="/[% yyyy ; "/" %]/[% url_search(param.search) %]">[% yyyy %]</a>-<a href="/[% yyyy ; "/" ; mm %]/[% url_search(param.search) %]">[% mm %]</a> |
60 |
</th></tr> |
61 |
[% FOREACH row = cal.rows %] |
62 |
<tr> |
63 |
[% FOREACH col = row %] |
64 |
<td class="calendar" align="right">[% get_cal(calendar,yyyy,mm,col,url_search(param.search)) %]</td> |
65 |
[% END %] |
66 |
</tr> |
67 |
[% END %] |
68 |
</table> |
69 |
|
70 |
<!-- |
71 |
Thread |
72 |
--> |
73 |
|
74 |
[% usage_list(counters.from,'from','From') %] |
75 |
|
76 |
[% usage_list(counters.to,'to','To') %] |
77 |
|
78 |
[% usage_list(counters.cc,'cc','Cc') %] |
79 |
|
80 |
<!-- |
81 |
Lists |
82 |
Links |
83 |
--> |
84 |
|
85 |
</td> |
86 |
|
87 |
</tr> |
88 |
|
89 |
|
90 |
</table> |
91 |
|
92 |
</body> |