]> git.mjollnir.org Git - moodle.git/commitdiff
If the user has hidden role assignments, the icon should be the closed eye. MDL-13935...
authorstronk7 <stronk7>
Mon, 24 Mar 2008 22:05:42 +0000 (22:05 +0000)
committerstronk7 <stronk7>
Mon, 24 Mar 2008 22:05:42 +0000 (22:05 +0000)
user/index.php

index ab1bccc1b4016b2812f049e34f7d0f9c418f9b40..61ce1c08d7ca7cc14e41e1fdb0aa6dc3093a96fa 100644 (file)
                 $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 = '';
                 }