From 6cfa23eb6ee7010f0a320ae1c7692ae1ca377597 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Wed, 14 Jul 2010 17:41:43 -0400 Subject: No need to use # in color code, it's already set with this --- usr/local/www/guiconfig.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr') diff --git a/usr/local/www/guiconfig.inc b/usr/local/www/guiconfig.inc index 8680c97..1125312 100755 --- a/usr/local/www/guiconfig.inc +++ b/usr/local/www/guiconfig.inc @@ -281,7 +281,7 @@ function print_info_box_np($msg, $name="apply",$value="Apply changes") { global $g, $nifty_redbox, $nifty_blackbox, $nifty_background; // Set the Nifty background color if one is not set already (defaults to white) - if(!$nifty_background) + if($nifty_background == "") $nifty_background = "#FFF"; if(stristr($msg, "apply") != false || stristr($msg, "save") != false || stristr($msg, "create") != false) { @@ -335,8 +335,8 @@ function print_info_box_np($msg, $name="apply",$value="Apply changes") { EOFnp; -- cgit v1.1