--- loncom/homework/grades.pm 2007/06/15 22:12:49 1.408 +++ loncom/homework/grades.pm 2007/06/16 02:35:22 1.411 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Grading handler # -# $Id: grades.pm,v 1.408 2007/06/15 22:12:49 albertel Exp $ +# $Id: grades.pm,v 1.411 2007/06/16 02:35:22 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -6160,7 +6160,7 @@ sub gather_adv_clicker_ids { my $cnum=$env{'course.'.$env{'request.course.id'}.'.num'}; my $cdom=$env{'course.'.$env{'request.course.id'}.'.domain'}; my %coursepersonnel=&Apache::lonnet::get_course_adv_roles($cdom.'/'.$cnum); - foreach my $element (sort keys %coursepersonnel) { + foreach my $element (sort(keys(%coursepersonnel))) { foreach my $person (split(/\,/,$coursepersonnel{$element})) { my ($puname,$pudom)=split(/\:/,$person); my $clickers = @@ -6289,18 +6289,18 @@ sub process_clicker_file { $result.=&mt('Score based on attendance only'); } else { my $number=0; - $result.='
'.&mt('Correctness determined by the following IDs').'';
foreach my $id (sort(keys(%correct_ids))) {
- $result.=''.$id.' - ';
+ $result.='
'.$id.' - ';
if ($correct_ids{$id} eq 'specified') {
$result.=&mt('specified');
} else {
my ($uname,$udom)=split(/\:/,$correct_ids{$id});
$result.=&Apache::loncommon::plainname($uname,$udom);
}
- $result.='
';
$number++;
}
+ $result.="
+
|