Dotclear

source: inc/public/default-templates/mustek/post.html @ 2603:14879730c18e

Revision 2603:14879730c18e, 10.1 KB checked in by franck <carnet.franck.paul@…>, 12 years ago (diff)

Switch all templates to HTML5, step 2, ARIA roles implemented, plugins use tplset

Line 
1<!DOCTYPE html>
2<html lang="{{tpl:BlogLanguage}}">
3<head>
4  <meta charset="UTF-8" />
5  <meta name="ROBOTS" content="{{tpl:BlogMetaRobots}}" />
6
7  <title>{{tpl:EntryTitle encode_html="1"}} - {{tpl:BlogName encode_html="1"}}</title>
8  <meta name="description" lang="{{tpl:EntryLang}}" content="{{tpl:EntryContent full="1" encode_html="1" remove_html="1" cut_string="180"}}" />
9  <meta name="copyright" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" />
10  <meta name="author" content="{{tpl:EntryAuthorCommonName encode_html="1"}}" />
11  <meta name="date" content="{{tpl:EntryDate iso8601="1"}}" />
12
13  <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" />
14  <meta property="dc.title" content="{{tpl:EntryTitle encode_html="1"}}" />
15  <meta property="dc.description" lang="{{tpl:EntryLang}}" content="{{tpl:EntryContent full="1" encode_html="1" remove_html="1" cut_string="180"}}" />
16  <meta property="dc.creator" content="{{tpl:EntryAuthorCommonName encode_html="1"}}" />
17  <meta property="dc.language" content="{{tpl:EntryLang}}" />
18  <meta property="dc.publisher" content="{{tpl:BlogEditor encode_html="1"}}" />
19  <meta property="dc.rights" content="{{tpl:BlogCopyrightNotice encode_html="1"}}" />
20  <meta property="dc.date" content="{{tpl:EntryDate iso8601="1"}}" />
21  <meta property="dc.type" content="text" />
22  <meta property="dc.format" content="text/html" />
23
24  <link rel="top" href="{{tpl:BlogURL}}" title="{{tpl:lang Home}}" />
25  <link rel="contents" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" />
26  <tpl:EntryIf pings_active="1"><link rel="pingback" href="{{tpl:BlogXMLRPCURL}}" /></tpl:EntryIf>
27
28  <tpl:EntryNext><link rel="next" href="{{tpl:EntryURL}}"
29  title="{{tpl:EntryTitle encode_html="1"}}" /></tpl:EntryNext>
30
31  <tpl:EntryPrevious><link rel="prev" href="{{tpl:EntryURL}}"
32  title="{{tpl:EntryTitle encode_html="1"}}" /></tpl:EntryPrevious>
33
34  <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:BlogFeedURL type="atom"}}" />
35
36  {{tpl:include src="_head.html"}}
37
38  <script type="text/javascript" src="{{tpl:BlogThemeURL}}/../default/js/post.js"></script>
39  <script type="text/javascript">
40  //<![CDATA[
41  var post_remember_str = '{{tpl:lang Remember me on this blog}}';
42  //]]>
43  </script>
44</head>
45
46<body class="dc-post">
47<div id="page">
48{{tpl:EntryPingData}}
49
50{{tpl:include src="_top.html"}}
51
52<div id="wrapper">
53
54<div id="main" role="main">
55  <div id="content">
56
57  <p id="navlinks">
58  <tpl:EntryPrevious><a href="{{tpl:EntryURL}}"
59  title="{{tpl:EntryTitle encode_html="1"}}" class="prev">&#171; {{tpl:EntryTitle encode_html="1"
60  cut_string="50"}}</a></tpl:EntryPrevious>
61  <tpl:EntryNext> <span>-</span> <a href="{{tpl:EntryURL}}"
62  title="{{tpl:EntryTitle encode_html="1"}}" class="next">{{tpl:EntryTitle encode_html="1"
63  cut_string="50"}} &#187;</a></tpl:EntryNext>
64  </p>
65
66  <div id="p{{tpl:EntryID}}" class="post" role="article">
67    <h2 class="post-title">{{tpl:EntryTitle encode_html="1"}}</h2>
68
69    <p class="post-info">{{tpl:lang By}} {{tpl:EntryAuthorLink}}
70    {{tpl:lang on}} {{tpl:EntryDate}}, {{tpl:EntryTime}}
71    <tpl:EntryIf has_category="1">
72    - <a href="{{tpl:EntryCategoryURL}}">{{tpl:EntryCategory encode_html="1"}}</a>
73    </tpl:EntryIf>
74    - <a href="{{tpl:EntryURL}}">{{tpl:lang Permalink}}</a>
75    </p>
76
77    <tpl:EntryTags>
78    <tpl:TagsHeader><ul class="post-tags"></tpl:TagsHeader>
79    <li><a href="{{tpl:TagURL}}" rel="tag">{{tpl:TagID}}</a></li>
80    <tpl:TagsFooter></ul></tpl:TagsFooter>
81    </tpl:EntryTags>
82
83    <!-- # --BEHAVIOR-- publicEntryBeforeContent -->
84    {{tpl:SysBehavior behavior="publicEntryBeforeContent"}}
85
86    <!-- # Entry with an excerpt -->
87    <tpl:EntryIf extended="1">
88      <div class="post-excerpt">{{tpl:EntryExcerpt}}</div>
89    </tpl:EntryIf>
90
91    <div class="post-content">{{tpl:EntryContent}}</div>
92
93    <!-- # --BEHAVIOR-- publicEntryAfterContent -->
94    {{tpl:SysBehavior behavior="publicEntryAfterContent"}}
95  </div>
96
97  <!-- # Attachments -->
98  <tpl:Attachments>
99    <tpl:AttachmentsHeader>
100      <div id="attachments">
101      <h3>{{tpl:lang Attachments}}</h3>
102      <ul>
103    </tpl:AttachmentsHeader>
104      <li class="{{tpl:AttachmentType}}">
105        <tpl:AttachmentIf is_mp3="1">
106          {{tpl:include src="_mp3_player.html"/}} -
107        </tpl:AttachmentIf>
108        <tpl:AttachmentIf is_flv="1">
109          {{tpl:include src="_flv_player.html"/}}
110        </tpl:AttachmentIf>
111        <tpl:AttachmentIf is_flv="0">
112          <a href="{{tpl:AttachmentURL}}"
113          title="{{tpl:AttachmentFileName}} ({{tpl:AttachmentSize}})">{{tpl:AttachmentTitle}}</a>
114        </tpl:AttachmentIf>
115      </li>
116    <tpl:AttachmentsFooter>
117      </ul>
118      </div>
119    </tpl:AttachmentsFooter>
120  </tpl:Attachments>
121
122  <!-- # Comments -->
123  <tpl:EntryIf show_comments="1">
124    <tpl:Comments>
125    <tpl:CommentsHeader>
126      <div id="comments">
127        <h3>{{tpl:lang Comments}}</h3>
128      <dl>
129    </tpl:CommentsHeader>
130      <dt id="c{{tpl:CommentID}}" class="{{tpl:CommentIfMe}} {{tpl:CommentIfOdd}} {{tpl:CommentIfFirst}}"><a
131      href="#c{{tpl:CommentID}}" class="comment-number">{{tpl:CommentOrderNumber}}.</a>
132      {{tpl:lang On}} {{tpl:CommentDate}}, {{tpl:CommentTime}}
133      {{tpl:lang by}} {{tpl:CommentAuthorLink}}</dt>
134
135      <dd class="{{tpl:CommentIfMe}} {{tpl:CommentIfOdd}} {{tpl:CommentIfFirst}}">
136      <!-- # --BEHAVIOR-- publicCommentBeforeContent -->
137      {{tpl:SysBehavior behavior="publicCommentBeforeContent"}}
138
139      {{tpl:CommentContent}}
140
141      <!-- # --BEHAVIOR-- publicCommentAfterContent -->
142      {{tpl:SysBehavior behavior="publicCommentAfterContent"}}
143      </dd>
144    <tpl:CommentsFooter>
145      </dl>
146      </div>
147    </tpl:CommentsFooter>
148    </tpl:Comments>
149  </tpl:EntryIf>
150
151  <tpl:EntryIf comments_active="1">
152    <tpl:SysIfFormError>
153      <p class="error" id="pr">{{tpl:SysFormError}}</p>
154    </tpl:SysIfFormError>
155
156    <tpl:SysIfCommentPublished>
157      <p class="message" id="pr">{{tpl:lang Your comment has been published.}}</p>
158    </tpl:SysIfCommentPublished>
159
160    <tpl:SysIfCommentPending>
161      <p class="message" id="pr">{{tpl:lang Your comment has been submitted and
162      will be reviewed for publication.}}</p>
163    </tpl:SysIfCommentPending>
164
165    <!-- # Comment form -->
166    <form action="{{tpl:EntryURL}}#pr" method="post" id="comment-form" role="form">
167      <tpl:IfCommentPreview>
168        <div id="pr">
169          <h3>{{tpl:lang Your comment}}</h3>
170          <dl>
171            <dd class="comment-preview">{{tpl:CommentPreviewContent}}</dd>
172          </dl>
173          <p class="buttons"><input type="submit" class="submit" value="{{tpl:lang send}}" /></p>
174        </div>
175      </tpl:IfCommentPreview>
176
177      <h3>{{tpl:lang Add a comment}}</h3>
178      <fieldset>
179        <!-- # --BEHAVIOR-- publicCommentFormBeforeContent -->
180        {{tpl:SysBehavior behavior="publicCommentFormBeforeContent"}}
181
182        <p class="field"><label for="c_name">{{tpl:lang Name or nickname}}&nbsp;:</label>
183        <input name="c_name" id="c_name" type="text" size="30" maxlength="255"
184        value="{{tpl:CommentPreviewName encode_html="1"}}" />
185        </p>
186
187        <p class="field"><label for="c_mail">{{tpl:lang Email address}}&nbsp;:</label>
188        <input name="c_mail" id="c_mail" type="text" size="30" maxlength="255"
189        value="{{tpl:CommentPreviewEmail encode_html="1"}}" />
190        </p>
191
192        <p class="field"><label for="c_site">{{tpl:lang Website}} ({{tpl:lang optional}})&nbsp;:</label>
193        <input name="c_site" id="c_site" type="text" size="30" maxlength="255"
194        value="{{tpl:CommentPreviewSite encode_html="1"}}" />
195        </p>
196
197        <p style="display:none"><input name="f_mail" type="text" size="30"
198        maxlength="255" value="" /></p>
199
200        <p class="field"><label for="c_content">{{tpl:lang Comment}}&nbsp;:</label>
201        <textarea name="c_content" id="c_content" cols="35"
202        rows="7">{{tpl:CommentPreviewContent raw="1" encode_html="1"}}</textarea>
203        </p>
204        <p class="form-help">{{tpl:CommentHelp}}</p>
205
206        <!-- # --BEHAVIOR-- publicCommentFormAfterContent -->
207        {{tpl:SysBehavior behavior="publicCommentFormAfterContent"}}
208      </fieldset>
209
210      <fieldset>
211        <p class="buttons"><input type="submit" class="preview" name="preview" value="{{tpl:lang preview}}" />
212        <tpl:IfCommentPreview><input type="submit" class="submit" value="{{tpl:lang send}}" /></tpl:IfCommentPreview></p>
213      </fieldset>
214    </form>
215  </tpl:EntryIf>
216
217  <!-- # Trackbacks -->
218  <tpl:EntryIf show_pings="1">
219    <div id="pings">
220    <h3>{{tpl:lang They posted on the same topic}}</h3>
221    <tpl:Pings>
222      <tpl:PingsHeader>
223      <dl>
224      </tpl:PingsHeader>
225        <dt id="c{{tpl:PingID}}" class="{{tpl:PingIfOdd}} {{tpl:PingIfFirst}}"><a href="#c{{tpl:PingID}}"
226        class="ping-number">{{tpl:PingOrderNumber}}.</a>
227        {{tpl:lang On}} {{tpl:PingDate}}, {{tpl:PingTime}}
228        {{tpl:lang by}} {{tpl:PingBlogName encode_html="1"}}</dt>
229
230        <dd class="{{tpl:PingIfOdd}} {{tpl:PingIfFirst}}">
231        <!-- # --BEHAVIOR-- publicPingBeforeContent -->
232        {{tpl:SysBehavior behavior="publicPingBeforeContent"}}
233
234        <p><a href="{{tpl:PingAuthorURL}}"
235        {{tpl:PingNoFollow}}>{{tpl:PingTitle encode_html="1"}}</a></p>
236        {{tpl:PingContent}}
237
238        <!-- # --BEHAVIOR-- publicPingAfterContent -->
239        {{tpl:SysBehavior behavior="publicPingAfterContent"}}
240        </dd>
241      <tpl:PingsFooter>
242      </dl>
243      </tpl:PingsFooter>
244    </tpl:Pings>
245    </div>
246  </tpl:EntryIf>
247
248  <tpl:EntryIf pings_active="1">
249    <p id="ping-url">{{tpl:lang Trackback URL}}&nbsp;: {{tpl:EntryPingLink}}</p>
250  </tpl:EntryIf>
251
252  <tpl:EntryIf operator="or" comments_active="1" pings_active="1">
253  <p id="comments-feed"><a class="feed" href="{{tpl:BlogFeedURL type="atom"}}/comments/{{tpl:EntryID}}"
254  title="{{tpl:lang This post's comments Atom feed}}">{{tpl:lang This post's comments feed}}</a></p>
255  </tpl:EntryIf>
256  </div>
257</div> <!-- End #main -->
258
259<div id="sidebar" role="complementary">
260  <div id="blognav">
261    {{tpl:Widgets type="nav"}}
262  </div> <!-- End #blognav -->
263
264  <div id="blogextra">
265    {{tpl:Widgets type="extra"}}
266  </div> <!-- End #blogextra -->
267</div>
268
269</div> <!-- End #wrapper -->
270
271{{tpl:include src="_footer.html"}}
272</div> <!-- End #page -->
273</body>
274</html>
Note: See TracBrowser for help on using the repository browser.

Sites map