root/branches/release-35/default_templates/comment_preview.mtml @ 1923

Revision 1923, 7.8 kB (checked in by bsmith, 20 months ago)

bugzid:69803 - Add <:BlogTemplateSetID$> as id on body tag in default templates

  • 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    <title><$MTBlogName encode_html="1"$>: <__trans phrase="Previewing your Comment"></title>
6    <$mt:include module="<__trans phrase="HTML Head">"$>
7    <script type="text/javascript" src="<$MTLink template="javascript"$>"></script>
8</head>
9<body id="<$mt:BlogTemplateSetID$>" class="mt-comment-preview <$MTVar name="page_layout"$>" onload="individualArchivesOnLoad(commenter_name)">
10    <div id="container">
11        <div id="container-inner">
12
13
14            <$mt:include module="<__trans phrase="Banner Header">"$>
15
16
17            <div id="content">
18                <div id="content-inner">
19
20
21                    <div id="alpha">
22                        <div id="alpha-inner">
23
24
25                            <h1 id="page-title"><$MTVar name="page_title"$></h1>
26
27
28<mt:ignore><!-- Comment Preview --></mt:ignore>
29                            <div class="comment"<MTIfArchiveTypeEnabled archive_type="Individual"> id="comment-<$MTCommentID$>"</MTIfArchiveTypeEnabled>>
30                                <div class="inner">
31                                    <div class="comment-header">
32                                        <div class="asset-meta">
33                                            <span class="byline">
34                                                <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>">
36                                                <mt:else>
37                                                    <MTIfNonEmpty tag="CommentAuthorIdentity"><$MTCommentAuthorIdentity$></MTIfNonEmpty> <span class="vcard author"><$MTCommentAuthorLink default_name="Anonymous" show_email="0"$></span>
38                                                </mt:IfCommentParent>
39                                                | <a href="#comment-<$MTCommentID$>"><abbr class="published" title="<$MTCommentDate format_name="iso8601"$>"><$MTCommentDate$></abbr></a>
40                                                <MTIfCommentsAccepted> | <$MTCommentReplyLink$></MTIfCommentsAccepted>
41                                            </span>
42                                        </div>
43                                    </div>
44                                    <div class="comment-content">
45                                        <$MTCommentBody$>
46                                    </div>
47                                </div>
48                            </div>
49
50
51<mt:ignore><!-- Comment Form --></mt:ignore>
52<MTIfCommentsAccepted>
53                            <div class="comments-open" id="comments-open">
54                                <h2 class="comments-open-header"><__trans phrase="Leave a comment"></h2>
55                                <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)">
67                                        <input type="hidden" name="static" value="1" />
68                                        <input type="hidden" name="entry_id" value="<$MTEntryID$>" />
69                                        <input type="hidden" name="__lang" value="<$MTBlogLanguage$>" />
70                                        <div id="comments-open-data">
71                                            <div id="comment-form-name">
72                                                <label for="comment-author"><__trans phrase="Name"></label>
73                                                <input id="comment-author" name="author" size="30" value="<$MTCommentAuthor encode_html="1"$>" />
74                                            </div>
75                                            <div id="comment-form-email">
76                                                <label for="comment-email"><__trans phrase="Email Address"></label>
77                                                <input id="comment-email" name="email" size="30" value="<$MTCommentEmail encode_html="1"$>" />
78                                            </div>
79                                            <div id="comment-form-url">
80                                                <label for="comment-url"><__trans phrase="URL"></label>
81                                                <input id="comment-url" name="url" size="30" value="<$MTCommentURL encode_html="1"$>" />
82                                            </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                                        </div>
88                                        <div id="comments-open-text">
89                                            <label for="comment-text"><__trans phrase="Comments"> <MTIfAllowCommentHTML><__trans phrase="(You may use HTML tags for style)"></MTIfAllowCommentHTML></label>
90                                            <textarea id="comment-text" name="text" rows="15" cols="50"><$MTCommentBody autolink="0" sanitize="0" convert_breaks="0" encode_html="1"$></textarea>
91                                        </div>
92    <MTIfNonEmpty tag="MTCaptchaFields">
93                                        <MTIfCommentsAccepted><MTIfRegistrationAllowed><MTElse><$MTCaptchaFields$></MTIfRegistrationAllowed></MTIfCommentsAccepted>
94                                        <div id="comments-open-captcha">
95                                        </div>
96    </MTIfNonEmpty>
97                                        <div id="comments-open-footer">
98                                            <input type="submit" accesskey="v" name="preview" id="comment-preview" value="<__trans phrase="Preview">" />
99                                            <input type="submit" accesskey="s" name="post" id="comment-submit" value="<__trans phrase="Submit">" />
100                                            <input type="button" name="cancel" id="comment-cancel" value="<__trans phrase="Cancel">" onclick="window.location='<$MTEntryPermalink$>'" />
101                                        </div>
102                                    </form>
103                                </div>
104                            </div>
105</MTIfCommentsAccepted>
106                        </div>
107                    </div>
108
109
110                    <$MTInclude module="<__trans phrase="Sidebar">"$>
111
112
113                </div>
114            </div>
115
116
117            <$mt:include module="<__trans phrase="Banner Footer">"$>
118
119
120        </div>
121    </div>
122</body>
123</html>
Note: See TracBrowser for help on using the browser.