Now activities names in course main page support filterall.

This commit is contained in:
stronk7 2005-03-26 11:59:53 +00:00
parent 5847b26744
commit a92d95b1de

View File

@ -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);