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