diff options
author | Bill Marquette <billm@pfsense.org> | 2005-06-02 04:32:16 +0000 |
---|---|---|
committer | Bill Marquette <billm@pfsense.org> | 2005-06-02 04:32:16 +0000 |
commit | f3c6fdc010d318779ca34f8cb16380fc7a2c32ed (patch) | |
tree | 265be9d3075149e70533f1a0acb8d97852d7cc5c | |
parent | 71a85b215293f0855e98fa63b3e654d9815fdef3 (diff) | |
download | pfsense-f3c6fdc010d318779ca34f8cb16380fc7a2c32ed.zip pfsense-f3c6fdc010d318779ca34f8cb16380fc7a2c32ed.tar.gz |
Allow for <warning> tag
-rwxr-xr-x | usr/local/www/wizard.php | 7 |
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 +?> |