--- loncom/interface/statistics/lonsurveyreports.pm 2008/10/14 14:10:49 1.17 +++ loncom/interface/statistics/lonsurveyreports.pm 2011/01/17 00:19:41 1.25 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: lonsurveyreports.pm,v 1.17 2008/10/14 14:10:49 bisitz Exp $ +# $Id: lonsurveyreports.pm,v 1.25 2011/01/17 00:19:41 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -30,6 +30,7 @@ use strict; use Apache::lonnet; use Apache::loncommon(); use Apache::lonhtmlcommon(); +use Apache::lonquickgrades(); use Apache::loncoursedata(); use Apache::lonstatistics; use Apache::lonlocal; @@ -63,10 +64,13 @@ sub BuildSurveyReportsPage { ); &Apache::loncommon::store_course_settings('survey_reports', \%Saveable_Parameters); - &Apache::loncommon::restore_course_settings('survey_resports', + &Apache::loncommon::restore_course_settings('survey_reports', \%Saveable_Parameters); # &Apache::lonstatistics::PrepareClasslist(); + $r->print(&Apache::lonhtmlcommon::breadcrumbs('Student Submission Reports')); + &Apache::lonquickgrades::startGradeScreen($r,'statistics'); + # $r->print(&CreateInterface()); # @@ -98,7 +102,7 @@ sub BuildSurveyReportsPage { # $r->print('
' .&mt('There is no essay or string response data to output for this survey.') - .''); + .'
'); } $r->rflush(); return; @@ -566,15 +573,20 @@ sub make_HTML_report { sprintf("%.2f",$count/$total*100).'%'. &Apache::loncommon::end_data_table_row().$/; } - $Str .= &Apache::loncommon::start_data_table_row(). - ''; - $Str .= '
'.&mt('Sections').' | '; $Str .= ''.&mt('Groups').' | '; $Str .= ''.&mt('Access Status').' | '; $Str .= ''.&mt('Output Format').' | '; - $Str .= ''.' '.' | '; - $Str .= ''.&mt('Options').' | '; + $Str .= &Apache::loncommon::end_data_table_header_row(); # - $Str .= '
---|---|---|---|---|
'."\n"; + $Str .= &Apache::loncommon::start_data_table_row(); + $Str .= ' | '."\n"; $Str .= &Apache::lonstatistics::SectionSelect('Section','multiple',5); $Str .= ' | '; # @@ -646,22 +658,25 @@ sub CreateInterface { # Render problem checkbox my $prob_checkbox = ''. - &mt('Show problem [_1]',$prob_checkbox).'
' + .&mt('Status: [_1]', + '') + .'
'; + $Str .= ''; ## return $Str; }