root/trunk/default_templates/comment_response.mtml

Revision 2614, 2.3 kB (checked in by bsmith, 18 months ago)

bugzid:80107 - update comment error 'return to original comment form link' to be javascript controlled

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
6
7<mt:If name="comment_confirmation">
8    <mt:Ignore><!-- Success message when comment has been submitted --></mt:Ignore>
9    <$mt:Var name="page_title" value="<__trans phrase="Confirmation...">"$>
10    <$mt:Var name="message" value="<p><__trans phrase="Your comment has been submitted!"></p>"$>
11<mt:Else name="comment_pending">
12    <mt:Ignore><!-- Pending message when comment is being held for review --></mt:Ignore>
13    <$mt:Var name="page_title" value="<__trans phrase="Thank you for commenting.">"$>
14    <$mt:Var name="message" value="<p><__trans phrase="Your comment has been received and held for approval by the blog owner."></p>"$>
15<mt:Else name="comment_error">
16    <mt:Ignore><!-- Error message when comment submission fails --></mt:Ignore>
17    <$mt:Var name="page_title" value="<__trans phrase="Comment Submission Error">"$>
18    <mt:SetVarBlock name="message"><p><__trans phrase="Your comment submission failed for the following reasons: [_1]" params="<$mt:ErrorMessage$>"></p></mt:SetVarBlock>
19</mt:If>
20
21
22    <$mt:Include module="<__trans phrase="HTML Head">"$>
23    <title><$mt:BlogName encode_html="1"$>: <$mt:Var name="page_title"$></title>
24</head>
25<body id="<$mt:BlogTemplateSetID$>" class="<$mt:Var name="body_class"$> <$mt:Var name="page_layout"$>">
26    <div id="container">
27        <div id="container-inner">
28
29
30            <$mt:Include module="<__trans phrase="Banner Header">"$>
31
32
33            <div id="content">
34                <div id="content-inner">
35
36
37                    <div id="alpha">
38                        <div id="alpha-inner">
39                            <h1 id="page-title"><$mt:Var name="page_title"$></h1>
40                            <$mt:Var name="message"$>
41                            <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>
42                        </div>
43                    </div>
44
45
46                    <$mt:Include module="<__trans phrase="Sidebar">"$>
47
48
49                </div>
50            </div>
51
52
53            <$mt:Include module="<__trans phrase="Banner Footer">"$>
54
55
56        </div>
57    </div>
58</body>
59</html>
Note: See TracBrowser for help on using the browser.