Project

General

Profile

« Previous | Next » 

Revision 6cfa23eb

Added by Scott Ullrich almost 15 years ago

No need to use # in color code, it's already set with this

View differences:

usr/local/www/guiconfig.inc
281 281
	global $g, $nifty_redbox, $nifty_blackbox, $nifty_background;
282 282

  
283 283
	// Set the Nifty background color if one is not set already (defaults to white)
284
	if(!$nifty_background)
284
	if($nifty_background == "")
285 285
		$nifty_background = "#FFF";
286 286

  
287 287
	if(stristr($msg, "apply") != false || stristr($msg, "save") != false || stristr($msg, "create") != false) {
......
335 335
	</table>
336 336
	<script type="text/javascript">
337 337
		NiftyCheck();
338
		Rounded("div#redbox","all","#{$nifty_background}","{$nifty_redbox}","smooth");
339
		Rounded("td#blackbox","all","#{$nifty_background}","{$nifty_blackbox}","smooth");
338
		Rounded("div#redbox","all","{$nifty_background}","{$nifty_redbox}","smooth");
339
		Rounded("td#blackbox","all","{$nifty_background}","{$nifty_blackbox}","smooth");
340 340
	</script>
341 341
EOFnp;
342 342

  

Also available in: Unified diff