diff options
Diffstat (limited to 'src/usr/local/www/system_advanced_network.php')
-rw-r--r-- | src/usr/local/www/system_advanced_network.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/usr/local/www/system_advanced_network.php b/src/usr/local/www/system_advanced_network.php index 32dfe8e..6b271e2 100644 --- a/src/usr/local/www/system_advanced_network.php +++ b/src/usr/local/www/system_advanced_network.php @@ -162,8 +162,10 @@ if ($_POST) { $retval = filter_configure(); if (stristr($retval, "error") <> true) { $savemsg = get_std_save_message(gettext($retval)); + $class = 'success'; } else { $savemsg = gettext($retval); + $class = 'warning'; } } } @@ -175,7 +177,7 @@ if ($input_errors) { print_input_errors($input_errors); } if ($savemsg) { - print_info_box($savemsg); + print_info_box($savemsg, $class); } $tab_array = array(); |