From b610b4c2fdfb312082538cdbe422b685547f7cf3 Mon Sep 17 00:00:00 2001 From: moodler Date: Mon, 14 Apr 2003 03:02:25 +0000 Subject: [PATCH] Showall is sticky, and also you get a warning about the number --- lang/en/moodle.php | 2 +- user/index.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lang/en/moodle.php b/lang/en/moodle.php index 6fefdba708..d26c6aa999 100644 --- a/lang/en/moodle.php +++ b/lang/en/moodle.php @@ -457,7 +457,7 @@ $string['shortname'] = "Short name"; $string['shortnametaken'] = "Short name is already used for another course (\$a)"; $string['shortsitename'] = "Short name for site (eg single word)"; $string['show'] = "Show"; -$string['showall'] = "Show all"; +$string['showall'] = "Show all \$a"; $string['showalltopics'] = "Show all topics"; $string['showallusers'] = "Show all users"; $string['showallweeks'] = "Show all weeks"; diff --git a/user/index.php b/user/index.php index 61aa201bd9..34975d5a56 100644 --- a/user/index.php +++ b/user/index.php @@ -84,7 +84,7 @@ if ($columnsort == $sort) { $$column = $colname["$column"]; } else { - $$column = "id&sort=$columnsort&dir=$columndir\">".$colname["$column"].""; + $$column = "id&sort=$columnsort&dir=$columndir&showall=$showall\">".$colname["$column"].""; } } @@ -139,7 +139,7 @@ $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("showall").")"; + echo " (id&sort=$sort&dir=$dir&showall=1\">".get_string("showall", "", $numstudents).")"; echo "

"; } -- 2.39.5