mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[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
This commit is contained in:
parent
00f792f16f
commit
b371d62dd3
1 changed files with 10 additions and 2 deletions
|
@ -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="panel" id="message">
|
||||||
<div class="inner"><span class="corners-top"><span></span></span>
|
<div class="inner"><span class="corners-top"><span></span></span>
|
||||||
|
@ -8,4 +12,8 @@
|
||||||
<span class="corners-bottom"><span></span></span></div>
|
<span class="corners-bottom"><span></span></span></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- INCLUDE overall_footer.html -->
|
<!-- IF S_SIMPLE_MESSAGE -->
|
||||||
|
<!-- INCLUDE simple_footer.html -->
|
||||||
|
<!-- ELSE -->
|
||||||
|
<!-- INCLUDE overall_footer.html -->
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
Loading…
Add table
Reference in a new issue