From: dongsheng <dongsheng> Date: Fri, 4 Apr 2008 06:41:54 +0000 (+0000) Subject: MDL-14079, add "Hidden" string after the hidden teacher, thanks Mathieu X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=1780d87b5342de1c00857fb14c1582523dae9102;p=moodle.git MDL-14079, add "Hidden" string after the hidden teacher, thanks Mathieu --- 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;