Merged header fix from stable

This commit is contained in:
moodler 2006-06-19 13:38:17 +00:00
parent 08cf9e250d
commit c1edf72575

View File

@ -28,9 +28,13 @@
if (!$course->category) {
if (!$CFG->showsiteparticipantslist and !isteacher(SITEID)) {
print_header("$course->shortname: ".get_string('participants'), $course->fullname,
get_string('participants'), "", "", true, " ", navmenu($course));
notice(get_string('sitepartlist0'));
}
if ($CFG->showsiteparticipantslist < 2 and !isteacherinanycourse()) {
print_header("$course->shortname: ".get_string('participants'), $course->fullname,
get_string('participants'), "", "", true, "&nbsp;", navmenu($course));
notice(get_string('sitepartlist1'));
}
}