mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
"MDL-22112, format module intro by format_module_intro"
This commit is contained in:
parent
5f271bd9c8
commit
6aa931edb3
@ -239,7 +239,8 @@ class mod_wiki_renderer extends plugin_renderer_base {
|
||||
return $output;
|
||||
}
|
||||
public function wiki_info() {
|
||||
return $this->output->box($this->page->activityrecord->intro, 'generalbox', 'intro');
|
||||
global $PAGE;
|
||||
return $this->output->box(format_module_intro('wiki', $this->page->activityrecord, $PAGE->cm->id), 'generalbox', 'intro');
|
||||
}
|
||||
public function tabs($page, $tabitems, $options) {
|
||||
global $CFG;
|
||||
|
Loading…
x
Reference in New Issue
Block a user