Added styling to some pages which previously were "outside" the site
[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://www.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::
10 </head><body onload="document.f.q.focus ()">
11
12 <h1><span>Search this site</span></h1>
13
14 <form method="get" action="/_search" name="f">
15 <table>
16 <tr>
17 <th>Search:</th>
18 <td>
19   <input name="q" value="::query_html_tag::" size="60"/><input type="submit" value="Search"/>
20 </td>
21 </tr>
22 <tr>
23 <td></td>
24 <td>
25   ::if(can_edit)::
26   <input type="checkbox" name="old_versions" value="1" id="old_versions"/>
27   <label for="old_versions">Search old versions of pages</label> <br/>
28   ::end::
29 </td>
30 </tr>
31 </table>
32 </form>
33
34 ::if(have_results)::
35
36 ::if(have_titles)::
37 <div id="titles">
38 <ul id="titles">
39 ::table(titles)::
40 <li>
41   <a href="/::url_html_tag::::if(have_version)::?version=::version::::end::">::title_html::</a>
42   <span class="last_modified_date">- Last change: ::last_modified_html::</span>
43 </li>
44 ::end::
45 </ul>
46 </div>
47 ::end::
48
49 ::if(have_contents)::
50 <ul id="contents">
51 ::table(contents)::
52 <li>
53   <a href="/::url_html_tag::::if(have_version)::?version=::version::::end::">::title_html::</a>
54   ::if(have_sectionname)::
55     (<a href="/::url_html_tag::::if(have_version)::?version=::version::::end::#::linkname_html_tag::">::sectionname_html::</a>)
56   ::end:: <br/>
57   <span class="content">::content::</span> <br/>
58   <span class="last_modified_date">Last change: ::last_modified_html::</span>
59 </li>
60 ::end::
61 </ul>
62 ::end::
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>