MDL-18910 full support for module intro editor with embedded images

This commit is contained in:
skodak 2009-04-22 04:31:54 +00:00
parent 26c9ecb05f
commit b4950d9649
4 changed files with 4 additions and 22 deletions

View file

@ -316,7 +316,7 @@
if ($data->intro and empty($page) and empty($record) and $mode != 'single') {
$options = new object();
$options->noclean = true;
print_box(format_text($data->intro, $data->introformat, $options), 'generalbox', 'intro');
print_box(format_module_intro('data', $data, $cm->id), 'generalbox', 'intro');
}
/// Delete any requested records