version 1.114, 2013/10/21 22:34:33
|
version 1.115, 2013/11/03 18:58:05
|
Line 600 sub display_actions_box {
|
Line 600 sub display_actions_box {
|
} |
} |
my $classlist; |
my $classlist; |
if ($show{'oldroles'} || $show{'newroles'} || $show{'crslogin'}) { |
if ($show{'oldroles'} || $show{'newroles'} || $show{'crslogin'}) { |
$classlist = &Apache::loncoursedata::get_classlist(); |
$classlist = &Apache::loncoursedata::get_classlist(); |
} |
} |
if ($show{'coursenormalmail'}) { |
if ($show{'coursenormalmail'}) { |
$msgcount = &getnormalmail(\@newmsgs); |
$msgcount = &getnormalmail(\@newmsgs); |
Line 1866 sub display_crslogins {
|
Line 1866 sub display_crslogins {
|
my $udom = $user->{'udom'}; |
my $udom = $user->{'udom'}; |
my $fullname; |
my $fullname; |
if (ref($classlist->{$uname.':'.$udom}) eq 'ARRAY') { |
if (ref($classlist->{$uname.':'.$udom}) eq 'ARRAY') { |
$fullname = $classlist->{$user}->[$fullnameidx]; |
$fullname = $classlist->{$uname.':'.$udom}->[$fullnameidx]; |
} else { |
} else { |
$fullname = &Apache::loncommon::plainname($uname,$udom,'lastname'); |
$fullname = &Apache::loncommon::plainname($uname,$udom,'lastname'); |
} |
} |