Changeset 17511
- Timestamp:
- Aug 9, 2012, 10:18:14 PM (12 years ago)
- Location:
- extensions/UserAdvManager/branches/2.30
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/UserAdvManager/branches/2.30/changelog.txt.php
r14312 r17511 293 293 294 294 -- 2.30.6 : Bug 2618 fixed - Apache crash when php 5.3.10 is used 295 296 -- 2.30.7 : Bug 2658 fixed - Compatibility check between UAM's "email exclusion" option and Piwigo's "Mail address is mandatory for all users" to avoid configuration conflicts. 295 297 */ 296 298 ?> -
extensions/UserAdvManager/branches/2.30/include/functions.inc.php
r13823 r17511 25 25 26 26 return $menu; 27 } 28 29 30 /** 31 * Triggered on loc_begin_admin_page 32 * 33 * Check options compatibility 34 */ 35 function UAM_check_compat() 36 { 37 global $conf, $page; 38 39 // Check mandatory email address for email exclusion 40 $conf_UAM = unserialize($conf['UserAdvManager']); 41 if (!$conf['obligatory_user_mail_address'] and $conf_UAM[10] = 'true') 42 { 43 array_push($page['warnings'], l10n('UAM_mail_exclusion_error')); 44 } 27 45 } 28 46 … … 2399 2417 ON u.'.$conf['user_fields']['id'].' = ug.user_id 2400 2418 WHERE u.'.$conf['user_fields']['id'].' >= 3 2419 AND u.username NOT LIKE "16" 2420 AND u.username NOT LIKE "18" 2401 2421 ORDER BY ug.lastvisit DESC 2402 2422 ;'; -
extensions/UserAdvManager/branches/2.30/language/en_UK/plugin.lang.php
r13823 r17511 235 235 $lang['UAM %d users pwdreseted'] = 'Password renewal required for %d users'; 236 236 $lang['UAM_Error_Using_illegal_Kdays'] = 'Using the [Kdays] tag is allowed only if the deadline for registration confirmation limited is active. Refer to the text field in red to correct the problem.'; 237 $lang['UAM_Default_InfoMail_Txt'] = 'Hello [username]! Thank you to have register on [mygallery].238 239 Please, find find below your connexion information.';237 $lang['UAM_Default_InfoMail_Txt'] = 'Hello [username]! 238 239 You made significant changes in your profile on the gallery [mygallery]. Please, find below your new settings:'; 240 240 $lang['UAM_Default_ConfirmMail_Txt'] = 'Hello [username]! Thank you to have register on [mygallery]. 241 241 … … 403 403 $lang['UAM_Tracking confirmations'] = 'Tracking confirmations'; 404 404 // --------- End: New or revised $lang ---- from version 2.30.3 405 406 407 // --------- Starting below: New or revised $lang ---- from version 2.40.4 and 2.30.7 408 $lang['UAM_mail_exclusion_error'] = 'The Piwigo\'s option "The email address is mandatory for all users" has been disabled while the UserAdvancedManager\'s (UAM) plugin option "Exclusion of mail domains" remained active. This combination is illogical and not compatible!<br><br> 409 Please, Reactivate the Piwigo\'s option "The email address is mandatory for all users" to be able then to disable UAM\'s option "Exclusion of mail domains" if that\'s what you want.<br><br> 410 Note: This message will disappear after you have made the necessary correction and reloaded the admin page.<br><br>'; 411 // --------- End: New or revised $lang ---- from version 2.40.4 and 2.30.7 405 412 ?> -
extensions/UserAdvManager/branches/2.30/language/fr_FR/plugin.lang.php
r13823 r17511 248 248 $lang['UAM %d users pwdreseted'] = 'Renouvellement de mot de passe demandé pour %d utilisateurs'; 249 249 $lang['UAM_Error_Using_illegal_Kdays'] = 'L\'utilisation de la balise [Kdays] n\'est autorisée que si la limitation du délai de confirmation d\'inscription est active. Reportez vous au champ de texte en rouge pour corriger le problème.'; 250 $lang['UAM_Default_InfoMail_Txt'] = 'Bonjour [username] et merci de vous être inscrit sur la galerie [mygallery].251 252 Vous trouverez ci-dessous vos informations de connexion sur la galerie.';250 $lang['UAM_Default_InfoMail_Txt'] = 'Bonjour [username]! 251 252 Vous avez effectué des modifications importantes de profil sur la galerie [mygallery]. Voici vos nouveaux paramètres :'; 253 253 $lang['UAM_Default_GhstReminder_Txt'] = 'Bonjour [username]. 254 254 … … 408 408 $lang['UAM_Tracking confirmations'] = 'Suivi des confirmations'; 409 409 // --------- End: New or revised $lang ---- from version 2.30.3 410 411 412 // --------- Starting below: New or revised $lang ---- from version 2.40.4 and 2.30.7 413 $lang['UAM_mail_exclusion_error'] = 'L\'option de Piwigo "L\'adresse mail est obligatoire pour tous les utilisateurs" a été désactivée alors que l\'option du plugin UserAdvancedManager (UAM) "Exclusion des domaines de messagerie" est resté active. Cette combinaison est illogique et non compatible!<br><br> 414 Veuillez réactivez l\'option de Piwigo "L\'adresse mail est obligatoire pour tous les utilisateurs" pour pouvoir désactiver ensuite l\'option UAM "Exclusion des domaines de messagerie" si c\'est ce que vous souhaitez.<br><br> 415 Note : Ce message disparaitra après que vous ayez effectué la correction nécessaire et rechargé la page d\'administration.<br><br>'; 416 // --------- End: New or revised $lang ---- from version 2.40.4 and 2.30.7 410 417 ?> -
extensions/UserAdvManager/branches/2.30/main.inc.php
r14312 r17511 2 2 /* 3 3 Plugin Name: UserAdvManager 4 Version: 2.30. 64 Version: 2.30.7 5 5 Description: Renforcer la gestion des utilisateurs - Enforce users management 6 6 Plugin URI: http://piwigo.org/ext/extension_view.php?eid=216 … … 258 258 } 259 259 } 260 261 262 // Check options compatibility between UAM and Piwigo at admin page load 263 // --------------------------------------------------------------------- 264 add_event_handler('loc_begin_admin_page', 'UAM_check_compat'); 260 265 ?>
Note: See TracChangeset
for help on using the changeset viewer.