--- loncom/interface/statistics/lonproblemanalysis.pm 2005/02/23 02:03:42 1.115 +++ loncom/interface/statistics/lonproblemanalysis.pm 2006/02/04 19:06:53 1.124 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: lonproblemanalysis.pm,v 1.115 2005/02/23 02:03:42 matthew Exp $ +# $Id: lonproblemanalysis.pm,v 1.124 2006/02/04 19:06:53 bowersj2 Exp $ # # Copyright Michigan State University Board of Trustees # @@ -27,7 +27,7 @@ package Apache::lonproblemanalysis; use strict; -use Apache::lonnet(); +use Apache::lonnet; use Apache::loncommon(); use Apache::lonhtmlcommon(); use Apache::loncoursedata(); @@ -73,7 +73,7 @@ sub BuildProblemAnalysisPage { # my @Students = @Apache::lonstatistics::Students; # - if (@Students < 1 && exists($ENV{'form.firstrun'})) { + if (@Students < 1 && exists($env{'form.firstrun'})) { $r->print('
'. ''. &mt($pre_graph_text, $plot_num,$foil_choice_data->{'_count'}, $correct, - $foil_choice_data->{'_count'}-$correct, + $incorrect, $foil_choice_data->{'_students'}, @extra_data). ' | |||||||||
'.
&mt('[_1] submissions from [_2] students, [_3] correct, [_4] incorrect',
@@ -1802,8 +1817,8 @@ sub build_foil_key {
sub CreateInterface {
##
## Environment variable initialization
- if (! exists$ENV{'form.AnalyzeOver'}) {
- $ENV{'form.AnalyzeOver'} = 'tries';
+ if (! exists($env{'form.AnalyzeOver'})) {
+ $env{'form.AnalyzeOver'} = 'tries';
}
##
## Build the menu
@@ -1814,7 +1829,6 @@ sub CreateInterface {
$Str .= ''.&mt('Sections').' | ';
$Str .= ''.&mt('Enrollment Status').' | ';
-# $Str .= ''.&mt('Sequences and Folders').' | ';
$Str .= ' | ';
$Str .= ' | ';
#
-# $Str .= ''; - my $only_seq_with_assessments = sub { - my $s=shift; - if ($s->{'num_assess'} < 1) { - return 0; - } else { - return 1; - } - }; - &Apache::lonstatistics::MapSelect('Maps','multiple,all',5, - $only_seq_with_assessments); ## ## $Str .= ' | ';
##
my $showprob_checkbox =
'';
@@ -1854,14 +1857,14 @@ sub CreateInterface {
##
my $analyze_selector = '';
$Str .= ' '.$/; ## my $numplots_selector = ' '; |