Skip to content

Commit

Permalink
groups MDL-22517 Fixed up pagelayout, heading, and navbar on groups i…
Browse files Browse the repository at this point in the history
…ndex page
  • Loading branch information
Sam Hemelryk committed May 20, 2010
1 parent aa12fe5 commit 5a47767
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions group/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,12 +126,10 @@
$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
Expand Down

0 comments on commit 5a47767

Please sign in to comment.