root/branches/release-38/default_templates/comment_response.mtml @ 2393

Revision 2393, 2.2 kB (checked in by bchoate, 19 months ago)

Better handling for case where blog cookie and app session are out of sync. BugId:79508

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<MTIf name="comment_confirmation">
8    <mt:ignore><!-- Success message when comment has been submitted --></mt:ignore>
9    <MTSetVar name="page_title" value="<__trans phrase="Confirmation...">">
10    <MTSetVar name="message" value="<p><__trans phrase="Your comment has been submitted!"></p>">
11<MTElse name="comment_pending">
12    <mt:ignore><!-- Pending message when comment is being held for review --></mt:ignore>
13    <MTSetVar name="page_title" value="<__trans phrase="Thank you for commenting.">">
14    <MTSetVar name="message" value="<p><__trans phrase="Your comment has been received and held for approval by the blog owner."></p>">
15<MTElse name="comment_error">
16    <mt:ignore><!-- Error message when comment submission fails --></mt:ignore>
17    <MTSetVar name="page_title" value="<__trans phrase="Comment Submission Error">">
18    <MTSetVarBlock name="message"><p><__trans phrase="Your comment submission failed for the following reasons: [_1]" params="<$MTErrorMessage$>"></p></MTSetVarBlock>
19</MTIf>
20
21
22    <$mt:include module="<__trans phrase="HTML Head">"$>
23    <title><$MTBlogName encode_html="1"$>: <$MTVar name="page_title"$></title>
24</head>
25<body id="<$mt:BlogTemplateSetID$>" class="<$mt:var name="body_class"$> <$MTVar 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"><$MTVar name="page_title"$></h1>
40                            <$MTVar name="message"$>
41                            <p><__trans phrase="Return to the <a href="[_1]">original entry</a>." params="<$MTEntryLink$>"></p>
42                        </div>
43                    </div>
44
45
46                    <$MTInclude 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.