root/branches/release-30/default_templates/comment_response.mtml @ 1423

Revision 1423, 1.3 kB (checked in by bsmith, 21 months ago)

* Updates from development of MTDefautTemplateSets plugin: http://code.sixapart.com/svn/mtplugins/trunk/MTDefaultTemplateSet/

Including:

* Addition of RSD EditURI to Headers
* Conditioning of trackback data if pings are not accepted
* simplification to Comment Response template code
* modularization of MTEntries limit on Entry Listing
* removing page_layout definition from stylesheet at it is now set by the app
* adding html comments to code for readability
* removed RSS feed templates
* simplifying header module

bugzid:69142

Line 
1<MTSetVar name="system_template" value="1">
2<MTIf name="body_class" eq="mt-comment-confirmation">
3    <MTSetVar name="page_title" value="<__trans phrase="Confirmation...">">
4    <MTSetVar name="page_title" value="<__trans phrase="Confirmation...">">
5    <MTSetVarBlock name="message"><__trans phrase="Your comment has been submitted!"></MTSetVarBlock>
6<MTElse name="body_class" eq="mt-comment-pending">
7    <MTSetVarBlock name="page_title"><__trans phrase="Thank you for commenting."></MTSetVarBlock>
8    <MTSetVarBlock name="message"><__trans phrase="Your comment has been received and held for approval by the blog owner."></MTSetVarBlock>
9<MTElse name="body_class" eq="mt-comment-error">
10    <MTSetVarBlock name="page_title"><__trans phrase="Comment Submission Error"></MTSetVarBlock>
11    <MTSetVarBlock name="message"><__trans phrase="Your comment submission failed for the following reasons: [_1]" params="<$MTErrorMessage$>"></MTSetVarBlock>
12</MTIf>
13<MTSetVarBlock name="title"><$MTBlogName encode_html="1"$>: <$MTGetVar name="page_title"$></MTSetVarBlock>
14
15<$MTInclude module="<__trans phrase="Header">"$>
16
17<h1 id="page-title"><$MTGetVar name="page_title"$></h1>
18
19<$MTGetVar name="message"$>
20
21<p><__trans phrase="Return to the <a href="[_1]">original entry</a>." params="<$MTEntryLink$>"></p>
22
23<$MTInclude module="<__trans phrase="Footer">"$>
Note: See TracBrowser for help on using the browser.