Commit df9ef042 authored by Ali Kaye's avatar Ali Kaye
Browse files

Bug #1100104 Include contact information

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

Change-Id: I89b31cb458afa87a75acbb09293050c5c64e7da0
Signed-off-by: default avatarAli Kaye <>
parent 731e8115
......@@ -1504,7 +1504,7 @@ function ensure_user_account_is_active($user=null) {
if ($dologout) {
die_info(get_string('accountdeleted', 'mahara', get_config('wwwroot')));
// Check if the user's account has expired
......@@ -180,7 +180,7 @@ $string['linksandresources'] = 'Links and resources';
$string['accesstotallydenied_institutionsuspended'] = 'Your institution %s has been suspended. Until it is unsuspended, you will not be able to log in to %s.
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['accountdeleted'] = 'Sorry, your account has been deleted. You can <a href="%scontact.php">contact the site administrator</a>.';
$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