--- loncom/homework/structuretags.pm 2004/06/03 14:28:39 1.254 +++ loncom/homework/structuretags.pm 2004/06/12 01:09:30 1.256 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # definition of tags that give a structure to a document # -# $Id: structuretags.pm,v 1.254 2004/06/03 14:28:39 www Exp $ +# $Id: structuretags.pm,v 1.256 2004/06/12 01:09:30 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -84,7 +84,6 @@ sub page_start { $parstack,$parser,$safeeval); $head_tag_start=''.&Apache::lonmenu::registerurl(undef,$target). &Apache::lonhtmlcommon::htmlareaheaders(); - @Apache::lonxml::htmlareafields=(); } my $body_tag_start; if (!defined($found{'body'})) { @@ -201,7 +200,9 @@ sub problem_edit_header { sub problem_edit_footer { return '
- '; + '. + &Apache::lonhtmlcommon::htmlareaselectactive(@Apache::lonxml::htmlareafields). + "\n\n\n"; } sub option { @@ -1277,7 +1278,7 @@ sub end_startouttext { &Apache::edit::end_row(). &Apache::edit::start_spanning_row()."\n" . &Apache::loncommon::helpLatexCheatsheet () . - &Apache::edit::editfield($token->[1],$text,"",80,4); + &Apache::edit::editfield($token->[1],$text,"",80,8,1); } if ($target eq 'modified') { $result=''.&Apache::edit::modifiedfield("endouttext",$parser);