From: dongsheng Date: Tue, 8 Apr 2008 03:49:58 +0000 (+0000) Subject: MDL-14079, improve UI consistency, merged from MOODLE_19_STABLE X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=b9837ddfbabbd85a3c598474bd08efb335fa5fff;p=moodle.git MDL-14079, improve UI consistency, merged from MOODLE_19_STABLE --- diff --git a/course/lib.php b/course/lib.php index 13dd31dac4..a1325baef9 100644 --- a/course/lib.php +++ b/course/lib.php @@ -1878,7 +1878,7 @@ function print_course($course) { if ($ra->hidden == 0 || $canseehidden) { $fullname = fullname($ra->user, $canviewfullnames); if($ra->hidden == 1){ - $fullname .= ' ('.get_string('hiddenassign').')'; + $status = " pixpath}/t/show.gif\" title=\"".get_string('userhashiddenassignments', 'role')."\" alt=\"".get_string('hiddenassign')."\" class=\"hide-show-image\"/>"; } if (isset($aliasnames[$ra->roleid])) { @@ -1887,7 +1887,7 @@ function print_course($course) { $namesarray[] = format_string($ra->rolename) . ': ' - . $fullname . ''; + . $fullname . '' . $status; } } }