If the user has hidden role assignments, the icon should be the closed eye. MDL-13935 ; merged from 19_STABLE

This commit is contained in:
stronk7
2008-03-24 22:05:42 +00:00
parent 80452dc333
commit 68c85775d5
+1 -1
View File
@@ -681,7 +681,7 @@
$user = make_context_subobj($user);
if ( !empty($user->hidden) ) {
// if the assignment is hidden, display icon
$hidden = " <img src=\"{$CFG->pixpath}/t/hide.gif\" alt=\"".get_string('hiddenassign')."\" class=\"hide-show-image\"/>";
$hidden = " <img src=\"{$CFG->pixpath}/t/show.gif\" title=\"".get_string('userhashiddenassignments', 'role')."\" alt=\"".get_string('hiddenassign')."\" class=\"hide-show-image\"/>";
} else {
$hidden = '';
}