diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-07-14 17:41:43 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-07-14 17:41:43 -0400 |
commit | 6cfa23eb6ee7010f0a320ae1c7692ae1ca377597 (patch) | |
tree | cf2b34d88db96ad85178b310d2e6692a3c0a94e3 /usr/local | |
parent | f31489e5b67f1f0620ed839dc393f7954ffe7840 (diff) | |
download | pfsense-6cfa23eb6ee7010f0a320ae1c7692ae1ca377597.zip pfsense-6cfa23eb6ee7010f0a320ae1c7692ae1ca377597.tar.gz |
No need to use # in color code, it's already set with this
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/guiconfig.inc | 6 |
1 files changed, 3 insertions, 3 deletions
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") { </table> <script type="text/javascript"> NiftyCheck(); - Rounded("div#redbox","all","#{$nifty_background}","{$nifty_redbox}","smooth"); - Rounded("td#blackbox","all","#{$nifty_background}","{$nifty_blackbox}","smooth"); + Rounded("div#redbox","all","{$nifty_background}","{$nifty_redbox}","smooth"); + Rounded("td#blackbox","all","{$nifty_background}","{$nifty_blackbox}","smooth"); </script> EOFnp; |