+csv dep for PG'OCaml.
[cocanwiki.git] / templates / search.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
3 <head>
4 <title>Search this site</title>
5 <meta name="author" content="http://merjis.com/" />
6 <link rel="stylesheet" href="::theme_css_html_tag::" type="text/css" title="Standard"/>
7 <link rel="stylesheet" href="/_css/search.css" type="text/css" title="Standard"/>
8 <link rel="alternate stylesheet" href="/_css/easytoread.css" type="text/css" title="High contrast, big fonts"/>
9 ::if(has_host_css)::<link rel="stylesheet" href="/_global.css" type="text/css" title="Standard"/>::end::::if(has_ie6_fixes_css)::
10 <!--[if ie 6]><link rel="stylesheet" href="/_ie6_fixes.css" type="text/css" title="Standard"/><![endif]-->::end::::if(has_ie7_fixes_css)::
11 <!--[if ie 7]><link rel="stylesheet" href="/_ie7_fixes.css" type="text/css" title="Standard"/><![endif]-->::end::
12 </head><body onload="document.f.q.focus ()">
13
14 <h1><span>Search this site</span></h1>
15
16 <form method="get" action="/_search" name="f">
17 <table>
18 <tr>
19 <th>Search:</th>
20 <td>
21   <input name="q" value="::query_html_tag::" size="60"/><input type="submit" value="Search"/>
22 </td>
23 </tr>
24 <tr>
25 <td></td>
26 <td>
27   ::if(can_edit)::
28   <input type="checkbox" name="old_versions" value="1" id="old_versions"/>
29   <label for="old_versions">Search old versions of pages</label> <br/>
30   ::end::
31 </td>
32 </tr>
33 </table>
34 </form>
35
36 ::if(have_results)::
37
38 <ul id="contents">
39
40 ::if(have_titles)::
41 ::table(titles)::
42 <li>
43   <a href="/::url_html_tag::::if(have_version)::?version=::version::::end::">::title_html::</a> <br/>
44   <span class="last_modified_date">Last change: ::last_modified_html::</span>
45 </li>
46 ::end::
47 ::end::
48
49 ::if(have_contents)::
50 ::table(contents)::
51 <li>
52   <a href="/::url_html_tag::::if(have_version)::?version=::version::::end::">::title_html::</a>
53   ::if(have_sectionname)::
54     (<a href="/::url_html_tag::::if(have_version)::?version=::version::::end::#::linkname_html_tag::">::sectionname_html::</a>)
55   ::end:: <br/>
56   <span class="content">::content::</span> <br/>
57   <span class="last_modified_date">Last change: ::last_modified_html::</span>
58 </li>
59 ::end::
60 ::end::
61
62 </ul>
63
64 ::else::
65 ::if(have_query)::
66
67 <p>
68 <strong>There are no results for your search.</strong>
69 </p>
70
71 <p>
72 Some tips for finding what you want:
73 </p>
74
75 <ul>
76 <li> Use fewer words. </li>
77 <li> <a href="/_sitemap">Try browsing the sitemap.</a> </li>
78 <li> <a href="http://www.google.com/search?q=site&#58;::canonical_hostname_url::+::query_url::">Try the same search on Google.</a>
79 </ul>
80
81 ::end::
82 ::end::
83
84 ::include(footer.html)::
85 </body>
86 </html>