--- loncom/interface/statistics/lonstathelpers.pm 2011/12/21 21:25:51 1.68 +++ loncom/interface/statistics/lonstathelpers.pm 2012/05/03 11:21:33 1.69 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: lonstathelpers.pm,v 1.68 2011/12/21 21:25:51 www Exp $ +# $Id: lonstathelpers.pm,v 1.69 2012/05/03 11:21:33 goltermann Exp $ # # Copyright Michigan State University Board of Trustees # @@ -90,10 +90,10 @@ sub render_resource { my $rendered_problem = &Apache::lonnet::ssi_body($src.'?symb='.$symb); $rendered_problem =~ s/<\s*form\s*/)|<\/nop>|g; - return '
'. - ''. - $rendered_problem. - '
'; + return &Apache::loncommon::start_data_table(). + &Apache::loncommon::start_data_table_row(). + ''.''.$rendered_problem. + ''.&Apache::loncommon::end_data_table_row().&Apache::loncommon::end_data_table(); } ####################################################