| 19 | | <$mt:Include module="<__trans phrase="Comments">"$> |
| | 33 | <mt:IfCommentsAccepted> |
| | 34 | <div id="comments-open"> |
| | 35 | <h2 class="comments-open-header"><__trans phrase="Leave a comment"></h2> |
| | 36 | <div class="comments-open-content"> |
| | 37 | <div id="comment-greeting"></div> |
| | 38 | <form method="post" action="<$mt:CGIPath$><$mt:CommentScript$>" name="comments_form" id="comments-form" onsubmit="return mtCommentOnSubmit(this)"> |
| | 39 | <input type="hidden" name="static" value="1" /> |
| | 40 | <input type="hidden" name="entry_id" value="<$mt:EntryID$>" /> |
| | 41 | <input type="hidden" name="__lang" value="<$mt:BlogLanguage$>" /> |
| | 42 | <input type="hidden" name="parent_id" value="<$mt:CommentParentID$>" id="comment-parent-id" /> |
| | 43 | <input type="hidden" name="armor" value="1" /> |
| | 44 | <input type="hidden" name="preview" value="" /> |
| | 45 | <input type="hidden" name="sid" value="" /> |
| | 46 | <div id="comments-open-data"> |
| | 47 | <label for="comment-author"><__trans phrase="Name"></label> |
| | 48 | <input id="comment-author" name="author" size="30" value="<mt:If name="comment_preview"><$mt:CommentAuthor encode_html="1"$></mt:If>" onfocus="mtCommentFormOnFocus()" /> |
| 21 | | <$mt:Include module="<__trans phrase="Footer">"$> |
| 22 | | </__trans_section> |
| | 50 | <label for="comment-email"><__trans phrase="Email Address"></label> |
| | 51 | <input id="comment-email" name="email" size="30" value="<mt:If name="comment_preview"><$mt:CommentEmail encode_html="1"$></mt:If>" onfocus="mtCommentFormOnFocus()" /> |
| | 52 | |
| | 53 | <label for="comment-url"><__trans phrase="URL"></label> |
| | 54 | <input id="comment-url" name="url" size="30" value="<mt:If name="comment_preview"><$mt:CommentURL encode_html="1"$></mt:If>" onfocus="mtCommentFormOnFocus()" /> |
| | 55 | </div> |
| | 56 | <div id="comment-form-reply"<mt:IfCommentParent><mt:Else> style="display:none"</mt:IfCommentParent>> |
| | 57 | <input type="checkbox" id="comment-reply" name="comment_reply" value="<$mt:CommentParentID$>"<mt:IfCommentParent> checked="checked"</mt:IfCommentParent> onclick="mtSetCommentParentID()" /> |
| | 58 | <label for="comment-reply" id="comment-reply-label"><mt:IfCommentParent><__trans phrase="Replying to comment from [_1]" params="<mt:CommentParent><$mt:CommentAuthor$></mt:CommentParent>"></mt:IfCommentParent></label> |
| | 59 | </div> |
| | 60 | <div id="comments-open-text"> |
| | 61 | <label for="comment-text"><__trans phrase="Comments"> |
| | 62 | <mt:IfAllowCommentHTML><__trans phrase="(You may use HTML tags for style)"></mt:IfAllowCommentHTML></label> |
| | 63 | <textarea id="comment-text" name="text" rows="15" cols="50" onfocus="mtCommentFormOnFocus()"><$mt:CommentBody autolink="0" sanitize="0" convert_breaks="0" encode_html="1"$></textarea> |
| | 64 | </div> |
| | 65 | <div id="comments-open-captcha"></div> |
| | 66 | <div id="comments-open-footer"> |
| | 67 | <input type="submit" accesskey="v" name="preview_button" id="comment-preview" value="<__trans phrase="Preview">" onclick="this.form.preview.value='1';" /> |
| | 68 | <input type="submit" accesskey="s" name="post" id="comment-submit" value="<__trans phrase="Submit">" /> |
| | 69 | <input type="button" name="cancel" id="comment-cancel" value="<__trans phrase="Cancel">" onclick="window.location='<$mt:EntryPermalink$>'" /> |
| | 70 | </div> |
| | 71 | </form> |
| | 72 | </div> |
| | 73 | </div> |
| | 74 | <script type="text/javascript"> |
| | 75 | <!-- |
| | 76 | mtAttachEvent("load", mtEntryOnLoad); |
| | 77 | mtAttachEvent("unload", mtEntryOnUnload); |
| | 78 | //--> |
| | 79 | </script> |
| | 80 | </mt:IfCommentsAccepted> |
| | 81 | |
| | 82 | <mt:Comments> |
| | 83 | <mt:CommentsHeader> |
| | 84 | <h2 class="comments-header"><__trans phrase="Comments"></h2> |
| | 85 | <ol class="comments-content"> |
| | 86 | </mt:CommentsHeader> |
| | 87 | <li id="comment-<$mt:CommentID$>"> |
| | 88 | <div class="comment-header"> |
| | 89 | <$mt:CommentAuthorIdentity$> |
| | 90 | <mt:IfCommentParent> |
| | 91 | <__trans phrase="[_1] replied to [_2]<a href="[_3]">comment from [_4]</a>[_5]" params="<$mt:CommentAuthorLink$>%%<mt:CommentParent>%%<$mt:CommentLink$>%%<$mt:CommentAuthor$>%%</mt:CommentParent>"> |
| | 92 | <mt:Else> |
| | 93 | <$mt:CommentAuthorLink$> |
| | 94 | </mt:IfCommentParent> |
| | 95 | | <a href="<$mt:CommentLink$>"><abbr class="published" title="<$mt:CommentDate format_name="iso8601"$>"><$mt:CommentDate$></abbr></a> |
| | 96 | <mt:IfCommentsAccepted> |
| | 97 | | <$mt:CommentReplyToLink$> |
| | 98 | </mt:IfCommentsAccepted> |
| | 99 | </div> |
| | 100 | <div class="comment-body"> |
| | 101 | <$mt:CommentBody$> |
| | 102 | </div> |
| | 103 | </li> |
| | 104 | <mt:CommentsFooter> |
| | 105 | </ol> |
| | 106 | </mt:CommentsFooter> |
| | 107 | </mt:Comments> |
| | 108 | |
| | 109 | </div> |
| | 110 | |
| | 111 | </mt:IncludeBlock> |