If the user has hidden role assignments, the icon should be the closed eye. MDL-13935

This commit is contained in:
stronk7
2008-03-24 22:04:37 +00:00
parent 6f5d60121b
commit be24cfe9c2
+1 -1
View File
@@ -606,7 +606,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 = '';
}