Changeset fa1a62327e5879206569bb8b3154fe72ede099c6
- Timestamp:
- 10/04/11 17:18:16 (8 months ago)
- Author:
- Neutron Soutmun <neo.neutron@…>
- Children:
- 4f41bd281e34bb390f60ea5e482fe163ea080fb6
- Parents:
- 3a845dd46340cce0aff10685d72437f72570920f
- git-committer:
- Neutron Soutmun <neo.neutron@…> (10/04/11 17:18:16)
- Message:
-
Update wording in the change password page
- weblogin/chpwd.php, weblogin/user.class.php:
- Location:
- weblogin
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r5c032f4
|
rfa1a623
|
|
| 69 | 69 | $radius_server); |
| 70 | 70 | if(!$user->start()) { |
| 71 | | $message =_("Can not connect database"); |
| | 71 | $message =_("Could not connect to database"); |
| 72 | 72 | } |
| 73 | 73 | if($user->check_password($_POST['user'], $_POST['passwd'])) { |
| 74 | 74 | if ($_POST['newpass'] != $_POST['cfmpass']) { |
| 75 | | $message = _("Confirm password missmatch"); |
| | 75 | $message = _("Password mismatch"); |
| 76 | 76 | } else { |
| 77 | 77 | if ($user->change_password($_POST['user'], $_POST['newpass'])) { |
| … |
… |
|
| 88 | 88 | unset ($user); |
| 89 | 89 | } else { |
| 90 | | $message = _("Please insert all information"); |
| | 90 | $message = _("Please apply all information"); |
| 91 | 91 | } |
| 92 | 92 | |
-
|
r19132fa
|
rfa1a623
|
|
| 76 | 76 | |
| 77 | 77 | if (!$result) { |
| 78 | | $this->message = _("Error to query database"); |
| | 78 | $this->message = _("Error: Could not get data from database"); |
| 79 | 79 | return FALSE; |
| 80 | 80 | } |
| … |
… |
|
| 118 | 118 | |
| 119 | 119 | if (!$result) { |
| 120 | | $this->message = _("Error to change password"); |
| | 120 | $this->message = _("Error: Could not change password"); |
| 121 | 121 | return FALSE; |
| 122 | 122 | } |