]> git.mjollnir.org Git - moodle.git/commitdiff
New message about users being automatically unenrolled
authormoodler <moodler>
Fri, 22 Nov 2002 17:28:55 +0000 (17:28 +0000)
committermoodler <moodler>
Fri, 22 Nov 2002 17:28:55 +0000 (17:28 +0000)
lang/en/moodle.php
user/index.php

index 5b003eb9842043561cb1b49bf9b225d77ad3bb41..a964416b0c971cd4b8b50f587b7a9f92662b05f8 100644 (file)
@@ -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";
index 8f6b1131e1266037f8a78e507efcf2efe3eaf1f8..90f8d811ed43907ab464be0b92dad094f22a5ef0 100644 (file)
                     "<FONT SIZE=2>$lastaccess</FONT>");
             }
             print_table($table);
+
+        }
+        if ($CFG->longtimenosee < 500) {
+            echo "<CENTER><P><FONT SIZE=1>(";
+            print_string("unusedaccounts","",$CFG->longtimenosee);
+            echo ")</FONT></P></CENTER>";
         }
     }