summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2005-06-02 04:32:16 +0000
committerBill Marquette <billm@pfsense.org>2005-06-02 04:32:16 +0000
commitf3c6fdc010d318779ca34f8cb16380fc7a2c32ed (patch)
tree265be9d3075149e70533f1a0acb8d97852d7cc5c /usr
parent71a85b215293f0855e98fa63b3e654d9815fdef3 (diff)
downloadpfsense-f3c6fdc010d318779ca34f8cb16380fc7a2c32ed.zip
pfsense-f3c6fdc010d318779ca34f8cb16380fc7a2c32ed.tar.gz
Allow for <warning> tag
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/wizard.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/usr/local/www/wizard.php b/usr/local/www/wizard.php
index 55c02ae..3af082f 100755
--- a/usr/local/www/wizard.php
+++ b/usr/local/www/wizard.php
@@ -313,6 +313,11 @@ function FieldValidate(userinput, regexp, message)
if(!$field['combinefieldsbegin'])
echo "</tr>\n";
+
+ if($field['warning'] <> "") {
+ echo "<br><b><font color=\"red\">" . $field['warning'] . "</font></b>";
+ }
+
}
}
?>
@@ -420,4 +425,4 @@ function is_timezone($elt) {
return !preg_match("/\/$/", $elt);
}
-?> \ No newline at end of file
+?>
OpenPOWER on IntegriCloud