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

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

  ViewVC Help
Powered by ViewVC 1.1.26