Changeset 8092 for extensions/NBC_UserAdvManager/trunk/admin/UAM_admin.php
- Timestamp:
- Dec 12, 2010, 4:01:06 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/NBC_UserAdvManager/trunk/admin/UAM_admin.php
r8072 r8092 118 118 119 119 $_POST['UAM_GTAutoMailText'] = str_replace('\"', '"', str_replace("\'", "'", str_replace("\\\\", "\\", $_POST['UAM_GTAutoMailText']))); 120 121 $_POST['UAM_AdminValidationMail_Text'] = str_replace('\"', '"', str_replace("\'", "'", str_replace("\\\\", "\\", $_POST['UAM_AdminValidationMail_Text']))); 120 122 121 123 //Check if CR-LF exist at begining and end of mail exclusion list - If yes, removes them … … 160 162 $_POST['UAM_RedirToProfile'], 161 163 $_POST['UAM_GTAuto'], 162 $_POST['UAM_GTAutoDel'],163 164 $_POST['UAM_GTAutoMail'], 164 165 $_POST['UAM_GTAutoDelText'], 165 166 $_POST['UAM_GTAutoMailText'], 166 167 (isset($_POST['UAM_Downgrade_Group'])?$_POST['UAM_Downgrade_Group']:''), 167 (isset($_POST['UAM_Downgrade_Status'])?$_POST['UAM_Downgrade_Status']:'')); 168 (isset($_POST['UAM_Downgrade_Status'])?$_POST['UAM_Downgrade_Status']:''), 169 $_POST['UAM_AdminValidationMail_Text'] 170 ); 168 171 169 172 $conf['UserAdvManager'] = serialize($newconf_UAM); … … 252 255 } 253 256 //configuration value for downgrade users 254 if (isset($conf_UAM[2 7]) and $conf_UAM[27] == $row['id'])257 if (isset($conf_UAM[26]) and $conf_UAM[26] == $row['id']) 255 258 { 256 259 $Downgrade = $row['id']; … … 331 334 { 332 335 $status_options[$status] = l10n('user_status_'.$status); 333 if (isset($conf_UAM[2 8]) and $conf_UAM[28] == $status)336 if (isset($conf_UAM[27]) and $conf_UAM[27] == $status) 334 337 { 335 338 $Downgrade_Status = $status; … … 395 398 'UAM_GTAUTO_TRUE' => $conf_UAM[22]=='true' ? 'checked="checked"' : '' , 396 399 'UAM_GTAUTO_FALSE' => $conf_UAM[22]=='false' ? 'checked="checked"' : '' , 397 'UAM_GTAUTODEL_TRUE' => $conf_UAM[23]=='true' ? 'checked="checked"' : '' , 398 'UAM_GTAUTODEL_FALSE' => $conf_UAM[23]=='false' ? 'checked="checked"' : '' , 399 'UAM_GTAUTOMAIL_TRUE' => $conf_UAM[24]=='true' ? 'checked="checked"' : '' , 400 'UAM_GTAUTOMAIL_FALSE' => $conf_UAM[24]=='false' ? 'checked="checked"' : '' , 401 'UAM_GTAUTODEL_TEXT' => $conf_UAM[25], 402 'UAM_GTAUTOMAILTEXT' => $conf_UAM[26], 403 'UAM_Downgrade_Group' => $conf_UAM[27], 404 'UAM_Downgrade_Status' => $conf_UAM[28], 400 'UAM_GTAUTOMAIL_TRUE' => $conf_UAM[23]=='true' ? 'checked="checked"' : '' , 401 'UAM_GTAUTOMAIL_FALSE' => $conf_UAM[23]=='false' ? 'checked="checked"' : '' , 402 'UAM_GTAUTODEL_TEXT' => $conf_UAM[24], 403 'UAM_GTAUTOMAILTEXT' => $conf_UAM[25], 404 'UAM_Downgrade_Group' => $conf_UAM[26], 405 'UAM_Downgrade_Status' => $conf_UAM[27], 406 'UAM_ADMINVALIDATIONMAIL_TEXT' => $conf_UAM[28], 405 407 'UAM_PASSWORD_TEST_SCORE' => $UAM_Password_Test_Score, 406 408 'UAM_ERROR_REPORTS4' => $UAM_Exclusionlist_Error, … … 966 968 { 967 969 ForceValidation($user_id); 970 validation_mail($user_id); 968 971 } 969 972 array_push(
Note: See TracChangeset
for help on using the changeset viewer.