Translations changed
This commit is contained in:
parent
0fe95248c1
commit
a1063e9b50
|
@ -223,7 +223,7 @@ echo '<div class="login_page">';
|
|||
$reset_pass_link = 'reset_pass.php';
|
||||
// Reset password link
|
||||
echo '<div style="width:70%; height:40px; margin-right:auto; margin-left:auto; margin-top:20px; text-align:center;">';
|
||||
echo '<a style="color: white !important;" href="index.php?reset=true&first=true">' . __('Forgotten your password?');
|
||||
echo '<a style="color: white !important;" href="index.php?reset=true&first=true">' . __('Forgot your password?');
|
||||
echo '</a>';
|
||||
echo '</div>';
|
||||
}
|
||||
|
@ -286,7 +286,7 @@ if ($process_error_message == '' && $mail != "") {
|
|||
echo '<div class="content_message_alert">';
|
||||
echo '<div class="text_message_alert">';
|
||||
echo '<h1>' . __('INFO') . '</h1>';
|
||||
echo '<p>' . __('An email has been sent to the user\'s address') . '</p>';
|
||||
echo '<p>' . __('An email has been sent to your email address') . '</p>';
|
||||
echo '</div>';
|
||||
echo '<div class="button_message_alert">';
|
||||
html_print_submit_button("Ok", 'reset_correct_button', false);
|
||||
|
|
|
@ -621,7 +621,7 @@ if (! isset ($config['id_user'])) {
|
|||
|
||||
if (!$check_user) {
|
||||
$reset = false;
|
||||
$error = __('User no exists in db');
|
||||
$error = __('User doesn\'t exist in database');
|
||||
$show_error = true;
|
||||
}
|
||||
else {
|
||||
|
@ -629,7 +629,7 @@ if (! isset ($config['id_user'])) {
|
|||
|
||||
if (!$check_mail) {
|
||||
$reset = false;
|
||||
$error = __('User no have any email direction asociated');
|
||||
$error = __('This user doesn\'t have a valid email address');
|
||||
$show_error = true;
|
||||
}
|
||||
else {
|
||||
|
@ -648,16 +648,16 @@ if (! isset ($config['id_user'])) {
|
|||
$cod_hash = $user_reset_pass . "::::" . md5(rand(10, 1000000) . rand(10, 1000000) . rand(10, 1000000));
|
||||
|
||||
$subject = '[Pandora] '.__('Reset password');
|
||||
$body = __('This is the automatic message to the user');
|
||||
$body = __('This is an automatically sent message for user ');
|
||||
$body .= ' "<strong>' . $user_reset_pass . '"</strong>';
|
||||
$body .= '<p />';
|
||||
$body .= __('Please, click in the link below to reset your password');
|
||||
$body .= __('Please click the link below to reset your password');
|
||||
$body .= '<p />';
|
||||
$body .= '<a href="' . $config['homeurl'] . 'index.php?reset_hash=' . $cod_hash . '">' . __('Reset your password') . '</a>';
|
||||
$body .= '<p />';
|
||||
$body .= 'Pandora FMS';
|
||||
$body .= '<p />';
|
||||
$body .= '<em>'.__('Please do not answer or reply to this email').'</em>';
|
||||
$body .= '<em>'.__('Please do not reply to this email.').'</em>';
|
||||
|
||||
$result = send_email_to_user($mail, $body, $subject);
|
||||
|
||||
|
|
Loading…
Reference in New Issue