Dotclear

source: inc/public/default-templates/currywurst/_simple-entry.html @ 2641:1ec355180bff

Revision 2641:1ec355180bff, 6.9 KB checked in by franck <carnet.franck.paul@…>, 12 years ago (diff)

New default theme is now berlin (for new installations).
Minor ARIA complement

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

Sites map