--- loncom/interface/statistics/lonproblemstatistics.pm 2011/01/17 00:19:41 1.119
+++ loncom/interface/statistics/lonproblemstatistics.pm 2012/05/12 03:17:43 1.122.2.1
@@ -1,6 +1,6 @@
# The LearningOnline Network with CAPA
#
-# $Id: lonproblemstatistics.pm,v 1.119 2011/01/17 00:19:41 www Exp $
+# $Id: lonproblemstatistics.pm,v 1.122.2.1 2012/05/12 03:17:43 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -52,7 +52,6 @@ package Apache::lonproblemstatistics;
use strict;
use Apache::lonnet;
use Apache::loncommon();
-use Apache::lonquickgrades();
use Apache::lonhtmlcommon;
use Apache::loncoursedata;
use Apache::lonstatistics;
@@ -644,12 +643,6 @@ sub CreateInterface {
$Str .= &Apache::loncommon::end_data_table_row();
$Str .= &Apache::loncommon::end_data_table();
#
- $Str .= '
'
- .&mt('Status: [_1]',
- '')
- .'
';
- #
$Str .= '';
$Str .= '';
@@ -705,7 +698,6 @@ sub BuildProblemStatisticsPage {
# Finally let the user know we are here
$r->print(&Apache::lonhtmlcommon::breadcrumbs('Overall Problem Statistics',
'Statistics_Overall_Key'));
- &Apache::lonquickgrades::startGradeScreen($r,'statistics');
my $interface = &CreateInterface($r);
$r->print($interface);
@@ -747,17 +739,17 @@ sub BuildProblemStatisticsPage {
return;
}
if (exists($env{'form.Excel'})) {
- $r->print('
".&mt('Compiled on [_1]',
- &Apache::lonlocal::locallocaltime(time))."
";
+ $Str .= "
".&mt('Compiled on [_1]',
+ &Apache::lonlocal::locallocaltime(time))."
";
return $Str;
}
@@ -903,7 +893,7 @@ sub statistics_html_table_data {
foreach my $field (@Fields) {
next if ($options =~ /no $field->{'name'}/);
next if ($field->{'selected'} ne 'yes');
- $row .= '
{'color'}.'"';
if (exists($field->{'align'})) {
$row .= ' align="'.$field->{'align'}.'"';
}
@@ -1595,7 +1585,6 @@ sub get_statistics {
$data->{'sections'}=$sections;
$data->{'course'} = $env{'request.course.id'};
my $urlres=(&Apache::lonnet::decode_symb($resource->symb))[2];
- $data->{'urlres'}=$urlres;
my %storestats =
&LONCAPA::lonmetadata::dynamic_metadata_storage($data);
my ($dom,$user) = ($urlres=~m{^($LONCAPA::domain_re)/($LONCAPA::username_re)});