| 1 | <mt:IfCommentsAccepted> |
|---|
| 2 | <div class="comments-open" id="comments-open"> |
|---|
| 3 | <h2 class="comments-open-header"><__trans phrase="Leave a comment"></h2> |
|---|
| 4 | <div class="comments-open-content"> |
|---|
| 5 | <div id="comment-greeting"></div> |
|---|
| 6 | <form method="post" action="<$mt:CGIPath$><$mt:CommentScript$>" name="comments_form" id="comments-form" onsubmit="return mtCommentOnSubmit(this)"> |
|---|
| 7 | <input type="hidden" name="static" value="1" /> |
|---|
| 8 | <input type="hidden" name="entry_id" value="<$mt:EntryID$>" /> |
|---|
| 9 | <input type="hidden" name="__lang" value="<$mt:BlogLanguage$>" /> |
|---|
| 10 | <input type="hidden" name="parent_id" value="<$mt:CommentParentID$>" id="comment-parent-id" /> |
|---|
| 11 | <input type="hidden" name="armor" value="1" /> |
|---|
| 12 | <input type="hidden" name="preview" value="" /> |
|---|
| 13 | <input type="hidden" name="sid" value="" /> |
|---|
| 14 | <div id="comments-open-data"> |
|---|
| 15 | <div id="comment-form-name"> |
|---|
| 16 | <label for="comment-author"><__trans phrase="Name"></label> |
|---|
| 17 | <input id="comment-author" name="author" size="30" value="<mt:If name="comment_preview"><$mt:CommentAuthor encode_html="1"$></mt:If>" onfocus="mtCommentFormOnFocus()" /> |
|---|
| 18 | </div> |
|---|
| 19 | <div id="comment-form-email"> |
|---|
| 20 | <label for="comment-email"><__trans phrase="Email Address"></label> |
|---|
| 21 | <input id="comment-email" name="email" size="30" value="<mt:If name="comment_preview"><$mt:CommentEmail encode_html="1"$></mt:If>" onfocus="mtCommentFormOnFocus()" /> |
|---|
| 22 | </div> |
|---|
| 23 | <div id="comment-form-url"> |
|---|
| 24 | <label for="comment-url"><__trans phrase="URL"></label> |
|---|
| 25 | <input id="comment-url" name="url" size="30" value="<mt:If name="comment_preview"><$mt:CommentURL encode_html="1"$></mt:If>" onfocus="mtCommentFormOnFocus()" /> |
|---|
| 26 | </div> |
|---|
| 27 | <mt:Unless name="comment_preview"> |
|---|
| 28 | <div id="comment-form-remember-me"> |
|---|
| 29 | <input type="checkbox" id="comment-bake-cookie" name="bakecookie" onclick="mtRememberMeOnClick(this)" value="1" accesskey="r" /> |
|---|
| 30 | <label for="comment-bake-cookie"><__trans phrase="Remember personal info?"></label> |
|---|
| 31 | </div> |
|---|
| 32 | </mt:Unless> |
|---|
| 33 | </div> |
|---|
| 34 | <div id="comment-form-reply"<mt:IfCommentParent><mt:Else> style="display:none"</mt:IfCommentParent>> |
|---|
| 35 | <input type="checkbox" id="comment-reply" name="comment_reply" value="<$mt:CommentParentID$>"<mt:IfCommentParent> checked="checked"</mt:IfCommentParent> onclick="mtSetCommentParentID()" /> |
|---|
| 36 | <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> |
|---|
| 37 | </div> |
|---|
| 38 | <div id="comments-open-text"> |
|---|
| 39 | <label for="comment-text"><__trans phrase="Comments"> |
|---|
| 40 | <mt:IfAllowCommentHTML><__trans phrase="(You may use HTML tags for style)"></mt:IfAllowCommentHTML></label> |
|---|
| 41 | <textarea id="comment-text" name="text" rows="15" cols="50" onfocus="mtCommentFormOnFocus()"><mt:If name="comment_preview"><$mt:CommentBody autolink="0" sanitize="0" convert_breaks="0" encode_html="1"$></mt:If></textarea> |
|---|
| 42 | </div> |
|---|
| 43 | <div id="comments-open-captcha"></div> |
|---|
| 44 | <div id="comments-open-footer"> |
|---|
| 45 | <input type="submit" accesskey="v" name="preview_button" id="comment-preview" value="<__trans phrase="Preview">" onclick="this.form.preview.value='1';" /> |
|---|
| 46 | <input type="submit" accesskey="s" name="post" id="comment-submit" value="<__trans phrase="Submit">" /> |
|---|
| 47 | <mt:If name="comment_preview"> |
|---|
| 48 | <input type="button" name="cancel" id="comment-cancel" value="<__trans phrase="Cancel">" onclick="window.location='<$mt:EntryPermalink$>'" /> |
|---|
| 49 | </mt:If> |
|---|
| 50 | </div> |
|---|
| 51 | </form> |
|---|
| 52 | </div> |
|---|
| 53 | </div> |
|---|
| 54 | <script type="text/javascript"> |
|---|
| 55 | <!-- |
|---|
| 56 | mtAttachEvent("load", mtEntryOnLoad); |
|---|
| 57 | mtAttachEvent("unload", mtEntryOnUnload); |
|---|
| 58 | //--> |
|---|
| 59 | </script> |
|---|
| 60 | </mt:IfCommentsAccepted> |
|---|