From d9387950cb96dd6f837ef3711ef023e42fbccb9b Mon Sep 17 00:00:00 2001 From: moodler Date: Wed, 27 Aug 2003 13:40:26 +0000 Subject: [PATCH] Little tweaks to messages --- course/student.php | 4 ++-- course/teacher.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 { -- 2.39.5