MDL-25860 adding missing blocks to groupings page
authorPetr Skoda <commits@skodak.org>
Fri, 14 Jan 2011 09:41:12 +0000 (10:41 +0100)
committerPetr Skoda <commits@skodak.org>
Fri, 14 Jan 2011 09:41:12 +0000 (10:41 +0100)
group/assign.php

index 41130b5..8e91578 100644 (file)
@@ -115,6 +115,9 @@ $straddgroupstogroupings = get_string('addgroupstogroupings', 'group');
 
 $groupingname = format_string($grouping->name);
 
+navigation_node::override_active_url(new moodle_url('/group/index.php', array('id'=>$course->id)));
+$PAGE->set_pagelayout('standard');
+
 $PAGE->navbar->add($strparticipants, new moodle_url('/user/index.php', array('id'=>$courseid)));
 $PAGE->navbar->add($strgroups, new moodle_url('/group/index.php', array('id'=>$courseid)));
 $PAGE->navbar->add($straddgroupstogroupings);