version 1.512.2.24.2.4, 2023/09/06 22:46:09
|
version 1.512.2.24.2.6, 2023/09/11 12:08:18
|
Line 1766 sub start_problem {
|
Line 1766 sub start_problem {
|
($result,$form_tag_start,$probpartlist) = |
($result,$form_tag_start,$probpartlist) = |
&page_start($target,$token,$tagstack,$parstack,$parser,$safeeval, |
&page_start($target,$token,$tagstack,$parstack,$parser,$safeeval, |
$name); |
$name); |
} elsif ((($target eq 'grade') && ($Apache::lonhomework::type eq 'randomizetry')) || { |
} elsif ((($target eq 'grade') && ($Apache::lonhomework::type eq 'randomizetry')) || |
($target eq 'answer')) { |
($target eq 'answer')) { |
my ($symb)= &Apache::lonnet::whichuser(); |
my ($symb)= &Apache::lonnet::whichuser(); |
if ($symb ne '') { |
if ($symb ne '') { |
my $navmap = Apache::lonnavmaps::navmap->new(); |
my $navmap = Apache::lonnavmaps::navmap->new(); |
Line 1789 sub start_problem {
|
Line 1789 sub start_problem {
|
$target eq 'tex') { |
$target eq 'tex') { |
|
|
my ($symb)= &Apache::lonnet::whichuser(); |
my ($symb)= &Apache::lonnet::whichuser(); |
($status,$accessmsg,$slot_name,$slot,$ipused) = |
($status,$accessmsg,$slot_name,$slot) = |
&Apache::lonhomework::check_slot_access('0','problem',$symb,$probpartlist); |
&Apache::lonhomework::check_slot_access('0','problem',$symb,$probpartlist); |
push (@Apache::inputtags::status,$status); |
push (@Apache::inputtags::status,$status); |
} |
} |
Line 2246 ENDJS
|
Line 2246 ENDJS
|
# computation: |
# computation: |
# |
# |
if ($target eq 'web') { |
if ($target eq 'web') { |
$result .= &Apache::lonhtmlcommon::set_compute_end_time(); |
$result .= &Apache::lonhtmlcommon::dash_to_minus_js(). |
|
&Apache::lonhtmlcommon::set_compute_end_time(); |
# |
# |
# Closing tags delayed so any <script></script> tags |
# Closing tags delayed so any <script></script> tags |
# not in head can appear inside body, for valid xhtml. |
# not in head can appear inside body, for valid xhtml. |