[3246] | 1 | <tpl:EntryIf operator="or" show_comments="1" show_pings="1"> |
---|
| 2 | <div class="post-feedback"> |
---|
| 3 | </tpl:EntryIf> |
---|
| 4 | |
---|
| 5 | <!-- # Comments --> |
---|
| 6 | <tpl:EntryIf show_comments="1"> |
---|
| 7 | <tpl:Comments with_pings="1"> |
---|
| 8 | <tpl:CommentsHeader> |
---|
| 9 | <div class="feedback__comments" id="comments"> |
---|
| 10 | <h3>{{tpl:EntryCommentCount count_all="1" none="no reactions" one="one reaction" more="%s reactions"}}</h3> |
---|
| 11 | <tpl:EntryIf operator="or" comments_active="1" pings_active="1"> |
---|
| 12 | <p id="comments-feed"><a class="feed" href="{{tpl:BlogFeedURL type="atom"}}/comments/{{tpl:EntryID}}" |
---|
| 13 | title="{{tpl:lang This post's comments Atom feed}}">{{tpl:lang This post's comments feed}}</a></p> |
---|
| 14 | </tpl:EntryIf> |
---|
| 15 | <ul class="comments-list"> |
---|
| 16 | </tpl:CommentsHeader> |
---|
| 17 | <tpl:CommentIf is_ping="0"> |
---|
| 18 | <li id="c{{tpl:CommentID}}" class="comment {{tpl:CommentIfMe}} {{tpl:CommentIfOdd}} {{tpl:CommentIfFirst}}"> |
---|
| 19 | </tpl:CommentIf> |
---|
| 20 | <tpl:CommentIf is_ping="1"> |
---|
| 21 | <li id="c{{tpl:PingID}}" class="ping {{tpl:PingIfOdd}} {{tpl:PingIfFirst}}"> |
---|
| 22 | </tpl:CommentIf> |
---|
| 23 | <p class="comment-info"><a href="#c{{tpl:CommentID}}" class="comment-number">{{tpl:CommentOrderNumber}}</a> |
---|
| 24 | {{tpl:lang From}} {{tpl:CommentAuthorLink}} - {{tpl:CommentDate format="%d"}}/{{tpl:CommentDate format="%m"}}/{{tpl:CommentDate format="%Y"}}, {{tpl:CommentTime}} |
---|
| 25 | </p> |
---|
| 26 | <div class="comment-content"> |
---|
| 27 | <!-- # --BEHAVIOR-- publicCommentBeforeContent --> |
---|
| 28 | {{tpl:SysBehavior behavior="publicCommentBeforeContent"}} |
---|
| 29 | |
---|
| 30 | {{tpl:CommentContent}} |
---|
| 31 | |
---|
| 32 | <!-- # --BEHAVIOR-- publicCommentAfterContent --> |
---|
| 33 | {{tpl:SysBehavior behavior="publicCommentAfterContent"}} |
---|
| 34 | </div> |
---|
| 35 | </li> |
---|
| 36 | <tpl:CommentsFooter> |
---|
| 37 | </ul> |
---|
| 38 | </div> |
---|
| 39 | </tpl:CommentsFooter> |
---|
| 40 | </tpl:Comments> |
---|
| 41 | </tpl:EntryIf> |
---|
| 42 | |
---|
| 43 | <tpl:EntryIf comments_active="1"> |
---|
| 44 | <tpl:SysIfFormError> |
---|
| 45 | <p class="error" id="pr">{{tpl:SysFormError}}</p> |
---|
| 46 | </tpl:SysIfFormError> |
---|
| 47 | |
---|
| 48 | <tpl:SysIfCommentPublished> |
---|
| 49 | <p class="message" id="pr">{{tpl:lang Your comment has been published.}}</p> |
---|
| 50 | </tpl:SysIfCommentPublished> |
---|
| 51 | |
---|
| 52 | <tpl:SysIfCommentPending> |
---|
| 53 | <p class="message" id="pr">{{tpl:lang Your comment has been submitted and will be reviewed for publication.}}</p> |
---|
| 54 | </tpl:SysIfCommentPending> |
---|
| 55 | |
---|
| 56 | <!-- # Comment form --> |
---|
| 57 | <form class="comment-form" action="{{tpl:EntryURL}}#pr" method="post" id="comment-form" role="form"> |
---|
| 58 | <tpl:IfCommentPreview> |
---|
| 59 | <div id="pr"> |
---|
| 60 | <h3>{{tpl:lang Your comment}}</h3> |
---|
| 61 | <div class="comment-preview">{{tpl:CommentPreviewContent}}</div> |
---|
| 62 | <p class="buttons"><button type="submit" class="submit" value="{{tpl:lang Send}}">{{tpl:lang Send}}</button></p> |
---|
| 63 | </div> |
---|
| 64 | </tpl:IfCommentPreview> |
---|
| 65 | |
---|
| 66 | <h3>{{tpl:lang Add a comment}}</h3> |
---|
| 67 | <!-- # --BEHAVIOR-- publicCommentFormBeforeContent --> |
---|
| 68 | {{tpl:SysBehavior behavior="publicCommentFormBeforeContent"}} |
---|
| 69 | |
---|
| 70 | <p class="field name-field"><label for="c_name">{{tpl:lang Name or nickname}}<abbr title="{{tpl:lang Required field}}">*</abbr> :</label> |
---|
| 71 | <input name="c_name" id="c_name" type="text" size="30" maxlength="255" |
---|
| 72 | value="{{tpl:CommentPreviewName encode_html="1"}}" required /> |
---|
| 73 | </p> |
---|
| 74 | |
---|
| 75 | <p class="field mail-field"><label for="c_mail">{{tpl:lang Email address}}<abbr title="{{tpl:lang Required field}}">*</abbr> :</label> |
---|
| 76 | <input name="c_mail" id="c_mail" type="email" size="30" maxlength="255" |
---|
| 77 | value="{{tpl:CommentPreviewEmail encode_html="1"}}" required /> |
---|
| 78 | </p> |
---|
| 79 | |
---|
| 80 | <p class="field site-field"><label for="c_site">{{tpl:lang Website}} :</label> |
---|
| 81 | <input name="c_site" id="c_site" type="url" size="30" maxlength="255" |
---|
| 82 | value="{{tpl:CommentPreviewSite encode_html="1"}}" /> |
---|
| 83 | </p> |
---|
| 84 | |
---|
| 85 | <p style="display:none"> |
---|
| 86 | <input name="f_mail" type="text" size="30" maxlength="255" value="" /> |
---|
| 87 | </p> |
---|
| 88 | |
---|
| 89 | <p class="field field-content"><label for="c_content" aria-describedby="c_help">{{tpl:lang Comment}}<abbr title="{{tpl:lang Required field}}">*</abbr> :</label> |
---|
| 90 | <textarea name="c_content" id="c_content" cols="35" |
---|
| 91 | rows="7" required>{{tpl:CommentPreviewContent raw="1" encode_html="1"}}</textarea> |
---|
| 92 | </p> |
---|
| 93 | |
---|
| 94 | <p class="form-help" id="c_help">{{tpl:CommentHelp}}</p> |
---|
| 95 | |
---|
| 96 | <!-- # --BEHAVIOR-- publicCommentFormAfterContent --> |
---|
| 97 | {{tpl:SysBehavior behavior="publicCommentFormAfterContent"}} |
---|
| 98 | |
---|
| 99 | <p class="buttons"> |
---|
| 100 | <button type="submit" class="preview" name="preview" value="{{tpl:lang Preview}}">{{tpl:lang Preview}}</button> |
---|
| 101 | <tpl:IfCommentPreviewOptional> |
---|
| 102 | <button type="submit" class="submit" value="{{tpl:lang Send}}">{{tpl:lang Send}}</button> |
---|
| 103 | </tpl:IfCommentPreviewOptional> |
---|
| 104 | </p> |
---|
| 105 | </form> |
---|
| 106 | </tpl:EntryIf> |
---|
| 107 | |
---|
| 108 | <tpl:EntryIf pings_active="1"> |
---|
| 109 | <div class="send-ping"> |
---|
| 110 | <h3>{{tpl:lang Add ping}}</h3> |
---|
| 111 | <p id="ping-url">{{tpl:lang Trackback URL}} : {{tpl:EntryPingLink}}</p> |
---|
| 112 | </div> |
---|
| 113 | </tpl:EntryIf> |
---|
| 114 | |
---|
| 115 | <tpl:EntryIf operator="or" show_comments="1" show_pings="1"> |
---|
| 116 | </div> <!-- end post-feedback --> |
---|
| 117 | </tpl:EntryIf> |
---|