/[mws]/trunk/templates/results.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

Annotation of /trunk/templates/results.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 48 - (hide annotations)
Wed May 12 00:29:01 2004 UTC (20 years ago) by dpavlin
File MIME type: text/html
File size: 1643 byte(s)
another user-interface rework: titles for hrefs now show explanation of
(more clearly marked) links which work as buttons.

1 dpavlin 48 <table border=0 style="float:right">
2     <tr><td class="button">
3     [% sort_bar(param,"","","") %]
4     </td><td class="button">
5     [% IF date_limit %]
6     <a href="/[% url_search(param.search) %]" title="limit by date">[% date_limit %]</a>
7     </td><td class="button">
8     [% END %]
9     [% IF param.full_body %]
10     <a href="[% url_search(param.search) %]&full_body=0" title="show 5-lines body">brief</a>
11     [% ELSE %]
12     <a href="[% url_search(param.search) %]&full_body=1" title="show full messages">full</a>
13     [% END %]
14     </td></tr>
15     </table>
16    
17     <div class="results_message">
18 dpavlin 25 [% IF results.size < total_hits %]<abbr title="showing">[% results.size %]</abbr>/[% END %][% total_hits %]
19 dpavlin 48 [% IF total_hits > 1 %]messages[% ELSE %]message[% END %]
20     [% IF param.search %]
21     for <span class="search_query">[% param.search %]</span>
22     [% END %]
23     </div>
24 dpavlin 25
25 dpavlin 48 <div>
26 dpavlin 7 [% FOR msg = results %]
27 dpavlin 27 <div class="headers">
28 dpavlin 48 <span class="button">[% search('subject',msg.subject,param.sort_by,'?','search by subject') %]</span>
29 dpavlin 24 <span class="subject"><a href="[% url_show_id(msg.id) %]">[% msg.subject %]</a></span>
30 dpavlin 13 <br>
31     [% from(msg) %]
32     [% date(msg) %]
33 dpavlin 48 <span class="folder">
34     <!--
35 dpavlin 46 [% IF param.search_fld != "folder" %]
36 dpavlin 48 <span class="button"><a href="">+</a></span>
37 dpavlin 46 [% END %]
38 dpavlin 48 -->
39     [% folder(msg.id) %]
40     <!--
41     <span class="button"><a href="">-</a></span>
42     -->
43     </span>
44 dpavlin 13 <br>[% to(msg) %]
45 dpavlin 27 </div>
46 dpavlin 48
47 dpavlin 38 <div class="message">
48     [% IF param.full_body %]
49     <pre>[% FILTER body ; msg.body ; END %]</pre>
50     [% ELSE %]
51     <pre>[% FILTER body5 ; msg.body ; END %]</pre>
52     [% END %]
53 dpavlin 27 </div>
54 dpavlin 6 [% END %]
55 dpavlin 19
56     [% IF total_hits - results.size > 0 %]
57 dpavlin 27 <span class="notice">
58 dpavlin 19 There are [% total_hits - results.size %] more hits.
59 dpavlin 27 </span>
60 dpavlin 19 [% END %]
61 dpavlin 48 </div>

  ViewVC Help
Powered by ViewVC 1.1.26