version 1.153, 2003/03/05 16:25:57
|
version 1.155, 2003/03/07 23:41:29
|
Line 241 ENDCHECKOUT
|
Line 241 ENDCHECKOUT
|
sub start_problem { |
sub start_problem { |
my ($target,$token,$tagstack,$parstack,$parser,$safeeval)=@_; |
my ($target,$token,$tagstack,$parstack,$parser,$safeeval)=@_; |
|
|
|
$Apache::lonhomework::parsing_a_problem=1; |
# meta is called from lonpublisher, which doesn't uses the normal |
# meta is called from lonpublisher, which doesn't uses the normal |
# lonhomework method of parsing the file which means that inputtags |
# lonhomework method of parsing the file which means that inputtags |
# won't get reset |
# won't get reset |
Line 476 sub end_problem {
|
Line 477 sub end_problem {
|
&Apache::lonxml::debug("in end_problem with $target, edit"); |
&Apache::lonxml::debug("in end_problem with $target, edit"); |
$result = &problem_edit_footer(); |
$result = &problem_edit_footer(); |
} |
} |
|
|
|
undef(%Apache::lonhomework::history); |
|
undef(%Apache::lonhomework::results); |
|
undef($Apache::inputtags::part); |
|
undef($Apache::lonhomework::parsing_a_problem); |
|
|
return $result; |
return $result; |
} |
} |
|
|
Line 742 sub end_part {
|
Line 749 sub end_part {
|
$result=$gradestatus; |
$result=$gradestatus; |
} |
} |
pop @Apache::inputtags::status; |
pop @Apache::inputtags::status; |
|
$Apache::inputtags::part=''; |
return $result; |
return $result; |
} |
} |
|
|