--- loncom/interface/lonstatistics.pm 2010/05/03 16:41:51 1.152 +++ loncom/interface/lonstatistics.pm 2015/03/10 00:47:18 1.161 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: lonstatistics.pm,v 1.152 2010/05/03 16:41:51 www Exp $ +# $Id: lonstatistics.pm,v 1.161 2015/03/10 00:47:18 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -64,6 +64,7 @@ use Apache::lonpercentage; use Apache::lonstudentsubmissions(); use Apache::lonsurveyreports(); use Apache::longradinganalysis(); +use Apache::lonquickgrades(); use LONCAPA; # @@ -412,7 +413,7 @@ sub StudentDataSelect { last; } } - $Str .= ">all\n"; + $Str .= '>'.&mt('all')."\n"; # # Loop through the student data fields foreach my $item (@StudentDataOrder) { @@ -423,7 +424,7 @@ sub StudentDataSelect { last; } } - $Str .= '>'.$item."\n"; + $Str .= '>'.&mt($item)."\n"; } $Str .= "\n"; return $Str; @@ -510,7 +511,7 @@ sub map_select { if ($selected_maps[0] eq 'all') { $form .= ' selected="selected"'; } - $form .= ">all\n"; + $form .= '>'.&mt('all').''."\n"; # # Loop through the sequences my @sequences = &selected_sequences_with_assessments('all'); @@ -614,7 +615,7 @@ sub DisplayClasslist { # Output some of the standard interface components my $Str; $Str .= &Apache::lonhtmlcommon::breadcrumbs('Select One Student'); - $Str .= '
'.&mt('Sections').' | '; $Str .= ''.&mt('Groups').' | '; @@ -632,7 +633,7 @@ sub DisplayClasslist { ''; $Str .= '
---|
'.&mt("Click on a student's name or username to view their chart").'
' + .''.&mt("Click on a student's name or username to view their chart.").'
' .&Apache::loncommon::start_data_table() .&Apache::loncommon::start_data_table_header_row(); foreach my $field (@Fields) { $Str .= ''. &mt('Unable to connect to database!'). - ''); + '
'); $r->print('' .&mt('Please notify the server administrator [_1]', ,''.$serveradmin.'') @@ -862,16 +868,18 @@ ENDSTYLE # # Clean out the caches if (exists($env{'form.ClearCache'})) { - &Apache::loncoursedata::delete_caches($env{'requres.course.id'}); + &Apache::loncoursedata::delete_caches($env{'request.course.id'}); } # + my $GoToPage = $env{'form.reportSelected'}; + # # Begin form output $r->print('
\n"); } + &Apache::lonquickgrades::endGradeScreen($r); $r->print(&Apache::loncommon::end_page()); $r->rflush(); #