Commit 731e8115 authored by Ali Kaye's avatar Ali Kaye
Browse files

Bug #1097564 Include contact information

Modified mahara.php and lib.php so that when
 a user with an expired account tries to log in
they are told 'Sorry, your account has expired.
You can contact the site administrator to have
the account reactivated,' with a link to the
'Contact Us' page.

Change-Id: I6b461d40e37a88ac513649a1d4a6d83c5d3711a4
Signed-off-by: default avatarAli Kaye <>
parent bf58c383
......@@ -1512,7 +1512,7 @@ function ensure_user_account_is_active($user=null) {
if ($dologout) {
die_info(get_string('accountexpired', 'mahara', get_config('wwwroot')));
// Check if the user's account has been suspended
......@@ -181,7 +181,7 @@ $string['accesstotallydenied_institutionsuspended'] = 'Your institution %s has b
Please contact your institution for help.';
$string['accessforbiddentoadminsection'] = 'You are forbidden from accessing the administration section.';
$string['accountdeleted'] = 'Sorry, your account has been deleted.';
$string['accountexpired'] = 'Sorry, your account has expired.';
$string['accountexpired'] = 'Sorry, your account has expired. You can <a href="%scontact.php">contact the site administrator</a> to have it reactivated.';
$string['accountcreated'] = '%s: New account';
$string['accountcreatedtext'] = 'Dear %s,
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment