Showall is sticky, and also you get a warning about the number

This commit is contained in:
moodler
2003-04-14 03:02:25 +00:00
parent dea49bdd6c
commit b610b4c2fd
2 changed files with 3 additions and 3 deletions
+1 -1
View 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";
+2 -2
View 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>";
}
}
@@ -139,7 +139,7 @@
$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>";
}