MDL-14079, add "Hidden" string after the hidden teacher, thanks Mathieu

This commit is contained in:
dongsheng 2008-04-04 06:41:54 +00:00
parent 87ef4c00e2
commit 1780d87b53

View File

@ -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;