--- smeserver-userpanels-1.0/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/userpanelPassword.pm.add2general 2006-03-26 00:01:56.000000000 +0100 +++ smeserver-userpanels-1.0/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/userpanelPassword.pm 2008-04-26 21:40:06.000000000 +0200 @@ -36,7 +36,7 @@ my $pass1 = $fm->{cgi}->param('pass'); unless ($pass1 eq $pass2) { - $fm->error('PASSWORD_VERIFY_ERROR'); + $fm->error('PASSWORD_NO_MATCH'); return undef; } return "OK"; @@ -51,7 +51,7 @@ my $UserName = $ENV{'REMOTE_USER'} ||''; unless (($UserName) = ($UserName =~ /^([a-z][\-\_\.a-z0-9]*)$/ )) { - $fm->error('TAINTED_ACCOUNT'); + $fm->error('YOUR_ACCOUNT_INVALID_CHARS'); return undef; } @@ -60,26 +60,26 @@ unless (($oldPass) = ($oldPass =~ /^(\S+)$/ )) { - $fm->error('TAINTED_OLDPASS'); + $fm->error('PASSWORD_OLD_INVALID_CHARS'); return undef; } unless (($pass) = ($pass =~ /^([ -~]+)$/ )) { - $fm->error('TAINTED_PASS'); + $fm->error('PASSWORD_INVALID_CHARS'); return undef; } my $acct; unless ($acct = $accountdb->get($UserName)) { - $fm->error('NO_SUCH_USER'); + $fm->error('YOUR_ACCOUNT_INVALID'); return undef; } unless ($acct->prop('type') eq 'user') { - $fm->error('NO_SUCH_USER'); + $fm->error('YOUR_ACCOUNT_INVALID'); return undef; } @@ -88,7 +88,7 @@ $oldPass, $pass)) { - $fm->error('PASSWORD_CHANGE_FAILURE'); + $fm->error('ERROR_PASSWORD_CHANGE'); return undef; } @@ -101,7 +101,7 @@ return undef; } - $fm->success('PASSWORD_CHANGED', 'Done'); + $fm->success('PASSWORD_CHANGE_SUCCESS', 'Done'); } --- smeserver-userpanels-1.0/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/userpanel-password.add2general 2008-04-26 21:37:56.000000000 +0200 +++ smeserver-userpanels-1.0/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/userpanel-password 2008-04-26 21:45:35.000000000 +0200 @@ -1,9 +1,5 @@ - Change Password - Change Password - - FORM_TITLE Change account password @@ -22,48 +18,4 @@ ]]> - - ACCOUNT_NAME - Your account: - - - OLD_SYSTEM_PASSWORD - Old password: - - - NEW_SYSTEM_PASSWORD - New password: - - - NEW_SYSTEM_PASSWORD_VERIFY - New password (verify): - - - PASSWORD_VERIFY_ERROR - The passwords you entered did not match. - - - PASSWORD_CHANGE_FAILURE - An error occurred while attempting to change your password. Please make sure that the old password entered is correct. - - - PASSWORD_CHANGED - Your password has been successfully changed. - - - TAINED_OLDPASS - The old password you entered contained invalid characters. - - - TAINED_PASS - The password you entered contained invalid characters. - - - TAINED_ACCOUNT - The account name you entered contained invalid characters. - - - NO_SUCH_USER - The account name entered is invalid. - --- smeserver-userpanels-1.0/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/userpanel-forwarding.add2general 2008-04-26 21:37:56.000000000 +0200 +++ smeserver-userpanels-1.0/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/userpanel-forwarding 2008-04-26 21:50:33.000000000 +0200 @@ -18,10 +18,6 @@ - ACCOUNT_NAME - Your account: - - LOCAL Deliver email locally @@ -34,10 +30,6 @@ Both deliver locally and forward - OK - OK - - UNACCEPTABLE_CHARS Unacceptable characters, or Domain name missing. @@ -57,4 +49,4 @@ SUCCESS Your settings have been saved. - \ No newline at end of file + --- smeserver-userpanels-1.0/root/etc/e-smith/web/functions/userpanel-password.add2general 2006-03-16 13:36:29.000000000 +0100 +++ smeserver-userpanels-1.0/root/etc/e-smith/web/functions/userpanel-password 2008-04-26 21:42:48.000000000 +0200 @@ -2,7 +2,7 @@ #---------------------------------------------------------------------- # heading : Your Settings -# description : Change Password +# description : PASSWORD_CHANGE # longdesc : change your password # navigation : 100 100 @@ -35,13 +35,13 @@ DESCRIPTION - + - + - +