version 1.359, 2006/06/26 22:33:22
|
version 1.361, 2006/07/14 17:45:05
|
Line 528 sub init_problem_globals {
|
Line 528 sub init_problem_globals {
|
undef($Apache::lonhomework::name); |
undef($Apache::lonhomework::name); |
undef($Apache::lonhomework::default_type); |
undef($Apache::lonhomework::default_type); |
undef($Apache::lonhomework::type); |
undef($Apache::lonhomework::type); |
undef($Apache::lonhomework::problemstatus); |
|
} |
} |
|
|
sub reset_problem_globals { |
sub reset_problem_globals { |
Line 736 sub start_problem {
|
Line 735 sub start_problem {
|
'problem'); |
'problem'); |
} |
} |
} elsif ($target eq 'web') { |
} elsif ($target eq 'web') { |
|
if ($status eq 'CAN_ANSWER' |
|
&& $slot_name ne '' |
|
&& $Apache::lonhomework::history{'resource.0.checkedin'} eq '') { |
|
# unproctored slot access, self checkin |
|
&Apache::bridgetask::check_in('problem',undef,undef, |
|
$slot_name); |
|
} |
$result.="\n $form_tag_start". |
$result.="\n $form_tag_start". |
'<input type="hidden" name="submitted" value="yes" />'; |
'<input type="hidden" name="submitted" value="yes" />'; |
# create a page header and exit |
# create a page header and exit |