--- loncom/interface/statistics/lonproblemanalysis.pm 2003/11/11 22:07:46 1.48 +++ loncom/interface/statistics/lonproblemanalysis.pm 2004/01/08 19:20:12 1.53 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: lonproblemanalysis.pm,v 1.48 2003/11/11 22:07:46 matthew Exp $ +# $Id: lonproblemanalysis.pm,v 1.53 2004/01/08 19:20:12 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -49,7 +49,7 @@ my @SubmitButtons = ({ name => 'ProblemA { name => 'updatecaches', text => 'Update Student Data' }, { name => 'SelectAnother', - text => 'Choose a different resource' }, + text => 'Choose a different Problem' }, { name => 'ExcelOutput', text => 'Produce Excel Output' }); @@ -73,6 +73,19 @@ sub render_resource { sub BuildProblemAnalysisPage { my ($r,$c)=@_; # + my %Saveable_Parameters = ('Status' => 'scalar', + 'Section' => 'array', + 'NumPlots' => 'scalar', + 'AnalyzeAs' => 'scalar', + 'AnalyzeOver' => 'scalar', + ); + &Apache::loncommon::store_course_settings('problem_analysis', + \%Saveable_Parameters); + &Apache::loncommon::restore_course_settings('problem_analysis', + \%Saveable_Parameters); + # + &Apache::lonstatistics::PrepareClasslist(); + # $r->print('

'.&mt('Option Response Problem Analysis').'

'); $r->print(&CreateInterface()); # @@ -1390,6 +1403,8 @@ sub CreateInterface { { # These braces are here to organize the code, not scope it. { $Str .= ''.&mt('Analyze Over '); + $Str .= &Apache::loncommon::help_open_topic + ('Analysis_Analyze_Over'); $Str .='
'; + $Str .= ''; + $Str .= '
'; } { $Str .= ''.&mt('Analyze as '); + $Str .= &Apache::loncommon::help_open_topic + ('Analysis_Analyze_as'); $Str .=''. ''. - ''.$res->{'title'}.' '; + ''.$title.' '; # ''.$resptype.' '.$res->{'title'}.' '; if ($partdata->{'option'} > 1) { $seq_str .= &mt('response').' '.$respid;