Skip to content

Commit

Permalink
MDL-28469 quiz settings pages should be pagelayout admin.
Browse files Browse the repository at this point in the history
  • Loading branch information
timhunt committed Oct 3, 2011
1 parent 3973662 commit 8f40d27
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions mod/quiz/overridedelete.php
Expand Up @@ -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);
Expand Down
1 change: 1 addition & 0 deletions mod/quiz/overrideedit.php
Expand Up @@ -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();
Expand Down
1 change: 1 addition & 0 deletions mod/quiz/overrides.php
Expand Up @@ -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();
Expand Down

0 comments on commit 8f40d27

Please sign in to comment.