Dotclear

source: inc/public/default-templates/mustek/post.html @ 3422:d294032fcdd4

Revision 3422:d294032fcdd4, 8.5 KB checked in by franck <carnet.franck.paul@…>, 9 years ago (diff)

No more <link rel="top" …> neither <link rel="up" …> in HTML5

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

Sites map