Now course/recent.php is workink with filterall.

This commit is contained in:
stronk7 2005-04-02 10:10:07 +00:00
parent a068498c5d
commit 235a4ee8c8
2 changed files with 2 additions and 2 deletions

View File

@ -92,7 +92,7 @@ function print_recent_selector_form($course, $advancedfilter=0, $selecteduser=0,
$activities["section/$mod->section"] = "-------------- $strsection $mod->section --------------";
}
$section = $mod->section;
$mod->name = strip_tags(urldecode($mod->name));
$mod->name = strip_tags(format_string(urldecode($mod->name),true));
if (strlen($mod->name) > 55) {
$mod->name = substr($mod->name, 0, 50)."...";
}

View File

@ -272,7 +272,7 @@
echo "<ul><h4>$image " . $activity->content->modfullname .
" <a href=\"$CFG->wwwroot/mod/" . $activity->content->modname . "/view.php?" .
"id=" . $activity->content->modid . "\" $linkformat>" .
$activity->name . "</a></h4></ul>";
format_string($activity->name,true) . "</a></h4></ul>";
}
} else {