mirror of
https://github.com/moodle/moodle.git
synced 2025-04-15 05:25:08 +02:00
groups MDL-22517 Fixed up pagelayout, heading, and navbar on groups index page
This commit is contained in:
parent
aa12fe56d9
commit
5a47767cc5
@ -126,12 +126,10 @@ switch ($action) {
|
||||
$strgroups = get_string('groups');
|
||||
$strparticipants = get_string('participants');
|
||||
|
||||
$PAGE->navbar->add($strparticipants, new moodle_url('/user/index.php', array('id'=>$courseid)));
|
||||
$PAGE->navbar->add($strgroups);
|
||||
|
||||
/// Print header
|
||||
$PAGE->set_title($strgroups);
|
||||
$PAGE->set_heading(': '.$strgroups);
|
||||
$PAGE->set_heading($course->fullname);
|
||||
$PAGE->set_pagelayout('incourse');
|
||||
echo $OUTPUT->header();
|
||||
|
||||
// Add tabs
|
||||
|
Loading…
x
Reference in New Issue
Block a user