--- loncom/homework/edit.pm 2002/04/26 13:30:08 1.34 +++ loncom/homework/edit.pm 2002/10/25 19:02:38 1.37 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # edit mode helpers # -# $Id: edit.pm,v 1.34 2002/04/26 13:30:08 harris41 Exp $ +# $Id: edit.pm,v 1.37 2002/10/25 19:02:38 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -249,6 +249,13 @@ sub insert_stringresponse { '; } +sub insert_essayresponse { + return ' + + +'; +} + sub insert_optionresponse { return ' @@ -285,6 +292,12 @@ sub insert_numericalhint { '; } +sub insert_radiobuttonhint { + return ' + +'; +} + sub insert_startouttext { return "\n"; } @@ -426,7 +439,7 @@ sub select_or_text_arg { } } $optionlist.="\n"; - if ($found) { + if (($found) || (!$selected)) { $result.=$description.'';