Show
Ignore:
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:
    • Update wording.
Location:
weblogin
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • weblogin/chpwd.php

    r5c032f4 rfa1a623  
    6969                      $radius_server); 
    7070  if(!$user->start()) { 
    71      $message =_("Can not connect database"); 
     71     $message =_("Could not connect to database"); 
    7272  } 
    7373  if($user->check_password($_POST['user'], $_POST['passwd'])) { 
    7474    if ($_POST['newpass'] != $_POST['cfmpass']) { 
    75       $message = _("Confirm password missmatch"); 
     75      $message = _("Password mismatch"); 
    7676    } else { 
    7777      if ($user->change_password($_POST['user'], $_POST['newpass'])) { 
     
    8888  unset ($user); 
    8989} else { 
    90   $message = _("Please insert all information"); 
     90  $message = _("Please apply all information"); 
    9191} 
    9292 
  • weblogin/user.class.php

    r19132fa rfa1a623  
    7676 
    7777    if (!$result) { 
    78       $this->message = _("Error to query database"); 
     78      $this->message = _("Error: Could not get data from database"); 
    7979      return FALSE; 
    8080    } 
     
    118118 
    119119    if (!$result) { 
    120       $this->message = _("Error to change password"); 
     120      $this->message = _("Error: Could not change password"); 
    121121      return FALSE; 
    122122    }