--- loncom/homework/lonhomework.pm 2005/07/12 21:50:05 1.212 +++ loncom/homework/lonhomework.pm 2005/07/29 23:51:06 1.215 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Homework handler # -# $Id: lonhomework.pm,v 1.212 2005/07/12 21:50:05 albertel Exp $ +# $Id: lonhomework.pm,v 1.215 2005/07/29 23:51:06 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -668,7 +668,7 @@ sub analyze { } } if (scalar(keys(%allparts)) == 0 ) { - $request->print('
'.&mt('Found no analyzable respones in this problem, currently only Numerical, Formula and String response styles are supported.').'
'); + $request->print(''.&mt('Found no analyzable responses in this problem, currently only Numerical, Formula and String response styles are supported.').'
'); } &Apache::lonhtmlcommon::Close_PrgWin($request,\%prog_state); &analyze_footer($request); @@ -711,7 +711,9 @@ sub editxmlmode { $bodytag=&Apache::loncommon::bodytag(); } my $html=&Apache::lonxml::xmlbegin(); - $result.=$html.$bodytag.&Apache::lonxml::message_location().' + $result.=$html.$bodytag. + &renderpage($request,$file,['no_output_web'],1). + &Apache::lonxml::message_location().'