'.
'';
@@ -1501,7 +1501,7 @@ sub gradeBox {
$result.= ' | \n";
+ ($score eq $thisweight ? 'checked="checked"':'').' /> '.$thisweight."\n";
$result.=(($ctr+1)%10 == 0 ? ' ' : '');
$thisweight += $increment;
$ctr++;
@@ -1519,9 +1519,9 @@ sub gradeBox {
'onChange="javascript:clearRadBox(this.form,\''.$counter.'_'.$partid.'\')" >'."\n";
if ($$record{'resource.'.$partid.'.solved'} eq 'excused') {
$result.=''.
- '';
+ '';
} else {
- $result.=''.
+ $result.=''.
'';
}
$result.=''."\n";
@@ -2082,7 +2082,7 @@ KEYWORDS
''.
''."\n";
my $nsel = ($env{'form.NTSTU'} ne '' ? $env{'form.NTSTU'} : '1');
- $ntstu =~ s/ '."\n";
@@ -3146,8 +3146,8 @@ sub viewstudentgrade {
$result.=' \n";
} else {
@@ -3848,7 +3848,7 @@ LISTJAVASCRIPT
foreach (@$titles) {
my ($minder,$showtitle) = ($_ =~ /(\d+)\.(.*)/);
$result.=''.$showtitle.''."\n";
$ctr++;
}
@@ -3863,12 +3863,12 @@ LISTJAVASCRIPT
$result.=''."\n".
''."\n";
- $result.=' View Problems Text: '."\n".
+ $result.=' View Problems Text: '."\n".
''." \n";
$result.=' Submission Details: '.
''."\n".
- ''."\n".
+ ''."\n".
''."\n";
$result.=''."\n".
@@ -4384,7 +4384,7 @@ sub getSequenceDropDown {
foreach (@$titles) {
my ($minder,$showtitle) = ($_ =~ /(\d+)\.(.*)/);
$result.=''.$showtitle.''."\n";
$ctr++;
}
@@ -4412,7 +4412,7 @@ sub scantron_uploads {
my $result= '";
return $result;
@@ -4963,7 +4963,7 @@ sub remember_current_skipped {
sub check_for_error {
my ($r,$result)=@_;
if ($result ne 'ok' && $result ne 'not_found' ) {
- $r->print("An error occured ($result) when trying to Remove the existing corrections.");
+ $r->print("An error occurred ($result) when trying to Remove the existing corrections.");
}
}
@@ -5425,7 +5425,7 @@ sub scantron_get_correction {
if ($closest > 0) {
foreach my $testcode (@{$closest}) {
my $checked='';
- if (!$i) { $checked=' checked="on" '; }
+ if (!$i) { $checked=' checked="checked" '; }
$r->print("");
$r->print("\n ");
$i++;
@@ -5433,7 +5433,7 @@ sub scantron_get_correction {
}
}
if ($$scan_record{'scantron.CODE'}=~/\S/ ) {
- my $checked; if (!$i) { $checked=' checked="on" '; }
+ my $checked; if (!$i) { $checked=' checked="checked" '; }
$r->print("");
$r->print("\n ");
}
@@ -6033,38 +6033,38 @@ GRADINGMENUJS
if (ref($sections)) {
foreach (sort (@$sections)) {
$result.=''.$_.''."\n";
+ ($saveSec eq $_ ? 'selected="selected"':'').'>'.$_.''."\n";
}
}
- $result.= 'all ';
+ $result.= 'all ';
- $result.=&mt('Student Status').':'.&Apache::lonhtmlcommon::StatusOptions($saveStatus,undef,1,undef);
+ $result.=&mt('Student Status').':'.&Apache::lonhtmlcommon::StatusOptions($saveStatus,undef,1,undef);
$result.='';
$result.=' | '."\n";
+ ($saveSub eq 'all' ? 'selected="selected"' : '').'>'.&mt('with any status').''."\n";
$result.=''.
' | '."\n";
$result.=''.
' | '."\n";
$result.=' '.
@@ -6102,9 +6102,9 @@ GRADINGMENUJS
' saved CODEs. | '."\n";
- $result.=' '."\n".
+ $result.=' |