From: moodler Date: Wed, 27 Aug 2003 13:40:26 +0000 (+0000) Subject: Little tweaks to messages X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=d9387950cb96dd6f837ef3711ef023e42fbccb9b;p=moodle.git Little tweaks to messages --- diff --git a/course/student.php b/course/student.php index 4c0124a72e..5a765cfc83 100644 --- a/course/student.php +++ b/course/student.php @@ -3,7 +3,7 @@ require_once("../config.php"); - define("MAX_USERS_PER_PAGE", 30); + define("MAX_USERS_PER_PAGE", 50); require_variable($id); // course id optional_variable($add, ""); @@ -115,7 +115,7 @@ echo "

$strnopotentialstudents

"; } else if ($usercount > MAX_USERS_PER_PAGE) { - echo "

$strtoomanytoshow

"; + echo "

$strtoomanytoshow ($usercount)

"; } else { diff --git a/course/teacher.php b/course/teacher.php index 681b277ac3..5011035d64 100644 --- a/course/teacher.php +++ b/course/teacher.php @@ -3,7 +3,7 @@ require_once("../config.php"); - define("MAX_USERS_PER_PAGE", 40); + define("MAX_USERS_PER_PAGE", 50); require_variable($id); // course id optional_variable($add, ""); @@ -182,7 +182,7 @@ echo "

$strnopotentialteachers

"; } else if ($usercount > MAX_USERS_PER_PAGE) { - echo "

$strtoomanytoshow

"; + echo "

$strtoomanytoshow ($usercount)

"; } else {