[LON-CAPA-cvs] cvs: loncom /interface loncommon.pm

albertel lon-capa-cvs-allow@mail.lon-capa.org
Tue, 15 May 2007 20:05:15 -0000


albertel		Tue May 15 16:05:15 2007 EDT

  Modified files:              
    /loncom/interface	loncommon.pm 
  Log:
  - respect a users set pgbg
  
  
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.534 loncom/interface/loncommon.pm:1.535
--- loncom/interface/loncommon.pm:1.534	Sun May 13 02:34:42 2007
+++ loncom/interface/loncommon.pm	Tue May 15 16:05:13 2007
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.534 2007/05/13 06:34:42 albertel Exp $
+# $Id: loncommon.pm,v 1.535 2007/05/15 20:05:13 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3377,7 +3377,7 @@
     my $pgbg   = $bgcolor || &designparm($function.'.pgbg',$domain);
 
     my %design = ( 'style'   => 'margin-top: 0px',
-		   'bgcolor' => '#ffffff',
+		   'bgcolor' => $pgbg,
 		   'text'    => $font,
                    'alink'   => &designparm($function.'.alink',$domain),
 		   'vlink'   => &designparm($function.'.vlink',$domain),