Dotclear

source: plugins/pages/default-templates/mustek/page.html @ 3958:5e250cd51362

Revision 3958:5e250cd51362, 6.6 KB checked in by franck <carnet.franck.paul@…>, 7 years ago (diff)

No more Flash player (flv, mp3) in Dotclear \o/

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

Sites map