version 1.367, 2006/10/17 15:11:12
|
version 1.368, 2006/11/09 21:31:11
|
Line 162 sub page_start {
|
Line 162 sub page_start {
|
if ($target eq 'edit') { |
if ($target eq 'edit') { |
$form_tag_start.=&Apache::edit::form_change_detection(); |
$form_tag_start.=&Apache::edit::form_change_detection(); |
} |
} |
$form_tag_start.='>'; |
$form_tag_start.='>'."\n"; |
|
|
my $symb=&Apache::lonnet::symbread(); |
my $symb=&Apache::lonnet::symbread(); |
if ($symb =~ /\S/) { |
if ($symb =~ /\S/) { |
$symb= |
$symb= |
&HTML::Entities::encode(&Apache::lonenc::check_encrypt($symb)); |
&HTML::Entities::encode(&Apache::lonenc::check_encrypt($symb)); |
$form_tag_start.= |
$form_tag_start.= |
'<input type="hidden" name="symb" value="'.$symb.'" />'; |
"\t".'<input type="hidden" name="symb" value="'.$symb.'" />'."\n"; |
} |
} |
} |
} |
return ($page_start,$form_tag_start); |
return ($page_start,$form_tag_start); |
Line 744 sub start_problem {
|
Line 744 sub start_problem {
|
&Apache::bridgetask::check_in('problem',undef,undef, |
&Apache::bridgetask::check_in('problem',undef,undef, |
$slot_name); |
$slot_name); |
} |
} |
$result.="\n $form_tag_start". |
$result.="\n $form_tag_start \t". |
'<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 |
if ($env{'request.state'} eq "construct") { |
if ($env{'request.state'} eq "construct") { |