[LON-CAPA-cvs] cvs: loncom /interface/statistics lonstudentassessment.pm

minaeibi lon-capa-cvs@mail.lon-capa.org
Mon, 21 Oct 2002 00:15:13 -0000


minaeibi		Sun Oct 20 20:15:13 2002 EDT

  Modified files:              
    /loncom/interface/statistics	lonstudentassessment.pm 
  Log:
  started to fix some bugs.
  
  
  
Index: loncom/interface/statistics/lonstudentassessment.pm
diff -u loncom/interface/statistics/lonstudentassessment.pm:1.13 loncom/interface/statistics/lonstudentassessment.pm:1.14
--- loncom/interface/statistics/lonstudentassessment.pm:1.13	Sun Sep 22 14:33:01 2002
+++ loncom/interface/statistics/lonstudentassessment.pm	Sun Oct 20 20:15:13 2002
@@ -1,12 +1,11 @@
 # The LearningOnline Network with CAPA
 # (Publication Handler
 #
-# $Id: lonstudentassessment.pm,v 1.13 2002/09/22 18:33:01 minaeibi Exp $
+# $Id: lonstudentassessment.pm,v 1.14 2002/10/21 00:15:13 minaeibi Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
 # This file is part of the LearningOnline Network with CAPA (LON-CAPA).
-#
 # LON-CAPA is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
 # the Free Software Foundation; either version 2 of the License, or
@@ -341,8 +340,12 @@
         $spacesNeeded -= 3;
         $Str .= (' 'x$spacesNeeded);
 
-	my $outputProblemsCorrect = sprintf("%3d", $cache->{$name.':'.$sequence.
-                                                            ':problemsCorrect'});
+        my $outputProblemsCorrect = sprintf("%3d", $cache->{$name.':'.$sequence.
+							    ':problemsCorrect'});
+
+#	my $outputProblemsCorrect = sprintf("%2d/%2d ", $cache->{$name.':'.$sequence.
+#                                            ':problemsCorrect'}, 
+#                                            $characterCount);
         if($hasData eq 'true') {
             $Str .= '<font color="#007700">'.$outputProblemsCorrect.'</font>';
             $hasFinalData = 'true';