/[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 12 by dpavlin, Thu May 6 12:40:11 2004 UTC revision 13 by dpavlin, Thu May 6 16:53:40 2004 UTC
# Line 11  Line 11 
11  <option value="[% value %]"[% IF value == param.search_fld %] selected[% END %]>[% text %]</option>  <option value="[% value %]"[% IF value == param.search_fld %] selected[% END %]>[% text %]</option>
12  [% END %]  [% END %]
13    
14    [% MACRO from(message) BLOCK %]
15    <span class="from">
16     [% FOREACH f IN message.from %]
17      [% search('from_phrase',f) %][% IF !loop.last %],[% END %]
18     [% END %]
19    </span>
20    [% END %]
21    
22    [% MACRO to(message) BLOCK %]
23    <span class="to">
24     [% FOREACH f IN message.to %]
25      [% IF !loop.fist %]To [% END %]
26      [% search('to_phrase',f) %][% IF !loop.last %], [% END %]
27     [% END %]
28     [% FOREACH f IN message.cc %]
29      [% IF !loop.fist %]Cc [% END %]
30      [% search('cc_phrase',f) %][% IF !loop.last %], [% END %]
31     [% END %]
32     [% FOREACH f IN message.bcc %]
33      [% IF !loop.fist %]Bcc [% END %]
34      [% search('cc_phrase',f) %][% IF !loop.last %], [% END %]
35     [% END %]
36    </span>
37    [% END %]
38    
39    [% MACRO date(msg) BLOCK %]
40    <span class="date">[% msg.date %]</span>
41    [% END %]
42    
43  <body>  <body>
44    
45  <table border="0" width="100%">  <table border="0" width="100%">
# Line 24  Search Line 53  Search
53  [% option("search_fld","body","message text") %]  [% option("search_fld","body","message text") %]
54  [% option("search_fld","from_phrase","sender name") %]  [% option("search_fld","from_phrase","sender name") %]
55  [% option("search_fld","from_address","sender address") %]  [% option("search_fld","from_address","sender address") %]
56  [% option("search_fld","to_phrase","sender name") %]  [% option("search_fld","to_phrase","recipient name") %]
57  [% option("search_fld","to_address","sender address") %]  [% option("search_fld","to_address","recipient address") %]
58  </select>  </select>
59  <input type="text" name="search_val" size=20 value="[% param.search_val %]">  <input type="text" name="search_val" size=20 value="[% param.search_val %]">
60  </select>  </select>
# Line 35  Search Line 64  Search
64  </tr>  </tr>
65    
66  <tr>  <tr>
67  <td valign="top">  <td valign="top" width="90%">
68    
69  [% IF results %]  [% IF results %]
70   [% INCLUDE results.html %]   [% INCLUDE results.html %]

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

  ViewVC Help
Powered by ViewVC 1.1.26