summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/load_balancer_virtual_server.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2016-01-08 22:59:51 +0545
committerPhil Davis <phil.davis@inf.org>2016-01-08 22:59:51 +0545
commitc853233684726b423590edd3e0764462f1184595 (patch)
treeb628ab442fd61fa3b5dfde38b49c1a3b03e20c88 /src/usr/local/www/load_balancer_virtual_server.php
parentd13a5e7d616cfd2362d9d4ed95ed28f1bd3e8b1e (diff)
downloadpfsense-c853233684726b423590edd3e0764462f1184595.zip
pfsense-c853233684726b423590edd3e0764462f1184595.tar.gz
print_info_box success
In most situations we want the print_info_box() of $savemsg to be 'success'. If there was some problem saving, then it can be 'warning'. These are a few places I have found so far that need this sort of fixing up - more to come but sleep calls just now! I made the change to index.php also to be consistent with the others, even though it does not actually change anything "for real" because 'warning' is the default anyway. It will make it easy for people in future to see that is the case, specially if they are adding other $savemsg things that need to be 'success'.
Diffstat (limited to 'src/usr/local/www/load_balancer_virtual_server.php')
-rw-r--r--src/usr/local/www/load_balancer_virtual_server.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/load_balancer_virtual_server.php b/src/usr/local/www/load_balancer_virtual_server.php
index f0fb0dd..f4f79c6 100644
--- a/src/usr/local/www/load_balancer_virtual_server.php
+++ b/src/usr/local/www/load_balancer_virtual_server.php
@@ -128,7 +128,7 @@ if ($input_errors) {
}
if ($savemsg) {
- print_info_box($savemsg);
+ print_info_box($savemsg, 'success');
}
if (is_subsystem_dirty('loadbalancer')) {
OpenPOWER on IntegriCloud