mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
The site_main_menu block is working with the new filterall style.
This commit is contained in:
parent
c3cb9fb9a7
commit
0c75bc8c3d
1 changed files with 1 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue