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