version 1.175, 2012/12/07 16:16:30
|
version 1.176, 2012/12/11 22:55:27
|
Line 1190 sub display_color_options {
|
Line 1190 sub display_color_options {
|
$images,$bgs,$links,$alt_text,$rowtotal,$logintext) = @_; |
$images,$bgs,$links,$alt_text,$rowtotal,$logintext) = @_; |
my $londocroot = $Apache::lonnet::perlvar{'lonDocRoot'}; |
my $londocroot = $Apache::lonnet::perlvar{'lonDocRoot'}; |
my $css_class = $itemcount%2?' class="LC_odd_row"':''; |
my $css_class = $itemcount%2?' class="LC_odd_row"':''; |
my $js = "<script type='text/javascript'>\n"; |
my $datatable = '<tr'.$css_class.'>'. |
$js .= &Apache::lonhtmlcommon::color_picker(); |
|
my $js = "\n</script>\n"; |
|
my $datatable = $js . '<tr'.$css_class.'>'. |
|
'<td>'.$choices->{'font'}.'</td>'; |
'<td>'.$choices->{'font'}.'</td>'; |
if (!$is_custom->{'font'}) { |
if (!$is_custom->{'font'}) { |
$datatable .= '<td>'.&mt('Default in use:').' <span id="css_default_'.$role.'_font" style="color: '.$defaults->{'font'}.';">'.$defaults->{'font'}.'</span></td>'; |
$datatable .= '<td>'.&mt('Default in use:').' <span id="css_default_'.$role.'_font" style="color: '.$defaults->{'font'}.';">'.$defaults->{'font'}.'</span></td>'; |