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 |
<div class="sidebar"> |
12 |
|
13 |
<div class="calendar"> |
14 |
[% USE cal = Calendar.Simple(mm,yyyy) %] |
15 |
|
16 |
<table border="0" style="display:inline"> |
17 |
<tr><th colspan="7"> |
18 |
<a href="/[% yyyy ; "/" %]/[% url_search(param.search) %]">[% yyyy %]</a>-<a href="/[% yyyy ; "/" ; mm %]/[% url_search(param.search) %]">[% mm %]</a> |
19 |
</th></tr> |
20 |
[% FOREACH row = cal.rows %] |
21 |
<tr> |
22 |
[% FOREACH col = row %] |
23 |
<td>[% get_cal(calendar,yyyy,mm,col,url_search(param.search)) %]</td> |
24 |
[% END %] |
25 |
</tr> |
26 |
[% END %] |
27 |
</table> |
28 |
</div> |
29 |
|
30 |
<!-- |
31 |
Thread |
32 |
--> |
33 |
|
34 |
[% usage_list(counters.from,'from_phrase','<b>From</b>') %] |
35 |
|
36 |
[% usage_list(counters.to,'to_phrase','<b>To</b>') %] |
37 |
|
38 |
[% usage_list(counters.cc,'cc_phrase','<b>Cc</b>') %] |
39 |
|
40 |
[% usage_list(counters.folder,'folder','<b>Folders</b>') %] |
41 |
|
42 |
<!-- |
43 |
Lists |
44 |
Links |
45 |
--> |
46 |
|
47 |
</div> |
48 |
|
49 |
<form name="search_form" class="search_form"> |
50 |
<a href="/">#</a> |
51 |
Search |
52 |
<select name="search_fld"> |
53 |
[% option("search_fld","message","anywhere") %] |
54 |
[% option("search_fld","subject","message subject") %] |
55 |
[% option("search_fld","body","message text") %] |
56 |
[% option("search_fld","from_phrase","sender name") %] |
57 |
[% option("search_fld","from_address","sender address") %] |
58 |
[% option("search_fld","to_phrase","recipient name") %] |
59 |
[% option("search_fld","to_address","recipient address") %] |
60 |
[% option("search_fld","cc_phrase","also to name") %] |
61 |
[% option("search_fld","bcc_phrase","sneek to name") %] |
62 |
[% option("search_fld","folder","folder") %] |
63 |
</select> |
64 |
<input type="text" name="search_val" size=20 value="[% param.search_val %]"> |
65 |
</select> |
66 |
<input type="submit" name="submit" value="Go!"> |
67 |
|
68 |
[% IF param.sort_by %] |
69 |
<input type="hidden" name="sort_by" value="[% param.sort_by %]"> |
70 |
[% END %] |
71 |
</form> |
72 |
|
73 |
<div class="results"> |
74 |
|
75 |
[% IF results %] |
76 |
[% INCLUDE results.html %] |
77 |
[% ELSIF message %] |
78 |
[% INCLUDE message.html %] |
79 |
[% ELSIF apropos %] |
80 |
[% INCLUDE apropos.html %] |
81 |
[% END %] |
82 |
|
83 |
</div> |
84 |
|
85 |
</body> |