1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-21 21:21:54 +02:00

Merge pull request from MikeyGMT/20180428

Issue  ToDo Lans bounceLAN in handlers/login.
This commit is contained in:
Cameron 2018-06-20 11:29:15 -07:00 committed by GitHub
commit 0a3acb2f6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions
e107_handlers
e107_languages/English

@ -194,7 +194,7 @@ class userlogin
case USER_VALIDATED : // Valid user
break; // Nothing to do ATM
case USER_EMAIL_BOUNCED:
$bounceLAN = "Emails to [x] are bouncing back. Please [verify your email address is correct]."; //TODO LAN
$bounceLAN = LAN_LOGIN_36;
$bounceMessage = $tp->lanVars($bounceLAN, $this->userData['user_email'],true );
$bounceMessage = str_replace(array('[',']'),array("<a href='".e_HTTP."usersettings.php'>","</a>"), $bounceMessage);

@ -44,4 +44,5 @@ define("LAN_LOGIN_32", "You are seeing this message because you are currently lo
define("LAN_LOGIN_33", "[Return to the homepage]"); // the [ ] brackets are replaced with a button link
define("LAN_LOGIN_34", "User registration and/or login is currently disabled.");
define("LAN_LOGIN_35", "[Enable it]"); // the [ ] brackets are replaced with a button link
?>
define("LAN_LOGIN_36", "Emails to [x] are bouncing back. Please [verify your email address is correct].");// the [ ] brackets are replaced with a button link to usersettings.php
?>