X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Ferrors.inc;h=8972a9eb4b2fbe0de4fe348528acfd8153ffb2b8;hb=67d97bfd7398b932698e254d937f905943412561;hp=b5d2ff0a7c5d0c99effe27357dbc5d4782d8e95d;hpb=677273236614eac47b03d4392b6dc834ffd7373a;p=fa-stable.git diff --git a/includes/errors.inc b/includes/errors.inc index b5d2ff0a..8972a9eb 100644 --- a/includes/errors.inc +++ b/includes/errors.inc @@ -1,11 +1,20 @@ . +***********************************************************************/ $messages = array(); // container for system messages $before_box = ''; // temporary container for output html data before error box $msg_colors = array( E_USER_ERROR => array('bg'=>'#ffcccc', 'txt'=>'#dd2200', 'bd'=>'#cc3300'), - E_USER_WARNING => array('bg'=>'#ffdd33', 'txt'=>'#ff5500', 'bd'=>'#ff9900'), + E_USER_WARNING => array('bg'=>'#ffff00', 'txt'=>'#ff5500', 'bd'=>'#ff9900'), E_USER_NOTICE => array('bg'=>'#ccffcc', 'txt'=>'#007700', 'bd'=>'#33cc00')); //----------------------------------------------------------------------------- @@ -46,11 +55,12 @@ function fmt_errors($center=true) { } $str = $msg[1]; $c = $msg_colors[$type]; - if ($msg[0]" - .$msg[1].""; + .$str.""; } $str = "
"