Diff for /loncom/interface/statistics/lonstudentsubmissions.pm between versions 1.62 and 1.63

version 1.62, 2011/01/17 00:19:41 version 1.63, 2011/09/19 04:02:20
Line 898  sub prepare_excel_output { Line 898  sub prepare_excel_output {
         $cols_output = 0;          $cols_output = 0;
         my $student_row = $max_row;          my $student_row = $max_row;
         foreach my $field (@StudentColumns) {          foreach my $field (@StudentColumns) {
             if ($show_named) {              $cols_output ++;
                 $worksheet->write($student_row,$cols_output++,  
                                   $student->{$field});  
             } else {  
                 $worksheet->write($student_row,$cols_output++,  
                                       &mt('Anonymized'));  
             }  
         }          }
         my $last_student_col = $cols_output-1;  
         foreach my $prob (@$Problems) {          foreach my $prob (@$Problems) {
             my $symb = $prob->symb();              my $symb = $prob->symb();
             foreach my $partid (@{$prob->parts}) {              foreach my $partid (@{$prob->parts}) {
Line 961  sub prepare_excel_output { Line 954  sub prepare_excel_output {
                 }                  }
             }              }
         }          }
         # Fill in the remaining rows with the students data          # Prepend current student's user information to all rows  
         for (my $row = $student_row+1;$row<$max_row;$row++) {          for (my $row = $student_row;$row<$max_row;$row++) {
             my $cols = 0;              my $cols = 0;
             foreach my $field (@StudentColumns) {              foreach my $field (@StudentColumns) {
                 if ($show_named) {                  if ($show_named) {

Removed from v.1.62  
changed lines
  Added in v.1.63


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>