Changeset 17507 for extensions/UserAdvManager/trunk
- Timestamp:
- Aug 9, 2012, 10:03:31 PM (12 years ago)
- Location:
- extensions/UserAdvManager/trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/UserAdvManager/trunk/changelog.txt.php
r17448 r17507 320 320 Update lv_LV, thanks to : agrisans 321 321 Update el_GR, thanks to : bas_alba 322 323 -- 2.40.4 : 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. 324 Update el_GR, thanks to : bas_alba 325 Update lv_LV, thanks to : agrisans 322 326 */ 323 327 ?> -
extensions/UserAdvManager/trunk/include/functions.inc.php
r14857 r17507 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 -
extensions/UserAdvManager/trunk/language/en_UK/plugin.lang.php
r14729 r17507 420 420 $lang['UAM_Default_AdminValidationMail_Subject'] = '[username] - Registration validated on [mygallery]'; 421 421 // --------- End: New or revised $lang ---- from version 2.40 422 423 424 // --------- Starting below: New or revised $lang ---- from version 2.40.4 425 $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> 426 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> 427 Note: This message will disappear after you have made the necessary correction and reloaded the admin page.<br><br>'; 428 // --------- End: New or revised $lang ---- from version 2.40.4 422 429 ?> -
extensions/UserAdvManager/trunk/language/fr_FR/plugin.lang.php
r14729 r17507 425 425 $lang['UAM_Default_AdminValidationMail_Subject'] = '[username] - Inscription validée sur [mygallery]'; 426 426 // --------- End: New or revised $lang ---- from version 2.40 427 428 429 // --------- Starting below: New or revised $lang ---- from version 2.40.4 430 $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> 431 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> 432 Note : Ce message disparaitra après que vous ayez effectué la correction nécessaire et rechargé la page d\'administration.<br><br>'; 433 // --------- End: New or revised $lang ---- from version 2.40.4 427 434 ?> -
extensions/UserAdvManager/trunk/main.inc.php
r17448 r17507 2 2 /* 3 3 Plugin Name: UserAdvManager 4 Version: 2.40.34 Version: auto 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 compatibilité 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.