245 |
if ( $numGroups == 0 ) { |
if ( $numGroups == 0 ) { |
246 |
print $q->Tr($q->td( |
print $q->Tr($q->td( |
247 |
- '<p><b>' . $fm->localise("NO_GROUPS") . '</p></b>')); |
- '<p><b>' . $fm->localise("NO_GROUPS") . '</p></b>')); |
248 |
+ '<p><b>' . $fm->localise("ACCOUNT_GROUP_NONE") . '</p></b>')); |
+ '<p><b>' . $fm->localise("NO_GROUPS") . '</p></b>')); |
249 |
|
|
250 |
} |
} |
251 |
else { |
else { |
303 |
unless ($pass1 eq $pass2) { |
unless ($pass1 eq $pass2) { |
304 |
$self->{cgi}->param( -name => 'wherenext', -value => 'Password' ); |
$self->{cgi}->param( -name => 'wherenext', -value => 'Password' ); |
305 |
- return "PASSWORD_VERIFY_ERROR"; |
- return "PASSWORD_VERIFY_ERROR"; |
306 |
+ return "PASSWORD_NO_MATCH"; |
+ return "PASSWORD_VERIFY_ERROR"; |
307 |
} |
} |
308 |
return "OK"; |
return "OK"; |
309 |
} |
} |
312 |
unless ($pass1 eq $pass2) { |
unless ($pass1 eq $pass2) { |
313 |
$self->{cgi}->param( -name => 'wherenext', -value => 'Password' ); |
$self->{cgi}->param( -name => 'wherenext', -value => 'Password' ); |
314 |
- return "SYSTEM_PASSWORD_VERIFY_ERROR"; |
- return "SYSTEM_PASSWORD_VERIFY_ERROR"; |
315 |
+ return "SYSTEM_PASSWORD_NO_MATCH"; |
+ return "SYSTEM_PASSWORD_VERIFY_ERROR"; |
316 |
} |
} |
317 |
return "OK"; |
return "OK"; |
318 |
} |
} |
461 |
{ |
{ |
462 |
$q->param(-name => 'status_message', |
$q->param(-name => 'status_message', |
463 |
- -value => 'PASSWORD_CHANGE_FAILURE'); |
- -value => 'PASSWORD_CHANGE_FAILURE'); |
464 |
+ -value => 'ERROR_PASSWORD_CHANGE'); |
+ -value => 'PASSWORD_CHANGE_ERROR'); |
465 |
return; |
return; |
466 |
} |
} |
467 |
$acct->set_prop("PasswordSet", "yes"); |
$acct->set_prop("PasswordSet", "yes"); |
479 |
unless ($pass1 eq $pass2) { |
unless ($pass1 eq $pass2) { |
480 |
$fm->{cgi}->param( -name => 'wherenext', -value => 'Password' ); |
$fm->{cgi}->param( -name => 'wherenext', -value => 'Password' ); |
481 |
- return "PASSWORD_VERIFY_ERROR"; |
- return "PASSWORD_VERIFY_ERROR"; |
482 |
+ return "PASSWORD_NO_MATCH"; |
+ return "PASSWORD_VERIFY_ERROR"; |
483 |
} |
} |
484 |
return "OK"; |
return "OK"; |
485 |
} |
} |