MDL-28469 quiz settings pages should be pagelayout admin.
This commit is contained in:
@@ -78,6 +78,7 @@ $stroverride = get_string('override', 'quiz');
|
||||
$title = get_string('deletecheck', null, $stroverride);
|
||||
|
||||
$PAGE->set_url($url);
|
||||
$PAGE->set_pagelayout('admin');
|
||||
$PAGE->navbar->add($title);
|
||||
$PAGE->set_title($title);
|
||||
$PAGE->set_heading($course->fullname);
|
||||
|
||||
@@ -191,6 +191,7 @@ if ($mform->is_cancelled()) {
|
||||
|
||||
$pagetitle = get_string('editoverride', 'quiz');
|
||||
$PAGE->navbar->add($pagetitle);
|
||||
$PAGE->set_pagelayout('admin');
|
||||
$PAGE->set_title($pagetitle);
|
||||
$PAGE->set_heading($course->fullname);
|
||||
echo $OUTPUT->header();
|
||||
|
||||
@@ -70,6 +70,7 @@ require_capability('mod/quiz:manageoverrides', $context);
|
||||
|
||||
// Display a list of overrides
|
||||
|
||||
$PAGE->set_pagelayout('admin');
|
||||
$PAGE->set_title(get_string('overrides', 'quiz'));
|
||||
$PAGE->set_heading($course->fullname);
|
||||
echo $OUTPUT->header();
|
||||
|
||||
Reference in New Issue
Block a user