adminSaveSettingsFromPostData();
// Remember new settings
- setConfigEntry('bonus_active' , postRequestParameter('bonus_active'));
- setConfigEntry('bonus_en_notify', postRequestParameter('bonus_en_notify'));
- setConfigEntry('bonus_di_notify', postRequestParameter('bonus_di_notify'));
+ setConfigEntry('bonus_active' , postRequestParameter('bonus_active'));
+ setConfigEntry('bonus_enable_notify' , postRequestParameter('bonus_enable_notify'));
+ setConfigEntry('bonus_disable_notify', postRequestParameter('bonus_disable_notify'));
} else {
// Prepare contants for the template
$content['login'] = translateComma(getConfig('login_bonus') , false);
$content['wait_selection'] = createTimeSelections(getConfig('bonus_notify_wait'), 'bonus_notify_wait', 'ms' );
// Init Y/N selections
- foreach (array('active','login_yn','stats_yn','order_yn','ref_yn','click_yn','en_notify','di_notify','new_mem_notify','include_own') as $entry) {
+ foreach (array('active','login_yn','stats_yn','order_yn','ref_yn','click_yn','enable_notify','disable_notify','new_member_notify','include_own') as $entry) {
$content[$entry . '_y'] = '';
$content[$entry . '_n'] = '';
$content[$entry . '_' . strtolower(getConfig('bonus_' . $entry))] = ' checked="checked"';