Index: /extensions/UserAdvManager/branches/2.30/admin/UAM_admin.php =================================================================== --- /extensions/UserAdvManager/branches/2.30/admin/UAM_admin.php (revision 12666) +++ /extensions/UserAdvManager/branches/2.30/admin/UAM_admin.php (revision 12667) @@ -78,5 +78,5 @@ $height = '300px'; $areas = array(); -array_push( $areas,'UAM_ConfirmMail_Custom_Txt1','UAM_ConfirmMail_Custom_Txt2','UAM_GTAutoDelText','UAM_USRAutoDelText'); +array_push( $areas,'UAM_ConfirmMail_Custom_Txt1','UAM_ConfirmMail_Custom_Txt2','UAM_GTAutoDelText','UAM_USRAutoDelText','UAM_CustomRejectConnexion_Text'); if (function_exists('set_fckeditor_instance')) @@ -109,5 +109,5 @@ case 'global': - 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'])) + 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'])) { @@ -129,4 +129,6 @@ $_POST['UAM_USRAutoDelText'] = str_replace('\"', '"', str_replace("\'", "'", str_replace("\\\\", "\\", $_POST['UAM_GTAutoDelText']))); + + $_POST['UAM_CustomRejectConnexion_Text'] = str_replace('\"', '"', str_replace("\'", "'", str_replace("\\\\", "\\", $_POST['UAM_CustomRejectConnexion_Text']))); // Check if CR-LF exist at begining and end of mail exclusion list - If yes, removes them @@ -200,4 +202,6 @@ (isset($_POST['UAM_Downgrade_Level'])?$_POST['UAM_Downgrade_Level']:''), $_POST['UAM_PwdReset'], + $_POST['UAM_RejectConnexion'], + $_POST['UAM_CustomRejectConnexion_Text'], ); @@ -593,4 +597,7 @@ 'UAM_PWDRESET_TRUE' => $conf_UAM[38]=='true' ? 'checked="checked"' : '' , 'UAM_PWDRESET_FALSE' => $conf_UAM[38]=='false' ? 'checked="checked"' : '' , + 'UAM_REJECTCONNECT_TRUE' => $conf_UAM[39]=='true' ? 'checked="checked"' : '' , + 'UAM_REJECTCONNECT_FALSE' => $conf_UAM[39]=='false' ? 'checked="checked"' : '' , + 'UAM_REJECTCONNECT_TEXT' => $conf_UAM[40], 'UAM_PASSWORD_TEST_SCORE' => $UAM_Password_Test_Score, 'UAM_ERROR_REPORTS1' => $UAM_Exclusionlist_Error, Index: /extensions/UserAdvManager/branches/2.30/admin/template/ghosttracker.tpl =================================================================== --- /extensions/UserAdvManager/branches/2.30/admin/template/ghosttracker.tpl (revision 12666) +++ /extensions/UserAdvManager/branches/2.30/admin/template/ghosttracker.tpl (revision 12667) @@ -40,5 +40,5 @@