Ignore:
Timestamp:
Sep 27, 2009, 6:24:29 PM (15 years ago)
Author:
Eric
Message:

[NBC_UserAdvManager] Merged from Trunk in Branch 2.11

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/NBC_UserAdvManager/branches/2.11/main.inc.php

    r3882 r3921  
    22/*
    33Plugin Name: NBC UserAdvManager
    4 Version: 2.11.2
     4Version: 2.11.3
    55Description: Permet de renforcer les possibilités de gestion des utilisateurs - Enforce users management
    66Plugin URI: http://fr.piwigo.org/ext/extension_view.php?eid=216
     
    5858-- 2.11.2 : Bug fixed on bad query for unvalidated users display in unvalidated users list
    5959                                                Bug fixed : Sql syntax error on plugin activation
     60
     61-- 2.11.3 : On Patricia's request (french forum), the unvalidated users management tab shows users according with the settings of unvalidated group and / or unvalidated status.
     62                                                Email providers exclusion list can be set with CR/LF between each entry. The comma seperator (,) is still mandatory.
     63                                                Bug fixed : Bad translation tag in french language file.
     64                                                Improvement of unvalidated users management tab - Expired users are displayed in red color text.
    6065
    6166*/
     
    153158
    154159  if ( isset($conf_nbc_UserAdvManager[1]) and $conf_nbc_UserAdvManager[1] == 'true' )
    155     $lang['reg_err_login5'] = l10n('new_reg_err_login5');
     160    $lang['reg_err_login5'] = l10n('reg_err_login5');
    156161 
    157162
     
    204209                        {
    205210                        $ncsemail = strtolower($_POST['email']);
    206                         $conf_nbc_MailExclusion = preg_split('/,/',$conf_nbc_UserAdvManager[13]);
     211                        $conf_nbc_MailExclusion = preg_split("/[\s,]+/",$conf_nbc_UserAdvManager[13]);
    207212                        for ($i = 0 ; $i < count($conf_nbc_MailExclusion) ; $i++)
    208213                    {
     
    250255                  {
    251256                        $ncsemail = strtolower($_POST['mail_address']);
    252                     $conf_nbc_MailExclusion = preg_split('/,/',$conf_nbc_UserAdvManager[13]);
     257                    $conf_nbc_MailExclusion = preg_split("/[\s,]+/",$conf_nbc_UserAdvManager[13]);
    253258                                for ($i = 0 ; $i < count($conf_nbc_MailExclusion) ; $i++)
    254259                          {
     
    312317                                {
    313318                                        $ncsemail = strtolower($_POST['mail_address']);
    314                                 $conf_nbc_MailExclusion = preg_split('/,/',$conf_nbc_UserAdvManager[13]);
     319                                $conf_nbc_MailExclusion = preg_split("/[\s,]+/",$conf_nbc_UserAdvManager[13]);
    315320                                                for ($i = 0 ; $i < count($conf_nbc_MailExclusion) ; $i++)
    316321                                        {
Note: See TracChangeset for help on using the changeset viewer.