--- loncom/interface/statistics/lonstudentassessment.pm 2011/10/05 18:56:00 1.164 +++ 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.164 2011/10/05 18:56:00 raeburn 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,13 +807,13 @@ JS
     }
     #
     # Initialize progress window
-    %prog_state=&Apache::lonhtmlcommon::Create_PrgWin
-        ($r,'HTML Chart Status',
-         'HTML Chart Progress', $studentcount,
-         'inline',undef,'Statistics','stats_status');
     #
+    %prog_state=&Apache::lonhtmlcommon::Create_PrgWin($r,$studentcount);
     &Apache::lonhtmlcommon::Update_PrgWin($r,\%prog_state,
                                           'Processing first student');
+    $r->print($Str);
+    $r->rflush();
+
     return;
 }
 
@@ -846,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
@@ -1457,10 +1452,7 @@ sub excel_initialize {
     $r->rflush();
     #
     # Initialize progress window
-    %prog_state=&Apache::lonhtmlcommon::Create_PrgWin
-        ($r,'Excel File Compilation Status',
-         'Excel File Compilation Progress', $studentcount,
-         'inline',undef,'Statistics','stats_status');
+    %prog_state=&Apache::lonhtmlcommon::Create_PrgWin($r,$studentcount);
     #
     &Apache::lonhtmlcommon::Update_PrgWin($r,\%prog_state,
                                           'Processing first student');
@@ -1674,10 +1666,7 @@ END
     #
     # Initialize progress window
     my $studentcount = scalar(@Apache::lonstatistics::Students);
-    %prog_state=&Apache::lonhtmlcommon::Create_PrgWin
-        ($r,'CSV File Compilation Status',
-         'CSV File Compilation Progress', $studentcount,
-         'inline',undef,'Statistics','stats_status');
+    %prog_state=&Apache::lonhtmlcommon::Create_PrgWin($r,$studentcount);
     #
     # Open a file
     ($outputfile,$filename) = &Apache::loncommon::create_text_file($r,'csv');