Ignore:
Timestamp:
Feb 9, 2011, 9:39:22 PM (13 years ago)
Author:
Eric
Message:

Bug 1666 merged from trunk to branch 2.20

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/NBC_UserAdvManager/branches/2.20/admin/UAM_admin.php

    r8841 r9136  
    105105  case 'global':
    106106
    107         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_No_Comment_Anonymous']) 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']))
     107        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_No_Comment_Anonymous']) 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_CustomPasswRetr']))
    108108  {
    109109
     
    118118
    119119    $_POST['UAM_GTAutoMailText'] = str_replace('\"', '"', str_replace("\'", "'", str_replace("\\\\", "\\", $_POST['UAM_GTAutoMailText'])));
    120    
     120
    121121    $_POST['UAM_AdminValidationMail_Text'] = str_replace('\"', '"', str_replace("\'", "'", str_replace("\\\\", "\\", $_POST['UAM_AdminValidationMail_Text'])));
     122
     123    $_POST['UAM_CustomPasswRetr_Text'] = str_replace('\"', '"', str_replace("\'", "'", str_replace("\\\\", "\\", $_POST['UAM_CustomPasswRetr_Text'])));
    122124
    123125    //Check if CR-LF exist at begining and end of mail exclusion list - If yes, removes them
     
    167169      (isset($_POST['UAM_Downgrade_Group'])?$_POST['UAM_Downgrade_Group']:''),
    168170      (isset($_POST['UAM_Downgrade_Status'])?$_POST['UAM_Downgrade_Status']:''),
    169       $_POST['UAM_AdminValidationMail_Text']
     171      $_POST['UAM_AdminValidationMail_Text'],
     172      $_POST['UAM_CustomPasswRetr'],
     173      $_POST['UAM_CustomPasswRetr_Text']
    170174      );
    171175
     
    405409                'UAM_Downgrade_Status'           => $conf_UAM[27],
    406410    'UAM_ADMINVALIDATIONMAIL_TEXT'   => $conf_UAM[28],
     411    'UAM_CUSTOMPASSWRETR_TRUE'       => $conf_UAM[29]=='true' ?  'checked="checked"' : '' ,
     412    'UAM_CUSTOMPASSWRETR_FALSE'      => $conf_UAM[29]=='false' ?  'checked="checked"' : '' ,
     413    'UAM_CUSTOMPASSWRETR_TEXT'       => $conf_UAM[30],
    407414                'UAM_PASSWORD_TEST_SCORE'        => $UAM_Password_Test_Score,
    408415    'UAM_ERROR_REPORTS4'             => $UAM_Exclusionlist_Error,
Note: See TracChangeset for help on using the changeset viewer.