Changeset 1160
- Timestamp:
- Apr 14, 2006, 12:25:40 AM (18 years ago)
- Location:
- trunk
- Files:
-
- 4 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 -
trunk/include/functions.inc.php
r1156 r1160 537 537 $redirect_msg = $msg; 538 538 } 539 $redirect_msg = nl2br($redirect_msg); 539 540 $refresh = $refreh_time; 540 541 $url_link = $url; … … 921 922 $message_post = "POST ".$_SERVER['PHP_SELF'].html_entity_decode(get_query_string_diff(array()))." HTTP/1.1\r\n"; 922 923 923 foreach (array_flip(array_diff(array_flip(apache_request_headers()), array('Content-Type', 'Content-Length'))) as $header_name => $header_value)924 /* foreach (array_flip(array_diff(array_flip(apache_request_headers()), array('Content-Type', 'Content-Length'))) as $header_name => $header_value) 924 925 { 925 926 $message_post .= $header_name.": ".$header_value."\r\n"; 926 } 927 928 929 // $message_post .= "Host: ".$_SERVER['HTTP_HOST']."\r\n"; 930 // $message_post .= "Cookie: ".$conf['session_name']."=".$_COOKIE[$conf['session_name']]."\r\n"; 927 }*/ 928 $message_post .= "Host: ".$_SERVER['HTTP_HOST']."\r\n"; 929 $message_post .= "Cookie: ".$conf['session_name']."=".$_COOKIE[$conf['session_name']]."\r\n"; 930 931 931 932 $message_post .= "Content-Type: application/x-www-form-urlencoded\r\n"; 932 933 $message_post .= "Content-Length: ".strlen($data_post)."\r\n"; -
trunk/language/en_UK.iso-8859-1/admin.lang.php
r1156 r1160 254 254 $lang['metadata_iptc'] = 'IPTC'; 255 255 $lang['name'] = 'name'; 256 $lang['nbm_background_treatment_redirect'] = 'Execution time is out, treatment continue on background. 256 $lang['nbm_background_treatment_redirect'] = 'Execution time is out, treatment continue on background.'."\n".'Re-display on %d secondes...'; 257 257 $lang['nbm_break_timeout_list_user'] = 'Prepared time for list of users to send mail is limited. Others users are not listed.'; 258 258 $lang['nbm_col_check_user_send_mail'] = 'To send ?'; -
trunk/language/fr_FR.iso-8859-1/admin.lang.php
r1156 r1160 257 257 $lang['metadata_iptc'] = 'IPTC'; 258 258 $lang['name'] = 'nom'; 259 $lang['nbm_background_treatment_redirect'] = 'Le temps d\'éxécution étant dépassé, le traitement continue en arrière plan. 259 $lang['nbm_background_treatment_redirect'] = 'Le temps d\'éxécution étant dépassé, le traitement continue en arrière plan.'."\n".'Ré-affichage dans %d secondes...'; 260 260 $lang['nbm_break_timeout_list_user'] = 'Le temps de préparation de la liste des utilisateurs pour l\'envoi est limité. Les autres utilisateurs ne sont pas listés.'; 261 261 $lang['nbm_col_check_user_send_mail'] = 'A envoyer ?';
Note: See TracChangeset
for help on using the changeset viewer.