From 1780d87b5342de1c00857fb14c1582523dae9102 Mon Sep 17 00:00:00 2001 From: dongsheng Date: Fri, 4 Apr 2008 06:41:54 +0000 Subject: [PATCH] MDL-14079, add "Hidden" string after the hidden teacher, thanks Mathieu --- course/lib.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/course/lib.php b/course/lib.php index 11f1259344..13dd31dac4 100644 --- a/course/lib.php +++ b/course/lib.php @@ -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; -- 2.39.5