--- loncom/interface/statistics/lonstathelpers.pm 2008/12/12 10:01:30 1.57 +++ loncom/interface/statistics/lonstathelpers.pm 2010/06/10 16:14:39 1.62 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: lonstathelpers.pm,v 1.57 2008/12/12 10:01:30 bisitz Exp $ +# $Id: lonstathelpers.pm,v 1.62 2010/06/10 16:14:39 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -135,9 +135,9 @@ Skips 'survey' problems. #################################################### #################################################### sub problem_selector { - my ($AcceptedResponseTypes,$sequence_addendum) = @_; + my ($AcceptedResponseTypes,$sequence_addendum,$symbmode) = @_; my $Str; - $Str = "\n
}. + $seq_str .= &Apache::loncommon::start_data_table_row(). + ($symbmode? + ' | ' + :qq{ | }). ' | '. ' | '; if (scalar(@response_ids) > 1) { @@ -174,25 +176,25 @@ sub problem_selector { my $link = $res->link.'?symb='.&escape($res->shown_symb); $seq_str .= (' 'x2). ''.&mt('view').''; - $seq_str .= " |
'. - ' | '.$seq->compTitle.' | '. - "'.$seq->compTitle.' | '. + &Apache::loncommon::end_data_table_header_row()."\n".$seq_str; if (defined($sequence_addendum)) { - $Str .= '||
---|---|---|---|---|
'x2). ' | '.$sequence_addendum.' | '. - "