From 48e9a1ed51134b49757beebc587a06951cfe0d0d Mon Sep 17 00:00:00 2001 From: slawkens Date: Sat, 25 Nov 2023 15:44:34 +0100 Subject: [PATCH] Fix account lost interface links --- system/pages/account/lost.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/system/pages/account/lost.php b/system/pages/account/lost.php index 664cee9c..031bc529 100644 --- a/system/pages/account/lost.php +++ b/system/pages/account/lost.php @@ -95,7 +95,7 @@ elseif($action == 'sendcode')

Account name: '.$account->getName().'


To do so, please click this link: -

'.BASE_URL.'/?subtopic=lostaccount&action=checkcode&code='.$newcode.'&character='.urlencode($nick).'

+

' . getLink('account/lost') . '?action=checkcode&code='.$newcode.'&character='.urlencode($nick).'

or open page: ' . getLink('account/lost') . '?action=checkcode and in field "code" write '.$newcode.'


If you did not request a password change, you may ignore this message and your password will remain unchanged.'; @@ -172,7 +172,7 @@ elseif($action == 'step1' && $action_type == 'reckey') else echo 'Invalid player name format. If you have other characters on account try with other name.'; echo '
- Back
+ Back
'; } elseif($action == 'step2') @@ -232,7 +232,7 @@ elseif($action == 'step2') } '; echo 'Set new password and e-mail to your account.
-

+ @@ -261,7 +261,7 @@ elseif($action == 'step2') else echo 'Invalid player name format. If you have other characters on account try with other name.'; echo '
Please enter new password and e-mail
- Back
+ Back
'; } elseif($action == 'step3') @@ -361,7 +361,7 @@ elseif($action == 'step3') else echo 'Invalid player name format. If you have other characters on account try with other name.'; echo '
- Back
+ Back
'; } elseif($action == 'checkcode') @@ -370,7 +370,7 @@ elseif($action == 'checkcode') $character = stripslashes(trim($_REQUEST['character'])); if(empty($code) || empty($character)) echo 'Please enter code from e-mail and name of one character from account. Then press Submit.
-
+
Code & character name
@@ -418,7 +418,7 @@ elseif($action == 'checkcode') } Please enter new password to your account and repeat to make sure you remember password.
- + @@ -441,7 +441,7 @@ elseif($action == 'checkcode') } if(!empty($error)) echo ''.$error.'
Please enter code from e-mail and name of one character from account. Then press Submit.
- +
Code & character name
@@ -462,7 +462,7 @@ elseif($action == 'setnewpassword') echo ''; if(empty($code) || empty($character) || empty($newpassword)) echo 'Error. Try again.
Please enter code from e-mail and name of one character from account. Then press Submit.
-
+
'; @@ -533,7 +533,7 @@ elseif($action == 'setnewpassword') } if(!empty($error)) echo ''.$error.'
Please enter code from e-mail and name of one character from account. Then press Submit.
-
+
Code & character name