From 9ae472a3748a41d57b34a87f558af050452dc0b8 Mon Sep 17 00:00:00 2001 From: moodler Date: Fri, 22 Nov 2002 17:28:55 +0000 Subject: [PATCH] New message about users being automatically unenrolled --- lang/en/moodle.php | 1 + user/index.php | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/lang/en/moodle.php b/lang/en/moodle.php index 5b003eb984..a964416b0c 100644 --- a/lang/en/moodle.php +++ b/lang/en/moodle.php @@ -470,6 +470,7 @@ $string['unenrol'] = "Unenrol"; $string['unenrolme'] = "Unenrol me from \$a"; $string['unenrolsure'] = "Are you sure you want to unenrol \$a from this course?"; $string['unsafepassword'] = "Unsafe password - try something else"; +$string['unusedaccounts'] = "Accounts unused for more than \$a days are automatically unenrolled"; $string['unzip'] = "Unzip"; $string['update'] = "Update"; $string['updated'] = "Updated \$a"; diff --git a/user/index.php b/user/index.php index 8f6b1131e1..90f8d811ed 100644 --- a/user/index.php +++ b/user/index.php @@ -130,6 +130,12 @@ "$lastaccess"); } print_table($table); + + } + if ($CFG->longtimenosee < 500) { + echo "

("; + print_string("unusedaccounts","",$CFG->longtimenosee); + echo ")

"; } } -- 2.39.5