From: moodler Date: Fri, 22 Nov 2002 17:28:55 +0000 (+0000) Subject: New message about users being automatically unenrolled X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=9ae472a3748a41d57b34a87f558af050452dc0b8;p=moodle.git New message about users being automatically unenrolled --- 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 ")

"; } }