Commit 4562ea0b authored by Andrew Nicols's avatar Andrew Nicols
Browse files

MDL-71610 gradereport_grader: Specify the pagelayout for grader report

parent 1146c692
......@@ -45,6 +45,7 @@ $graderreportsilast = optional_param('silast', null, PARAM_NOTAGS);
$PAGE->set_url(new moodle_url('/grade/report/grader/index.php', array('id'=>$courseid)));
$PAGE->requires->yui_module('moodle-gradereport_grader-gradereporttable', 'Y.M.gradereport_grader.init', null, null, true);
$PAGE->set_pagelayout('report');
// basic access checks
if (!$course = $DB->get_record('course', array('id' => $courseid))) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment