version 1.117, 2005/04/01 18:08:14
|
version 1.118, 2005/04/04 10:04:09
|
Line 513 sub answer_footer {
|
Line 513 sub answer_footer {
|
sub showallfoils { |
sub showallfoils { |
if (defined($ENV{'form.showallfoils'})) { |
if (defined($ENV{'form.showallfoils'})) { |
my ($symb)=&Apache::lonxml::whichuser(); |
my ($symb)=&Apache::lonxml::whichuser(); |
if ($ENV{'request.state'} eq 'construct' || |
if (($ENV{'request.state'} eq 'construct') || |
$ENV{'user.adv'} ) { |
($ENV{'user.adv'} && $symb eq '') || |
|
($Apache::lonhomework::viewgrades) ) { |
return 1; |
return 1; |
} |
} |
} |
} |