Permalink
Browse files

MDL-28469 quiz settings pages should be pagelayout admin.

  • Loading branch information...
1 parent 690ef50 commit 2602c1ce4437b27a4cceb64fc18314104f2738e2 @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
View
1 mod/quiz/overridedelete.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);
View
1 mod/quiz/overrideedit.php
@@ -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
1 mod/quiz/overrides.php
@@ -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 2602c1c

Please sign in to comment.