/[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

Annotation of /trunk/templates/master.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 24 - (hide annotations)
Sat May 8 14:27:54 2004 UTC (20 years ago) by dpavlin
File MIME type: text/html
File size: 1734 byte(s)
another major update:
- sort is implemented
- search_filter from httpd.pl and all macros moved to macros.tt2
- URL parametars are now correctly escaped

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

  ViewVC Help
Powered by ViewVC 1.1.26