groups MDL-22517 Fixed up pagelayout, heading, and navbar on groups index page

This commit is contained in:
Sam Hemelryk 2010-05-20 03:16:50 +00:00
parent aa12fe56d9
commit 5a47767cc5

View File

@ -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