Dotclear

source: inc/public/default-templates/mustek/post.html @ 3421:34cfd92ec45a

Revision 3421:34cfd92ec45a, 8.6 KB checked in by franck <carnet.franck.paul@…>, 9 years ago (diff)

No more <![CDATA[ … ]]> but in rss2.xsl (only useful for XML document, as XHTML)

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

Sites map