--- loncom/homework/structuretags.pm 2004/01/30 16:21:26 1.230 +++ loncom/homework/structuretags.pm 2004/02/13 23:59:24 1.235 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # definition of tags that give a structure to a document # -# $Id: structuretags.pm,v 1.230 2004/01/30 16:21:26 albertel Exp $ +# $Id: structuretags.pm,v 1.235 2004/02/13 23:59:24 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -37,6 +37,7 @@ use Apache::lonnet; use Apache::File(); use Apache::lonmenu; use Apache::lonlocal; +use Apache::lonxml; BEGIN { &Apache::lonxml::register('Apache::structuretags',('block','languageblock','instructorcomment','while','randomlist','problem','library','web','tex','part','preduedate','postanswerdate','solved','notsolved','startouttext','endouttext', @@ -199,6 +200,16 @@ sub problem_edit_footer { '; } +sub option { + my ($value,$name) = @_; + my $result ="