root/trunk/Vanilla/templates/vanilla+comments/entry.mtml @ 917

Revision 917, 5.0 kB (checked in by bsmith, 16 months ago)

renaming

Line 
1<mt:IncludeBlock module="wrapper">
2
3    <h1><$mt:EntryTitle$></h1>
4    <p><__trans phrase="By [_1] on [_2]" params="<$mt:EntryAuthorLink$>%%<$mt:EntryDate format="%x %X"$>"></p>
5    <mt:If tag="EntryBody">
6        <$mt:EntryBody$>
7    </mt:If>
8    <mt:If tag="EntryMore" convert_breaks="0">
9        <$mt:EntryMore$>
10    </mt:If>
11
12
13    <mt:IfCommentsActive>
14    <div id="comments">
15
16
17        <mt:Comments>
18            <mt:CommentsHeader>
19        <h2 class="comments-header"><__trans phrase="Comments"></h2>
20        <ol class="comments-content">
21            </mt:CommentsHeader>
22            <li id="comment-<$mt:CommentID$>">
23                <div class="comment-header">
24                    <$mt:CommentAuthorIdentity$>
25                    <mt:IfCommentParent>
26                        <__trans phrase="[_1] replied to [_2]<a href="[_3]">comment from [_4]</a>[_5]" params="<$mt:CommentAuthorLink$>%%<mt:CommentParent>%%<$mt:CommentLink$>%%<$mt:CommentAuthor$>%%</mt:CommentParent>">
27                    <mt:Else>
28                        <$mt:CommentAuthorLink$>
29                    </mt:IfCommentParent>
30                    | <a href="<$mt:CommentLink$>"><abbr class="published" title="<$mt:CommentDate format_name="iso8601"$>"><$mt:CommentDate$></abbr></a>
31                    <mt:IfCommentsAccepted>
32                    | <$mt:CommentReplyToLink$>
33                    </mt:IfCommentsAccepted>
34                </div>
35                <div class="comment-body">
36                    <$mt:CommentBody$>
37                </div>
38            </li>
39            <mt:CommentsFooter>
40        </ol>
41            </mt:CommentsFooter>
42        </mt:Comments>
43
44
45        <mt:IfCommentsAccepted>
46        <div id="comments-open">
47            <h2 class="comments-open-header"><__trans phrase="Leave a comment"></h2>
48            <div class="comments-open-content">
49                <div id="comment-greeting"></div>
50                <form method="post" action="<$mt:CGIPath$><$mt:CommentScript$>" name="comments_form" id="comments-form" onsubmit="return mtCommentOnSubmit(this)">
51                    <input type="hidden" name="static" value="1" />
52                    <input type="hidden" name="entry_id" value="<$mt:EntryID$>" />
53                    <input type="hidden" name="__lang" value="<$mt:BlogLanguage$>" />
54                    <input type="hidden" name="parent_id" value="<$mt:CommentParentID$>" id="comment-parent-id" />
55                    <input type="hidden" name="armor" value="1" />
56                    <input type="hidden" name="preview" value="" />
57                    <input type="hidden" name="sid" value="" />
58                    <div id="comments-open-data">
59                        <label for="comment-author"><__trans phrase="Name"></label>
60                        <input id="comment-author" name="author" size="30" value="" onfocus="mtCommentFormOnFocus()" />
61
62                        <label for="comment-email"><__trans phrase="Email Address"></label>
63                        <input id="comment-email" name="email" size="30" value="" onfocus="mtCommentFormOnFocus()" />
64
65                        <label for="comment-url"><__trans phrase="URL"></label>
66                        <input id="comment-url" name="url" size="30" value="" onfocus="mtCommentFormOnFocus()" />
67
68                        <input type="checkbox" id="comment-bake-cookie" name="bakecookie" onclick="mtRememberMeOnClick(this)" value="1" accesskey="r" />
69                        <label for="comment-bake-cookie"><__trans phrase="Remember personal info?"></label>
70                    </div>
71                    <div id="comment-form-reply" style="display:none">
72                        <input type="checkbox" id="comment-reply" name="comment_reply" value="<$mt:CommentParentID$>" onclick="mtSetCommentParentID()" />
73                        <label for="comment-reply" id="comment-reply-label"></label>
74                    </div>
75                    <div id="comments-open-text">
76                        <label for="comment-text"><__trans phrase="Comments">
77                        <mt:IfAllowCommentHTML><__trans phrase="(You may use HTML tags for style)"></mt:IfAllowCommentHTML></label>
78                        <textarea id="comment-text" name="text" rows="15" cols="50" onfocus="mtCommentFormOnFocus()"></textarea>
79                    </div>
80                    <div id="comments-open-captcha"></div>
81                    <div id="comments-open-footer">
82                        <input type="submit" accesskey="v" name="preview_button" id="comment-preview" value="<__trans phrase="Preview">" onclick="this.form.preview.value='1';" />
83                        <input type="submit" accesskey="s" name="post" id="comment-submit" value="<__trans phrase="Submit">" />
84                    </div>
85                </form>
86            </div>
87        </div>
88        <script type="text/javascript">
89        <!--
90        mtAttachEvent("load", mtEntryOnLoad);
91        mtAttachEvent("unload", mtEntryOnUnload);
92        //-->
93        </script>
94        </mt:IfCommentsAccepted>
95
96
97    </div>
98    </mt:IfCommentsActive>
99
100
101</mt:IncludeBlock>
Note: See TracBrowser for help on using the browser.