mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 12:28:52 +00:00
[ticket/11566] add error in template
Check if error exists, then display it in the report post template. PHPBB3-11566
This commit is contained in:
parent
eafd0ae29f
commit
7c9a1cbca9
1 changed files with 1 additions and 0 deletions
|
@ -10,6 +10,7 @@
|
||||||
<p><!-- IF S_REPORT_POST -->{L_REPORT_POST_EXPLAIN}<!-- ELSE -->{L_REPORT_MESSAGE_EXPLAIN}<!-- ENDIF --></p>
|
<p><!-- IF S_REPORT_POST -->{L_REPORT_POST_EXPLAIN}<!-- ELSE -->{L_REPORT_MESSAGE_EXPLAIN}<!-- ENDIF --></p>
|
||||||
|
|
||||||
<fieldset>
|
<fieldset>
|
||||||
|
<!-- IF ERROR --><dl><dd class="error">{ERROR}</dd></dl><!-- ENDIF -->
|
||||||
<dl class="fields2">
|
<dl class="fields2">
|
||||||
<dt><label for="reason_id">{L_REASON}:</label></dt>
|
<dt><label for="reason_id">{L_REASON}:</label></dt>
|
||||||
<dd><select name="reason_id" id="reason_id" class="full"><!-- BEGIN reason --><option value="{reason.ID}"<!-- IF reason.S_SELECTED --> selected="selected"<!-- ENDIF -->>{reason.DESCRIPTION}</option><!-- END reason --></select></dd>
|
<dd><select name="reason_id" id="reason_id" class="full"><!-- BEGIN reason --><option value="{reason.ID}"<!-- IF reason.S_SELECTED --> selected="selected"<!-- ENDIF -->>{reason.DESCRIPTION}</option><!-- END reason --></select></dd>
|
||||||
|
|
Loading…
Add table
Reference in a new issue