Changeset 2488 in subversion


Ignore:
Timestamp:
May 15, 2009 2:36:04 PM (4 years ago)
Author:
alec
Message:
  • typo + rename db_password_dsn to password_db_dsn
Location:
trunk/roundcubemail/plugins/password
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/plugins/password/localization/en_US.inc

    r2407 r2488  
    1010$messages['nopassword'] = 'Please input new password.'; 
    1111$messages['nocurpassword'] = 'Please input current password.'; 
    12 $messages['passwordincorrectly'] = 'Current password incorrectly.'; 
    13 $messages['passwordinconsistency'] = 'Inconsistency of password, please try again.'; 
     12$messages['passwordincorrect'] = 'Current password incorrect.'; 
     13$messages['passwordinconsistency'] = 'Passwords do not match, please try again.'; 
    1414$messages['nocryptfunction'] = 'The server is missing a function to encrypt your password - contact your system adminstrator.'; 
    1515$messages['internalerror'] = 'The server is updated more than one row in the database. This could be bad for all users. Contact your system adminstrator.'; 
  • trunk/roundcubemail/plugins/password/localization/nl_NL.inc

    r2457 r2488  
    1010$messages['nopassword'] = 'Vul een wachtwoord in.'; 
    1111$messages['nocurpassword'] = 'vul het huidige wachtwoord in.'; 
    12 $messages['passwordincorrectly'] = 'Huidig wachtwoord is onjuist.'; 
     12$messages['passwordincorrect'] = 'Huidig wachtwoord is onjuist.'; 
    1313$messages['passwordinconsistency'] = 'Wachtwoorden komen niet overeen, probeer het opnieuw.'; 
    1414$messages['nocryptfunction'] = 'De server mist een functie om uw wachtwoord et beveiligen - neem contact op met uw systeembeheerder.'; 
  • trunk/roundcubemail/plugins/password/password.php

    r2435 r2488  
    1414 *   password_confirm_current - boolean to determine whether current password 
    1515 *     is required to change password. Defaults to FALSE. 
    16  *   db_passwd_dsn - is the PEAR database DSN for performing the query. Defaults 
     16 *   password_db_dsn - is the PEAR database DSN for performing the query. Defaults 
    1717 *     to the default databse setting in config/db.inc.php 
    1818 *   password_query - the SQL query used to change the password. 
     
    209209      $sql = "SELECT update_passwd(%c, %u)"; 
    210210 
    211     if ($dsn = $cfg->get('db_passwd_dsn')) { 
     211    if ($dsn = $cfg->get('password_db_dsn')) { 
    212212      $db = new rcube_mdb2($dsn, '', FALSE); 
    213213      $db->set_debug((bool)$cfg->get('sql_debug')); 
     
    216216      $db = rcmail::get_instance()->get_dbh(); 
    217217    } 
     218 
    218219    if ($err = $db->is_error()) 
    219220      return $err; 
Note: See TracChangeset for help on using the changeset viewer.