Skip to content

Commit

Permalink
MDL-22903 Thanks for the catch about groupings on front page, Paul Ni…
Browse files Browse the repository at this point in the history
…cholls!
  • Loading branch information
moodler committed Jul 21, 2010
1 parent 8dcf888 commit b3b41f3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions group/groupings.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,10 @@
$strgroupings = get_string('groupings', 'group');
$struses = get_string('activities');
$strparticipants = get_string('participants');
$strmanagegrping = get_String('showgroupsingrouping', 'group');
$strmanagegrping = get_string('showgroupsingrouping', 'group');

$PAGE->settingsnav->get('courseadmin')->get('users')->get('groups')->make_active();
$basemenu = ($course->id == SITEID) ? 'frontpage' : 'courseadmin';
$PAGE->settingsnav->get($basemenu)->get('users')->get('groups')->make_active();
$PAGE->navbar->add($strgroupings);

/// Print header
Expand Down
3 changes: 2 additions & 1 deletion group/overview.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@
$rs->close();
}

$PAGE->settingsnav->get('courseadmin')->get('users')->get('groups')->make_active();
$basemenu = ($course->id == SITEID) ? 'frontpage' : 'courseadmin';
$PAGE->settingsnav->get($basemenu)->get('users')->get('groups')->make_active();
$PAGE->navbar->add(get_string('overview', 'group'));

/// Print header
Expand Down

0 comments on commit b3b41f3

Please sign in to comment.