Ignore:
Timestamp:
Apr 14, 2006, 12:25:40 AM (18 years ago)
Author:
rub
Message:

Issue ID 330:

o Remove Apache functions
o Show redirect message on 2 lines

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/notification_by_mail.php

    r1156 r1160  
    118118  global $conf, $page, $env_nbm;
    119119
     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
    120132  // Set null mail_address empty
    121133  $query = '
     
    187199      if ($conf['nbm_default_value_user_enabled'])
    188200      {
    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);
    198204      }
    199205    }
     
    573579        $page['mode'].'.send_data',
    574580        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']
    576582          ));
    577583
Note: See TracChangeset for help on using the changeset viewer.