mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
The site_main_menu block is working with the new filterall style.
This commit is contained in:
parent
c3cb9fb9a7
commit
0c75bc8c3d
@ -91,9 +91,7 @@ class block_site_main_menu extends block_list {
|
||||
$this->content->icons[] = '';
|
||||
}
|
||||
$instancename = urldecode($modinfo[$modnumber]->name);
|
||||
if (!empty($CFG->filterall)) {
|
||||
$instancename = filter_text('<nolink>'.$instancename.'</nolink>', $this->instance->pageid);
|
||||
}
|
||||
$instancename = format_string($instancename, true, $this->instance->pageid);
|
||||
$linkcss = $mod->visible ? '' : ' class="dimmed" ';
|
||||
if (!empty($modinfo[$modnumber]->extra)) {
|
||||
$extra = urldecode($modinfo[$modnumber]->extra);
|
||||
|
Loading…
x
Reference in New Issue
Block a user