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

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

  ViewVC Help
Powered by ViewVC 1.1.26