Showall is sticky, and also you get a warning about the number
This commit is contained in:
+1
-1
@@ -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
@@ -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>";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user