version 1.72.2.1, 2003/09/23 01:52:57
|
version 1.75, 2003/10/24 17:58:55
|
Line 174 sub end_foilgroup {
|
Line 174 sub end_foilgroup {
|
} |
} |
} |
} |
} |
} |
&Apache::lonxml::increment_counter(); |
if ($target ne 'answer') {&Apache::lonxml::increment_counter();} |
return $result; |
return $result; |
} |
} |
|
|
Line 371 sub displayfoils {
|
Line 371 sub displayfoils {
|
my ($answer,@whichfoils)=&whichfoils($max,$randomize); |
my ($answer,@whichfoils)=&whichfoils($max,$randomize); |
my $part=$Apache::inputtags::part; |
my $part=$Apache::inputtags::part; |
my $solved=$Apache::lonhomework::history{"resource.$part.solved"}; |
my $solved=$Apache::lonhomework::history{"resource.$part.solved"}; |
my $status=$Apache::inputtags::status[-1]; |
|
if ( ($target ne 'tex') && |
if ( ($target ne 'tex') && |
&Apache::response::show_answer() ) { |
&Apache::response::show_answer() ) { |
foreach my $name (@whichfoils) { |
foreach my $name (@whichfoils) { |