MDL-35187 groups Adding admin pagelayout to group members edition

This commit is contained in:
David Monllao 2012-10-03 14:40:22 +08:00
parent fcdd35d0fc
commit d91750bc5a

View 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);