/[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 6 by dpavlin, Wed May 5 13:42:27 2004 UTC revision 12 by dpavlin, Thu May 6 12:40:11 2004 UTC
# Line 1  Line 1 
1  <html>  <html>
2  <head>  <head>
3    <title>[% IF title %][% title %] -- [% END %]Mail::Box Web Search</title>
4  </head>  </head>
5    
6    [% MACRO search(fld,text,link_text) BLOCK; %]
7    <a href="?search=[% fld %]:[% text %]">[% IF link_text ; link_text ; ELSE ; text ; END %]</a>
8    [% END %]
9    
10    [% MACRO option(var, value, text) BLOCK %]
11    <option value="[% value %]"[% IF value == param.search_fld %] selected[% END %]>[% text %]</option>
12    [% END %]
13    
14  <body>  <body>
15    
16  [% INCLUDE results.html %]  <table border="0" width="100%">
17    <tr>
18    <td colspan="2">
19    
20    <form>
21    Search
22    <select name="search_fld">
23    [% option("search_fld","subject","message subject") %]
24    [% option("search_fld","body","message text") %]
25    [% option("search_fld","from_phrase","sender name") %]
26    [% option("search_fld","from_address","sender address") %]
27    [% option("search_fld","to_phrase","sender name") %]
28    [% option("search_fld","to_address","sender address") %]
29    </select>
30    <input type="text" name="search_val" size=20 value="[% param.search_val %]">
31    </select>
32    </form>
33    
34    </td>
35    </tr>
36    
37    <tr>
38    <td valign="top">
39    
40    [% IF results %]
41     [% INCLUDE results.html %]
42    [% ELSIF message %]
43     [% INCLUDE message.html %]
44    [% END %]
45    
46    </td>
47    <td valign="top">
48    
49      [% USE cal = Calendar.Simple %]
50    
51      <table border="0">
52      [% FOREACH row = cal.rows %]
53         <tr>
54         [% FOREACH col = row %]
55            <td align="right">[% col || '&nbsp;' %]</td>
56         [% END %]
57         </tr>
58      [% END %]
59      </table>
60    
61    <br>
62    Thread
63    
64    <br>
65    Recipients
66    
67    <br>
68    Contributors
69    
70    <br>
71    Lists
72    
73    <br>
74    Links
75    
76    <br>
77    
78    
79    </td>
80    
81    </tr>
82    
83    
84    </table>
85    
86  </body>  </body>

Legend:
Removed from v.6  
changed lines
  Added in v.12

  ViewVC Help
Powered by ViewVC 1.1.26