mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
Merged header fix from stable
This commit is contained in:
parent
08cf9e250d
commit
c1edf72575
@ -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'));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user