From 5a47767cc5ee4408b7cd25c867aee4147b502762 Mon Sep 17 00:00:00 2001 From: Sam Hemelryk Date: Thu, 20 May 2010 03:16:50 +0000 Subject: [PATCH] groups MDL-22517 Fixed up pagelayout, heading, and navbar on groups index page --- group/index.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/group/index.php b/group/index.php index df73633f772..50c1ae03cba 100644 --- a/group/index.php +++ b/group/index.php @@ -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