/[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 35 - (hide annotations)
Sun May 9 10:43:24 2004 UTC (20 years ago) by dpavlin
File MIME type: text/html
File size: 2005 byte(s)
preserve sort order when searching through form

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

  ViewVC Help
Powered by ViewVC 1.1.26