mirror of
https://github.com/moodle/moodle.git
synced 2025-01-29 19:50:14 +01:00
Now activities names in course main page support filterall.
This commit is contained in:
parent
5847b26744
commit
a92d95b1de
@ -972,9 +972,7 @@ function print_section($course, $section, $mods, $modnamesused, $absolute=false,
|
||||
';
|
||||
}
|
||||
$instancename = urldecode($modinfo[$modnumber]->name);
|
||||
if (!empty($CFG->filterall)) {
|
||||
$instancename = filter_text("<nolink>$instancename</nolink>", $course->id);
|
||||
}
|
||||
$instancename = format_string($instancename, true, $course->id);
|
||||
|
||||
if (!empty($modinfo[$modnumber]->extra)) {
|
||||
$extra = urldecode($modinfo[$modnumber]->extra);
|
||||
|
Loading…
x
Reference in New Issue
Block a user