mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-41564 folder resource: fix page heading levels
This commit is contained in:
parent
3b42864d65
commit
7265e7c784
@ -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();
|
||||
|
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user