setConfigEntry('bonus_disable_notify', postRequestParameter('bonus_disable_notify'));
} else {
// Transfer options to template
- $content['form_selection'] = addMemberSelectionBox(getBonusUserId(), false, true, true, 'bonus_userid');
+ $content['bonus_userid'] = addMemberSelectionBox(getBonusUserid(), false, true, true, 'bonus_userid');
// Initialize array for the points list
$RANKS = explode(';', getConfig('turbo_rates'));
$content['bonus_timeout_selection'] = createConfigurationTimeSelections('bonus_timeout' , 'WDh');
$content['wait_selection'] = createConfigurationTimeSelections('bonus_notify_wait', 'ms' );
- // Init Y/N selections
- 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"';
- } // END - foreach
-
// Load final template
loadTemplate('admin_config_bonus', false, $content);
}