mirror of
https://github.com/moodle/moodle.git
synced 2025-04-16 05:54:19 +02:00
MDL-31822 course: Show custom Section name on Front page.
This commit is contained in:
parent
2d84748c26
commit
a7aae18cf6
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user