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

Diff of /trunk/templates/master.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

Legend:
Removed from v.11  
changed lines
  Added in v.24

  ViewVC Help
Powered by ViewVC 1.1.26