--- loncom/homework/grades.pm 2009/05/05 00:42:28 1.568
+++ loncom/homework/grades.pm 2009/05/07 15:47:06 1.570
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# The LON-CAPA Grading handler
#
-# $Id: grades.pm,v 1.568 2009/05/05 00:42:28 raeburn Exp $
+# $Id: grades.pm,v 1.570 2009/05/07 15:47:06 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -4090,7 +4090,7 @@ sub csvuploadassign {
$countdone++;
}
}
- $request->print('
'.&mt("Saved [_1] students",$countdone)."\n");
+ $request->print('
'.&Apache::lonhtmlcommon::confirm_success(&mt("Saved scores for [quant,_1,student]",$countdone),$countdone==0));
if (@skipped) {
$request->print('
'.&mt('Skipped Students').'
');
foreach my $student (@skipped) { $request->print("$student
\n"); }
@@ -6777,10 +6777,10 @@ sub scantron_get_correction {
if ($closest > 0) {
foreach my $testcode (@{$closest}) {
my $checked='';
- if (!$i) { $checked=' checked="checked" '; }
+ if (!$i) { $checked=' checked="checked"'; }
$r->print("
@@ -6791,10 +6791,10 @@ sub scantron_get_correction {
}
}
if ($$scan_record{'scantron.CODE'}=~/\S/ ) {
- my $checked; if (!$i) { $checked=' checked="checked" '; }
+ my $checked; if (!$i) { $checked=' checked="checked"'; }
$r->print("
");
@@ -8657,7 +8657,7 @@ sub process_clicker {
my %checked;
foreach my $gradingmechanism ('attendance','personnel','specific','given') {
if ($env{'form.gradingmechanism'} eq $gradingmechanism) {
- $checked{$gradingmechanism}="checked='checked'";
+ $checked{$gradingmechanism}=' checked="checked"';
}
}
@@ -8721,11 +8721,11 @@ function sanitycheck() {
-
-
-
+
+
+
-
+