|
Revision 1139, 1.5 kB
(checked in by bsmith, 23 months ago)
|
|
bugzid:64109 - removing template-defined layout definition & updating header to define layout only if layout is not already defined
|
| Line | |
|---|
| 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">"$> |
|---|