MDL-31822 course: Show custom Section name on Front page.

This commit is contained in:
David Balch
2014-12-08 09:01:01 +08:00
committed by David Monllao
parent 2d84748c26
commit a7aae18cf6
+4
View File
@@ -130,6 +130,10 @@
echo '</font></p>';
}
if (!is_null($section->name)) {
echo $OUTPUT->heading($section->name, 1, 'sectionname');
}
$context = context_course::instance(SITEID);
$summarytext = file_rewrite_pluginfile_urls($section->summary, 'pluginfile.php', $context->id, 'course', 'section', $section->id);
$summaryformatoptions = new stdClass();