'.
- ''."\n";
- if ($ENV{'form.handgrade'} eq 'yes') {
- $endform.=' '."\n";
- my $ntstu =''."\n";
- my $nsel = ($ENV{'form.NTSTU'} ne '' ? $ENV{'form.NTSTU'} : '1');
- $ntstu =~ s/'."\n";
$ctr++;
}
- $result.= ''." \n";
+ $result.= ''." \n";
$ctr=0;
foreach (@$titles) {
my ($minder,$showtitle) = ($_ =~ /(\d+)\.(.*)/);
@@ -2366,310 +3860,2388 @@ LISTJAVASCRIPT
$result.=''."\n";
$ctr++;
}
- $result.=''."\n";
- $result.=''."\n";
+ $result.=''."\n".
+ ''."\n";
+
+ $result.=' View Problems Text: '."\n".
+ ''." \n";
+
+ $result.=' Submission Details: '.
+ ''."\n".
+ ''."\n".
+ ''."\n";
-# $result.=' View Problems: no '."\n".
-# ' yes '." \n";
-# $result.=' Submission Details: '.
-# ' last sub only'."\n".
-# ' all details'."\n";
$result.=''."\n".
- ''."\n".
- ''."\n".
- ''."
\n";
+ ''."\n".
+ ''."\n".
+ ''."\n".
+ ''." \n";
+
+ $result.=' '.&mt('Use CODE:').' '.
+ ' '."\n";
+
+ $result.=' " /> '."\n";
+
$request->print($result);
- my $studentTable.=' Select a Student you wish to grade '.
+ my $studentTable.=' Select a student you wish to grade and then click on the Next button. '.
''.
''.
- ' Fullname (username) | '.
- ' Fullname (username) | '.
- ' Fullname (username) | '.
- ' Fullname (username) | ';
+ ' No. | '.
+ ''.&nameUserString('header').' | '.
+ ' No. | '.
+ ''.&nameUserString('header').' | ';
- my (undef,undef,$fullname) = &getclasslist($getsec,'0');
+ my (undef,undef,$fullname) = &getclasslist($getsec,'1');
my $ptr = 1;
- foreach my $student (sort {lc($$fullname{$a}) cmp lc($$fullname{$b}) } keys %$fullname) {
+ foreach my $student (sort
+ {
+ if (lc($$fullname{$a}) ne lc($$fullname{$b})) {
+ return (lc($$fullname{$a}) cmp lc($$fullname{$b}));
+ }
+ return $a cmp $b;
+ } (keys(%$fullname))) {
my ($uname,$udom) = split(/:/,$student);
- $studentTable.=($ptr%4 == 1 ? '' : ' | ');
- $studentTable.=' '.$$fullname{$student}.
- ' ('.$uname.($udom eq $cdom ? '':':'.$udom).')'."\n";
- $studentTable.=($ptr%4 == 0 ? ' | ' : '');
+ $studentTable.=($ptr%2 == 1 ? '' : '');
+ $studentTable.=''.$ptr.' | ';
+ $studentTable.=' \n";
+ $studentTable.=($ptr%2 == 0 ? ' | ' : '');
$ptr++;
}
- $studentTable.=' | | ' if ($ptr%4 == 2);
- $studentTable.=' | | ' if ($ptr%4 == 3);
- $studentTable.=' | ' if ($ptr%4 == 0);
- $studentTable.=' |
| '."\n";
- $studentTable.=' '."\n";
+ $studentTable.=' | | |
' if ($ptr%2 == 0);
+ $studentTable.=''."\n";
+ $studentTable.='