--- loncom/interface/statistics/lonstudentassessment.pm 2003/10/21 21:23:53 1.71 +++ loncom/interface/statistics/lonstudentassessment.pm 2003/11/20 20:21:17 1.75 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: lonstudentassessment.pm,v 1.71 2003/10/21 21:23:53 matthew Exp $ +# $Id: lonstudentassessment.pm,v 1.75 2003/11/20 20:21:17 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -54,6 +54,7 @@ use Apache::lonstatistics; use Apache::lonhtmlcommon; use Apache::loncoursedata; use Apache::lonnet; # for logging porpoises +use Apache::lonlocal; use Spreadsheet::WriteExcel; ####################################################### @@ -138,7 +139,7 @@ Inputs: ####################################################### sub BuildStudentAssessmentPage { my ($r,$c)=@_; - + # undef($Statistics); undef($show_links); undef($output_mode); @@ -146,7 +147,18 @@ sub BuildStudentAssessmentPage { undef($base); undef($datadescription); undef($single_student_mode); - + # + my %Saveable_Parameters = ('Status' => 'scalar', + 'chartoutputmode' => 'scalar', + 'chartoutputdata' => 'scalar', + 'Section' => 'array', + 'StudentData' => 'array', + 'Maps' => 'array'); + &Apache::loncommon::store_course_settings('chart',\%Saveable_Parameters); + &Apache::loncommon::restore_course_settings('chart',\%Saveable_Parameters); + # + &Apache::lonstatistics::PrepareClasslist(); + # $single_student_mode = 0; $single_student_mode = 1 if ($ENV{'form.SelectedStudent'}); if ($ENV{'form.selectstudent'}) { @@ -305,14 +317,14 @@ sub CreateInterface { # $Str .= &CreateLegend(); $Str .= '
Sections | '; - $Str .= 'Student Data | '; - $Str .= 'Enrollment Status | '; - $Str .= 'Sequences and Folders | '; - $Str .= 'Output Format'. + $Str .= ' | '.&mt('Sections').' | '; + $Str .= ''.&mt('Student Data').' | '; + $Str .= ''.&mt('Enrollment Status').' | '; + $Str .= ''.&mt('Sequences and Folders').' | '; + $Str .= ''.&mt('Output Format').''. &Apache::loncommon::help_open_topic("Chart_Output_Formats"). ' | '; - $Str .= 'Output Data'. + $Str .= ' | '.&mt('Output Data').''. &Apache::loncommon::help_open_topic("Chart_Output_Data"). ' | '; $Str .= '