]> git.mjollnir.org Git - moodle.git/commitdiff
Merge participant count from stable
authormoodler <moodler>
Tue, 31 Oct 2006 01:21:48 +0000 (01:21 +0000)
committermoodler <moodler>
Tue, 31 Oct 2006 01:21:48 +0000 (01:21 +0000)
user/index.php

index ca064cc62307a707d08f74abca02ef362c1802e6..654bbb406a50c7153f731f62d1569040a228a07c 100644 (file)
         }
         print_heading($heading, 'center', 3);
     } else {
-        print_heading(get_string('allparticipants'), 'center', 3);
+        if ($matchcount < $totalcount) {
+            print_heading(get_string('allparticipants').': '.$matchcount.'/'.$totalcount, 'center', 3);
+        } else {
+            print_heading(get_string('allparticipants').': '.$matchcount, 'center', 3);
+        }
     }