$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";
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>";
}