Dotclear

source: inc/public/default-templates/mustek/search.html @ 2604:0cc273ec6062

Revision 2604:0cc273ec6062, 6.0 KB checked in by franck <carnet.franck.paul@…>, 12 years ago (diff)

Switch all templates to HTML5, step 3, xml:lang… no more needed

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
45<body class="dc-search">
46<div id="page">
47{{tpl:include src="_top.html"}}
48
49<div id="wrapper">
50
51<div id="main" role="main">
52  <div id="content">
53
54  <div id="content-info">
55    <h2>{{tpl:lang Search}}</h2>
56    <tpl:SysIf search_count="==0">
57      <p>{{tpl:SysSearchString encode_html="1" string="Your search for <em>%1$s</em> returned no result."}}</p>
58    </tpl:SysIf>
59    <tpl:SysIf search_count="==1">
60      <p>{{tpl:SysSearchString encode_html="1" string="Your search for <em>%1$s</em> returned <strong>%2$s</strong> result."}}</p>
61    </tpl:SysIf>
62    <tpl:SysIf search_count="&gt;1">
63      <p>{{tpl:SysSearchString encode_html="1" string="Your search for <em>%1$s</em> returned <strong>%2$s</strong> results."}}</p>
64    </tpl:SysIf>
65  </div>
66
67  <tpl:Entries>
68    <div id="p{{tpl:EntryID}}" class="post {{tpl:EntryIfOdd}} {{tpl:EntryIfFirst}}" lang="{{tpl:EntryLang}}" role="article">
69    <!-- # New day date -->
70    <tpl:DateHeader><p class="day-date">{{tpl:EntryDate}}</p></tpl:DateHeader>
71
72    <h2 class="post-title"><a
73    href="{{tpl:EntryURL}}">{{tpl:EntryTitle encode_html="1"}}</a></h2>
74
75    <p class="post-info">{{tpl:lang By}} {{tpl:EntryAuthorLink}}
76    {{tpl:lang on}} {{tpl:EntryDate}}, {{tpl:EntryTime}}
77    <tpl:EntryIf has_category="1">
78    - <a href="{{tpl:EntryCategoryURL}}">{{tpl:EntryCategory encode_html="1"}}</a>
79    </tpl:EntryIf>
80    </p>
81
82    <tpl:EntryTags>
83    <tpl:TagsHeader><ul class="post-tags"></tpl:TagsHeader>
84    <li><a href="{{tpl:TagURL}}">{{tpl:TagID}}</a></li>
85    <tpl:TagsFooter></ul></tpl:TagsFooter>
86    </tpl:EntryTags>
87
88    <!-- # --BEHAVIOR-- publicEntryBeforeContent -->
89    {{tpl:SysBehavior behavior="publicEntryBeforeContent"}}
90
91    <!-- # Entry with an excerpt -->
92    <tpl:EntryIf extended="1">
93      <div class="post-content">{{tpl:EntryExcerpt}}</div>
94      <p class="read-it"><a href="{{tpl:EntryURL}}"
95      title="{{tpl:lang Continue reading}} {{tpl:EntryTitle encode_html="1"}}">{{tpl:lang Continue
96      reading}}</a>...</p>
97    </tpl:EntryIf>
98
99    <!-- # Entry without excerpt -->
100    <tpl:EntryIf extended="0">
101      <div class="post-content">{{tpl:EntryContent}}</div>
102    </tpl:EntryIf>
103
104    <!-- # --BEHAVIOR-- publicEntryAfterContent -->
105    {{tpl:SysBehavior behavior="publicEntryAfterContent"}}
106
107    <!-- # Number of comments, trackbacks and attachments -->
108    <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1">
109      <p class="post-info-co">
110    </tpl:EntryIf>
111    <tpl:EntryIf show_comments="1">
112      <a href="{{tpl:EntryURL}}#comments" class="comment_count">{{tpl:EntryCommentCount}}</a>
113    </tpl:EntryIf>
114    <tpl:EntryIf show_pings="1">
115      <a href="{{tpl:EntryURL}}#pings" class="ping_count">{{tpl:EntryPingCount}}</a></tpl:EntryIf>
116    <tpl:EntryIf has_attachment="1">
117      <a href="{{tpl:EntryURL}}#attachments" class="attach_count">{{tpl:EntryAttachmentCount}}</a></tpl:EntryIf>
118    <tpl:EntryIf operator="or" show_comments="1" show_pings="1" has_attachment="1">
119      </p>
120    </tpl:EntryIf>
121    </div>
122
123    <tpl:EntriesFooter>
124      <tpl:Pagination>
125        <p class="pagination"><tpl:PaginationIf end="0"><a href="{{tpl:PaginationURL offset="+1"}}" class="prev">&#171;
126        {{tpl:lang previous entries}}</a> - </tpl:PaginationIf>
127        {{tpl:lang page}} {{tpl:PaginationCurrent}} {{tpl:lang of}} {{tpl:PaginationCounter}}
128        <tpl:PaginationIf start="0"> - <a href="{{tpl:PaginationURL offset="-1"}}" class="next">{{tpl:lang next entries}}
129        &#187;</a></tpl:PaginationIf></p>
130      </tpl:Pagination>
131    </tpl:EntriesFooter>
132  </tpl:Entries>
133  </div>
134</div> <!-- End #main -->
135
136<div id="sidebar" role="complementary">
137  <div id="blognav">
138    {{tpl:Widgets type="nav"}}
139  </div> <!-- End #blognav -->
140
141  <div id="blogextra">
142    {{tpl:Widgets type="extra"}}
143  </div> <!-- End #blogextra -->
144</div>
145
146</div> <!-- End #wrapper -->
147
148{{tpl:include src="_footer.html"}}
149</div> <!-- End #page -->
150</body>
151</html>
Note: See TracBrowser for help on using the repository browser.

Sites map