Dotclear

source: plugins/pages/default-templates/mustek/page.html @ 2603:14879730c18e

Revision 2603:14879730c18e, 8.9 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  <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:BlogFeedURL type="atom"}}" />
29
30  {{tpl:include src="_head.html"}}
31
32  <script type="text/javascript" src="{{tpl:BlogThemeURL}}/../default/js/post.js"></script>
33  <script type="text/javascript">
34  //<![CDATA[
35  var post_remember_str = '{{tpl:lang Remember me on this blog}}';
36  //]]>
37  </script>
38</head>
39
40<body class="dc-page">
41<div id="page">
42{{tpl:EntryPingData}}
43
44{{tpl:include src="_top.html"}}
45
46<div id="wrapper">
47
48<div id="main" role="main">
49  <div id="content">
50
51  <div id="p{{tpl:EntryID}}" class="post" role="article">
52    <h2 class="post-title">{{tpl:EntryTitle encode_html="1"}}</h2>
53
54    <!-- # --BEHAVIOR-- publicEntryBeforeContent -->
55    {{tpl:SysBehavior behavior="publicEntryBeforeContent"}}
56
57    <tpl:EntryIf extended="1">
58      <div class="post-excerpt">{{tpl:EntryExcerpt}}</div>
59    </tpl:EntryIf>
60    <div class="post-content">{{tpl:EntryContent}}</div>
61
62    <p class="page-info">{{tpl:lang Published on}} {{tpl:EntryDate}}
63    {{tpl:lang by}} {{tpl:EntryAuthorLink}}</p>
64
65    <!-- # --BEHAVIOR-- publicEntryAfterContent -->
66    {{tpl:SysBehavior behavior="publicEntryAfterContent"}}
67  </div>
68
69  <!-- # Attachments -->
70  <tpl:Attachments>
71    <tpl:AttachmentsHeader>
72      <div id="attachments">
73      <h3>{{tpl:lang Attachments}}</h3>
74      <ul>
75    </tpl:AttachmentsHeader>
76      <li class="{{tpl:AttachmentType}}">
77        <tpl:AttachmentIf is_mp3="1">
78          {{tpl:include src="_mp3_player.html"/}} -
79        </tpl:AttachmentIf>
80        <tpl:AttachmentIf is_flv="1">
81          {{tpl:include src="_flv_player.html"/}}
82        </tpl:AttachmentIf>
83        <tpl:AttachmentIf is_flv="0">
84          <a href="{{tpl:AttachmentURL}}"
85          title="{{tpl:AttachmentFileName}} ({{tpl:AttachmentSize}})">{{tpl:AttachmentTitle}}</a>
86        </tpl:AttachmentIf>
87      </li>
88    <tpl:AttachmentsFooter>
89      </ul>
90      </div>
91    </tpl:AttachmentsFooter>
92  </tpl:Attachments>
93
94  <!-- # Comments -->
95  <tpl:EntryIf show_comments="1">
96    <tpl:Comments>
97    <tpl:CommentsHeader>
98    <div id="comments">
99      <h3>{{tpl:lang Comments}}</h3>
100      <dl>
101    </tpl:CommentsHeader>
102      <dt id="c{{tpl:CommentID}}" class="{{tpl:CommentIfMe}} {{tpl:CommentIfOdd}} {{tpl:CommentIfFirst}}"><a
103      href="#c{{tpl:CommentID}}" class="comment-number">{{tpl:CommentOrderNumber}}.</a>
104      {{tpl:lang On}} {{tpl:CommentDate}}, {{tpl:CommentTime}}
105      {{tpl:lang by}} {{tpl:CommentAuthorLink}}</dt>
106
107      <dd class="{{tpl:CommentIfMe}} {{tpl:CommentIfOdd}} {{tpl:CommentIfFirst}}">
108      <!-- # --BEHAVIOR-- publicCommentBeforeContent -->
109      {{tpl:SysBehavior behavior="publicCommentBeforeContent"}}
110
111      {{tpl:CommentContent}}
112
113      <!-- # --BEHAVIOR-- publicCommentAfterContent -->
114      {{tpl:SysBehavior behavior="publicCommentAfterContent"}}
115      </dd>
116    <tpl:CommentsFooter>
117      </dl>
118    </div>
119    </tpl:CommentsFooter>
120    </tpl:Comments>
121  </tpl:EntryIf>
122
123  <tpl:EntryIf comments_active="1">
124    <tpl:SysIfFormError>
125      <p class="error" id="pr">{{tpl:SysFormError}}</p>
126    </tpl:SysIfFormError>
127
128    <tpl:SysIfCommentPublished>
129      <p class="message" id="pr">{{tpl:lang Your comment has been published.}}</p>
130    </tpl:SysIfCommentPublished>
131
132    <tpl:SysIfCommentPending>
133      <p class="message" id="pr">{{tpl:lang Your comment has been submitted and
134      will be reviewed for publication.}}</p>
135    </tpl:SysIfCommentPending>
136
137    <!-- # Comment form -->
138    <form action="{{tpl:EntryURL}}#pr" method="post" id="comment-form" role="form">
139      <tpl:IfCommentPreview>
140        <div id="pr">
141          <h3>{{tpl:lang Your comment}}</h3>
142          <dl>
143            <dd class="comment-preview">{{tpl:CommentPreviewContent}}</dd>
144          </dl>
145          <p class="buttons"><input type="submit" class="submit" value="{{tpl:lang send}}" /></p>
146        </div>
147      </tpl:IfCommentPreview>
148
149      <h3>{{tpl:lang Add a comment}}</h3>
150      <fieldset>
151        <!-- # --BEHAVIOR-- publicCommentFormBeforeContent -->
152        {{tpl:SysBehavior behavior="publicCommentFormBeforeContent"}}
153
154        <p class="field"><label for="c_name">{{tpl:lang Name or nickname}}&nbsp;:</label>
155        <input name="c_name" id="c_name" type="text" size="30" maxlength="255"
156        value="{{tpl:CommentPreviewName encode_html="1"}}" />
157        </p>
158
159        <p class="field"><label for="c_mail">{{tpl:lang Email address}}&nbsp;:</label>
160        <input name="c_mail" id="c_mail" type="text" size="30" maxlength="255"
161        value="{{tpl:CommentPreviewEmail encode_html="1"}}" />
162        </p>
163
164        <p class="field"><label for="c_site">{{tpl:lang Website}} ({{tpl:lang optional}})&nbsp;:</label>
165        <input name="c_site" id="c_site" type="text" size="30" maxlength="255"
166        value="{{tpl:CommentPreviewSite encode_html="1"}}" />
167        </p>
168
169        <p style="display:none"><input name="f_mail" type="text" size="30"
170        maxlength="255" value="" /></p>
171
172        <p class="field"><label for="c_content">{{tpl:lang Comment}}&nbsp;:</label>
173        <textarea name="c_content" id="c_content" cols="35"
174        rows="7">{{tpl:CommentPreviewContent raw="1" encode_html="1"}}</textarea>
175        </p>
176
177        <p class="form-help">{{tpl:CommentHelp}}</p>
178
179        <!-- # --BEHAVIOR-- publicCommentFormAfterContent -->
180        {{tpl:SysBehavior behavior="publicCommentFormAfterContent"}}
181      </fieldset>
182
183      <fieldset>
184        <p class="buttons"><input type="submit" class="preview" name="preview" value="{{tpl:lang preview}}" />
185        <tpl:IfCommentPreview><input type="submit" class="submit" value="{{tpl:lang send}}" /></tpl:IfCommentPreview></p>
186      </fieldset>
187    </form>
188  </tpl:EntryIf>
189
190  <!-- # Trackbacks -->
191  <tpl:EntryIf show_pings="1">
192    <div id="pings">
193    <h3>{{tpl:lang They posted on the same topic}}</h3>
194    <tpl:Pings>
195      <tpl:PingsHeader>
196      <dl>
197      </tpl:PingsHeader>
198        <dt id="c{{tpl:PingID}}" class="{{tpl:PingIfOdd}} {{tpl:PingIfFirst}}"><a href="#c{{tpl:PingID}}"
199        class="ping-number">{{tpl:PingOrderNumber}}.</a>
200        {{tpl:lang On}} {{tpl:PingDate}}, {{tpl:PingTime}}
201        {{tpl:lang by}} {{tpl:PingBlogName encode_html="1"}}</dt>
202
203        <dd class="{{tpl:PingIfOdd}} {{tpl:PingIfFirst}}">
204        <!-- # --BEHAVIOR-- publicPingBeforeContent -->
205        {{tpl:SysBehavior behavior="publicPingBeforeContent"}}
206
207        <p><a href="{{tpl:PingAuthorURL}}"
208        {{tpl:PingNoFollow}}>{{tpl:PingTitle encode_html="1"}}</a></p>
209        {{tpl:PingContent}}
210
211        <!-- # --BEHAVIOR-- publicPingAfterContent -->
212        {{tpl:SysBehavior behavior="publicPingAfterContent"}}
213        </dd>
214      <tpl:PingsFooter>
215      </dl>
216      </tpl:PingsFooter>
217    </tpl:Pings>
218    </div>
219  </tpl:EntryIf>
220
221  <tpl:EntryIf pings_active="1">
222    <p id="ping-url">{{tpl:lang Trackback URL}}&nbsp;: {{tpl:EntryPingLink}}</p>
223  </tpl:EntryIf>
224
225  <tpl:EntryIf operator="or" comments_active="1" pings_active="1">
226  <p id="comments-feed"><a class="feed" href="{{tpl:BlogFeedURL type="atom"}}/comments/{{tpl:EntryID}}"
227  title="{{tpl:lang This page's comments feed}}">{{tpl:lang This page's comments feed}}</a></p>
228  </tpl:EntryIf>
229  </div>
230</div> <!-- End #main -->
231
232<div id="sidebar" role="complementary">
233  <div id="blognav">
234    {{tpl:Widgets type="nav"}}
235  </div> <!-- End #blognav -->
236
237  <div id="blogextra">
238    {{tpl:Widgets type="extra"}}
239  </div> <!-- End #blogextra -->
240</div>
241
242</div> <!-- End #wrapper -->
243
244{{tpl:include src="_footer.html"}}
245</div> <!-- End #page -->
246</body>
247</html>
Note: See TracBrowser for help on using the repository browser.

Sites map