--- loncom/interface/lonstatistics.pm 2006/02/14 16:05:37 1.128 +++ loncom/interface/lonstatistics.pm 2006/03/15 19:41:26 1.129 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: lonstatistics.pm,v 1.128 2006/02/14 16:05:37 albertel Exp $ +# $Id: lonstatistics.pm,v 1.129 2006/03/15 19:41:26 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -990,12 +990,9 @@ sub handler { td.essay { border: 1px solid gray; } ENDSTYLE - my $html=&Apache::lonxml::xmlbegin(); - $r->print($html.''. - &mt('Course Statistics and Charts'). - ''.$style. - "\n". - &Apache::loncommon::bodytag('Course Statistics and Charts')); + + $r->print(&Apache::loncommon::start_page('Course Statistics and Charts', + $style)); $r->rflush(); # # Either print out a menu for them or send them to a report @@ -1025,7 +1022,7 @@ ENDSTYLE 'retrieved until the database is restarted. '. 'Your data is intact but cannot be displayed '. 'at this time.').'

'); - $r->print(''); + $r->print(&Apache::loncommon::end_page()); return; } # @@ -1093,7 +1090,7 @@ ENDSTYLE # $r->print("\n"); } - $r->print("\n\n"); + $r->print(&Apache::loncommon::end_page()); $r->rflush(); # return OK;