]> git.mjollnir.org Git - moodle.git/commitdiff
Simplified display - less unnecessary clutter
authormoodler <moodler>
Mon, 14 Apr 2003 02:52:11 +0000 (02:52 +0000)
committermoodler <moodler>
Mon, 14 Apr 2003 02:52:11 +0000 (02:52 +0000)
user/index.php

index 40ecea023291bcaa32d128d73910ddb58c1be6b2..d5a2bd854c9cb5f9c01a4ca1800f43828c04a46c 100644 (file)
             }
 
         } else {  // Print one big table with abbreviated info
-            if ($numstudents > $USER_LARGE_CLASS and $showall == "0") {
-                $moreinfo->count  = $USER_LARGE_CLASS;
-                $moreinfo->things = strtolower($course->students);
-                echo "<center><p>".get_string("displayingfirst", "", $moreinfo);
-                echo " (<a href=\"index.php?id=$course->id&sort=$sort&dir=$dir&showall=1\">".get_string("showallusers")."</a>)";
-                echo "</p></center>";
-            }
             $columns = array("name", "city", "country", "lastaccess");
 
             foreach ($columns as $column) {
             print_table($table);
 
             if ($numstudents > $USER_LARGE_CLASS and $showall == "0") {
-                echo "<center><p>";
-                echo "<a href=\"index.php?id=$course->id&sort=$sort&dir=$dir&showall=1\">".get_string("showallusers")."</a>";
+                $moreinfo->count  = $USER_LARGE_CLASS;
+                $moreinfo->things = strtolower($course->students);
+                echo "<center><p>".get_string("displayingfirst", "", $moreinfo);
+                echo " (<a href=\"index.php?id=$course->id&sort=$sort&dir=$dir&showall=1\">".get_string("showallusers")."</a>)";
                 echo "</p></center>";
             }