]> git.mjollnir.org Git - moodle.git/commitdiff
Merged "no posts" string fix from stable
authormoodler <moodler>
Fri, 13 Jul 2007 03:05:17 +0000 (03:05 +0000)
committermoodler <moodler>
Fri, 13 Jul 2007 03:05:17 +0000 (03:05 +0000)
mod/forum/user.php

index a346ca38c41b32e30787817a959048aacaa72cd7..39b537a53efd90e491cc29f50c80b29411f18529 100644 (file)
         print_paging_bar($totalcount, $page, $perpage, 
                          "user.php?id=$user->id&amp;course=$course->id&amp;mode=$mode&amp;perpage=$perpage&amp;");
     } else {
-        print_heading(get_string('nodiscussionsstartedby', 'forum'));
+        if ($mode == 'posts') {
+            print_heading(get_string('noposts', 'forum'));
+        } else {
+            print_heading(get_string('nodiscussionsstartedby', 'forum'));
+        }
     }
     echo '</div>';
     print_footer($course);