mirror of
https://github.com/moodle/moodle.git
synced 2025-03-10 18:59:55 +01:00
MDL-26562
This commit is contained in:
parent
4f7f2a8828
commit
5429460127
@ -300,8 +300,8 @@ $string['oldpostdays'] = 'Read after days';
|
||||
$string['openmode0'] = 'No discussions, no replies';
|
||||
$string['openmode1'] = 'No discussions, but replies are allowed';
|
||||
$string['openmode2'] = 'Discussions and replies are allowed';
|
||||
$string['overviewnumpostssince'] = 'posts since last login';
|
||||
$string['overviewnumunread'] = 'total unread';
|
||||
$string['overviewnumpostssince'] = '{$a} posts since last login';
|
||||
$string['overviewnumunread'] = '{$a} total unread';
|
||||
$string['page-mod-forum-x'] = 'Any forum module page';
|
||||
$string['page-mod-forum-view'] = 'Forum module main page';
|
||||
$string['page-mod-forum-discuss'] = 'Forum module discussion thread page';
|
||||
|
@ -1306,8 +1306,6 @@ function forum_print_overview($courses,&$htmlarray) {
|
||||
}
|
||||
|
||||
$strforum = get_string('modulename','forum');
|
||||
$strnumunread = get_string('overviewnumunread','forum');
|
||||
$strnumpostssince = get_string('overviewnumpostssince','forum');
|
||||
|
||||
foreach ($forums as $forum) {
|
||||
$str = '';
|
||||
@ -1326,9 +1324,9 @@ function forum_print_overview($courses,&$htmlarray) {
|
||||
$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"><span class="postsincelogin">';
|
||||
$str .= $count.' '.$strnumpostssince."</span>";
|
||||
$str .= get_string('overviewnumpostssince', 'forum', $count)."</span>";
|
||||
if (!empty($showunread)) {
|
||||
$str .= '<div class="unreadposts">'.$thisunread .' '.$strnumunread.'</div>';
|
||||
$str .= '<div class="unreadposts">'.get_string('overviewnumunread', 'forum', $thisunread).'</div>';
|
||||
}
|
||||
$str .= '</div></div>';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user