--- loncom/homework/edit.pm 2005/08/30 15:36:07 1.94 +++ loncom/homework/edit.pm 2005/11/10 22:19:27 1.95 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # edit mode helpers # -# $Id: edit.pm,v 1.94 2005/08/30 15:36:07 albertel Exp $ +# $Id: edit.pm,v 1.95 2005/11/10 22:19:27 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -92,10 +92,12 @@ sub start_table { foreach my $namespace (reverse @Apache::lonxml::namespace) { my $testtag=$namespace.'::'.$tag; $tagnum=$Apache::lonxml::insertlist{"$testtag.num"}; + &Apache::lonxml::debug(" $testtag "); if (defined($tagnum)) { last; } } if (!defined ($tagnum)) {$tagnum=$Apache::lonxml::insertlist{"$tag.num"};} my $color = $Apache::lonxml::insertlist{"$tagnum.color"}; + &Apache::lonxml::debug(" $tagnum -- $color"); if (!defined($color)) { $color = $Apache::edit::colorlist[$Apache::edit::colordepth]; } @@ -309,6 +311,25 @@ sub insert_numericalresponse { '; } +sub insert_algorithmicresponse { + return ' + + + + + + + +'; +} + +sub insert_algorithmicresponse_answer { + return ' + + +'; +} + sub insert_stringresponse { return '