MDL-28469 quiz settings pages should be pagelayout admin.

This commit is contained in:
Tim Hunt
2011-10-03 16:38:59 +01:00
parent 3973662145
commit 8f40d27954
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -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);
+1
View File
@@ -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();
+1
View File
@@ -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();