MDL-14079, improve UI consistency, merged from MOODLE_19_STABLE

This commit is contained in:
dongsheng
2008-04-08 03:49:58 +00:00
parent 1b3fca2a47
commit b9837ddfba
+2 -2
View File
@@ -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 = " <img src=\"{$CFG->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)
. ': <a href="'.$CFG->wwwroot.'/user/view.php?id='.$ra->user->id.'&amp;course='.SITEID.'">'
. $fullname . '</a>';
. $fullname . '</a>' . $status;
}
}
}