--- loncom/homework/structuretags.pm 2006/04/15 01:06:59 1.346 +++ loncom/homework/structuretags.pm 2006/04/18 22:36:23 1.347 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # definition of tags that give a structure to a document # -# $Id: structuretags.pm,v 1.346 2006/04/15 01:06:59 albertel Exp $ +# $Id: structuretags.pm,v 1.347 2006/04/18 22:36:23 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -250,7 +250,7 @@ sub problem_edit_header { sub problem_edit_footer { return '
'. - &Apache::lonhtmlcommon::htmlareaselectactive(@Apache::lonxml::htmlareafields). + &Apache::lonhtmlcommon::htmlareaselectactive(&Apache::lonhtmcommon::get_htmlareafields()). "\n\n".&Apache::loncommon::end_page(); } @@ -861,7 +861,7 @@ sub end_problem { if ($target ne 'tex' && $env{'form.answer_output_mode'} ne 'tex') { $result.=""; - $result.=&Apache::lonhtmlcommon::htmlareaselectactive(@Apache::lonxml::htmlareafields); + $result.= &Apache::lonhtmlcommon::htmlareaselectactive(&Apache::lonhtmcommon::get_htmlareafields()); } if ($target eq 'web') { $result.= &Apache::loncommon::end_page({'discussion' => 1});