/[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 46 - (show annotations)
Tue May 11 19:50:48 2004 UTC (20 years ago) by dpavlin
File MIME type: text/html
File size: 2164 byte(s)
folder searching partly working

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 class="calendar_date" 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 class="calendar_day">[% 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 <div class="search_form">
50
51 <form name="search_form">
52 <a href="/">#</a>
53 Search
54 <select name="search_fld">
55 [% option("search_fld","message","anywhere") %]
56 [% option("search_fld","subject","message subject") %]
57 [% option("search_fld","body","message text") %]
58 [% option("search_fld","from_phrase","sender name") %]
59 [% option("search_fld","from_address","sender address") %]
60 [% option("search_fld","to_phrase","recipient name") %]
61 [% option("search_fld","to_address","recipient address") %]
62 [% option("search_fld","cc_phrase","also to name") %]
63 [% option("search_fld","bcc_phrase","sneek to name") %]
64 [% option("search_fld","folder","folder") %]
65 </select>
66 <input type="text" name="search_val" size=20 value="[% param.search_val %]">
67 </select>
68 <input type="submit" name="submit" value="Go!">
69
70 [% IF param.sort_by %]
71 <input type="hidden" name="sort_by" value="[% param.sort_by %]">
72 [% END %]
73 </form>
74
75 </div>
76
77 <div class="results">
78
79 [% IF results %]
80 [% INCLUDE results.html %]
81 [% ELSIF message %]
82 [% INCLUDE message.html %]
83 [% ELSIF apropos %]
84 [% INCLUDE apropos.html %]
85 [% END %]
86
87 </div>
88
89 </body>

  ViewVC Help
Powered by ViewVC 1.1.26