root/branches/release-33/default_templates/comment_preview.mtml @ 1709

Revision 1709, 7.5 kB (checked in by fumiakiy, 20 months ago)

Merged the latest checkins to release-32 branch to the current dev branch. svn merge -r1669:1708 http://code.sixapart.com/svn/movabletype/branches/release-32 .

  • Property svn:executable set to *
  • 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 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                                                <__trans phrase="By"> <span class="vcard author"><$MTCommentAuthorLink default_name="Anonymous" show_email="0"$></span><MTIfNonEmpty tag="CommentAuthorIdentity"><$MTCommentAuthorIdentity$></MTIfNonEmpty>
35                                                <MTCommentParent>
36                                                <__trans phrase="replied to"> <a href="#comment-<$MTCommentID$>"><$MTCommentAuthor$></a>
37                                                </MTCommentParent>
38                                                <__trans phrase="on"> <a href="#comment-<$MTCommentID$>"><abbr class="published" title="<$MTCommentDate format_name="iso8601"$>"><$MTCommentDate$></abbr></a>
39                                                <MTIfCommentsAccepted> | <$MTCommentReplyLink$></MTIfCommentsAccepted>
40                                            </span>
41                                        </div>
42                                    </div>
43                                    <div class="comment-content">
44                                        <$MTCommentBody$>
45                                    </div>
46                                </div>
47                            </div>
48
49
50<mt:ignore><!-- Comment Form --></mt:ignore>
51<MTIfCommentsAccepted>
52                            <div class="comments-open" id="comments-open">
53                                <h2 class="comments-open-header"><__trans phrase="Leave a comment"></h2>
54                                <div class="comments-open-content">
55    <MTIfRegistrationAllowed>
56                                        <div id="comment-form-external-auth">
57                                            <script type="text/javascript">
58                                            /* <![CDATA[ */
59                                            is_preview = true;
60                                            writeCommenterGreeting(commenter_name, <$MTEntryID$>, <$MTEntryBlogID$>, commenter_id, commenter_url);
61                                            /* ]]> */
62                                            </script>
63                                        </div>
64    </MTIfRegistrationAllowed>
65                                    <form method="post" action="<$MTCGIPath$><$MTCommentScript$>" name="comments_form" id="comments-form" onsubmit="if (this.bakecookie.checked) rememberMe(this)">
66                                        <input type="hidden" name="static" value="1" />
67                                        <input type="hidden" name="entry_id" value="<$MTEntryID$>" />
68                                        <input type="hidden" name="__lang" value="<$MTBlogLanguage$>" />
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"$>" />
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"$>" />
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"$>" />
81                                            </div>
82                                            <div id="comment-form-remember-me">
83                                                <label for="comment-bake-cookie"><input type="checkbox" id="comment-bake-cookie" name="bakecookie" onclick="if (!this.checked) forgetMe(document.comments_form)" value="1" />
84                                                    <__trans phrase="Remember personal info?"></label>
85                                            </div>
86                                        </div>
87                                        <div id="comments-open-text">
88                                            <label for="comment-text"><__trans phrase="Comments"> <MTIfAllowCommentHTML><__trans phrase="(You may use HTML tags for style)"></MTIfAllowCommentHTML></label>
89                                            <textarea id="comment-text" name="text" rows="15" cols="50"><$MTCommentBody autolink="0" sanitize="0" convert_breaks="0" encode_html="1"$></textarea>
90                                        </div>
91    <MTIfNonEmpty tag="MTCaptchaFields">
92                                        <MTIfCommentsAccepted><MTIfRegistrationAllowed><MTElse><$MTCaptchaFields$></MTIfRegistrationAllowed></MTIfCommentsAccepted>
93                                        <div id="comments-open-captcha">
94                                        </div>
95    </MTIfNonEmpty>
96                                        <div id="comments-open-footer">
97                                            <input type="submit" accesskey="v" name="preview" id="comment-preview" value="<__trans phrase="Preview">" />
98                                            <input type="submit" accesskey="s" name="post" id="comment-submit" value="<__trans phrase="Submit">" />
99                                            <input type="button" name="cancel" id="comment-cancel" value="<__trans phrase="Cancel">" onclick="window.location='<$MTEntryPermalink$>'" />
100                                        </div>
101                                    </form>
102                                </div>
103                            </div>
104</MTIfCommentsAccepted>
105                        </div>
106                    </div>
107
108
109                    <$MTInclude module="<__trans phrase="Sidebar">"$>
110
111
112                </div>
113            </div>
114
115
116            <$mt:include module="<__trans phrase="Banner Footer">"$>
117
118
119        </div>
120    </div>
121</body>
122</html>
Note: See TracBrowser for help on using the browser.