--- loncom/interface/domainprefs.pm 2008/06/30 03:47:12 1.58 +++ loncom/interface/domainprefs.pm 2008/06/30 15:56:23 1.59 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler to set domain-wide configuration settings # -# $Id: domainprefs.pm,v 1.58 2008/06/30 03:47:12 raeburn Exp $ +# $Id: domainprefs.pm,v 1.59 2008/06/30 15:56:23 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -396,8 +396,8 @@ sub print_config_box { - - + + '; $rowtotal ++; if ($action eq 'autoupdate') { @@ -419,10 +419,10 @@ sub print_config_box {
'.$item->{'header'}->[0]->{'col1'}.''.$item->{'header'}->[0]->{'col2'}.''.&mt($item->{'header'}->[0]->{'col1'}).''.&mt($item->{'header'}->[0]->{'col2'}).'
- '; + '; my $colspan = ($action eq 'coursecategories')?' colspan="2"':''; $output .= ' - + '; $rowtotal ++; if ($action eq 'autoupdate') { @@ -436,8 +436,8 @@ sub print_config_box {
'.$item->{'header'}->[1]->{'col1'}.''.&mt($item->{'header'}->[1]->{'col1'}).''.$item->{'header'}->[1]->{'col2'}.''.&mt($item->{'header'}->[1]->{'col2'}).'
- - '. + + '. &print_usercreation('bottom',$dom,$settings,\$rowtotal); $rowtotal ++; } elsif ($action eq 'usermodification') { @@ -453,8 +453,8 @@ sub print_config_box {
'.$item->{'header'}->[2]->{'col1'}.''.$item->{'header'}->[2]->{'col2'}.'
'.&mt($item->{'header'}->[2]->{'col1'}).''.&mt($item->{'header'}->[2]->{'col2'}).'
- - + + '. &print_rolecolors($phase,'author',$dom,$confname,$settings,\$rowtotal).'
'.$item->{'header'}->[2]->{'col1'}.''.$item->{'header'}->[2]->{'col2'}.''.&mt($item->{'header'}->[2]->{'col1'}).''.&mt($item->{'header'}->[2]->{'col2'}).'
@@ -464,8 +464,8 @@ sub print_config_box {
- - + + '. &print_rolecolors($phase,'admin',$dom,$confname,$settings,\$rowtotal); $rowtotal += 2; @@ -478,13 +478,13 @@ sub print_config_box { '; if (($action eq 'login') || ($action eq 'directorysrch')) { $output .= ' - '; + '; } else { $output .= ' - '; + '; } $output .= ' - + '; $rowtotal ++; if ($action eq 'login') { @@ -2081,7 +2081,7 @@ sub print_coursecategories { } $datatable .= ''; } - $datatable .= '' .''."\n"; $itemcount ++; @@ -2282,7 +2282,7 @@ sub build_category_rows { pop(@{$path}); } } else { - $text .= &mt('New:').' 
'.$item->{'header'}->[3]->{'col1'}.''.$item->{'header'}->[3]->{'col2'}.''.&mt($item->{'header'}->[3]->{'col1'}).''.&mt($item->{'header'}->[3]->{'col2'}).'
'.$item->{'header'}->[0]->{'col1'}.''.&mt($item->{'header'}->[0]->{'col1'}).''.$item->{'header'}->[0]->{'col1'}.''.&mt($item->{'header'}->[0]->{'col1'}).''.$item->{'header'}->[0]->{'col2'}.''.&mt($item->{'header'}->[0]->{'col2'}).'
'.&mt('New:').' ' + $datatable .= ''.&mt('Add category:').' ' .'