version 1.114, 2013/10/21 22:34:33
|
version 1.116, 2013/12/04 16:26:54
|
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 799 function toggle_countunread(choice) {
|
Line 799 function toggle_countunread(choice) {
|
.'<br />' |
.'<br />' |
.&mt("This can increase the time taken to gather data for the [_1]What's New Page[_2] by a few seconds.",'<i>','</i>') |
.&mt("This can increase the time taken to gather data for the [_1]What's New Page[_2] by a few seconds.",'<i>','</i>') |
.' ' |
.' ' |
.&mt('Currently set to [_1].','<b>'.$current.'</b>.') |
.&mt('Currently set to [_1].','<b>'.$current.'</b>') |
); |
); |
$r->print('<br /><br /> |
$r->print('<br /><br /> |
<form method="post" name="discussionswitch" action="/adm/whatsnew"> |
<form method="post" name="discussionswitch" action="/adm/whatsnew"> |
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'); |
} |
} |