Dotclear

source: themes/ductile/tpl/_simple-entry.html @ 609:9f126d3f2e71

Revision 609:9f126d3f2e71, 6.4 KB checked in by kozlika, 14 years ago (diff)

Ductile - Contextes solo, pages spéciales, tags. Quasi prêt pour Jour 8.

Line 
1<div id="p{{tpl:EntryID}}" class="post simple">
2  <h2 class="post-title">{{tpl:EntryTitle encode_html="1"}}</h2>
3
4     <div class="post-attr">
5    <p class="post-info">
6     <span class="post-author">{{tpl:lang By}} {{tpl:EntryAuthorLink}}, </span>
7     <span class="post-date">{{tpl:EntryDate}}. </span>
8         <span class="permalink"><a href="{{tpl:EntryURL}}">{{tpl:lang Permalink}}</a></span>
9     <tpl:EntryIf has_category="1">
10               <tpl:EntryCategoriesBreadcrumb>
11                 <span class="post-breadcrumb-cat"><a href="{{tpl:CategoryURL}}">{{tpl:CategoryTitle encode_html="1"}}</a></span> ›
12               </tpl:EntryCategoriesBreadcrumb>
13          <span class="post-cat"><a href="{{tpl:EntryCategoryURL}}">{{tpl:EntryCategory encode_html="1"}}</a></span>
14     </tpl:EntryIf>
15    </p>
16   
17    <tpl:EntryTags>
18    <tpl:TagsHeader><p class="post-tags"></tpl:TagsHeader>
19    <a href="{{tpl:TagURL}}">{{tpl:TagID}} </a>
20    <tpl:TagsFooter></p></tpl:TagsFooter>
21    </tpl:EntryTags>
22     </div>   
23 
24  <!-- # --BEHAVIOR-- publicEntryBeforeContent -->
25  {{tpl:SysBehavior behavior="publicEntryBeforeContent"}}
26 
27  <!-- # Entry with an excerpt -->
28  <tpl:EntryIf extended="1">
29    <div class="post-excerpt">{{tpl:EntryExcerpt}}</div>
30  </tpl:EntryIf>
31 
32  <div class="post-content">{{tpl:EntryContent}}</div>
33 
34  <!-- # --BEHAVIOR-- publicEntryAfterContent -->
35  {{tpl:SysBehavior behavior="publicEntryAfterContent"}}
36</div>
37
38<!-- # Attachments -->
39<tpl:Attachments>
40  <tpl:AttachmentsHeader>
41    <div id="attachments">
42    <h3>{{tpl:lang Attachments}}</h3>
43    <ul>
44  </tpl:AttachmentsHeader>
45    <li class="{{tpl:AttachmentType}}">
46      <tpl:AttachmentIf is_mp3="1">
47        {{tpl:include src="_mp3_player.html"/}} -
48      </tpl:AttachmentIf>
49      <tpl:AttachmentIf is_flv="1">
50     {{tpl:include src="_flv_player.html"/}}
51   </tpl:AttachmentIf>
52   <tpl:AttachmentIf is_flv="0">
53     <a href="{{tpl:AttachmentURL}}"
54     title="{{tpl:AttachmentFileName}} ({{tpl:AttachmentSize}})">{{tpl:AttachmentTitle}}</a>
55      </tpl:AttachmentIf>
56    </li>
57  <tpl:AttachmentsFooter>
58    </ul>
59    </div>
60  </tpl:AttachmentsFooter>
61</tpl:Attachments>
62
63<!-- # Comments -->
64<tpl:EntryIf show_comments="1">
65  <tpl:Comments with_pings="1">
66  <tpl:CommentsHeader>
67    <div id="comments">
68      <h3>{{tpl:EntryCommentCount count_all="1" one="%s" more="%s"}} {{tpl:lang reactions}}</h3>
69    <ul>
70  </tpl:CommentsHeader>
71          <tpl:CommentIf is_ping="0">
72    <li id="c{{tpl:CommentID}}" class="comment {{tpl:CommentIfMe}} {{tpl:CommentIfOdd}} {{tpl:CommentIfFirst}}">
73          </tpl:CommentIf>
74          <tpl:CommentIf is_ping="1">
75    <li id="c{{tpl:PingID}}" class="ping {{tpl:PingIfOdd}} {{tpl:PingIfFirst}}">
76          </tpl:CommentIf>
77               <p class="comment-info"><a href="#c{{tpl:CommentID}}" class="comment-number">{{tpl:CommentOrderNumber}}</a>
78                    {{tpl:lang From}} {{tpl:CommentAuthorLink}} - {{tpl:CommentDate format="%d"}}/{{tpl:CommentDate format="%m"}}/{{tpl:CommentDate format="%Y"}}, {{tpl:CommentTime}}
79               </p>     
80      <div class="comment-content">
81           <!-- # --BEHAVIOR-- publicCommentBeforeContent -->
82           {{tpl:SysBehavior behavior="publicCommentBeforeContent"}}
83   
84           {{tpl:CommentContent}}
85   
86           <!-- # --BEHAVIOR-- publicCommentAfterContent -->
87           {{tpl:SysBehavior behavior="publicCommentAfterContent"}}
88      </div>
89          </li>
90  <tpl:CommentsFooter>
91    </ul>
92    </div>
93  </tpl:CommentsFooter>
94  </tpl:Comments>
95</tpl:EntryIf>
96
97<tpl:EntryIf operator="or" comments_active="1" pings_active="1">
98<p id="comments-feed"><a class="feed" href="{{tpl:BlogFeedURL type="atom"}}/comments/{{tpl:EntryID}}"
99title="{{tpl:lang This post's comments Atom feed}}">{{tpl:lang This post's comments feed}}</a></p>
100</tpl:EntryIf>
101
102<tpl:EntryIf comments_active="1">   
103  <tpl:SysIfFormError>
104    <p class="error" id="pr">{{tpl:SysFormError}}</p>
105  </tpl:SysIfFormError>
106 
107  <tpl:SysIfCommentPublished>
108    <p class="message" id="pr">{{tpl:lang Your comment has been published.}}</p>
109  </tpl:SysIfCommentPublished>
110 
111  <tpl:SysIfCommentPending>
112    <p class="message" id="pr">{{tpl:lang Your comment has been submitted and
113    will be reviewed for publication.}}</p>
114  </tpl:SysIfCommentPending>
115 
116  <!-- # Comment form -->
117  <form action="{{tpl:EntryURL}}#pr" method="post" id="comment-form">
118    <tpl:IfCommentPreview>
119      <div id="pr">
120        <h3>{{tpl:lang Your comment}}</h3>
121        <dl>
122          <dd class="comment-preview">{{tpl:CommentPreviewContent}}</dd>
123        </dl>
124        <p class="buttons"><input type="submit" class="submit" value="{{tpl:lang send}}" /></p>
125      </div>
126    </tpl:IfCommentPreview>
127   
128    <h3>{{tpl:lang Add a comment}}</h3>
129    <fieldset>
130      <!-- # --BEHAVIOR-- publicCommentFormBeforeContent -->
131      {{tpl:SysBehavior behavior="publicCommentFormBeforeContent"}}
132     
133      <p class="field"><label for="c_name">{{tpl:lang Name or nickname}}&nbsp;:</label>
134      <input name="c_name" id="c_name" type="text" size="30" maxlength="255"
135      value="{{tpl:CommentPreviewName encode_html="1"}}" />
136      </p>
137     
138      <p class="field"><label for="c_mail">{{tpl:lang Email address}}&nbsp;:</label>
139      <input name="c_mail" id="c_mail" type="text" size="30" maxlength="255"
140      value="{{tpl:CommentPreviewEmail encode_html="1"}}" />
141      </p>
142     
143      <p class="field"><label for="c_site">{{tpl:lang Website}}
144      ({{tpl:lang optional}})&nbsp;:</label>
145      <input name="c_site" id="c_site" type="text" size="30" maxlength="255"
146      value="{{tpl:CommentPreviewSite encode_html="1"}}" />
147      </p>
148     
149      <p style="display:none"><input name="f_mail" type="text" size="30"
150      maxlength="255" value="" /></p>
151     
152      <p class="field"><label for="c_content">{{tpl:lang Comment}}&nbsp;:</label>
153      <textarea name="c_content" id="c_content" cols="35"
154      rows="7">{{tpl:CommentPreviewContent raw="1" encode_html="1"}}</textarea>
155      </p>
156      <p class="form-help">{{tpl:CommentHelp}}</p>
157     
158      <!-- # --BEHAVIOR-- publicCommentFormAfterContent -->
159      {{tpl:SysBehavior behavior="publicCommentFormAfterContent"}}
160    </fieldset>
161   
162    <fieldset>
163      <p class="buttons"><input type="submit" class="preview" name="preview" value="{{tpl:lang preview}}" />
164      <tpl:IfCommentPreview><input type="submit" class="submit" value="{{tpl:lang send}}" /></tpl:IfCommentPreview></p>
165    </fieldset>
166  </form>
167</tpl:EntryIf>
168 
169<tpl:EntryIf pings_active="1">
170     <div id="ping-url">
171     <h3>{{tpl:lang Add ping}}</h3>
172  <p>{{tpl:lang Trackback URL}}&nbsp;: {{tpl:EntryPingLink}}</p>
173     </div>
174</tpl:EntryIf>
Note: See TracBrowser for help on using the repository browser.

Sites map