MDL-35187 groups Adding admin pagelayout to group members edition
authorDavid Monllao <davidm@moodle.com>
Wed, 3 Oct 2012 06:40:22 +0000 (14:40 +0800)
committerDavid Monllao <davidm@moodle.com>
Wed, 3 Oct 2012 06:40:22 +0000 (14:40 +0800)
group/members.php

index a8b74ef..9a013bd 100644 (file)
@@ -35,7 +35,7 @@ $group = $DB->get_record('groups', array('id'=>$groupid), '*', MUST_EXIST);
 $course = $DB->get_record('course', array('id'=>$group->courseid), '*', MUST_EXIST);
 
 $PAGE->set_url('/group/members.php', array('group'=>$groupid));
-$PAGE->set_pagelayout('standard');
+$PAGE->set_pagelayout('admin');
 
 require_login($course);
 $context = context_course::instance($course->id);