--- loncom/interface/statistics/lonstudentassessment.pm 2011/12/21 21:25:51 1.165 +++ loncom/interface/statistics/lonstudentassessment.pm 2012/02/17 00:49:46 1.167 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: lonstudentassessment.pm,v 1.165 2011/12/21 21:25:51 www Exp $ +# $Id: lonstudentassessment.pm,v 1.167 2012/02/17 00:49:46 droeschl Exp $ # # Copyright Michigan State University Board of Trustees # @@ -364,10 +364,6 @@ sub CreateInterface { $Str .= &CreateAndParseOutputDataSelector(); $Str .= ''."\n"; $Str .= ''."\n"; - $Str .= '

' - .&mt('Status:').' ' - .'' - .'

'; $Str .= ''; $Str .= ' 'x5; @@ -751,8 +747,6 @@ NEW_WINDOW_CHECKBOX $total_sum_width = length($total_count)+1; $Str .= " total\n"; $Str .= "
";
-    $r->print($Str);
-    $r->rflush();
 
     $r->print(<
@@ -813,10 +807,13 @@ JS
     }
     #
     # Initialize progress window
-    %prog_state=&Apache::lonhtmlcommon::Create_PrgWin($r,$studentcount);
     #
+    %prog_state=&Apache::lonhtmlcommon::Create_PrgWin($r,$studentcount);
     &Apache::lonhtmlcommon::Update_PrgWin($r,\%prog_state,
                                           'Processing first student');
+    $r->print($Str);
+    $r->rflush();
+
     return;
 }
 
@@ -843,6 +840,7 @@ sub html_outputstudent {
         }
         my $base = length($title);
         my $width=$Apache::lonstatistics::StudentData{$field}->{'width'};
+        utf8::decode($title);
         $Str .= $title.' 'x($width-$base).$padding;
     }
     # Get ALL the students data