--- loncom/homework/inputtags.pm 2001/02/19 20:34:20 1.27 +++ loncom/homework/inputtags.pm 2001/05/19 00:23:38 1.33 @@ -1,5 +1,6 @@ # The LearningOnline Network with CAPA # input definitons +# 2/19 Guy package Apache::inputtags; use strict; @@ -10,13 +11,20 @@ sub BEGIN { sub initialize_inputtags { + # list of current input ids @Apache::inputtags::input=(); + # list of all input ids seen in this problem @Apache::inputtags::inputlist=(); + # list of all current response ids @Apache::inputtags::response=(); + #list of all response ids seen in this problem @Apache::inputtags::responselist=(); - @Apache::inputtags::answergroup=(); + # id of current part, 0 means that no part is current (inside only $Apache::inputtags::part=''; + # list of problem date statuses, the first element is for + #if there is a second element it is for the current @Apache::inputtags::status=(); + #hash of defined params for the current response %Apache::inputtags::params=(); } @@ -40,7 +48,19 @@ sub start_textarea { my $result = ""; my $id = &start_input($parstack,$safeeval); if ($target eq 'web') { - $result= '