summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-10-30 00:28:02 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-10-30 00:28:02 +0000
commit8fe7b598da98d26564340b5ccbbc4441fa586339 (patch)
tree23dd6f0b51807ba2da6a459df0f5c78b02d71fa4 /usr
parent0bfbf74b558f357e9a1ec8957f16b4682d38c2bd (diff)
downloadpfsense-8fe7b598da98d26564340b5ccbbc4441fa586339.zip
pfsense-8fe7b598da98d26564340b5ccbbc4441fa586339.tar.gz
Display error reason correctly
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/guiconfig.inc13
1 files changed, 8 insertions, 5 deletions
diff --git a/usr/local/www/guiconfig.inc b/usr/local/www/guiconfig.inc
index 175e728..4ce39b3 100755
--- a/usr/local/www/guiconfig.inc
+++ b/usr/local/www/guiconfig.inc
@@ -237,21 +237,24 @@ function print_input_errors($input_errors) {
<table border="0" cellspacing="0" cellpadding="4" width="100%">
<tr>
<td class="inputerrorsleft">
- <img src="./themes/{$g['theme']}/images/icons/icon_error.gif" width="28" height="32">
+ <img src="./themes/{$g['theme']}/images/icons/icon_error.gif">
</td>
<td class="inputerrorsright">
<span class="errmsg"><p>
The following input errors were detected:
<ul>
- <?php foreach ($input_errors as $ierr): ?>
- <li><?=htmlspecialchars($ierr)?></li>
- <?php endforeach; ?>
+EOF;
+ foreach ($input_errors as $ierr) {
+ echo "<li>" . htmlspecialchars($ierr) . "</li>";
+ }
+
+ print <<<EOF2
</ul>
</span>
</td></tr>
</table>
</p>&nbsp;<br>
-EOF;
+EOF2;
}
OpenPOWER on IntegriCloud