aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/prosilver/template/message_body.html
diff options
context:
space:
mode:
authorDavid King <imkingdavid@gmail.com>2011-11-13 16:30:11 +0100
committerJoas Schilling <nickvergessen@gmx.de>2011-11-13 16:30:11 +0100
commitb371d62dd3e8f7a207b7398fb0fe3150799d350b (patch)
tree65a87cf87d44ad59624662abe3cfbd6a9fe3d1e8 /phpBB/styles/prosilver/template/message_body.html
parent00f792f16f6f8c9a826c5a44e539fb3aeb80c340 (diff)
downloadforums-b371d62dd3e8f7a207b7398fb0fe3150799d350b.tar
forums-b371d62dd3e8f7a207b7398fb0fe3150799d350b.tar.gz
forums-b371d62dd3e8f7a207b7398fb0fe3150799d350b.tar.bz2
forums-b371d62dd3e8f7a207b7398fb0fe3150799d350b.tar.xz
forums-b371d62dd3e8f7a207b7398fb0fe3150799d350b.zip
[ticket/7138] Allow simple header and footer for trigger_error() messages
Adds a template condition using S_SIMPLE_MESSAGE that must be set to true before calling trigger_error() which will automatically use the simple header and footer files in the template directory instead of the overall header and footer files. PHPBB3-7138
Diffstat (limited to 'phpBB/styles/prosilver/template/message_body.html')
-rw-r--r--phpBB/styles/prosilver/template/message_body.html12
1 files changed, 10 insertions, 2 deletions
diff --git a/phpBB/styles/prosilver/template/message_body.html b/phpBB/styles/prosilver/template/message_body.html
index 896f0b826e..3a970769b7 100644
--- a/phpBB/styles/prosilver/template/message_body.html
+++ b/phpBB/styles/prosilver/template/message_body.html
@@ -1,4 +1,8 @@
-<!-- INCLUDE overall_header.html -->
+<!-- IF S_SIMPLE_MESSAGE -->
+ <!-- INCLUDE simple_header.html -->
+<!-- ELSE -->
+ <!-- INCLUDE overall_header.html -->
+<!-- ENDIF -->
<div class="panel" id="message">
<div class="inner"><span class="corners-top"><span></span></span>
@@ -8,4 +12,8 @@
<span class="corners-bottom"><span></span></span></div>
</div>
-<!-- INCLUDE overall_footer.html --> \ No newline at end of file
+<!-- IF S_SIMPLE_MESSAGE -->
+ <!-- INCLUDE simple_footer.html -->
+<!-- ELSE -->
+ <!-- INCLUDE overall_footer.html -->
+<!-- ENDIF -->