--- loncom/interface/statistics/lonsurveyreports.pm 2008/10/23 09:07:51 1.18 +++ loncom/interface/statistics/lonsurveyreports.pm 2008/10/30 17:45:25 1.19 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: lonsurveyreports.pm,v 1.18 2008/10/23 09:07:51 bisitz Exp $ +# $Id: lonsurveyreports.pm,v 1.19 2008/10/30 17:45:25 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -133,7 +133,10 @@ sub BuildSurveyReportsPage { $r->print('

'.$resource->compTitle.'

'); $r->print('

'.$resource->src.'

'); if ($env{'form.renderprob'} eq 'true') { - $r->print(&Apache::lonstathelpers::render_resource($resource)); + $r->print('
' + .&Apache::lonstathelpers::render_resource($resource) + .'
' + ); } $r->rflush(); my %Data = &Apache::lonstathelpers::get_problem_data @@ -201,7 +204,7 @@ sub SurveyProblemSelector { resptype=>undef}); my $checked = ''; if ($env{'form.problemchoice'} eq $value) { - $checked = 'checked '; + $checked = 'checked="checked" '; } my $link = $problem->{'res'}->link. '?symb='.&escape($problem->{'res'}->shown_symb); @@ -613,23 +616,24 @@ sub CreateInterface { ) { $output_selector.=''.$/; } $output_selector .= ''.$/; $Str .= &Apache::lonhtmlcommon::breadcrumbs('Student Submission Reports'); $Str .= '

'; - $Str .= ''."\n"; - $Str .= ''; + $Str .= &Apache::loncommon::start_data_table(); + $Str .= &Apache::loncommon::start_data_table_header_row(); $Str .= ''; $Str .= ''; $Str .= ''; $Str .= ''; - $Str .= ''; - $Str .= ''."\n"; + $Str .= ''; + $Str .= &Apache::loncommon::end_data_table_header_row(); # - $Str .= ''; # @@ -646,7 +650,7 @@ sub CreateInterface { # Render problem checkbox my $prob_checkbox = ''. ''; # - $Str .= ''."\n"; - $Str .= '
'.&mt('Sections').''.&mt('Groups').''.&mt('Access Status').''.&mt('Output Format').''.' '.'
'.&mt('Options').'
'."\n"; + $Str .= &Apache::loncommon::start_data_table_row(); + $Str .= ''."\n"; $Str .= &Apache::lonstatistics::SectionSelect('Section','multiple',5); $Str .= '
'."\n"; + $Str .= &Apache::loncommon::end_data_table_row(); + $Str .= &Apache::loncommon::end_data_table(); # $Str .= '

' .&mt('Status: [_1]',