--- loncom/homework/lonhomework.pm 2005/01/31 21:57:32 1.196 +++ loncom/homework/lonhomework.pm 2005/03/01 03:24:05 1.197 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Homework handler # -# $Id: lonhomework.pm,v 1.196 2005/01/31 21:57:32 albertel Exp $ +# $Id: lonhomework.pm,v 1.197 2005/03/01 03:24:05 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -431,11 +431,7 @@ sub setuppermissions { sub setupheader { my $request=$_[0]; - if ($ENV{'browser.mathml'}) { - &Apache::loncommon::content_type($request,'text/xml'); - } else { - &Apache::loncommon::content_type($request,'text/html'); - } + &Apache::loncommon::content_type($request,'text/html'); if (!$Apache::lonxml::debug && ($ENV{'REQUEST_METHOD'} eq 'GET')) { &Apache::loncommon::no_cache($request); } @@ -496,7 +492,8 @@ sub analyze_header { if ($ENV{'environment.remote'} eq 'off') { $bodytag=&Apache::loncommon::bodytag(); } - my $result.=' + my $html=&Apache::lonxml::xmlbegin(); + my $result.=$html.' '.&mt("Analyzing a problem").' '.$bodytag.&Apache::lonxml::message_location().'
'. &Apache::structuretags::remember_problem_state().'