From: moodler Date: Fri, 13 Jul 2007 03:05:17 +0000 (+0000) Subject: Merged "no posts" string fix from stable X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=4d46304821413ceaa0c85abfca5d440106a3fce1;p=moodle.git Merged "no posts" string fix from stable --- diff --git a/mod/forum/user.php b/mod/forum/user.php index a346ca38c4..39b537a53e 100644 --- a/mod/forum/user.php +++ b/mod/forum/user.php @@ -123,7 +123,11 @@ print_paging_bar($totalcount, $page, $perpage, "user.php?id=$user->id&course=$course->id&mode=$mode&perpage=$perpage&"); } else { - print_heading(get_string('nodiscussionsstartedby', 'forum')); + if ($mode == 'posts') { + print_heading(get_string('noposts', 'forum')); + } else { + print_heading(get_string('nodiscussionsstartedby', 'forum')); + } } echo ''; print_footer($course);