groups MDL-22517 Fixed up pagelayout, heading, and navbar on groups index page
This commit is contained in:
+2
-4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user