Merge branch 'MDL-28469' of git://github.com/timhunt/moodle

This commit is contained in:
Eloy Lafuente (stronk7)
2011-10-05 01:13:57 +02:00
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();