Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Forum Overview MDL-26957 add classes to allow better control by theme

  • Loading branch information...
commit 9a8f8cea494b84a5666bc061efbd0df903df9fcd 1 parent c37f035
@danmarsden danmarsden authored samhemelryk committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 mod/forum/lib.php
View
6 mod/forum/lib.php
@@ -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>';
}
Please sign in to comment.
Something went wrong with that request. Please try again.