From c853233684726b423590edd3e0764462f1184595 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Fri, 8 Jan 2016 22:59:51 +0545 Subject: 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'. --- src/usr/local/www/status_logs_filter_dynamic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/usr/local/www/status_logs_filter_dynamic.php') diff --git a/src/usr/local/www/status_logs_filter_dynamic.php b/src/usr/local/www/status_logs_filter_dynamic.php index f8c7b49..c72b2f8 100755 --- a/src/usr/local/www/status_logs_filter_dynamic.php +++ b/src/usr/local/www/status_logs_filter_dynamic.php @@ -116,7 +116,7 @@ $pgtitle = array(gettext("Status"), gettext("System logs"), gettext($allowed_log include("head.inc"); if (!$input_errors && $savemsg) { - print_info_box($savemsg); + print_info_box($savemsg, 'success'); $manage_log_active = false; } -- cgit v1.1