Dotclear

source: inc/public/default-templates/currywurst/search.html @ 2602:58466d372cb5

Revision 2602:58466d372cb5, 3.8 KB checked in by franck <carnet.franck.paul@…>, 12 years ago (diff)

Switch all templates to HTML5, step 1, ARIA roles need to be implemented

Line 
1<!DOCTYPE html>
2<html lang="{{tpl:BlogLanguage}}">
3<head>
4     <meta charset="UTF-8" />
5     <meta name="ROBOTS" content="{{tpl:BlogMetaRobots robots="NOINDEX,NOARCHIVE"}}" />
6
7     <title>{{tpl:lang Search}} - {{tpl:SysSearchString encode_html="1"}} - {{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf></title>
8     <meta name="copyright" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" />
9     <meta name="author" content="{{tpl:BlogEditor encode_html="1"}}" />
10     <meta name="date" content="{{tpl:BlogUpdateDate iso8601="1"}}" />
11
12     <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" />
13     <meta property="dc.title" lang="{{tpl:BlogLanguage}}" content="{{tpl:lang Search}} - {{tpl:SysSearchString encode_html="1"}} - {{tpl:BlogName encode_html="1"}}<tpl:PaginationIf start="0"> - {{tpl:lang page}} {{tpl:PaginationCurrent}}</tpl:PaginationIf>" />
14     <meta property="dc.language" content="{{tpl:BlogLanguage}}" />
15     <meta property="dc.publisher" content="{{tpl:BlogEditor encode_html="1"}}" />
16     <meta property="dc.rights" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" />
17     <meta property="dc.date" content="{{tpl:BlogUpdateDate iso8601="1"}}" />
18     <meta property="dc.type" content="text" />
19     <meta property="dc.format" content="text/html" />
20
21     <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" />
22     <link rel="contents" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" />
23
24     <tpl:Entries no_content="1">
25          <tpl:EntriesHeader>
26               <tpl:Pagination>
27                    <tpl:PaginationIf end="0">
28                         <link rel="prev" title="{{tpl:lang previous entries}}" href="{{tpl:PaginationURL offset="1"}}" />
29                    </tpl:PaginationIf>
30
31                    <tpl:PaginationIf start="0">
32                         <link rel="next" title="{{tpl:lang next entries}}" href="{{tpl:PaginationURL offset="-1"}}" />
33                    </tpl:PaginationIf>
34               </tpl:Pagination>
35          </tpl:EntriesHeader>
36
37          <link rel="chapter" href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}" />
38     </tpl:Entries>
39
40     <link rel="meta" type="application/xbel+xml" title="Blogroll" href="{{tpl:BlogrollXbelLink}}" />
41
42     {{tpl:include src="_head.html"}}
43</head>
44<body class="dc-search">
45     <div id="page">
46          {{tpl:include src="_top.html"}}
47
48          <div id="wrapper">
49
50               <div id="main">
51                    <div id="content">
52
53                         <div id="content-info">
54                              <h2>{{tpl:lang Search}}</h2>
55                              <tpl:SysIf search_count="==0">
56                                   <p>{{tpl:SysSearchString encode_html="1" string="Your search for <em>%1$s</em> returned no result."}}</p>
57                              </tpl:SysIf>
58                              <tpl:SysIf search_count="==1">
59                                   <p>{{tpl:SysSearchString encode_html="1" string="Your search for <em>%1$s</em> returned <strong>%2$s</strong> result."}}</p>
60                              </tpl:SysIf>
61                              <tpl:SysIf search_count="&gt;1">
62                                   <p>{{tpl:SysSearchString encode_html="1" string="Your search for <em>%1$s</em> returned <strong>%2$s</strong> results."}}</p>
63                              </tpl:SysIf>
64                         </div>
65
66                         <div class="content-inner">
67                              <tpl:Entries type="post,page">
68
69                                   {{tpl:include src="_entry_short.html"}}
70
71                                   <tpl:EntriesFooter>
72                                        <tpl:Pagination>
73                                             <p class="pagination">
74                                                  <tpl:PaginationIf end="0">
75                                                       <a href="{{tpl:PaginationURL offset="+1"}}" class="prev">&#171; {{tpl:lang previous entries}}</a> -
76                                                  </tpl:PaginationIf>
77                                                   {{tpl:lang page}} {{tpl:PaginationCurrent}} {{tpl:lang of}} {{tpl:PaginationCounter}}
78                                                  <tpl:PaginationIf start="0">
79                                                        - <a href="{{tpl:PaginationURL offset="-1"}}" class="next">{{tpl:lang next entries}} &#187;</a>
80                                                  </tpl:PaginationIf>
81                                             </p>
82                                        </tpl:Pagination>
83                                   </tpl:EntriesFooter>
84                              </tpl:Entries>
85                         </div> <!-- End #content-inner -->
86                    </div> <!-- End #content -->
87               </div> <!-- End #main -->
88
89               {{tpl:include src="_sidebar.html"}}
90
91          </div> <!-- End #wrapper -->
92
93          {{tpl:include src="_footer.html"}}
94     </div> <!-- End #page -->
95</body>
96</html>
Note: See TracBrowser for help on using the repository browser.

Sites map