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

bisitz bisitz@source.lon-capa.org
Mon, 12 Apr 2010 16:19:34 -0000


bisitz		Mon Apr 12 16:19:34 2010 EDT

  Modified files:              
    /loncom/interface/statistics	lonstudentsubmissions.pm 
  Log:
  XHTML:
  - Ensure table closure
  - Replaced invalid valign value "center" by valid and better fitting value "top"
  
  
Index: loncom/interface/statistics/lonstudentsubmissions.pm
diff -u loncom/interface/statistics/lonstudentsubmissions.pm:1.57 loncom/interface/statistics/lonstudentsubmissions.pm:1.58
--- loncom/interface/statistics/lonstudentsubmissions.pm:1.57	Fri Mar 26 13:25:17 2010
+++ loncom/interface/statistics/lonstudentsubmissions.pm	Mon Apr 12 16:19:34 2010
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: lonstudentsubmissions.pm,v 1.57 2010/03/26 13:25:17 onken Exp $
+# $Id: lonstudentsubmissions.pm,v 1.58 2010/04/12 16:19:34 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -331,7 +331,7 @@
         }
         last if ($c->aborted());
         foreach my $field (@student_columns) {
-            $student_row_data .= '<td valign="center">';
+            $student_row_data .= '<td valign="top">';
             # handle comments like in lonstudentassessment.pm
             if($field eq 'comments') {
                 $student_row_data .= 
@@ -457,6 +457,7 @@
             undef(@essays);
         }
     } # end of student loop
+    $r->print('</table>'.$/);
     return;
 }