--- loncom/interface/lonmodifycourse.pm 2006/02/10 23:38:15 1.22 +++ loncom/interface/lonmodifycourse.pm 2006/03/16 21:39:26 1.23 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # automated enrollment course setup handler # -# $Id: lonmodifycourse.pm,v 1.22 2006/02/10 23:38:15 albertel Exp $ +# $Id: lonmodifycourse.pm,v 1.23 2006/03/16 21:39:26 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -674,20 +674,15 @@ sub print_header { } } my $html=&Apache::lonxml::xmlbegin(); - $r->print(" -$html - -"); + my $js; if ($action eq 'display') { - $r->print(" -"); + $js = ''; } + $r->print(&Apache::loncommon::start_page('View/Modify Course Settings', + $js)); $r->print(<The LearningOnline Network with CAPA - -$bodytag
@@ -703,12 +698,8 @@ ENDTHIS } sub print_footer { - my $r = shift; - $r->print(< - - -ENDBASE + my ($r) = @_; + $r->print('
'.&Apache::loncommon::end_page()); return; }