Changeset 1160 for trunk/admin/notification_by_mail.php
- Timestamp:
- Apr 14, 2006, 12:25:40 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/notification_by_mail.php
r1156 r1160 118 118 global $conf, $page, $env_nbm; 119 119 120 // Treatment of simulate post 121 if (isset($_POST['insert_new_user_nbm'])) 122 { 123 $check_key_treated = do_subscribe_unsubcribe_notification_by_mail 124 ( 125 true, 126 $conf['nbm_default_value_user_enabled'], 127 $_POST['insert_new_user_nbm'] 128 ); 129 do_background_treatment('insert_new_user_nbm', $check_key_treated); 130 } 131 120 132 // Set null mail_address empty 121 133 $query = ' … … 187 199 if ($conf['nbm_default_value_user_enabled']) 188 200 { 189 $_POST['trueify'] = 'trueify'; 190 $_POST['cat_false'] = $check_key_list; 191 do_background_treatment('cat_false', $check_key_treated); 192 } 193 else 194 { 195 $_POST['falsify'] = 'falsify'; 196 $_POST['cat_true'] = $check_key_list; 197 do_background_treatment('cat_true', $check_key_treated); 201 // Simulate Post 202 $_POST['insert_new_user_nbm'] = $check_key_list; 203 do_background_treatment('insert_new_user_nbm', $check_key_treated); 198 204 } 199 205 } … … 573 579 $page['mode'].'.send_data', 574 580 array( 575 'CUSTOMIZE_MAIL_CONTENT' => isset($_POST['send_customize_mail_content']) ? $_POST['send_customize_mail_content']: $conf['nbm_complementary_mail_content']581 'CUSTOMIZE_MAIL_CONTENT' => isset($_POST['send_customize_mail_content']) ? stripslashes($_POST['send_customize_mail_content']) : $conf['nbm_complementary_mail_content'] 576 582 )); 577 583
Note: See TracChangeset
for help on using the changeset viewer.