1 |
Search results for <tt>[% query %]</tt> |
Search results for <tt>[% query %]</tt> |
2 |
produced [% results.size %] results... |
produced [% results.size %] results... |
3 |
|
|
4 |
[% MACRO message(subject, from, body) BLOCK; %] |
|
5 |
<h1 style="color: #808080">[% subject %]</h1> |
[% FOR msg = results %] |
6 |
|
<hr> |
7 |
|
<h1 style="color: #808080"><a href="?show_id=[% msg.id %]">[% msg.subject %]</a></h1> |
8 |
<h2> |
<h2> |
9 |
[% FOREACH f IN from %] |
[% FOREACH f IN msg.from %] |
10 |
[% search('from_phrase',f) %][% IF !loop.last %],[% END %] |
[% search('from_phrase',f) %][% IF !loop.last %],[% END %] |
11 |
[% END %] |
[% END %] |
12 |
</h2> |
</h2> |
13 |
<pre>[% FILTER body5 %][% body %][% END %]</pre> |
<pre>[% FILTER body5 %][% msg.body %][% END %]</pre> |
|
[% END %] |
|
|
|
|
|
|
|
|
[% MACRO search(fld,text) BLOCK; %] |
|
|
<a href="?search=[% fld %]:[% text %]">[% text %]</a> |
|
|
[% END %] |
|
|
|
|
|
|
|
|
[% FOR result = results %] |
|
|
<hr> |
|
|
[% message(result.subject, result.from, result.body) %] |
|
14 |
[% END %] |
[% END %] |