- Timestamp:
- 04/24/08 21:16:21 (19 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/release-36/default_templates/comment_preview.mtml
r1923 r2062 5 5 <title><$MTBlogName encode_html="1"$>: <__trans phrase="Previewing your Comment"></title> 6 6 <$mt:include module="<__trans phrase="HTML Head">"$> 7 <script type="text/javascript"> 8 /* <![CDATA[ */ 9 var is_preview = true; 10 /* ]]> */ 11 </script> 7 12 <script type="text/javascript" src="<$MTLink template="javascript"$>"></script> 8 13 </head> 9 <body id="<$mt:BlogTemplateSetID$>" class="mt-comment-preview <$MTVar name="page_layout"$>" onload=" individualArchivesOnLoad(commenter_name)">14 <body id="<$mt:BlogTemplateSetID$>" class="mt-comment-preview <$MTVar name="page_layout"$>" onload="mtEntryOnLoad()"> 10 15 <div id="container"> 11 16 <div id="container-inner"> … … 27 32 28 33 <mt:ignore><!-- Comment Preview --></mt:ignore> 29 <div class="comment" <MTIfArchiveTypeEnabled archive_type="Individual"> id="comment-<$MTCommentID$>"</MTIfArchiveTypeEnabled>>34 <div class="comment" id="comment-<$MTCommentID$>"> 30 35 <div class="inner"> 31 36 <div class="comment-header"> … … 33 38 <span class="byline"> 34 39 <mt:IfCommentParent> 35 <__trans phrase="[_1] replied to <a href="[_2]">comment from [_3]</a>" params="< MTIfNonEmpty tag="CommentAuthorIdentity"><$MTCommentAuthorIdentity$></MTIfNonEmpty> <span class="vcard author"><$MTCommentAuthorLink default_name="Anonymous" show_email="0"$></span>%%<mt:CommentParent>#comment-<$MTCommentID$></mt:CommentParent>%%<mt:CommentParent><$MTCommentAuthor$></mt:CommentParent>">40 <__trans phrase="[_1] replied to <a href="[_2]">comment from [_3]</a>" params="<$MTCommentAuthorIdentity$> <span class="vcard author"><$MTCommentAuthorLink$></span>%%<mt:CommentParent>#comment-<$MTCommentID$></mt:CommentParent>%%<mt:CommentParent><$MTCommentAuthor$></mt:CommentParent>"> 36 41 <mt:else> 37 <MTIfNonEmpty tag="CommentAuthorIdentity"><$MTCommentAuthorIdentity$></MTIfNonEmpty> <span class="vcard author"><$MTCommentAuthorLink default_name="Anonymous" show_email="0"$></span> 42 <$MTCommentAuthorIdentity$> 43 <span class="vcard author"><$MTCommentAuthorLink$></span> 38 44 </mt:IfCommentParent> 39 45 | <a href="#comment-<$MTCommentID$>"><abbr class="published" title="<$MTCommentDate format_name="iso8601"$>"><$MTCommentDate$></abbr></a> 40 <MTIfCommentsAccepted> | <$MTCommentReplyLink$></MTIfCommentsAccepted>41 46 </span> 42 47 </div> … … 50 55 51 56 <mt:ignore><!-- Comment Form --></mt:ignore> 52 <MTIfCommentsAccepted>53 57 <div class="comments-open" id="comments-open"> 54 58 <h2 class="comments-open-header"><__trans phrase="Leave a comment"></h2> 55 59 <div class="comments-open-content"> 56 <MTIfRegistrationAllowed> 57 <div id="comment-form-external-auth"> 58 <script type="text/javascript"> 59 /* <![CDATA[ */ 60 is_preview = true; 61 writeCommenterGreeting(commenter_name, <$MTEntryID$>, <$MTEntryBlogID$>, commenter_id, commenter_url); 62 /* ]]> */ 63 </script> 64 </div> 65 </MTIfRegistrationAllowed> 66 <form method="post" action="<$MTCGIPath$><$MTCommentScript$>" name="comments_form" id="comments-form" onsubmit="if (this.bakecookie.checked) rememberMe(this)"> 60 <div id="comment-greeting"></div> 61 <form method="post" action="<$MTCGIPath$><$MTCommentScript$>" name="comments_form" id="comments-form" onsubmit="mtCommentOnSubmit(this)"> 67 62 <input type="hidden" name="static" value="1" /> 63 <input type="hidden" name="armor" value="1" /> 64 <input type="hidden" name="preview" value="" /> 68 65 <input type="hidden" name="entry_id" value="<$MTEntryID$>" /> 69 66 <input type="hidden" name="__lang" value="<$MTBlogLanguage$>" /> … … 81 78 <input id="comment-url" name="url" size="30" value="<$MTCommentURL encode_html="1"$>" /> 82 79 </div> 83 <div id="comment-form-remember-me">84 <label for="comment-bake-cookie"><input type="checkbox" id="comment-bake-cookie" name="bakecookie" onclick="if (!this.checked) forgetMe(document.comments_form)" value="1" />85 <__trans phrase="Remember personal info?"></label>86 </div>87 80 </div> 88 81 <div id="comments-open-text"> … … 90 83 <textarea id="comment-text" name="text" rows="15" cols="50"><$MTCommentBody autolink="0" sanitize="0" convert_breaks="0" encode_html="1"$></textarea> 91 84 </div> 92 <MTIfNonEmpty tag="MTCaptchaFields"> 93 <MTIfCommentsAccepted><MTIfRegistrationAllowed><MTElse><$MTCaptchaFields$></MTIfRegistrationAllowed></MTIfCommentsAccepted> 94 <div id="comments-open-captcha"> 95 </div> 96 </MTIfNonEmpty> 85 <div id="comments-open-captcha"></div> 97 86 <div id="comments-open-footer"> 98 <input type="submit" accesskey="v" name="preview " id="comment-preview" value="<__trans phrase="Preview">" />87 <input type="submit" accesskey="v" name="preview_button" id="comment-preview" value="<__trans phrase="Preview">" onclick="this.form.preview.value='1';" /> 99 88 <input type="submit" accesskey="s" name="post" id="comment-submit" value="<__trans phrase="Submit">" /> 100 89 <input type="button" name="cancel" id="comment-cancel" value="<__trans phrase="Cancel">" onclick="window.location='<$MTEntryPermalink$>'" /> … … 103 92 </div> 104 93 </div> 105 </MTIfCommentsAccepted>106 94 </div> 107 95 </div>
