--- loncom/interface/courseprefs.pm 2009/09/04 21:42:38 1.7 +++ loncom/interface/courseprefs.pm 2010/01/03 00:07:02 1.8.2.2 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler to set configuration settings for a course # -# $Id: courseprefs.pm,v 1.7 2009/09/04 21:42:38 raeburn Exp $ +# $Id: courseprefs.pm,v 1.8.2.2 2010/01/03 00:07:02 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -554,7 +554,6 @@ sub process_changes { if ($newvalues{$ext_entry} ne $values->{$stdrole.'.plaintext'}) { my $dupname = 0; if ($newvalues{$ext_entry} ne '') { - my $dupname = 0; if (grep(/^\Q$newvalues{$ext_entry}\E$/,@replacements)) { $dupname = 1; push(@{$disallowed->{'rolenames'}{'replacements'}},$newvalues{$ext_entry}); @@ -1641,7 +1640,7 @@ sub user_table { } else { my $num = 0; my @curr = split(/,/,$currvalue); - $output .= &Apache::loncommon::start_data_table(); + $output .= '
';
if ($num > 1) {
$output .= $lt->{'currone'};
@@ -1681,15 +1680,14 @@ sub user_table {
}
$output .= ' '. ' | '.
- &Apache::loncommon::end_data_table_row();
+ '
'.
$lt->{'add'}.' '. &select_recipient($item,$num,$cdom,$sections). ''. - ' | '.&Apache::loncommon::end_data_table_row().
- &Apache::loncommon::end_data_table();
+ '
'.&mt('Username').' '. + '
|