FIxed some missing headers
This commit is contained in:
@@ -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, " ", navmenu($course));
|
||||
notice(get_string('sitepartlist1'));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user