Changes for XHTML compatibility
This commit is contained in:
+5
-3
@@ -581,12 +581,14 @@ function print_recent_activity($course) {
|
||||
}
|
||||
}
|
||||
|
||||
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?
|
||||
|
||||
@@ -305,7 +305,7 @@ function assignment_print_recent_activity($course, $isteacher, $timestart) {
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -721,7 +721,7 @@ function forum_print_recent_activity($course, $isteacher, $timestart) {
|
||||
$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);
|
||||
|
||||
Reference in New Issue
Block a user