tbrehm
2008-08-01 0634d4ebba9f9fd37ac5e053bc535abf4cf4f841
Added a missing error message in tools module.
2 files modified
3 ■■■■ changed files
interface/web/tools/lib/lang/en_usersettings.lng 1 ●●●● patch | view | raw | blame | history
interface/web/tools/user_settings.php 2 ●●● patch | view | raw | blame | history
interface/web/tools/lib/lang/en_usersettings.lng
@@ -3,4 +3,5 @@
$wb["language_txt"] = 'Language';
$wb["btn_save_txt"] = 'Save';
$wb["btn_cancel_txt"] = 'Cancel';
$wb["password_mismatch"] = 'The password in the second password field does not match the first password.';
?>
interface/web/tools/user_settings.php
@@ -77,7 +77,7 @@
        global $app, $conf;
        
        if($_POST['passwort'] != $_POST['passwort2']) {
            $app->tform->errorMessage = 'The passwords in the second password field does not match the first password.';
            $app->tform->errorMessage = $app->tform->lng('password_mismatch');
        }
        
    }