diff --git a/lang/en/moodle.php b/lang/en/moodle.php index 5b003eb9842..a964416b0c9 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 8f6b1131e12..90f8d811ed4 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 ")

"; } }