root/branches/release-36/default_templates/comments.mtml @ 2063

Revision 2063, 5.3 kB (checked in by bchoate, 19 months ago)

Removed unnecessary conditional tag.

Line 
1<mt:ignore>
2<!-- Display comments for the entry/page or commenting form if entry/page is accepting comments -->
3</mt:ignore>
4<MTIfCommentsActive>
5<div id="comments" class="comments">
6
7
8    <mt:ignore>
9    <!-- Display comments -->
10    </mt:ignore>
11    <MTComments>
12        <MTCommentsHeader>
13    <h2 class="comments-header"><$MTEntryCommentCount singular="<__trans phrase="1 Comment">" plural="<__trans phrase="# Comments">" none="<__trans phrase="No Comments">"$></h2>
14    <div class="comments-content">
15        </MTCommentsHeader>
16        <div class="comment<mt:IfCommentParent> comment-reply</mt:IfCommentParent>" id="comment-<$MTCommentID$>">
17            <div class="inner">
18                <div class="comment-header">
19                    <div class="asset-meta">
20                        <span class="byline">
21                            <mt:IfCommentParent>
22                                <__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>">
23                            <mt:else>
24                                <$MTCommentAuthorIdentity$>
25                                <span class="vcard author"><$MTCommentAuthorLink$></span>
26                            </mt:IfCommentParent>
27                            | <a href="#comment-<$MTCommentID$>"><abbr class="published" title="<$MTCommentDate format_name="iso8601"$>"><$MTCommentDate relative="js"$></abbr></a>
28                            <MTIfCommentsAccepted> | <$MTCommentReplyLink$></MTIfCommentsAccepted>
29                        </span>
30                    </div>
31                </div>
32                <div class="comment-content">
33                    <$MTCommentBody$>
34                </div>
35            </div>
36        </div>
37        <MTCommentsFooter>
38    </div>
39        </MTCommentsFooter>
40    </MTComments>
41
42
43    <mt:ignore>
44    <!-- Display commenting form if entry/page is accepting comments -->
45    </mt:ignore>
46    <MTIfCommentsAccepted>
47    <div class="comments-open" id="comments-open">
48        <h2 class="comments-open-header"><__trans phrase="Leave a comment"></h2>
49        <div class="comments-open-content">
50
51        <mt:ignore>
52        <!-- Display greeting for users if blog allows users to register locally -->
53        </mt:ignore>
54            <div id="comment-greeting"></div>
55
56            <form method="post" action="<$MTCGIPath$><$MTCommentScript$>" name="comments_form" id="comments-form" onsubmit="return mtCommentOnSubmit(this)">
57                <input type="hidden" name="static" value="1" />
58                <input type="hidden" name="entry_id" value="<$MTEntryID$>" />
59                <input type="hidden" name="__lang" value="<$MTBlogLanguage$>" />
60                <input type="hidden" name="parent_id" value="<$MTCommentParentID$>" id="comment-parent-id" />
61                <input type="hidden" name="armor" value="1" />
62                <input type="hidden" name="preview" value="" />
63                <div id="comments-open-data">
64                    <div id="comment-form-name">
65                        <label for="comment-author"><__trans phrase="Name"></label>
66                        <input id="comment-author" name="author" size="30" value="" />
67                    </div>
68                    <div id="comment-form-email">
69                        <label for="comment-email"><__trans phrase="Email Address"></label>
70                        <input id="comment-email" name="email" size="30" value="" />
71                    </div>
72                    <div id="comment-form-url">
73                        <label for="comment-url"><__trans phrase="URL"></label>
74                        <input id="comment-url" name="url" size="30" value="" />
75                    </div>
76                    <div id="comment-form-remember-me">
77                        <input type="checkbox" id="comment-bake-cookie" name="bakecookie" onclick="mtRememberMeOnClick(this)" value="1" accesskey="r" />
78                        <label for="comment-bake-cookie"><__trans phrase="Remember personal info?"></label>
79                    </div>
80                </div>
81                <div id="comment-form-reply" style="display:none">
82                    <input type="checkbox" id="comment-reply" name="comment_reply" value="" onclick="mtSetCommentParentID()" />
83                    <label for="comment-reply" id="comment-reply-label"></label>
84                </div>
85                <div id="comments-open-text">
86                    <label for="comment-text"><__trans phrase="Comments">
87                    <MTIfAllowCommentHTML><__trans phrase="(You may use HTML tags for style)"></MTIfAllowCommentHTML></label>
88                    <textarea id="comment-text" name="text" rows="15" cols="50"></textarea>
89                </div>
90                <div id="comments-open-captcha"></div>
91                <div id="comments-open-footer">
92                    <input type="submit" accesskey="v" name="preview_button" id="comment-preview" value="<__trans phrase="Preview">" onclick="this.form.preview.value='1';" />
93                    <input type="submit" accesskey="s" name="post" id="comment-submit" value="<__trans phrase="Submit">" />
94                </div>
95            </form>
96
97
98        </div>
99    </div>
100    </MTIfCommentsAccepted>
101
102
103</div>
104</MTIfCommentsActive>
Note: See TracBrowser for help on using the browser.