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

albertel lon-capa-cvs@mail.lon-capa.org
Mon, 01 May 2006 22:54:44 -0000


albertel		Mon May  1 18:54:44 2006 EDT

  Modified files:              
    /loncom/interface	lonpreferences.pm 
  Log:
  - need to set the style of the table cell since we are using css for it now
  
  
Index: loncom/interface/lonpreferences.pm
diff -u loncom/interface/lonpreferences.pm:1.82 loncom/interface/lonpreferences.pm:1.83
--- loncom/interface/lonpreferences.pm:1.82	Mon May  1 18:15:17 2006
+++ loncom/interface/lonpreferences.pm	Mon May  1 18:54:43 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Preferences
 #
-# $Id: lonpreferences.pm,v 1.82 2006/05/01 22:15:17 albertel Exp $
+# $Id: lonpreferences.pm,v 1.83 2006/05/01 22:54:43 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -519,13 +519,13 @@
     foreach my $item (sort(keys(%colortypes))) {
        my $curcol=&Apache::loncommon::designparm($function.'.'.$item,$domain);
        $chtable.=&Apache::loncommon::start_data_table_row().
-	   '<td>'.$colortypes{$item}.'</td><td bgcolor="'.$curcol.
+	   '<td>'.$colortypes{$item}.'</td><td style="background: '.$curcol.
         '">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td><input name="'.$item.
         '" size="10" value="'.$curcol.
 '" /></td><td><a href="javascript:pjump('."'color_custom','".$colortypes{$item}.
 "','".$curcol."','"
 	    .$item."','parmform.pres','psub'".');">Select</a></td>'.
-	    &Apache::loncommon::end_data_table_row();
+	    &Apache::loncommon::end_data_table_row()."\n";
     }
     my $end_data_table = &Apache::loncommon::end_data_table();
     my $pjump_def = &Apache::lonhtmlcommon::pjump_javascript_definition();