From a625debc384567be8796f64a3eff235c09e47055 Mon Sep 17 00:00:00 2001 From: moodler Date: Mon, 14 Apr 2003 02:52:11 +0000 Subject: [PATCH] Simplified display - less unnecessary clutter --- user/index.php | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/user/index.php b/user/index.php index 40ecea0232..d5a2bd854c 100644 --- a/user/index.php +++ b/user/index.php @@ -71,13 +71,6 @@ } } 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 "

".get_string("displayingfirst", "", $moreinfo); - echo " (id&sort=$sort&dir=$dir&showall=1\">".get_string("showallusers").")"; - echo "

"; - } $columns = array("name", "city", "country", "lastaccess"); foreach ($columns as $column) { @@ -143,8 +136,10 @@ print_table($table); if ($numstudents > $USER_LARGE_CLASS and $showall == "0") { - echo "

"; - echo "id&sort=$sort&dir=$dir&showall=1\">".get_string("showallusers").""; + $moreinfo->count = $USER_LARGE_CLASS; + $moreinfo->things = strtolower($course->students); + echo "

".get_string("displayingfirst", "", $moreinfo); + echo " (id&sort=$sort&dir=$dir&showall=1\">".get_string("showallusers").")"; echo "

"; } -- 2.39.5