mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 08:22:07 +02:00
MDL-41798 imscp module: fix heading levels.
This commit is contained in:
parent
7f3836d15a
commit
43601cdf73
@ -47,6 +47,7 @@ $PAGE->set_title($course->shortname.': '.$strimscps);
|
||||
$PAGE->set_heading($course->fullname);
|
||||
$PAGE->navbar->add($strimscps);
|
||||
echo $OUTPUT->header();
|
||||
echo $OUTPUT->heading($strimscps);
|
||||
|
||||
if (!$imscps = get_all_instances_in_course('imscp', $course)) {
|
||||
notice(get_string('thereareno', 'moodle', $strimscps), "$CFG->wwwroot/course/view.php?id=$course->id");
|
||||
|
@ -67,6 +67,7 @@ $PAGE->set_title($course->shortname.': '.$imscp->name);
|
||||
$PAGE->set_heading($course->fullname);
|
||||
$PAGE->set_activity_record($imscp);
|
||||
echo $OUTPUT->header();
|
||||
echo $OUTPUT->heading(format_string($imscp->name));
|
||||
|
||||
// verify imsmanifest was parsed properly
|
||||
if (!$imscp->structure) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user