--- loncom/interface/lonstatistics.pm 2015/03/12 03:08:29 1.156.2.5 +++ loncom/interface/lonstatistics.pm 2013/03/06 11:39:00 1.157 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: lonstatistics.pm,v 1.156.2.5 2015/03/12 03:08:29 raeburn Exp $ +# $Id: lonstatistics.pm,v 1.157 2013/03/06 11:39:00 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -511,7 +511,7 @@ sub map_select { if ($selected_maps[0] eq 'all') { $form .= ' selected="selected"'; } - $form .= '>'.&mt('all').''."\n"; + $form .= ">all\n"; # # Loop through the sequences my @sequences = &selected_sequences_with_assessments('all'); @@ -615,7 +615,7 @@ sub DisplayClasslist { # Output some of the standard interface components my $Str; $Str .= &Apache::lonhtmlcommon::breadcrumbs('Select One Student'); - $Str .= ''."\n"; + $Str .= '

'."\n"; $Str .= ''; $Str .= ''; $Str .= ''; @@ -633,7 +633,7 @@ sub DisplayClasslist { ''; $Str .= ''.$/; - $Str .= '
'.&mt('Sections').''.&mt('Groups').'
'; + $Str .= '

'; $Str .= ''; $r->print($Str); @@ -696,8 +696,8 @@ sub DisplayClasslist { .&Apache::loncommon::start_data_table_header_row(); foreach my $field (@Fields) { $Str .= ''.&mt($field). ''; } @@ -712,8 +712,8 @@ sub DisplayClasslist { if ($field eq 'fullname' || $field eq 'username') { $Str .= ''; $Str .= $student->{$field}; $Str .= ''; @@ -843,8 +843,9 @@ ENDSTYLE bug=>'Statistics and Charts'}); if (! exists($env{'form.reportSelected'}) || $env{'form.reportSelected'} eq '') { - $r->print(&Apache::lonhtmlcommon::breadcrumbs('Statistics Main Page'). - &CreateMainMenu()); + $r->print(&Apache::lonhtmlcommon::breadcrumbs('Statistics Main Page')); + &Apache::lonquickgrades::startGradeScreen($r,'statistics'); + $r->print(&CreateMainMenu()); } else { # if (! &Apache::lonmysql::verify_sql_connection()) { @@ -867,7 +868,7 @@ ENDSTYLE # # Clean out the caches if (exists($env{'form.ClearCache'})) { - &Apache::loncoursedata::delete_caches($env{'request.course.id'}); + &Apache::loncoursedata::delete_caches($env{'requres.course.id'}); } # my $GoToPage = $env{'form.reportSelected'}; @@ -931,6 +932,7 @@ ENDSTYLE # $r->print("\n"); } + &Apache::lonquickgrades::endGradeScreen($r); $r->print(&Apache::loncommon::end_page()); $r->rflush(); #