[LON-CAPA-cvs] cvs: loncom /interface/statistics loncorrectproblemplot.pm
matthew
lon-capa-cvs@mail.lon-capa.org
Mon, 08 Mar 2004 18:42:58 -0000
matthew Mon Mar 8 13:42:58 2004 EDT
Modified files:
/loncom/interface/statistics loncorrectproblemplot.pm
Log:
Added text describing starttime and endtime in html output.
Index: loncom/interface/statistics/loncorrectproblemplot.pm
diff -u loncom/interface/statistics/loncorrectproblemplot.pm:1.9 loncom/interface/statistics/loncorrectproblemplot.pm:1.10
--- loncom/interface/statistics/loncorrectproblemplot.pm:1.9 Sun Mar 7 15:53:41 2004
+++ loncom/interface/statistics/loncorrectproblemplot.pm Mon Mar 8 13:42:58 2004
@@ -1,6 +1,6 @@
# The LearningOnline Network with CAPA
#
-# $Id: loncorrectproblemplot.pm,v 1.9 2004/03/07 20:53:41 matthew Exp $
+# $Id: loncorrectproblemplot.pm,v 1.10 2004/03/08 18:42:58 matthew Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -123,6 +123,12 @@
}
}
my ($starttime,$endtime) = &Apache::lonstathelpers::get_time_limits();
+ if (defined($starttime) || defined($endtime)) {
+ # Inform the user what the time limits on the data are.
+ $r->print(&mt('Statistics on submissions from [_1] to [_2]',
+ &Apache::lonlocal::locallocaltime($starttime),
+ &Apache::lonlocal::locallocaltime($endtime)));
+ }
my $score_data = &Apache::loncoursedata::get_student_scores
(\@Apache::lonstatistics::SelectedSections,
\@ProblemSymbs,