Merge branch 'MDL-31822_28' of https://github.com/dmonllao/moodle into MOODLE_28_STABLE

This commit is contained in:
Eloy Lafuente (stronk7)
2014-12-09 16:12:24 +01:00
+10
View File
@@ -131,6 +131,16 @@
}
$context = context_course::instance(SITEID);
// If the section name is set we show it.
if (!is_null($section->name)) {
echo $OUTPUT->heading(
format_string($section->name, true, array('context' => $context)),
2,
'sectionname'
);
}
$summarytext = file_rewrite_pluginfile_urls($section->summary, 'pluginfile.php', $context->id, 'course', 'section', $section->id);
$summaryformatoptions = new stdClass();
$summaryformatoptions->noclean = true;