Add IE6- and IE7-specific stylesheets, only served to broken browsers.
[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 ::if(have_titles)::
39 <div id="titles">
40 <ul id="titles">
41 ::table(titles)::
42 <li>
43   <a href="/::url_html_tag::::if(have_version)::?version=::version::::end::">::title_html::</a>
44   <span class="last_modified_date">- Last change: ::last_modified_html::</span>
45 </li>
46 ::end::
47 </ul>
48 </div>
49 ::end::
50
51 ::if(have_contents)::
52 <ul id="contents">
53 ::table(contents)::
54 <li>
55   <a href="/::url_html_tag::::if(have_version)::?version=::version::::end::">::title_html::</a>
56   ::if(have_sectionname)::
57     (<a href="/::url_html_tag::::if(have_version)::?version=::version::::end::#::linkname_html_tag::">::sectionname_html::</a>)
58   ::end:: <br/>
59   <span class="content">::content::</span> <br/>
60   <span class="last_modified_date">Last change: ::last_modified_html::</span>
61 </li>
62 ::end::
63 </ul>
64 ::end::
65
66 ::else::
67 ::if(have_query)::
68
69 <p>
70 <strong>There are no results for your search.</strong>
71 </p>
72
73 <p>
74 Some tips for finding what you want:
75 </p>
76
77 <ul>
78 <li> Use fewer words. </li>
79 <li> <a href="/_sitemap">Try browsing the sitemap.</a> </li>
80 <li> <a href="http://www.google.com/search?q=site&#58;::canonical_hostname_url::+::query_url::">Try the same search on Google.</a>
81 </ul>
82
83 ::end::
84 ::end::
85
86 ::include(footer.html)::
87 </body>
88 </html>