--- loncom/interface/statistics/lonproblemanalysis.pm 2002/08/13 00:37:18 1.5
+++ loncom/interface/statistics/lonproblemanalysis.pm 2002/09/07 23:07:38 1.10
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# (Publication Handler
#
-# $Id: lonproblemanalysis.pm,v 1.5 2002/08/13 00:37:18 stredwic Exp $
+# $Id: lonproblemanalysis.pm,v 1.10 2002/09/07 23:07:38 minaeibi Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -26,12 +26,8 @@
# http://www.lon-capa.org/
#
# (Navigate problems for statistical reports
-# YEAR=2001
-# 5/5,7/9,7/25/1,8/11,9/13,9/26,10/5,10/9,10/22,10/26 Behrouz Minaei
-# 11/1,11/4,11/16,12/14,12/16,12/18,12/20,12/31 Behrouz Minaei
# YEAR=2002
-# 1/22,2/1,2/6,2/25,3/2,3/6,3/17,3/21,3/22,3/26,4/7,5/6 Behrouz Minaei
-# 5/12,5/14,5/15,5/19,5/26,7/16 Behrouz Minaei
+# 5/12,7/26 Behrouz Minaei
#
###
@@ -39,6 +35,7 @@ package Apache::lonproblemanalysis;
use strict;
use Apache::lonnet();
+use Apache::lonhtmlcommon();
use GDBM_File;
my $jr;
@@ -48,13 +45,28 @@ sub BuildProblemAnalysisPage {
my %cache;
unless(tie(%cache,'GDBM_File',$cacheDB,&GDBM_READER(),0640)) {
- $r->print('
Unable to tie database.');
+ $r->print('Unable to tie database.');
return;
}
- $r->print(&IntervalOptions($cache{'Interval'}));
+ my $Ptr = '';
+ $Ptr .= '