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

This commit is contained in:
David Balch 2012-02-29 10:03:13 +00:00 committed by David Monllao
parent 2d84748c26
commit a7aae18cf6

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();