mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
MDL-14079, add "Hidden" string after the hidden teacher, thanks Mathieu
This commit is contained in:
parent
87ef4c00e2
commit
1780d87b53
@ -1877,6 +1877,9 @@ function print_course($course) {
|
||||
foreach ($rusers as $ra) {
|
||||
if ($ra->hidden == 0 || $canseehidden) {
|
||||
$fullname = fullname($ra->user, $canviewfullnames);
|
||||
if($ra->hidden == 1){
|
||||
$fullname .= ' ('.get_string('hiddenassign').')';
|
||||
}
|
||||
|
||||
if (isset($aliasnames[$ra->roleid])) {
|
||||
$ra->rolename = $aliasnames[$ra->roleid]->name;
|
||||
|
Loading…
x
Reference in New Issue
Block a user