Merge branch 'm20_MDL-26957_forum_overview' of git://github.com/danmarsden/moodle

This commit is contained in:
Sam Hemelryk
2011-03-28 16:10:39 +08:00
+3 -3
View File
@@ -1291,10 +1291,10 @@ function forum_print_overview($courses,&$htmlarray) {
if ($count > 0 || $thisunread > 0) {
$str .= '<div class="overview forum"><div class="name">'.$strforum.': <a title="'.$strforum.'" href="'.$CFG->wwwroot.'/mod/forum/view.php?f='.$forum->id.'">'.
$forum->name.'</a></div>';
$str .= '<div class="info">';
$str .= $count.' '.$strnumpostssince;
$str .= '<div class="info"><span class="postsincelogin">';
$str .= $count.' '.$strnumpostssince."</span>";
if (!empty($showunread)) {
$str .= '<br />'.$thisunread .' '.$strnumunread;
$str .= '<div class="unreadposts">'.$thisunread .' '.$strnumunread.'</div>';
}
$str .= '</div></div>';
}