root/branches/release-40/default_templates/comments.mtml @ 2613

Revision 2613, 5.4 kB (checked in by bsmith, 17 months ago)

bugzid:80096 - changing CommentReplyLink tag to CommentReplyToLink to avoid conflicts with Simply Threaded plugin

Line 
1<mt:Ignore>
2<!-- Display comments for the entry/page or commenting form if entry/page is accepting comments -->
3</mt:Ignore>
4<mt:IfCommentsActive>
5<div id="comments" class="comments">
6
7
8    <mt:Ignore>
9    <!-- Display comments -->
10    </mt:Ignore>
11    <mt:Comments>
12        <mt:CommentsHeader>
13    <h2 class="comments-header"><$mt:EntryCommentCount singular="<__trans phrase="1 Comment">" plural="<__trans phrase="# Comments">" none="<__trans phrase="No Comments">"$></h2>
14    <div class="comments-content">
15        </mt:CommentsHeader>
16        <div id="comment-<$mt:CommentID$>" class="comment<mt:IfCommentParent> comment-reply</mt:IfCommentParent>">
17            <div class="inner">
18                <div class="comment-header">
19                    <div class="asset-meta">
20                        <span class="byline">
21                            <$mt:CommentAuthorIdentity$>
22        <mt:IfCommentParent>
23                            <__trans phrase="[_1] replied to <a href="[_2]">comment from [_3]</a>" params="<span class="vcard author"><$mt:CommentAuthorLink$></span>%%<mt:CommentParent><$mt:CommentLink$></mt:CommentParent>%%<mt:CommentParent><$mt:CommentAuthor$></mt:CommentParent>">
24        <mt:Else>
25                            <span class="vcard author"><$mt:CommentAuthorLink$></span>
26        </mt:IfCommentParent>
27                            | <a href="<$mt:CommentLink$>"><abbr class="published" title="<$mt:CommentDate format_name="iso8601"$>"><$mt:CommentDate$></abbr></a>
28        <mt:IfCommentsAccepted>
29                            | <$mt:CommentReplyToLink$>
30        </mt:IfCommentsAccepted>
31                        </span>
32                    </div>
33                </div>
34                <div class="comment-content">
35                    <$mt:CommentBody$>
36                </div>
37            </div>
38        </div>
39        <mt:CommentsFooter>
40    </div>
41        </mt:CommentsFooter>
42    </mt:Comments>
43
44
45    <mt:Ignore>
46    <!-- Display commenting form if entry/page is accepting comments -->
47    </mt:Ignore>
48    <mt:IfCommentsAccepted>
49    <div class="comments-open" id="comments-open">
50        <h2 class="comments-open-header"><__trans phrase="Leave a comment"></h2>
51        <div class="comments-open-content">
52
53        <mt:Ignore>
54        <!-- Display greeting for users if blog allows users to register locally -->
55        </mt:Ignore>
56            <div id="comment-greeting"></div>
57
58            <form method="post" action="<$mt:CGIPath$><$mt:CommentScript$>" name="comments_form" id="comments-form" onsubmit="return mtCommentOnSubmit(this)">
59                <input type="hidden" name="static" value="1" />
60                <input type="hidden" name="entry_id" value="<$mt:EntryID$>" />
61                <input type="hidden" name="__lang" value="<$mt:BlogLanguage$>" />
62                <input type="hidden" name="parent_id" value="<$mt:CommentParentID$>" id="comment-parent-id" />
63                <input type="hidden" name="armor" value="1" />
64                <input type="hidden" name="preview" value="" />
65                <input type="hidden" name="sid" value="" />
66                <div id="comments-open-data">
67                    <div id="comment-form-name">
68                        <label for="comment-author"><__trans phrase="Name"></label>
69                        <input id="comment-author" name="author" size="30" value="" onfocus="mtCommentFormOnFocus()" />
70                    </div>
71                    <div id="comment-form-email">
72                        <label for="comment-email"><__trans phrase="Email Address"></label>
73                        <input id="comment-email" name="email" size="30" value="" onfocus="mtCommentFormOnFocus()" />
74                    </div>
75                    <div id="comment-form-url">
76                        <label for="comment-url"><__trans phrase="URL"></label>
77                        <input id="comment-url" name="url" size="30" value="" onfocus="mtCommentFormOnFocus()" />
78                    </div>
79                    <div id="comment-form-remember-me">
80                        <input type="checkbox" id="comment-bake-cookie" name="bakecookie" onclick="mtRememberMeOnClick(this)" value="1" accesskey="r" />
81                        <label for="comment-bake-cookie"><__trans phrase="Remember personal info?"></label>
82                    </div>
83                </div>
84                <div id="comment-form-reply" style="display:none">
85                    <input type="checkbox" id="comment-reply" name="comment_reply" value="" onclick="mtSetCommentParentID()" />
86                    <label for="comment-reply" id="comment-reply-label"></label>
87                </div>
88                <div id="comments-open-text">
89                    <label for="comment-text"><__trans phrase="Comments">
90                    <mt:IfAllowCommentHTML><__trans phrase="(You may use HTML tags for style)"></mt:IfAllowCommentHTML></label>
91                    <textarea id="comment-text" name="text" rows="15" cols="50" onfocus="mtCommentFormOnFocus()"></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                </div>
98            </form>
99
100
101        </div>
102    </div>
103    </mt:IfCommentsAccepted>
104
105
106</div>
107</mt:IfCommentsActive>
Note: See TracBrowser for help on using the browser.