diff options
author | Dhruv <dhruv.goel92@gmail.com> | 2013-06-10 23:53:33 +0530 |
---|---|---|
committer | Dhruv <dhruv.goel92@gmail.com> | 2013-07-01 21:48:54 +0530 |
commit | 7c9a1cbca9719eccbee11db418cb4e531f539a0c (patch) | |
tree | 08c07339c34b009fe4228431f94c55189f3f2266 /phpBB/styles | |
parent | eafd0ae29f649213cf71b7575131b7f5555c4e67 (diff) | |
download | forums-7c9a1cbca9719eccbee11db418cb4e531f539a0c.tar forums-7c9a1cbca9719eccbee11db418cb4e531f539a0c.tar.gz forums-7c9a1cbca9719eccbee11db418cb4e531f539a0c.tar.bz2 forums-7c9a1cbca9719eccbee11db418cb4e531f539a0c.tar.xz forums-7c9a1cbca9719eccbee11db418cb4e531f539a0c.zip |
[ticket/11566] add error in template
Check if error exists, then display it
in the report post template.
PHPBB3-11566
Diffstat (limited to 'phpBB/styles')
-rw-r--r-- | phpBB/styles/prosilver/template/report_body.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/styles/prosilver/template/report_body.html b/phpBB/styles/prosilver/template/report_body.html index 8bf639791b..2d6a857afb 100644 --- a/phpBB/styles/prosilver/template/report_body.html +++ b/phpBB/styles/prosilver/template/report_body.html @@ -10,6 +10,7 @@ <p><!-- IF S_REPORT_POST -->{L_REPORT_POST_EXPLAIN}<!-- ELSE -->{L_REPORT_MESSAGE_EXPLAIN}<!-- ENDIF --></p> <fieldset> + <!-- IF ERROR --><dl><dd class="error">{ERROR}</dd></dl><!-- ENDIF --> <dl class="fields2"> <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> |