Permalink
Browse files

MDL-28469 quiz settings pages should be pagelayout admin.

  • Loading branch information...
1 parent 3973662 commit 8f40d27954cdabab1984591e0ff53ea78f6adb44 @timhunt timhunt committed Oct 3, 2011
Showing with 3 additions and 0 deletions.
  1. +1 −0 mod/quiz/overridedelete.php
  2. +1 −0 mod/quiz/overrideedit.php
  3. +1 −0 mod/quiz/overrides.php
@@ -78,6 +78,7 @@
$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 @@
$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();
View
@@ -70,6 +70,7 @@
// Display a list of overrides
+$PAGE->set_pagelayout('admin');
$PAGE->set_title(get_string('overrides', 'quiz'));
$PAGE->set_heading($course->fullname);
echo $OUTPUT->header();

0 comments on commit 8f40d27

Please sign in to comment.