version 1.49.6.8.2.4, 2023/10/06 20:36:59
|
version 1.49.6.8.2.5, 2024/01/05 19:50:32
|
Line 215 ENDCLOSE
|
Line 215 ENDCLOSE
|
$nostdtotals = 1; |
$nostdtotals = 1; |
} elsif ($hidetotals ne '') { |
} elsif ($hidetotals ne '') { |
my $usec; |
my $usec; |
if (($uname eq $env{'user.name'}) && ($env{'user.domain'})) { |
if ($cangrade) { |
$usec = $env{'request.user.section'}; |
if (($uname eq $env{'user.name'}) && ($udom eq $env{'user.domain'})) { |
} elsif ($cangrade) { |
$usec = $env{'request.course.sec'}; |
$usec = &Apache::lonnet::getsection($udom,$uname,$env{'request.course.id'}); |
} else { |
|
$usec = &Apache::lonnet::getsection($udom,$uname,$env{'request.course.id'}); |
|
} |
|
} else { |
|
$usec = $env{'request.course.sec'}; |
} |
} |
if ($usec ne '') { |
if ($usec ne '') { |
my %secnototals; |
my %secnototals; |