Dotclear

source: inc/public/default-templates/mustek/post.html @ 3017:671366477262

Revision 3017:671366477262, 9.0 KB checked in by franck <carnet.franck.paul@…>, 10 years ago (diff)

Apply extension/heritage templating system to mustek templateset, addresses #2099

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

Sites map