version 1.36, 2002/04/01 21:26:57
|
version 1.37, 2002/04/23 14:16:05
|
Line 63 sub start_optionresponse {
|
Line 63 sub start_optionresponse {
|
my $part_id="$Apache::inputtags::part.$Apache::inputtags::response[-1]"; |
my $part_id="$Apache::inputtags::part.$Apache::inputtags::response[-1]"; |
push (@{ $Apache::lonhomework::analyze{"parts"} },$part_id); |
push (@{ $Apache::lonhomework::analyze{"parts"} },$part_id); |
} |
} |
# if ($target eq 'tex') {$result .= '\begin{itemize}';} |
# if ($target eq 'tex') {$result .= '\begin{enumerate}';} |
return $result; |
return $result; |
} |
} |
|
|
Line 74 sub end_optionresponse {
|
Line 74 sub end_optionresponse {
|
&Apache::lonxml::deregister('Apache::optionresponse',('foilgroup','foil','conceptgroup')); |
&Apache::lonxml::deregister('Apache::optionresponse',('foilgroup','foil','conceptgroup')); |
my $result; |
my $result; |
if ($target eq 'edit') { $result=&Apache::edit::end_table(); } |
if ($target eq 'edit') { $result=&Apache::edit::end_table(); } |
# if ($target eq 'tex') {$result .= '\end{itemize}';} |
# if ($target eq 'tex') {$result .= '\end{enumerate}';} |
return $result; |
return $result; |
} |
} |
|
|