Changeset 4062 for extensions
- Timestamp:
- Oct 19, 2009, 6:23:40 PM (15 years ago)
- Location:
- extensions/NBC_UserAdvManager/branches/2.11
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/NBC_UserAdvManager/branches/2.11/admin/usermanager.tpl
r3921 r4062 18 18 <td>{'Email address'|@translate}</td> 19 19 <td>{'Groups'|@translate}</td> 20 <td>{'Registration '|@translate}</td>20 <td>{'Registration_Date'|@translate}</td> 21 21 </tr> 22 22 </thead> -
extensions/NBC_UserAdvManager/branches/2.11/include/functions_UserAdvManager.inc.php
r3983 r4062 535 535 536 536 /* Obsolete function - Check for single email in database */ 537 function SearchMail($email)538 {539 global $conf, $lang;540 541 if (isset($email))542 {543 $query = "544 SELECT COUNT(*)545 FROM ".USERS_TABLE."546 WHERE ".$conf['user_fields']['email']." = '".$email."'547 ;";548 list($nbr_mail) = mysql_fetch_row(pwg_query($query));549 550 return isset($nbr_mail) ? $nbr_mail : 0;551 }552 }537 //function SearchMail($email) 538 //{ 539 // global $conf, $lang; 540 // 541 // if (isset($email)) 542 // { 543 // $query = " 544 // SELECT COUNT(*) 545 // FROM ".USERS_TABLE." 546 // WHERE ".$conf['user_fields']['email']." = '".$email."' 547 // ;"; 548 // list($nbr_mail) = mysql_fetch_row(pwg_query($query)); 549 // 550 // return isset($nbr_mail) ? $nbr_mail : 0; 551 // } 552 //} 553 553 554 554 … … 577 577 /* Obsolete function - Check for no forbidden email provider */ 578 578 /* This don't work on function call */ 579 function ValidateEmailProvider($email)580 {581 global $conf;582 583 $conf_nbc_UserAdvManager = isset($conf['nbc_UserAdvManager']) ? explode(";" , $conf['nbc_UserAdvManager']) : array();584 if (isset($conf_nbc_UserAdvManager[12]))585 {586 $ncsemail = strtolower($email);587 $conf_nbc_MailExclusion = preg_split('/,/',$conf_nbc_UserAdvManager[13]);588 for ($i = 0 ; $i < count($conf_nbc_MailExclusion) ; $i++)589 {590 $pattern = '/'.$conf_nbc_MailExclusion[$i].'/';591 if (preg_match($pattern, $ncsemail))592 return false;593 else594 return true;595 }596 }597 }579 //function ValidateEmailProvider($email) 580 //{ 581 // global $conf; 582 // 583 // $conf_nbc_UserAdvManager = isset($conf['nbc_UserAdvManager']) ? explode(";" , $conf['nbc_UserAdvManager']) : array(); 584 // if (isset($conf_nbc_UserAdvManager[12])) 585 // { 586 // $ncsemail = strtolower($email); 587 // $conf_nbc_MailExclusion = preg_split('/,/',$conf_nbc_UserAdvManager[13]); 588 // for ($i = 0 ; $i < count($conf_nbc_MailExclusion) ; $i++) 589 // { 590 // $pattern = '/'.$conf_nbc_MailExclusion[$i].'/'; 591 // if (preg_match($pattern, $ncsemail)) 592 // return false; 593 // else 594 // return true; 595 // } 596 // } 597 //} 598 598 599 599 -
extensions/NBC_UserAdvManager/branches/2.11/language/en_UK/plugin.lang.php
r3983 r4062 74 74 - Submit a registration awaiting validation manually even if the expiry date has passed <b>(forcing validation)</b>. 75 75 <br>'; 76 $lang['Registration '] = 'Registration date';76 $lang['Registration_Date'] = 'Registration date'; 77 77 78 78 -
extensions/NBC_UserAdvManager/branches/2.11/language/fr_FR/plugin.lang.php
r3983 r4062 74 74 - Valider manuellement une inscription en attente de validation même si la date d\'expiration est révolue <b>(forçage de la validation)</b>. 75 75 <br>'; 76 $lang['Registration '] = 'Date d\'enregistrement';76 $lang['Registration_Date'] = 'Date d\'enregistrement'; 77 77 78 78 -
extensions/NBC_UserAdvManager/branches/2.11/main.inc.php
r3983 r4062 2 2 /* 3 3 Plugin Name: NBC UserAdvManager 4 Version: 2.11. 44 Version: 2.11.5 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 … … 67 67 Bug 1179 fixed : Adding a notice in plugin inline documentation for use of validation groups and status. A default group must be set in Piwigo's groups settings and the "Guest" (or another user) must be set as default for status values. 68 68 Bug 1182 fixed : Language tag missing in confirmation email generation 69 70 -- 2.11.5 : Bug 1195 fixed : Registration displays the good title 69 71 70 72 */
Note: See TracChangeset
for help on using the changeset viewer.