From: moodler Date: Mon, 14 Apr 2003 02:52:11 +0000 (+0000) Subject: Simplified display - less unnecessary clutter X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=a625debc384567be8796f64a3eff235c09e47055;p=moodle.git Simplified display - less unnecessary clutter --- 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 "

"; }