Changeset 12661
- Timestamp:
- Nov 27, 2011, 4:27:10 PM (13 years ago)
- Location:
- extensions/UserAdvManager/trunk
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/UserAdvManager/trunk/admin/UAM_admin.php
r12314 r12661 78 78 $height = '300px'; 79 79 $areas = array(); 80 array_push( $areas,'UAM_ConfirmMail_Custom_Txt1','UAM_ConfirmMail_Custom_Txt2','UAM_GTAutoDelText','UAM_USRAutoDelText' );80 array_push( $areas,'UAM_ConfirmMail_Custom_Txt1','UAM_ConfirmMail_Custom_Txt2','UAM_GTAutoDelText','UAM_USRAutoDelText','UAM_CustomRejectConnexion_Text'); 81 81 82 82 if (function_exists('set_fckeditor_instance')) … … 109 109 case 'global': 110 110 111 if (isset($_POST['submit']) and isset($_POST['UAM_Mail_Info']) and isset($_POST['UAM_Username_Char']) and isset($_POST['UAM_Confirm_Mail']) and isset($_POST['UAM_Password_Enforced']) and isset($_POST['UAM_AdminPassword_Enforced']) and isset($_POST['UAM_GhostUser_Tracker']) and isset($_POST['UAM_Admin_ConfMail']) and isset($_POST['UAM_RedirToProfile']) and isset($_POST['UAM_GTAuto']) and isset($_POST['UAM_GTAutoMail']) and isset($_POST['UAM_CustomPasswRetr']) and isset($_POST['UAM_USRAuto']) and isset($_POST['UAM_USRAutoMail']) and isset($_POST['UAM_Stuffs']) and isset($_POST['UAM_HidePassw']) and isset($_POST['UAM_PwdReset']) )111 if (isset($_POST['submit']) and isset($_POST['UAM_Mail_Info']) and isset($_POST['UAM_Username_Char']) and isset($_POST['UAM_Confirm_Mail']) and isset($_POST['UAM_Password_Enforced']) and isset($_POST['UAM_AdminPassword_Enforced']) and isset($_POST['UAM_GhostUser_Tracker']) and isset($_POST['UAM_Admin_ConfMail']) and isset($_POST['UAM_RedirToProfile']) and isset($_POST['UAM_GTAuto']) and isset($_POST['UAM_GTAutoMail']) and isset($_POST['UAM_CustomPasswRetr']) and isset($_POST['UAM_USRAuto']) and isset($_POST['UAM_USRAutoMail']) and isset($_POST['UAM_Stuffs']) and isset($_POST['UAM_HidePassw']) and isset($_POST['UAM_PwdReset']) and isset($_POST['UAM_RejectConnexion'])) 112 112 { 113 113 … … 129 129 130 130 $_POST['UAM_USRAutoDelText'] = str_replace('\"', '"', str_replace("\'", "'", str_replace("\\\\", "\\", $_POST['UAM_GTAutoDelText']))); 131 132 $_POST['UAM_CustomRejectConnexion_Text'] = str_replace('\"', '"', str_replace("\'", "'", str_replace("\\\\", "\\", $_POST['UAM_CustomRejectConnexion_Text']))); 131 133 132 134 // Check if CR-LF exist at begining and end of mail exclusion list - If yes, removes them … … 200 202 (isset($_POST['UAM_Downgrade_Level'])?$_POST['UAM_Downgrade_Level']:''), 201 203 $_POST['UAM_PwdReset'], 204 $_POST['UAM_RejectConnexion'], 205 $_POST['UAM_CustomRejectConnexion_Text'], 202 206 ); 203 207 … … 593 597 'UAM_PWDRESET_TRUE' => $conf_UAM[38]=='true' ? 'checked="checked"' : '' , 594 598 'UAM_PWDRESET_FALSE' => $conf_UAM[38]=='false' ? 'checked="checked"' : '' , 599 'UAM_REJECTCONNECT_TRUE' => $conf_UAM[39]=='true' ? 'checked="checked"' : '' , 600 'UAM_REJECTCONNECT_FALSE' => $conf_UAM[39]=='false' ? 'checked="checked"' : '' , 601 'UAM_REJECTCONNECT_TEXT' => $conf_UAM[40], 595 602 'UAM_PASSWORD_TEST_SCORE' => $UAM_Password_Test_Score, 596 603 'UAM_ERROR_REPORTS1' => $UAM_Exclusionlist_Error, -
extensions/UserAdvManager/trunk/admin/template/global.tpl
r12275 r12661 329 329 330 330 <fieldset> 331 <div class="uam_new"> 332 <ul> 333 <p class="new_in_version">{'UAM_NewFeature'|@translate}</p> 334 <li> 335 <label class="cluetip" title="{'UAM_RejectConnexion'|translate}|{'UAM_RejectConnexion_d'|translate}"> 336 {'UAM_RejectConnexion'|@translate} 337 </label> 338 <br><br> 339 <input type="radio" value="false" {$UAM_REJECTCONNECT_FALSE} name="UAM_RejectConnexion"> 340 {'UAM_Disable'|@translate} 341 <br> 342 <input type="radio" value="true" {$UAM_REJECTCONNECT_TRUE} name="UAM_RejectConnexion"> 343 {'UAM_Enable'|@translate} 344 <br><br> 345 </li> 346 {if $UAM_REJECTLOGIN_FALSE} 347 <div class="uam_hide"> 348 {/if} 349 <li> 350 <label class="cluetip" title="{'UAM_RejectConnexion_Custom_Txt'|translate}|{'UAM_RejectConnexion_Custom_Txt_d'|translate}"> 351 {'UAM_RejectConnexion_Custom_Txt'|@translate} 352 </label> 353 <br><br> 354 <textarea class="uam_textfields" name="UAM_CustomRejectConnexion_Text" id="UAM_CustomRejectConnexion_Text" rows="10" {$TAG_INPUT_ENABLED}>{$UAM_REJECTCONNECT_TEXT}</textarea> 355 <br><br> 356 </li> 357 {if 'FCK_PATH'|@defined} 358 <div style="text-align:right;"> 359 <a href="#" onClick="toogleEditor('UAM_CustomRejectConnexion_Text'); return false;">FCK Editor On/Off</a> 360 </div> 361 {/if} 362 {if $UAM_REJECTLOGIN_FALSE} 363 </div> 364 {/if} 365 </ul> 366 </div> 367 368 <br> 369 331 370 <ul> 332 371 <div id="uam_notice">{'UAM_Confirm_grpstat_notice'|@translate}</div> -
extensions/UserAdvManager/trunk/admin/template/uam.css
r10359 r12661 15 15 { 16 16 display: none; 17 } 18 19 div.uam_new 20 { 21 background-color: #8EBF44; 22 } 23 24 p.new_in_version 25 { 26 text-align: center; 27 text-transform: capitalize; 28 text-decoration: underline; 29 font-weight: bold; 30 color: yellow; 17 31 } 18 32 -
extensions/UserAdvManager/trunk/changelog.txt.php
r12314 r12661 274 274 -- 2.30.1 : Bug 2455 fixed - Exclusion of specific users (généric and admins users) for password reset function. 275 275 Bug 2451 fixed - Unable to handle Sql errors but control of backup file validity have been enforced. 276 277 -- 2.30.2 : Bug 2456 fixed - New feature : Avoid user connexion to the gallery until there has been no validation of registration. Users are redirected to a customizable page. 276 278 */ 277 279 ?> -
extensions/UserAdvManager/trunk/include/functions.inc.php
r12314 r12661 380 380 global $conf, $user; 381 381 382 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); 383 382 384 $conf_UAM = unserialize($conf['UserAdvManager']); 383 385 … … 396 398 } 397 399 398 // Performing redirection to profile page on first login 399 // ----------------------------------------------------- 400 if ((isset($conf_UAM[20]) and $conf_UAM[20] == 'true')) 401 { 402 $query =' 400 // Avoid login into public galleries until registration confirmation is done 401 if ((isset($conf_UAM[39]) and $conf_UAM[39] == 'false') or ((isset($conf_UAM[39]) and $conf_UAM[39] == 'true') and UAM_UsrReg_Verif($user['id']))) 402 { 403 // Performing redirection to profile page on first login 404 // ----------------------------------------------------- 405 if ((isset($conf_UAM[20]) and $conf_UAM[20] == 'true')) 406 { 407 $query =' 403 408 SELECT user_id, status 404 409 FROM '.USER_INFOS_TABLE.' 405 410 WHERE user_id = '.$user['id'].' 406 411 ;'; 407 $data = pwg_db_fetch_assoc(pwg_query($query));408 409 if ($data['status'] <> "admin" and $data['status'] <> "webmaster" and $data['status'] <> "generic") // Exclusion of specific accounts410 {411 $user_idsOK = array();412 if (!UAM_check_profile($user['id'], $user_idsOK))413 redirect(PHPWG_ROOT_PATH.'profile.php');414 }415 }416 417 // Performing redirection to profile page for password reset418 // ---------------------------------------------------------419 if ((isset($conf_UAM[38]) and $conf_UAM[38] == 'true'))420 {421 $query ='412 $data = pwg_db_fetch_assoc(pwg_query($query)); 413 414 if ($data['status'] <> "admin" and $data['status'] <> "webmaster" and $data['status'] <> "generic") // Exclusion of specific accounts 415 { 416 $user_idsOK = array(); 417 if (!UAM_check_profile($user['id'], $user_idsOK)) 418 redirect(PHPWG_ROOT_PATH.'profile.php'); 419 } 420 } 421 422 // Performing redirection to profile page for password reset 423 // --------------------------------------------------------- 424 if ((isset($conf_UAM[38]) and $conf_UAM[38] == 'true')) 425 { 426 $query =' 422 427 SELECT user_id, status 423 428 FROM '.USER_INFOS_TABLE.' 424 429 WHERE user_id = '.$user['id'].' 425 430 ;'; 426 $data = pwg_db_fetch_assoc(pwg_query($query)); 427 428 if ($data['status'] <> "webmaster" and $data['status'] <> "generic") // Exclusion of specific accounts 429 { 430 if (UAM_check_pwgreset($user['id'])) 431 { 432 redirect(PHPWG_ROOT_PATH.'profile.php'); 431 $data = pwg_db_fetch_assoc(pwg_query($query)); 432 433 if ($data['status'] <> "webmaster" and $data['status'] <> "generic") // Exclusion of specific accounts 434 { 435 if (UAM_check_pwgreset($user['id'])) 436 { 437 redirect(PHPWG_ROOT_PATH.'profile.php'); 438 } 433 439 } 434 440 } 441 } 442 elseif ((isset($conf_UAM[39]) and $conf_UAM[39] == 'true') and !UAM_UsrReg_Verif($user['id'])) 443 { 444 // Logged-in user cleanup, session destruction and redirected to custom page 445 // ------------------------------------------------------------------------- 446 invalidate_user_cache(); 447 logout_user(); 448 redirect(UAM_PATH.'rejected.php'); 435 449 } 436 450 } … … 2073 2087 2074 2088 /** 2075 * Function called from main.inc.php - Check if username matches forbidden caracters2089 * Function called from functions.inc.php - Check if username matches forbidden caracters 2076 2090 * 2077 2091 * @param : User login … … 2566 2580 2567 2581 /** 2568 * Function called from maintain.inc.php - to check if database upgrade is needed2569 *2570 * @param : table name2571 *2572 * @return : boolean2573 *2574 */2575 function table_exist($table)2576 {2577 $query = 'DESC '.$table.';';2578 return (bool)($res=pwg_query($query));2579 }2580 2581 2582 /**2583 * Function called from UAM_admin.php and main.inc.php to get the plugin version and name2584 *2585 * @param : plugin directory2586 *2587 * @return : plugin's version and name2588 *2589 */2590 function PluginInfos($dir)2591 {2592 $path = $dir;2593 2594 $plg_data = implode( '', file($path.'main.inc.php') );2595 if ( preg_match("|Plugin Name: (.*)|", $plg_data, $val) )2596 {2597 $plugin['name'] = trim( $val[1] );2598 }2599 if (preg_match("|Version: (.*)|", $plg_data, $val))2600 {2601 $plugin['version'] = trim($val[1]);2602 }2603 if ( preg_match("|Plugin URI: (.*)|", $plg_data, $val) )2604 {2605 $plugin['uri'] = trim($val[1]);2606 }2607 if ($desc = load_language('description.txt', $path.'/', array('return' => true)))2608 {2609 $plugin['description'] = trim($desc);2610 }2611 elseif ( preg_match("|Description: (.*)|", $plg_data, $val) )2612 {2613 $plugin['description'] = trim($val[1]);2614 }2615 if ( preg_match("|Author: (.*)|", $plg_data, $val) )2616 {2617 $plugin['author'] = trim($val[1]);2618 }2619 if ( preg_match("|Author URI: (.*)|", $plg_data, $val) )2620 {2621 $plugin['author uri'] = trim($val[1]);2622 }2623 if (!empty($plugin['uri']) and strpos($plugin['uri'] , 'extension_view.php?eid='))2624 {2625 list( , $extension) = explode('extension_view.php?eid=', $plugin['uri']);2626 if (is_numeric($extension)) $plugin['extension'] = $extension;2627 }2628 // IMPORTANT SECURITY !2629 // --------------------2630 $plugin = array_map('htmlspecialchars', $plugin);2631 2632 return $plugin ;2633 }2634 2635 2636 /**2637 * Delete obsolete files on plugin upgrade2638 * Obsolete files are listed in file obsolete.list2639 *2640 */2641 function clean_obsolete_files()2642 {2643 if (file_exists(UAM_PATH.'obsolete.list')2644 and $old_files = file(UAM_PATH.'obsolete.list', FILE_IGNORE_NEW_LINES)2645 and !empty($old_files))2646 {2647 array_push($old_files, 'obsolete.list');2648 foreach($old_files as $old_file)2649 {2650 $path = UAM_PATH.$old_file;2651 if (is_file($path))2652 {2653 @unlink($path);2654 }2655 elseif (is_dir($path))2656 {2657 @rmdir($path);2658 }2659 }2660 }2661 }2662 2663 2664 /**2665 2582 * UAM_check_profile - Thx to LucMorizur 2666 2583 * checks if a user id is registered as having already 2667 * visited his profile .phppage.2584 * visited his profile page. 2668 2585 * 2669 2586 * @uid : the user id … … 2699 2616 * UAM_check_pwdreset 2700 2617 * checks if a user id is registered as having already 2701 * changed theirpassword.2618 * changed his password. 2702 2619 * 2703 2620 * @uid : the user id … … 2722 2639 else return false; 2723 2640 } 2641 2642 2643 /** 2644 * UAM_UsrReg_Verif 2645 * Check if the user who logged-in have validate his registration 2646 * 2647 * @returns : True if validation is OK else False 2648 */ 2649 function UAM_UsrReg_Verif($user_id) 2650 { 2651 global $conf; 2652 2653 // Get UAM configuration 2654 // --------------------- 2655 $conf_UAM = unserialize($conf['UserAdvManager']); 2656 2657 $query = ' 2658 SELECT group_id 2659 FROM '.USER_GROUP_TABLE.' 2660 WHERE user_id = '.$user_id.' 2661 AND group_id = '.$conf_UAM[2].' 2662 ;'; 2663 2664 $count = pwg_db_num_rows(pwg_query($query)); 2665 2666 if ($count == 0) 2667 { 2668 return true; // User is not in a "Waiting" group 2669 } 2670 else 2671 { 2672 return false; // User is still in a "Waiting" group 2673 } 2674 } 2675 2724 2676 2725 2677 /** … … 3017 2969 3018 2970 2971 /** 2972 * Delete obsolete files on plugin upgrade 2973 * Obsolete files are listed in file obsolete.list 2974 * 2975 */ 2976 function clean_obsolete_files() 2977 { 2978 if (file_exists(UAM_PATH.'obsolete.list') 2979 and $old_files = file(UAM_PATH.'obsolete.list', FILE_IGNORE_NEW_LINES) 2980 and !empty($old_files)) 2981 { 2982 array_push($old_files, 'obsolete.list'); 2983 foreach($old_files as $old_file) 2984 { 2985 $path = UAM_PATH.$old_file; 2986 if (is_file($path)) 2987 { 2988 @unlink($path); 2989 } 2990 elseif (is_dir($path)) 2991 { 2992 @rmdir($path); 2993 } 2994 } 2995 } 2996 } 2997 2998 2999 /** 3000 * Function called from maintain.inc.php - to check if database upgrade is needed 3001 * 3002 * @param : table name 3003 * 3004 * @return : boolean 3005 * 3006 */ 3007 function table_exist($table) 3008 { 3009 $query = 'DESC '.$table.';'; 3010 return (bool)($res=pwg_query($query)); 3011 } 3012 3013 3014 /** 3015 * Function called from UAM_admin.php and main.inc.php to get the plugin version and name 3016 * 3017 * @param : plugin directory 3018 * 3019 * @return : plugin's version and name 3020 * 3021 */ 3022 function PluginInfos($dir) 3023 { 3024 $path = $dir; 3025 3026 $plg_data = implode( '', file($path.'main.inc.php') ); 3027 if ( preg_match("|Plugin Name: (.*)|", $plg_data, $val) ) 3028 { 3029 $plugin['name'] = trim( $val[1] ); 3030 } 3031 if (preg_match("|Version: (.*)|", $plg_data, $val)) 3032 { 3033 $plugin['version'] = trim($val[1]); 3034 } 3035 if ( preg_match("|Plugin URI: (.*)|", $plg_data, $val) ) 3036 { 3037 $plugin['uri'] = trim($val[1]); 3038 } 3039 if ($desc = load_language('description.txt', $path.'/', array('return' => true))) 3040 { 3041 $plugin['description'] = trim($desc); 3042 } 3043 elseif ( preg_match("|Description: (.*)|", $plg_data, $val) ) 3044 { 3045 $plugin['description'] = trim($val[1]); 3046 } 3047 if ( preg_match("|Author: (.*)|", $plg_data, $val) ) 3048 { 3049 $plugin['author'] = trim($val[1]); 3050 } 3051 if ( preg_match("|Author URI: (.*)|", $plg_data, $val) ) 3052 { 3053 $plugin['author uri'] = trim($val[1]); 3054 } 3055 if (!empty($plugin['uri']) and strpos($plugin['uri'] , 'extension_view.php?eid=')) 3056 { 3057 list( , $extension) = explode('extension_view.php?eid=', $plugin['uri']); 3058 if (is_numeric($extension)) $plugin['extension'] = $extension; 3059 } 3060 // IMPORTANT SECURITY ! 3061 // -------------------- 3062 $plugin = array_map('htmlspecialchars', $plugin); 3063 3064 return $plugin ; 3065 } 3066 3019 3067 3020 3068 /** -
extensions/UserAdvManager/trunk/include/upgradedb.inc.php
r12271 r12661 559 559 } 560 560 } 561 562 563 /* upgrade from 2.30.x to 2.30.2 */ 564 /* ***************************** */ 565 function upgrade_2300_2302() 566 { 567 global $conf; 568 569 load_language('plugin.lang', UAM_PATH); 570 571 // Upgrading options 572 // ----------------- 573 $query = ' 574 SELECT value 575 FROM '.CONFIG_TABLE.' 576 WHERE param = "UserAdvManager" 577 ;'; 578 579 $result = pwg_query($query); 580 $conf_UAM = pwg_db_fetch_assoc($result); 581 582 $Newconf_UAM = unserialize($conf_UAM['value']); 583 584 $Newconf_UAM[39] = 'false'; 585 $Newconf_UAM[40] = l10n('UAM_Default_RejectConnexion_Txt'); 586 587 $update_conf = serialize($Newconf_UAM); 588 589 conf_update_param('UserAdvManager', pwg_db_real_escape_string($update_conf)); 590 } 561 591 ?> -
extensions/UserAdvManager/trunk/language/en_UK/help.lang.php
r12314 r12661 343 343 <b style="color: red;">Warning: After the restore, it is necessary to reload the administration page of the plugin to see the restored settings!</b>'; 344 344 // --------- End: New or revised $lang ---- from version 2.30.0 345 346 347 // --------- Starting below: New or revised $lang ---- from version 2.30.2 348 $lang['UAM_RejectConnexion_d'] = 'If activated, new registered users who have not validate their registration won\'t be able to connect to the gallery. They will be redirected to a special page to inform them of this state.<br><br> 349 <b style="color: red;">Warning - This feature works only in conjunction with validation groups! See below to set the groups as required.</b>'; 350 $lang['UAM_RejectConnexion_Custom_Txt_d'] = 'Customize here your explanation text for inform unvalidated users that they won\'t be able to connect the gallery until they have validate their registration. 351 <br><br> 352 This field is compatible with the FCK Editor and, for multi-languages, you can use the [lang] tags of the Extended description plugin if it\'s active.'; 353 // --------- End: New or revised $lang ---- from version 2.30.2 345 354 ?> -
extensions/UserAdvManager/trunk/language/en_UK/plugin.lang.php
r12314 r12661 407 407 $lang['UAM_Bad_version_backup'] = 'The version of the backup file does not match the version of the plugin! The restoration was not performed.'; 408 408 // --------- End: New or revised $lang ---- from version 2.30.1 409 410 // --------- Starting below: New or revised $lang ---- from version 2.30.2 411 $lang['UAM_NewFeature'] = 'New feature !'; 412 $lang['UAM_RejectConnexion'] = 'Reject user\'s connexion until registration is validated'; 413 $lang['UAM_RejectConnexion_Custom_Txt'] = 'Customize rejection text'; 414 $lang['UAM_Default_RejectConnexion_Txt'] = 'Sorry, you don\'t have validate your registration yet, so you can\'t connect the gallery now. Please check your email box. You should find an email sent by the gallery, containing a link to perform your validation. If not, please contact the webmaster.'; 415 $lang['UAM_Reject_Page_Title'] = 'Connexion not allowed !'; 416 // --------- End: New or revised $lang ---- from version 2.30.2 409 417 ?> -
extensions/UserAdvManager/trunk/language/fr_FR/help.lang.php
r12314 r12661 339 339 <b style="color: red;">Attention : Après la restauration, il est nécessaire de recharger la page d\'administration du plugin pour voir les paramètres restaurés !</b>'; 340 340 // --------- End: New or revised $lang ---- from version 2.30.0 341 342 343 // --------- Starting below: New or revised $lang ---- from version 2.30.2 344 $lang['UAM_RejectConnexion_d'] = 'Si activée, les nouveaux inscrits qui n\'ont pas validé leur inscription ne pourront pas se connecter à la galerie. Ils seront redirigés vers une page spéciale pour les informer de cet état.<br><br> 345 <b style="color: red;">Attention - Cette option fonctionne uniquement avec les groupes de validation ! Référez-vous ci-dessous pour affecter les paramètres de groupes requis.</b>'; 346 $lang['UAM_RejectConnexion_Custom_Txt_d'] = 'Personnalisez ici votre message d\'explication informant les utilisateurs non validés qu\'ils ne pourront pas se connecter à la galerie tant qu\'ils n\'auront pas validé leur inscription. 347 <br><br> 348 Ce champ est compatible avec l\'extension FCK Editor et, pour une utilisation multi-langues, vous pouvez utiliser les balises [lang] du plugin Extended Description si celui-ci est actif.'; 349 // --------- End: New or revised $lang ---- from version 2.30.2 341 350 ?> -
extensions/UserAdvManager/trunk/language/fr_FR/plugin.lang.php
r12314 r12661 404 404 $lang['UAM_Bad_version_backup'] = 'La version du fichier de sauvegarde ne correspond pas à la version du plugin ! La restauration n\'a pas été réalisée.'; 405 405 // --------- End: New or revised $lang ---- from version 2.30.1 406 407 408 // --------- Starting below: New or revised $lang ---- from version 2.30.2 409 $lang['UAM_NewFeature'] = 'Nouvelle option !'; 410 $lang['UAM_RejectConnexion'] = 'Rejeter les connexions des utilisateurs non validés'; 411 $lang['UAM_RejectConnexion_Custom_Txt'] = 'Personnaliser le texte de la page de rejet de la connexion'; 412 $lang['UAM_Default_RejectConnexion_Txt'] = 'Désolé, vous n\'avez pas encore validé votre inscription et vous ne pouvez pas vous connecter maintenant. Merci de vérifier votre boite aux lettres. Vous devriez y trouver un message comportant un lien pour valider votre inscription. Si ce n\'est pas le cas, merci de contacter l\'administrateur de la galerie.'; 413 $lang['UAM_Reject_Page_Title'] = 'Connexion refusée !'; 414 // --------- End: New or revised $lang ---- from version 2.30.2 406 415 ?> -
extensions/UserAdvManager/trunk/main.inc.php
r12550 r12661 2 2 /* 3 3 Plugin Name: UserAdvManager 4 Version: 2.30. 14 Version: 2.30.2 5 5 Description: Renforcer la gestion des utilisateurs - Enforce users management 6 6 Plugin URI: http://piwigo.org/ext/extension_view.php?eid=216 -
extensions/UserAdvManager/trunk/maintain.inc.php
r12271 r12661 64 64 $defaultUAM[37] = '-1'; // UAM_DOWNGRADE_LEVEL 65 65 $defaultUAM[38] = 'false'; // UAM_PWDRESET_TRUE/FALSE 66 $defaultUAM[39] = 'false'; // UAM_REJECTCONNECT_TRUE/FALSE 67 $defaultUAM[40] = l10n('UAM_Default_RejectConnexion_Txt'); // UAM_REJECTCONNECT_TEXT 66 68 67 69 // Default specific parameters for UserAdvManager ConfirmMail conf … … 357 359 upgrade_2208_2300(); 358 360 } 361 362 if (version_compare($conf['UserAdvManager_Version'], '2.30.2') < 0) 363 { 364 /* upgrade from version 2.30.x to 2.30.2 */ 365 /* ************************************* */ 366 upgrade_2300_2302(); 367 } 359 368 } 360 369
Note: See TracChangeset
for help on using the changeset viewer.