1 [% META title = 'Wiki search' %]
3 <form action="[% c.uri_for('search') %]" method="post">
5 <fieldset class="forum-post"> <legend>Wiki search</legend>
6 <p><input style="width:98%" type="text" name="search" value="[% search %]"></p>
8 <p>Use advanced search: <input type="checkbox" name="advsearch"></p>
10 Advanced search has the following syntax:
11 Use | (OR) or & (AND) to separate words. Word:A searches for Word in
12 topic 'Two words' to search for a longer string. Word:D limits the search to just the message body.
14 <p><input type="submit" name="cmd" value="Search"></p>
18 <p> Could not search, because of: </p>
19 <p> [% searcherror | html %] </p>
22 [% IF searchresults %]
29 [% FOR p IN searchresults %]
30 <tr align="left" class="[% IF loop.count % 2 == 0 %]even[% ELSE %]odd[% END %]">
31 <td><a href="[% c.uri_for('',p.fullname) %]"> [% p.fullname %] </a></td>
32 <td align="center">[% p.headline %]</td>