root/branches/release-38/default_templates/comment_preview.mtml @ 2313

Revision 2313, 7.2 kB (checked in by bsmith, 19 months ago)

bugzid:79309 - Adding reply checkbox to comment preview screen

  • Property svn:keywords set to Id Revision
Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml" id="sixapart-standard">
4<head>
5    <$mt:include module="<__trans phrase="HTML Head">"$>
6    <title><$MTBlogName encode_html="1"$>: <__trans phrase="Previewing your Comment"></title>
7    <script type="text/javascript">
8    /* <![CDATA[ */
9    var is_preview = true;
10    /* ]]> */
11    </script>
12</head>
13<body id="<$mt:BlogTemplateSetID$>" class="mt-comment-preview <$MTVar name="page_layout"$>" onload="mtEntryOnLoad()">
14    <div id="container">
15        <div id="container-inner">
16
17
18            <$mt:include module="<__trans phrase="Banner Header">"$>
19
20
21            <div id="content">
22                <div id="content-inner">
23
24
25                    <div id="alpha">
26                        <div id="alpha-inner">
27
28
29                            <h1 id="page-title"><$MTVar name="page_title"$></h1>
30
31
32<mt:ignore><!-- Comment Preview --></mt:ignore>
33                            <div class="comment" id="comment-<$MTCommentID$>">
34                                <div class="inner">
35                                    <div class="comment-header">
36                                        <div class="asset-meta">
37                                            <span class="byline">
38                                                <mt:IfCommentParent>
39                                                    <__trans phrase="[_1] replied to <a href="[_2]">comment from [_3]</a>" params="<$MTCommentAuthorIdentity$> <span class="vcard author"><$MTCommentAuthorLink$></span>%%<mt:CommentParent><$mt:CommentLink$></mt:CommentParent>%%<mt:CommentParent><$MTCommentAuthor$></mt:CommentParent>">
40                                                <mt:else>
41                                                    <$MTCommentAuthorIdentity$>
42                                                    <span class="vcard author"><$MTCommentAuthorLink$></span>
43                                                </mt:IfCommentParent>
44                                                | <a href="<$mt:CommentLink$>"><abbr class="published" title="<$MTCommentDate format_name="iso8601"$>"><$MTCommentDate$></abbr></a>
45                                            </span>
46                                        </div>
47                                    </div>
48                                    <div class="comment-content">
49                                        <$MTCommentBody$>
50                                    </div>
51                                </div>
52                            </div>
53
54
55<mt:ignore><!-- Comment Form --></mt:ignore>
56                            <div class="comments-open" id="comments-open">
57                                <h2 class="comments-open-header"><__trans phrase="Leave a comment"></h2>
58                                <div class="comments-open-content">
59                                    <div id="comment-greeting"></div>
60                                    <form method="post" action="<$MTCGIPath$><$MTCommentScript$>" name="comments_form" id="comments-form" onsubmit="return mtCommentOnSubmit(this)">
61                                        <input type="hidden" name="static" value="1" />
62                                        <input type="hidden" name="armor" value="1" />
63                                        <input type="hidden" name="preview" value="" />
64                                        <input type="hidden" name="entry_id" value="<$MTEntryID$>" />
65                                        <input type="hidden" name="__lang" value="<$MTBlogLanguage$>" />
66<mt:IfCommentParent>
67                                            <input type="hidden" name="parent_id" value="<$mt:CommentParentId$>" id="comment-parent-id">
68</mt:IfCommentParent>
69                                        <div id="comments-open-data">
70                                            <div id="comment-form-name">
71                                                <label for="comment-author"><__trans phrase="Name"></label>
72                                                <input id="comment-author" name="author" size="30" value="<$MTCommentAuthor encode_html="1"$>" onfocus="mtShowCaptcha()" />
73                                            </div>
74                                            <div id="comment-form-email">
75                                                <label for="comment-email"><__trans phrase="Email Address"></label>
76                                                <input id="comment-email" name="email" size="30" value="<$MTCommentEmail encode_html="1"$>" onfocus="mtShowCaptcha()" />
77                                            </div>
78                                            <div id="comment-form-url">
79                                                <label for="comment-url"><__trans phrase="URL"></label>
80                                                <input id="comment-url" name="url" size="30" value="<$MTCommentURL encode_html="1"$>" onfocus="mtShowCaptcha()" />
81                                            </div>
82                                        </div>
83<mt:IfCommentParent>
84                                        <div id="comment-form-reply">
85                                            <input type="checkbox" id="comment-reply" name="comment_reply" value="<$mt:CommentParentId$>" checked="checked" onclick="mtSetCommentParentID()" />
86                                            <label for="comment-reply" id="comment-reply-label"><__trans phrase="Replying to comment from [_1]" params="<mt:CommentParent><$MTCommentAuthor$></mt:CommentParent>"></label>
87                                        </div>
88</mt:IfCommentParent>
89                                        <div id="comments-open-text">
90                                            <label for="comment-text"><__trans phrase="Comments"> <MTIfAllowCommentHTML><__trans phrase="(You may use HTML tags for style)"></MTIfAllowCommentHTML></label>
91                                            <textarea id="comment-text" name="text" rows="15" cols="50" onfocus="mtShowCaptcha()"><$MTCommentBody autolink="0" sanitize="0" convert_breaks="0" encode_html="1"$></textarea>
92                                        </div>
93                                        <div id="comments-open-captcha"></div>
94                                        <div id="comments-open-footer">
95                                            <input type="submit" accesskey="v" name="preview_button" id="comment-preview" value="<__trans phrase="Preview">" onclick="this.form.preview.value='1';" />
96                                            <input type="submit" accesskey="s" name="post" id="comment-submit" value="<__trans phrase="Submit">" />
97                                            <input type="button" name="cancel" id="comment-cancel" value="<__trans phrase="Cancel">" onclick="window.location='<$MTEntryPermalink$>'" />
98                                        </div>
99                                    </form>
100                                </div>
101                            </div>
102                        </div>
103                    </div>
104
105
106                    <$MTInclude module="<__trans phrase="Sidebar">"$>
107
108
109                </div>
110            </div>
111
112
113            <$mt:include module="<__trans phrase="Banner Footer">"$>
114
115
116        </div>
117    </div>
118</body>
119</html>
Note: See TracBrowser for help on using the browser.