~ubuntu-branches/debian/squeeze/movabletype-opensource/squeeze

« back to all changes in this revision

Viewing changes to default_templates/comment_response.mtml

  • Committer: Bazaar Package Importer
  • Author(s): Dominic Hargreaves
  • Date: 2008-06-13 23:28:40 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080613232840-ya4jfxv1jgl45a3d
Tags: 4.2~rc2-1
* New upstream release candidate
* Update Standards-Version (no changes)
* Ensure that schema upgrade message is always seen

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<MTSetVar name="system_template" value="1">
2
 
 
3
 
<MTIf name="body_class" eq="mt-comment-confirmation">
4
 
    <MTSetVarBlock name="page_title"><__trans phrase="Comment Submitted"></MTSetVarBlock>
5
 
 
6
 
    <MTSetVar name="heading" value="<__trans phrase="Confirmation...">">
7
 
 
8
 
    <MTSetVarBlock name="message">
9
 
    <p><__trans phrase="Your comment has been submitted!"></p>
10
 
    </MTSetVarBlock>
11
 
</MTIf>
12
 
 
13
 
<MTIf name="body_class" eq="mt-comment-pending">
14
 
    <MTSetVarBlock name="page_title"><__trans phrase="Comment Pending"></MTSetVarBlock>
15
 
 
16
 
    <MTSetVar name="heading" value="<__trans phrase="Thank you for commenting.">">
17
 
 
18
 
    <MTSetVarBlock name="message">
19
 
    <p><__trans phrase="Your comment has been received and held for approval by the blog owner."></p>
20
 
    </MTSetVarBlock>
21
 
 
22
 
</MTIf>
23
 
 
24
 
<MTIf name="body_class" eq="mt-comment-error">
25
 
    <MTSetVarBlock name="page_title"><__trans phrase="Comment Submission Error"></MTSetVarBlock>
26
 
 
27
 
    <MTSetVar name="heading" value="$page_title">
28
 
 
29
 
    <MTSetVarBlock name="message">
30
 
    <p><__trans phrase="Your comment submission failed for the following reasons:"></p>
31
 
    <blockquote>
32
 
        <$MTErrorMessage$>
33
 
    </blockquote>
34
 
    </MTSetVarBlock>
35
 
</MTIf>
36
 
 
37
 
<MTSetVarBlock name="title"><$MTBlogName encode_html="1"$>: <$MTGetVar name="page_title"$></MTSetVarBlock>
38
 
 
39
 
<$MTInclude module="<__trans phrase="Header">"$>
40
 
 
41
 
<h1 id="page-title"><$MTGetVar name="heading"$></h1>
42
 
 
43
 
<$MTGetVar name="message"$>
44
 
 
45
 
<p><__trans phrase="Return to the <a href="[_1]">original entry</a>." params="<$MTEntryLink$>"></p>
46
 
 
47
 
<$MTInclude module="<__trans phrase="Footer">"$>
 
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>