63
|
1 |
<%inherit file="channel.tmpl" />
|
|
2 |
|
65
|
3 |
% if not search_query :
|
63
|
4 |
<div id="title">${channel.title} :: Search</div>
|
|
5 |
|
68
|
6 |
<div id="search">
|
|
7 |
<form action="${h.build_url(urls.channel_search, channel=channel)}" method="GET">
|
63
|
8 |
<input type="text" name="q" />
|
|
9 |
<input type="submit" value="Search" />
|
68
|
10 |
|
|
11 |
Results/page: <select name="count">
|
|
12 |
<option value="50">50</option>
|
|
13 |
<option value="100">100</option>
|
|
14 |
<option value="200">200</option>
|
|
15 |
<option value="">∞</option>
|
|
16 |
</select>
|
|
17 |
</form>
|
|
18 |
|
|
19 |
<div id="search-help">
|
|
20 |
<p>Search powered by <a href="http://hyperestraier.sourceforge.net/">Hyper Estraier</a>:</p>
|
63
|
21 |
|
68
|
22 |
<ul>
|
|
23 |
<li>Group words together using quotes: <tt>"united nations"</tt></li>
|
|
24 |
<li>Searching for multiple words is AND: <tt>internet security</tt></li>
|
|
25 |
<li>To exclude terms, use <strong>!</strong> : <tt>hacker ! cracker</tt></li>
|
|
26 |
<li>Union (i.e. <q>or</q>) using <strong>|</strong> : <tt>proxy | firewall</tt></li>
|
|
27 |
<li>Search is case-insensitive</li>
|
|
28 |
</ul>
|
|
29 |
</div>
|
|
30 |
</div>
|
63
|
31 |
|
|
32 |
% else :
|
65
|
33 |
<div id="title">${channel.title} :: Search '${search_query}'</div>
|
63
|
34 |
|
69
|
35 |
<%include file="lines.tmpl" />
|
63
|
36 |
% endif
|