[LON-CAPA-cvs] cvs: loncom /homework grades.pm

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 22 Sep 2005 21:30:45 -0000


albertel		Thu Sep 22 17:30:45 2005 EDT

  Modified files:              
    /loncom/homework	grades.pm 
  Log:
  - this error is likely really important, trying to highlight it.
  
  
  
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.286 loncom/homework/grades.pm:1.287
--- loncom/homework/grades.pm:1.286	Wed Sep 21 17:44:55 2005
+++ loncom/homework/grades.pm	Thu Sep 22 17:30:42 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Grading handler
 #
-# $Id: grades.pm,v 1.286 2005/09/21 21:44:55 albertel Exp $
+# $Id: grades.pm,v 1.287 2005/09/22 21:30:42 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -4324,7 +4324,7 @@
 	}
     }
     if ($err) {
-	$r->print("Unable to accept last correction, an error occurred :$errmsg:");
+	$r->print("<font color='red'>Unable to accept last correction, an error occurred :$errmsg:</font>");
     } else {
 	&scantron_put_line($scanlines,$scan_data,$which,$line,$skip);
 	&scantron_putfile($scanlines,$scan_data);