echo "<p $teacheronly><font size=1>$date - $fullname<br>";
echo "\"<a href=\"$CFG->wwwroot/mod/forum/$log->url\">";
if (!empty($CFG->filterall)) {
- $post->subject = filter_text($post->subject, $course->id);
+ $post->subject = filter_text("<nolink>$post->subject</nolink>", $course->id);
}
if ($log->action == "add discussion") {
echo "<b>$post->subject</b>";
}
if (!empty($CFG->filterall)) { /// Put the subject through the filters
- $post->subject = filter_text($post->subject, $courseid);
+ $post->subject = filter_text("<nolink>$post->subject</nolink>", $courseid);
}
echo "<p>";
echo "<font size=3><b>$post->subject</b></font><br />";
global $THEME, $USER, $CFG;
if (!empty($CFG->filterall)) {
- $post->subject = filter_text($post->subject, $courseid);
+ $post->subject = filter_text("<nolink>$post->subject</nolink>", $courseid);
}
echo "<tr class=\"forumpostheader\">";