/[mws]/trunk/templates/master.html
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /trunk/templates/master.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 27 - (show annotations)
Sat May 8 20:34:26 2004 UTC (19 years, 11 months ago) by dpavlin
File MIME type: text/html
File size: 1830 byte(s)
this is 0.9-rc1:
- scripts now accept configuration file as parametar, if none is specified,
  they will use global.conf in current directory
- more css design
- how to install using PAR
- mbox2index can now call swish-e by itself, swish-e configuration
  moved to MWS_swish.pm
- httpd server now shows 30 newest messages in this year when accessed
  through root URL

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

  ViewVC Help
Powered by ViewVC 1.1.26