From: moodler Date: Mon, 14 Apr 2003 02:48:40 +0000 (+0000) Subject: Mucking with the formtting X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=15c715211e59a4da163d133926cb8480d04d52b4;p=moodle.git Mucking with the formtting --- diff --git a/user/index.php b/user/index.php index e847b5377f..40ecea0232 100644 --- a/user/index.php +++ b/user/index.php @@ -72,11 +72,11 @@ } else { // Print one big table with abbreviated info if ($numstudents > $USER_LARGE_CLASS and $showall == "0") { - $a->count = $USER_LARGE_CLASS; - $a->things = strtolower($course->students); - echo "

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

"; + $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"); @@ -142,6 +142,12 @@ } print_table($table); + if ($numstudents > $USER_LARGE_CLASS and $showall == "0") { + echo "

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

"; + } + } if ($CFG->longtimenosee < 500) { echo "

(";