Skip to content

Commit

Permalink
Forum Overview MDL-26957 add classes to allow better control by theme
Browse files Browse the repository at this point in the history
  • Loading branch information
danmarsden authored and Sam Hemelryk committed Mar 28, 2011
1 parent c37f035 commit 9a8f8ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mod/forum/lib.php
Expand Up @@ -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>';
}
Expand Down

0 comments on commit 9a8f8ce

Please sign in to comment.