Merge branch 'MDL-41798' of git://github.com/rwijaya/moodle
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Tue, 1 Oct 2013 22:26:20 +0000 (00:26 +0200)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Tue, 1 Oct 2013 22:26:20 +0000 (00:26 +0200)
mod/imscp/index.php
mod/imscp/view.php

index 53505da..db50669 100644 (file)
@@ -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");
index 7b59b0b..df749ab 100644 (file)
@@ -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) {