--- loncom/interface/portfolio.pm 2006/03/15 19:41:26 1.95 +++ loncom/interface/portfolio.pm 2006/03/19 21:54:41 1.96 @@ -680,12 +680,11 @@ sub handler { &Apache::loncommon::content_type($r,'text/html'); $r->send_http_header; # Give the LON-CAPA page header - my $html=&Apache::lonxml::xmlbegin(); - $r->print($html.&Apache::loncommon::head($title)."\n"); if ($env{"form.mode"} eq 'selectfile'){ - $r->print(&Apache::loncommon::bodytag($title,undef,undef,1)); + $r->print(&Apache::loncommon::start_page($title,undef, + {'only_body' => 1}); } else { - $r->print(&Apache::loncommon::bodytag($title)); + $r->print(&Apache::loncommon::start_page($title); } $r->rflush(); if (($env{'form.storeupl'}) & (!$env{'form.uploaddoc.filename'})){