--- loncom/interface/statistics/lonstudentassessment.pm 2009/10/01 16:28:24 1.158 +++ loncom/interface/statistics/lonstudentassessment.pm 2010/06/09 14:55:27 1.162 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: lonstudentassessment.pm,v 1.158 2009/10/01 16:28:24 bisitz Exp $ +# $Id: lonstudentassessment.pm,v 1.162 2010/06/09 14:55:27 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -554,7 +554,7 @@ my @OutputDataOptions = sub HTMLifyOutputDataDescriptions { my $Str = ''; - $Str .= "

'.&mt('Output Data').'

\n"; + $Str .= '

'.&mt('Output Data').'

'."\n"; $Str .= "
\n"; foreach my $option (@OutputDataOptions) { $Str .= '
'.$option->{'name'}.'
'; @@ -671,11 +671,12 @@ sub html_initialize { # If we're showing links, show a checkbox to open in new # windows. if ($show_links ne 'no') { - my $labeltext = &mt('Show links in new window:'); + my $labeltext = &mt('Show links in new window'); $r->print(<new_window = true; -

NEW_WINDOW_CHECKBOX } @@ -828,7 +829,7 @@ sub html_outputstudent { # $r->print("
");
         $r->print('
'); &Apache::lonhtmlcommon::Increment_PrgWin( - $r,\%prog_state,'last five students'); + $r,\%prog_state,'last five students',5); $r->rflush(); $r->print('
');
     }
@@ -1678,7 +1679,7 @@ END
     # Datestamp
     my $description = $env{'course.'.$env{'request.course.id'}.'.description'};
     print $outputfile '"'.&Apache::loncommon::csv_translate($description).'",'.
-        '"'.&Apache::loncommon::csv_translate(scalar(localtime(time))).'"'.
+        '"'.&Apache::loncommon::csv_translate(scalar(&Apache::lonlocal::locallocaltime(time))).'"'.
             "\n";
     print $outputfile '"'.
         &Apache::loncommon::csv_translate