From: moodler Date: Wed, 27 Aug 2003 13:42:01 +0000 (+0000) Subject: Tweaks when searching X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=fb2ecb37b7bb6393a3cb0c04e6cec499b311369f;p=moodle.git Tweaks when searching --- diff --git a/admin/admin.php b/admin/admin.php index 7f27e8ea74..53e8a1a38f 100644 --- a/admin/admin.php +++ b/admin/admin.php @@ -3,7 +3,7 @@ require_once("../config.php"); - define("MAX_USERS_PER_PAGE", 30); + define("MAX_USERS_PER_PAGE", 50); optional_variable($add, ""); optional_variable($remove, ""); @@ -123,7 +123,7 @@ echo "

$strnopotentialadmins

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

$strtoomanytoshow

"; + echo "

$strtoomanytoshow ($usercount)

"; } else { diff --git a/admin/creators.php b/admin/creators.php index 891d32d045..b36ff0e99c 100755 --- a/admin/creators.php +++ b/admin/creators.php @@ -3,7 +3,7 @@ require_once("../config.php"); - define("MAX_USERS_PER_PAGE", 30); + define("MAX_USERS_PER_PAGE", 50); optional_variable($search, ""); optional_variable($add, ""); @@ -121,7 +121,7 @@ echo "

$strnopotentialcreators

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

$strtoomanytoshow

"; + echo "

$strtoomanytoshow ($usercount)

"; } else {