MDL-41564 folder resource: fix page heading levels

This commit is contained in:
Rossiani Wijaya 2013-09-03 15:40:43 +08:00
parent 3b42864d65
commit 7265e7c784
2 changed files with 2 additions and 0 deletions

View File

@ -69,6 +69,7 @@ if ($mform->is_cancelled()) {
}
echo $OUTPUT->header();
echo $OUTPUT->heading(format_string($folder->name));
echo $OUTPUT->box_start('generalbox foldertree');
$mform->display();
echo $OUTPUT->box_end();

View File

@ -47,6 +47,7 @@ $PAGE->set_title($course->shortname.': '.$strfolders);
$PAGE->set_heading($course->fullname);
$PAGE->navbar->add($strfolders);
echo $OUTPUT->header();
echo $OUTPUT->heading($strfolders);
if (!$folders = get_all_instances_in_course('folder', $course)) {
notice(get_string('thereareno', 'moodle', $strfolders), "$CFG->wwwroot/course/view.php?id=$course->id");