Dotclear

source: plugins/pages/default-templates/mustek/page.html @ 3422:d294032fcdd4

Revision 3422:d294032fcdd4, 6.7 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="post.html"}}
2
3<tpl:Block name="head-linkrel">
4     <link rel="contents" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}" />
5     <tpl:EntryIf pings_active="1"><link rel="pingback" href="{{tpl:BlogXMLRPCURL}}" /></tpl:EntryIf>
6     <link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="{{tpl:BlogFeedURL type="atom"}}" />
7</tpl:Block>
8
9<tpl:Block name="body-tag"><body class="dc-page"></tpl:Block>
10
11<tpl:Block name="main-content">
12     <div id="p{{tpl:EntryID}}" class="post" role="article">
13          <h2 class="post-title">{{tpl:EntryTitle encode_html="1"}}</h2>
14
15          <!-- # --BEHAVIOR-- publicEntryBeforeContent -->
16          {{tpl:SysBehavior behavior="publicEntryBeforeContent"}}
17
18          <tpl:EntryIf extended="1">
19               <div class="post-excerpt">{{tpl:EntryExcerpt}}</div>
20          </tpl:EntryIf>
21          <div class="post-content">{{tpl:EntryContent}}</div>
22
23          <p class="page-info">{{tpl:lang Published on}} {{tpl:EntryDate}}
24          {{tpl:lang by}} {{tpl:EntryAuthorLink}}</p>
25
26          <!-- # --BEHAVIOR-- publicEntryAfterContent -->
27          {{tpl:SysBehavior behavior="publicEntryAfterContent"}}
28     </div>
29
30     <!-- # Attachments -->
31     <tpl:Attachments>
32          <tpl:AttachmentsHeader>
33               <div id="attachments">
34                    <h3>{{tpl:lang Attachments}}</h3>
35                    <ul>
36          </tpl:AttachmentsHeader>
37                         <li class="{{tpl:AttachmentType}}">
38                    <tpl:AttachmentIf is_audio="1">
39                         {{tpl:include src="_audio_player.html"}}
40                    </tpl:AttachmentIf>
41                    <tpl:AttachmentIf is_video="1">
42                         <tpl:AttachmentIf is_flv="0">
43                              {{tpl:include src="_video_player.html"}}
44                         {{tpl:else}}
45                              {{tpl:include src="_flv_player.html"}}
46                         </tpl:AttachmentIf>
47                    </tpl:AttachmentIf>
48                    <tpl:AttachmentIf is_audio="0" is_video="0">
49                         <a href="{{tpl:AttachmentURL}}"
50                              title="{{tpl:AttachmentFileName}} ({{tpl:AttachmentSize}})">{{tpl:AttachmentTitle}}</a>
51                    </tpl:AttachmentIf>
52                         </li>
53          <tpl:AttachmentsFooter>
54                    </ul>
55               </div>
56          </tpl:AttachmentsFooter>
57     </tpl:Attachments>
58
59  <!-- # Comments -->
60     <tpl:EntryIf show_comments="1">
61          <tpl:Comments>
62               <tpl:CommentsHeader>
63                    <div id="comments">
64                         <h3>{{tpl:lang Comments}}</h3>
65                         <dl>
66               </tpl:CommentsHeader>
67                         <dt id="c{{tpl:CommentID}}" class="{{tpl:CommentIfMe}} {{tpl:CommentIfOdd}} {{tpl:CommentIfFirst}}"><a
68                         href="#c{{tpl:CommentID}}" class="comment-number">{{tpl:CommentOrderNumber}}.</a>
69                         {{tpl:lang On}} {{tpl:CommentDate}}, {{tpl:CommentTime}}
70                         {{tpl:lang by}} {{tpl:CommentAuthorLink}}</dt>
71
72                         <dd class="{{tpl:CommentIfMe}} {{tpl:CommentIfOdd}} {{tpl:CommentIfFirst}}">
73                              <!-- # --BEHAVIOR-- publicCommentBeforeContent -->
74                              {{tpl:SysBehavior behavior="publicCommentBeforeContent"}}
75
76                              {{tpl:CommentContent}}
77
78                              <!-- # --BEHAVIOR-- publicCommentAfterContent -->
79                              {{tpl:SysBehavior behavior="publicCommentAfterContent"}}
80                         </dd>
81               <tpl:CommentsFooter>
82                         </dl>
83                    </div>
84               </tpl:CommentsFooter>
85          </tpl:Comments>
86     </tpl:EntryIf>
87
88     <tpl:EntryIf comments_active="1">
89          <tpl:SysIfFormError>
90               <p class="error" id="pr">{{tpl:SysFormError}}</p>
91          </tpl:SysIfFormError>
92
93          <tpl:SysIfCommentPublished>
94               <p class="message" id="pr">{{tpl:lang Your comment has been published.}}</p>
95          </tpl:SysIfCommentPublished>
96
97          <tpl:SysIfCommentPending>
98               <p class="message" id="pr">{{tpl:lang Your comment has been submitted and
99          will be reviewed for publication.}}</p>
100          </tpl:SysIfCommentPending>
101
102          <!-- # Comment form -->
103          <form action="{{tpl:EntryURL}}#pr" method="post" id="comment-form" role="form">
104               <tpl:IfCommentPreview>
105                    <div id="pr">
106                         <h3>{{tpl:lang Your comment}}</h3>
107                         <dl>
108                         <dd class="comment-preview">{{tpl:CommentPreviewContent}}</dd>
109                         </dl>
110                         <p class="buttons"><input type="submit" class="submit" value="{{tpl:lang send}}" /></p>
111                    </div>
112               </tpl:IfCommentPreview>
113
114               <h3>{{tpl:lang Add a comment}}</h3>
115               <fieldset>
116                    <!-- # --BEHAVIOR-- publicCommentFormBeforeContent -->
117                    {{tpl:SysBehavior behavior="publicCommentFormBeforeContent"}}
118
119                    <p class="field"><label for="c_name">{{tpl:lang Name or nickname}}&nbsp;:</label>
120                    <input name="c_name" id="c_name" type="text" size="30" maxlength="255"
121                    value="{{tpl:CommentPreviewName encode_html="1"}}" />
122                    </p>
123
124                    <p class="field"><label for="c_mail">{{tpl:lang Email address}}&nbsp;:</label>
125                    <input name="c_mail" id="c_mail" type="text" size="30" maxlength="255"
126                    value="{{tpl:CommentPreviewEmail encode_html="1"}}" />
127                    </p>
128
129                    <p class="field"><label for="c_site">{{tpl:lang Website}} ({{tpl:lang optional}})&nbsp;:</label>
130                    <input name="c_site" id="c_site" type="text" size="30" maxlength="255"
131                    value="{{tpl:CommentPreviewSite encode_html="1"}}" />
132                    </p>
133
134                    <p style="display:none"><input name="f_mail" type="text" size="30"
135                    maxlength="255" value="" /></p>
136
137                    <p class="field"><label for="c_content">{{tpl:lang Comment}}&nbsp;:</label>
138                    <textarea name="c_content" id="c_content" cols="35"
139                    rows="7">{{tpl:CommentPreviewContent raw="1" encode_html="1"}}</textarea>
140                    </p>
141
142                    <p class="form-help">{{tpl:CommentHelp}}</p>
143
144                    <!-- # --BEHAVIOR-- publicCommentFormAfterContent -->
145                    {{tpl:SysBehavior behavior="publicCommentFormAfterContent"}}
146               </fieldset>
147
148               <fieldset>
149                    <p class="buttons"><input type="submit" class="preview" name="preview" value="{{tpl:lang preview}}" />
150                    <tpl:IfCommentPreviewOptional><input type="submit" class="submit" value="{{tpl:lang send}}" /></tpl:IfCommentPreviewOptional></p>
151               </fieldset>
152          </form>
153     </tpl:EntryIf>
154
155     <!-- # Trackbacks -->
156     <tpl:EntryIf show_pings="1">
157          <div id="pings">
158               <h3>{{tpl:lang They posted on the same topic}}</h3>
159               <tpl:Pings>
160                    <tpl:PingsHeader>
161                         <dl>
162                    </tpl:PingsHeader>
163                         <dt id="c{{tpl:PingID}}" class="{{tpl:PingIfOdd}} {{tpl:PingIfFirst}}"><a href="#c{{tpl:PingID}}"
164                         class="ping-number">{{tpl:PingOrderNumber}}.</a>
165                         {{tpl:lang On}} {{tpl:PingDate}}, {{tpl:PingTime}}
166                         {{tpl:lang by}} {{tpl:PingBlogName encode_html="1"}}</dt>
167
168                         <dd class="{{tpl:PingIfOdd}} {{tpl:PingIfFirst}}">
169                         <!-- # --BEHAVIOR-- publicPingBeforeContent -->
170                         {{tpl:SysBehavior behavior="publicPingBeforeContent"}}
171
172                         <p><a href="{{tpl:PingAuthorURL}}"
173                         {{tpl:PingNoFollow}}>{{tpl:PingTitle encode_html="1"}}</a></p>
174                         {{tpl:PingContent}}
175
176                         <!-- # --BEHAVIOR-- publicPingAfterContent -->
177                         {{tpl:SysBehavior behavior="publicPingAfterContent"}}
178                         </dd>
179                    <tpl:PingsFooter>
180                         </dl>
181                    </tpl:PingsFooter>
182               </tpl:Pings>
183          </div>
184     </tpl:EntryIf>
185
186     <tpl:EntryIf pings_active="1">
187          <p id="ping-url">{{tpl:lang Trackback URL}}&nbsp;: {{tpl:EntryPingLink}}</p>
188     </tpl:EntryIf>
189
190     <tpl:EntryIf operator="or" comments_active="1" pings_active="1">
191          <p id="comments-feed"><a class="feed" href="{{tpl:BlogFeedURL type="atom"}}/comments/{{tpl:EntryID}}"
192          title="{{tpl:lang This page's comments feed}}">{{tpl:lang This page's comments feed}}</a></p>
193     </tpl:EntryIf>
194</tpl:Block>
Note: See TracBrowser for help on using the repository browser.

Sites map