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

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 12 Jul 2005 14:58:00 -0000


albertel		Tue Jul 12 10:58:00 2005 EDT

  Modified files:              
    /loncom/homework	grades.pm 
  Log:
  - more middle -> center
  
  
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.275 loncom/homework/grades.pm:1.276
--- loncom/homework/grades.pm:1.275	Mon Jun 13 16:23:54 2005
+++ loncom/homework/grades.pm	Tue Jul 12 10:57:55 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Grading handler
 #
-# $Id: grades.pm,v 1.275 2005/06/13 20:23:54 albertel Exp $
+# $Id: grades.pm,v 1.276 2005/07/12 14:57:55 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -743,7 +743,7 @@
 	    if ($env{'form.showgrading'} eq 'yes' && $submitonly ne 'all') {
 		foreach (sort keys(%status)) {
 		    next if (/^resource.*?submitted_by$/);
-		    $gradeTable.='<td align="middle">&nbsp;'.$status{$_}.'&nbsp;</td>'."\n";
+		    $gradeTable.='<td align="center">&nbsp;'.$status{$_}.'&nbsp;</td>'."\n";
 		}
 	    }
 #	    $gradeTable.='<td></td>' if ($ctr%2 ==1);
@@ -2667,7 +2667,7 @@
     foreach my $apart (@$parts) {
 	my ($part,$type) = &split_part_type($apart);
 	my $score=$record{"resource.$part.$type"};
-        $result.='<td align="middle">';
+        $result.='<td align="center">';
         my ($aggtries,$totaltries);
         unless (exists($aggregates{$part})) {
 	    $totaltries = $record{'resource.'.$part.'.tries'};