Changeset 3921 for extensions/NBC_UserAdvManager/branches/2.11/main.inc.php
- Timestamp:
- Sep 27, 2009, 6:24:29 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/NBC_UserAdvManager/branches/2.11/main.inc.php
r3882 r3921 2 2 /* 3 3 Plugin Name: NBC UserAdvManager 4 Version: 2.11. 24 Version: 2.11.3 5 5 Description: Permet de renforcer les possibilités de gestion des utilisateurs - Enforce users management 6 6 Plugin URI: http://fr.piwigo.org/ext/extension_view.php?eid=216 … … 58 58 -- 2.11.2 : Bug fixed on bad query for unvalidated users display in unvalidated users list 59 59 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. 60 65 61 66 */ … … 153 158 154 159 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'); 156 161 157 162 … … 204 209 { 205 210 $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]); 207 212 for ($i = 0 ; $i < count($conf_nbc_MailExclusion) ; $i++) 208 213 { … … 250 255 { 251 256 $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]); 253 258 for ($i = 0 ; $i < count($conf_nbc_MailExclusion) ; $i++) 254 259 { … … 312 317 { 313 318 $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]); 315 320 for ($i = 0 ; $i < count($conf_nbc_MailExclusion) ; $i++) 316 321 {
Note: See TracChangeset
for help on using the changeset viewer.