]> git.mjollnir.org Git - moodle.git/commitdiff
Showall is sticky, and also you get a warning about the number
authormoodler <moodler>
Mon, 14 Apr 2003 03:02:25 +0000 (03:02 +0000)
committermoodler <moodler>
Mon, 14 Apr 2003 03:02:25 +0000 (03:02 +0000)
lang/en/moodle.php
user/index.php

index 6fefdba708e01c775e14ca8ca97d5e9ff1542958..d26c6aa999611bb490fead1d98673f31a73d83d7 100644 (file)
@@ -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";
index 61aa201bd9b7f914d779d799853452fc328b6b08..34975d5a5697ad7d7be56be95713027cb524fecd 100644 (file)
@@ -84,7 +84,7 @@
                 if ($columnsort == $sort) {
                    $$column = $colname["$column"];
                 } else {
-                   $$column = "<A HREF=\"index.php?id=$course->id&sort=$columnsort&dir=$columndir\">".$colname["$column"]."</A>";
+                   $$column = "<A HREF=\"index.php?id=$course->id&sort=$columnsort&dir=$columndir&showall=$showall\">".$colname["$column"]."</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("showall")."</a>)";
+                echo " (<a href=\"index.php?id=$course->id&sort=$sort&dir=$dir&showall=1\">".get_string("showall", "", $numstudents)."</a>)";
                 echo "</p></center>";
             }