2
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
<html xmlns="http://www.w3.org/1999/xhtml"
5
xmlns:py="http://genshi.edgewall.org/"
6
xmlns:xi="http://www.w3.org/2001/XInclude">
7
<xi:include href="layout.html" />
8
<xi:include href="macros.html" />
10
<title>Search<py:if test="query"> Results</py:if></title>
11
<py:if test="results">
12
<meta name="startIndex" content="${results.span[0] + 1}"/>
13
<meta name="totalResults" content="$results.num_items"/>
14
<meta name="itemsPerPage" content="$results.max_per_page"/>
16
<script type="text/javascript">
17
jQuery(document).ready(function($) {$("#q").get(0).focus()});
21
<div id="content" class="search">
23
<h1><label for="q">Search</label></h1>
24
<form id="fullsearch" action="${href.search()}" method="get">
26
<input type="text" id="q" name="q" size="40" value="${query}" />
27
<input type="hidden" name="noquickjump" value="1" />
28
<input type="submit" value="${_('Search')}" />
31
<py:for each="filter in filters">
32
<input type="checkbox" id="${filter.name}" name="${filter.name}"
33
checked="${filter.active and 'checked' or None}" />
34
<label for="${filter.name}">${filter.label}</label>
39
<py:if test="results or quickjump"><hr />
41
Results <span class="numresults">(${results.displayed_items()})</span>
43
<xi:include py:with="paginator = results" href="page_index.html" />
46
<py:if test="quickjump">
48
<a href="${quickjump.href}">Quickjump to ${quickjump.name}</a>
50
<dd>${quickjump.description}</dd>
52
<py:for each="result in results">
53
<dt><a href="${result.href}" class="searchable">${result.title}</a></dt>
54
<dd class="searchable">${result.excerpt}</dd>
56
<span class="author">By ${authorinfo(result.author)}</span> —
57
<span class="date">${result.date}</span>
62
<xi:include py:with="paginator = results" href="page_index.html" />
65
<div id="notfound" py:if="query and not (results or quickjump)">
70
<strong>Note:</strong> See <a href="${href.wiki('TracSearch')}">TracSearch</a>
71
for help on searching.