root/trunk/Vanilla/templates/vanilla+comments/comment_response.mtml @ 986

Revision 986, 1.1 kB (checked in by bsmith, 15 months ago)

adding loggedin state for comment preview and comment response templates

Line 
1<mt:IncludeBlock module="Wrapper">
2
3    <mt:setvarblock name="html_head" append="1">
4        <script type="text/javascript">
5        /* <![CDATA[ */
6        var user = <$mt:UserSessionState$>;
7        var is_preview = true;
8        /* ]]> */
9        </script>
10    </mt:SetVarBlock>
11
12    <mt:If name="comment_confirmation">
13        <h1><__trans phrase="Confirmation..."></h1>
14        <p><__trans phrase="Your comment has been submitted!"></p>
15    <mt:Else name="comment_pending">
16        <h1><__trans phrase="Thank you for commenting."></h1>
17        <p><__trans phrase="Your comment has been received and held for approval by the blog owner."></p>
18    <mt:Else name="comment_error">
19        <h1><__trans phrase="Comment Submission Error">"</h1>
20        <p><__trans phrase="Your comment submission failed for the following reasons: [_1]" params="<$mt:ErrorMessage$>"></p>
21    </mt:If>
22
23    <p><__trans phrase="Return to the <a href="[_1]">original entry</a>." params="<mt:If name="comment_error">javascript:history.back()<mt:Else><$mt:EntryLink$></mt:If>"></p>
24
25</mt:IncludeBlock>
Note: See TracBrowser for help on using the browser.