}
}
- echo '<center><font size="1">';
+ echo '<div class="activitydate">';
echo get_string("activitysince", "", userdate($timestart));
+ echo '</div>';
+ echo '<div class="activityhead">';
- echo '<p><a href="'.$CFG->wwwroot.'/course/recent.php?id='.$course->id.'">'.get_string('recentactivityreport').'</a></p>';
+ echo '<a href="'.$CFG->wwwroot.'/course/recent.php?id='.$course->id.'">'.get_string('recentactivityreport').'</a>';
- echo '</font></center>';
+ echo '</div>';
// Firstly, have there been any new enrolments?
if ($modvisible) {
$assignments[$log->info] = assignment_log_info($log);
$assignments[$log->info]->time = $log->time;
- $assignments[$log->info]->url = $log->url;
+ $assignments[$log->info]->url = str_replace('&', '&', $log->url);
}
}
$date = userdate($post->modified, $strftimerecent);
$fullname = fullname($post, $isteacher);
echo "<p $teacheronly><font size=\"1\">$date - $fullname<br />";
- echo "\"<a href=\"$CFG->wwwroot/mod/forum/$log->url\">";
+ echo "\"<a href=\"$CFG->wwwroot/mod/forum/".str_replace('&', '&', $log->url)."\">";
$post->subject = break_up_long_words($post->subject);
if (!empty($CFG->filterall)) {
$post->subject = filter_text("<nolink>$post->subject</nolink>", $course->id);