--- loncom/homework/grades.pm 2001/04/16 23:34:11 1.5
+++ loncom/homework/grades.pm 2001/04/17 21:07:38 1.6
@@ -60,7 +60,9 @@ sub getpartlist {
my @parts =();
my (@metakeys) = split(/,/,&Apache::lonnet::metadata($url,'keys'));
foreach my $key (@metakeys) {
- if ( $key =~ m/stores_([0-9]+)_.*/ ) { push(@parts,$key); }
+ if ( $key =~ m/stores_([0-9]+)_.*/ ) {
+ push(@parts,$key);
+ }
}
return @parts;
}
@@ -80,23 +82,23 @@ sub viewstudentgrade {
#print "resource.$part.$type = ".$record{"resource.$part.$type"}."
\n";
if ($type eq 'awarded') {
my $score=$record{"resource.$part.$type"};
- $result.="
| \n";
+ $result.=" | \n";
} elsif ($type eq 'tries') {
my $score=$record{"resource.$part.$type"};
- $result.=" | \n"
+ $result.=" | \n"
} elsif ($type eq 'solved') {
my $score=$record{"resource.$part.$type"};
- $result.=" |