root/branches/release-34/default_templates/comment_response.mtml @ 1888

Revision 1888, 2.3 kB (checked in by bsmith, 20 months ago)

Adding 'return to original entry' link in comment response template. bugzid:79312

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="body_class" eq="mt-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="body_class" eq="mt-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="body_class" eq="mt-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"><__trans phrase="Your comment submission failed for the following reasons: [_1]" params="<$MTErrorMessage$>"></MTSetVarBlock>
19</MTIf>
20
21
22    <title><$MTBlogName encode_html="1"$>: <$MTVar name="page_title"$></title>
23    <$mt:include module="<__trans phrase="HTML Head">"$>
24</head>
25<body 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.