Forum Overview MDL-26957 add classes to allow better control by theme
This commit is contained in:
committed by
Sam Hemelryk
parent
c37f03543b
commit
9a8f8cea49
+3
-3
@@ -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>';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user