From b9837ddfbabbd85a3c598474bd08efb335fa5fff Mon Sep 17 00:00:00 2001 From: dongsheng Date: Tue, 8 Apr 2008 03:49:58 +0000 Subject: [PATCH] MDL-14079, improve UI consistency, merged from MOODLE_19_STABLE --- course/lib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } } } -- 2.39.5