Changeset 3418 for extensions
- Timestamp:
- Jun 14, 2009, 8:40:24 PM (15 years ago)
- Location:
- extensions/NBC_UserAdvManager
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/NBC_UserAdvManager/include/functions_UserAdvManager.inc.php
r3393 r3418 317 317 $conf_nbc_UserAdvManager = isset($conf['nbc_UserAdvManager']) ? explode(";" , $conf['nbc_UserAdvManager']) : array(); 318 318 if (isset($conf_nbc_UserAdvManager[12])) 319 $ncsemail = strtolower($email);320 319 { 320 $ncsemail = strtolower($email); 321 321 $conf_nbc_MailExclusion = split (",",$conf_nbc_UserAdvManager[13]); 322 322 for ($i = 0 ; $i < count($conf_nbc_MailExclusion) ; $i++) -
extensions/NBC_UserAdvManager/main.inc.php
r3416 r3418 2 2 /* 3 3 Plugin Name: NBC UserAdvManager 4 Version: 2.10.9 b4 Version: 2.10.9c 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 … … 38 38 39 39 -- 2.10.9b : Bug fixed - Home icon wasn't linked to gallery url in ConfirmMail page. If GALLERY_URL is not set, Home icon gets the pwg root path. 40 41 -- 2.10.9c : Bug fixed - If Email provider exclusion is set off, new registered user will have a PHP notice on "Undefined variable: ncsemail" 40 42 41 43 … … 193 195 /* This work with a code copy of ValidateEmailProvider() function */ 194 196 if (isset($conf_nbc_UserAdvManager[12]) and $conf_nbc_UserAdvManager[12] == 'true' and !empty($_POST['email'])) 195 $ncsemail = strtolower($_POST['email']);196 197 { 198 $ncsemail = strtolower($_POST['email']); 197 199 $conf_nbc_MailExclusion = split (",",$conf_nbc_UserAdvManager[13]); 198 200 for ($i = 0 ; $i < count($conf_nbc_MailExclusion) ; $i++) … … 238 240 /* This work with a code copy of ValidateEmailProvider() function */ 239 241 if (isset($conf_nbc_UserAdvManager[12]) and $conf_nbc_UserAdvManager[12] == 'true' and !empty($_POST['mail_address'])) 240 $ncsemail = strtolower($_POST['mail_address']);241 242 { 243 $ncsemail = strtolower($_POST['mail_address']); 242 244 $conf_nbc_MailExclusion = split (",",$conf_nbc_UserAdvManager[13]); 243 245 for ($i = 0 ; $i < count($conf_nbc_MailExclusion) ; $i++) … … 305 307 /* This don't work on user's profile page - Why ?? */ 306 308 if (isset($conf_nbc_UserAdvManager[12]) and $conf_nbc_UserAdvManager[12] == 'true' and !empty($_POST['mail_address'])) 307 $ncsemail = strtolower($_POST['mail_address']);308 309 { 310 $ncsemail = strtolower($_POST['mail_address']); 309 311 $conf_nbc_MailExclusion = split (",",$conf_nbc_UserAdvManager[13]); 310 312 for ($i = 0 ; $i < count($conf_nbc_MailExclusion) ; $i++)
Note: See TracChangeset
for help on using the changeset viewer.