1 |
dpavlin |
6 |
<html> |
2 |
|
|
<head> |
3 |
dpavlin |
7 |
<title>[% IF title %][% title %] -- [% END %]Mail::Box Web Search</title> |
4 |
|
|
</head> |
5 |
dpavlin |
6 |
|
6 |
dpavlin |
11 |
[% MACRO search(fld,text,link_text) BLOCK; %] |
7 |
|
|
<a href="?search=[% fld %]:[% text %]">[% IF link_text ; link_text ; ELSE ; text ; END %]</a> |
8 |
dpavlin |
7 |
[% END %] |
9 |
|
|
|
10 |
dpavlin |
12 |
[% MACRO option(var, value, text) BLOCK %] |
11 |
|
|
<option value="[% value %]"[% IF value == param.search_fld %] selected[% END %]>[% text %]</option> |
12 |
|
|
[% END %] |
13 |
|
|
|
14 |
dpavlin |
6 |
<body> |
15 |
|
|
|
16 |
dpavlin |
12 |
<table border="0" width="100%"> |
17 |
|
|
<tr> |
18 |
|
|
<td colspan="2"> |
19 |
|
|
|
20 |
|
|
<form> |
21 |
|
|
Search |
22 |
|
|
<select name="search_fld"> |
23 |
|
|
[% option("search_fld","subject","message subject") %] |
24 |
|
|
[% option("search_fld","body","message text") %] |
25 |
|
|
[% option("search_fld","from_phrase","sender name") %] |
26 |
|
|
[% option("search_fld","from_address","sender address") %] |
27 |
|
|
[% option("search_fld","to_phrase","sender name") %] |
28 |
|
|
[% option("search_fld","to_address","sender address") %] |
29 |
|
|
</select> |
30 |
|
|
<input type="text" name="search_val" size=20 value="[% param.search_val %]"> |
31 |
|
|
</select> |
32 |
|
|
</form> |
33 |
|
|
|
34 |
|
|
</td> |
35 |
|
|
</tr> |
36 |
|
|
|
37 |
|
|
<tr> |
38 |
|
|
<td valign="top"> |
39 |
|
|
|
40 |
dpavlin |
7 |
[% IF results %] |
41 |
|
|
[% INCLUDE results.html %] |
42 |
|
|
[% ELSIF message %] |
43 |
|
|
[% INCLUDE message.html %] |
44 |
|
|
[% END %] |
45 |
dpavlin |
6 |
|
46 |
dpavlin |
12 |
</td> |
47 |
|
|
<td valign="top"> |
48 |
|
|
|
49 |
|
|
[% USE cal = Calendar.Simple %] |
50 |
|
|
|
51 |
|
|
<table border="0"> |
52 |
|
|
[% FOREACH row = cal.rows %] |
53 |
|
|
<tr> |
54 |
|
|
[% FOREACH col = row %] |
55 |
|
|
<td align="right">[% col || ' ' %]</td> |
56 |
|
|
[% END %] |
57 |
|
|
</tr> |
58 |
|
|
[% END %] |
59 |
|
|
</table> |
60 |
|
|
|
61 |
|
|
<br> |
62 |
|
|
Thread |
63 |
|
|
|
64 |
|
|
<br> |
65 |
|
|
Recipients |
66 |
|
|
|
67 |
|
|
<br> |
68 |
|
|
Contributors |
69 |
|
|
|
70 |
|
|
<br> |
71 |
|
|
Lists |
72 |
|
|
|
73 |
|
|
<br> |
74 |
|
|
Links |
75 |
|
|
|
76 |
|
|
<br> |
77 |
|
|
|
78 |
|
|
|
79 |
|
|
</td> |
80 |
|
|
|
81 |
|
|
</tr> |
82 |
|
|
|
83 |
|
|
|
84 |
|
|
</table> |
85 |
|
|
|
86 |
dpavlin |
6 |
</body> |