Changeset 25050 for extensions


Ignore:
Timestamp:
Oct 21, 2013, 11:51:44 AM (11 years ago)
Author:
Eric
Message:

language files added

Location:
extensions/Password_Policy
Files:
61 added
4 edited

Legend:

Unmodified
Added
Removed
  • extensions/Password_Policy/admin/PP_admin.php

    r25028 r25050  
    5959  else if (isset($_POST['PasswordTest']) and empty($_POST['PP_Password_Test']))
    6060  {
    61     array_push($page['errors'], l10n('PP_reg_err_login3'));
     61    array_push($page['errors'], l10n('PP_Error_Password_Mandatory'));
    6262  }
    6363
  • extensions/Password_Policy/admin/template/PP_admin.tpl

    r25028 r25050  
    1616
    1717<div class="titrePage">
    18   <h2>{'PP_Title_Tab'|@translate} {$PP_VERSION}<br/>{'PP_SubTitle1'|@translate}</h2>
     18  <h2>{'PP_Title'|@translate} {$PP_VERSION}<br/>{'PP_SubTitle'|@translate}</h2>
    1919</div>
    2020
    2121<form method="post" action="" class="general">
    2222<fieldset>
    23   <span class="cluetip" title="{'PP_Title1'|translate}|{'PP_restricTitle_d'|translate}">
    24     {'PP_Title1'|@translate}
    25   </span>
    26 
    2723  <ul>
    2824    <li>
  • extensions/Password_Policy/include/functions.inc.php

    r25028 r25050  
    192192    if ($data['status'] <> "webmaster" and $data['status'] <> "generic") // Exclusion of specific accounts
    193193    {
    194       if (PP_check_pwgreset($user['id']))
     194      if (PP_check_pwdreset($user['id']))
    195195      {
    196196        redirect(PHPWG_ROOT_PATH.'profile.php');
     
    230230        if ($PasswordCheck < $conf_PP['PASSWORD_SCORE'])
    231231        {
    232           $message = get_l10n_args('PP_reg_err_login4_%s', $PasswordCheck);
     232          $message = get_l10n_args('PP_Error_Password_Need_Enforcement_%s', $PasswordCheck);
    233233          $lang['reg_err_pass'] = l10n_args($message).$conf_PP['PASSWORD_SCORE'];
    234234          array_push($errors, $lang['reg_err_pass']);
     
    241241        if ($PasswordCheck < $conf_PP['PASSWORD_SCORE'])
    242242        {
    243           $message = get_l10n_args('PP_reg_err_login4_%s', $PasswordCheck);
     243          $message = get_l10n_args('PP_Error_Password_Need_Enforcement_%s', $PasswordCheck);
    244244          $lang['reg_err_pass'] = l10n_args($message).$conf_PP['PASSWORD_SCORE'];
    245245          array_push($errors, $lang['reg_err_pass']);
     
    264264  if ((isset($conf_PP['PWDRESET']) and $conf_PP['PWDRESET'] == 'true'))
    265265  {
    266     if (PP_check_pwgreset($user['id']))
     266    if (PP_check_pwdreset($user['id']))
    267267    {
    268268      $template->append('errors', l10n('PP_Password_Reset_Msg'));
     
    276276    // Password reset control
    277277    // ----------------------
    278     if (isset($conf_PP['PWDRESET']) and $conf_PP['PWDRESET'] == 'true' and PP_check_pwgreset($user['id']))
     278    if (isset($conf_PP['PWDRESET']) and $conf_PP['PWDRESET'] == 'true' and PP_check_pwdreset($user['id']))
    279279    {
    280280      // if password not changed then pwdreset field = true else pwdreset field = false
     
    302302        if ($PasswordCheck < $conf_PP['PASSWORD_SCORE'])
    303303        {
    304           $message = get_l10n_args('PP_reg_err_login4_%s', $PasswordCheck);
     304          $message = get_l10n_args('PP_Error_Password_Need_Enforcement_%s', $PasswordCheck);
    305305          $template->append('errors', l10n_args($message).$conf_PP['PASSWORD_SCORE']);
    306306          unset($_POST['use_new_pwd']);
     
    340340 *
    341341 */
    342 function PP_check_pwgreset($uid)
     342function PP_check_pwdreset($uid)
    343343{
    344344  $query = '
  • extensions/Password_Policy/main.inc.php

    r25028 r25050  
    107107        in_array($conf['default_user_id'], $collection))
    108108      {
    109         array_push($page['errors'], l10n('PP_Default user cannot be pwgreset'));
    110         $template->append('errors', l10n('PP_Default user cannot be pwgreset'));
     109        array_push($page['errors'], l10n('PP_Default user cannot be pwdreset'));
     110        $template->append('errors', l10n('PP_Default user cannot be pwdreset'));
    111111      }
    112112      if (in_array($conf['webmaster_id'], $collection))
Note: See TracChangeset for help on using the changeset viewer.