- $content['login_timeout_selection'] = createTimeSelections(getConfig('login_timeout') , 'login_timeout' , 'WDh');
- $content['bonus_timeout_selection'] = createTimeSelections(getConfig('bonus_timeout') , 'bonus_timeout' , 'WDh');
- $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) {
- $content[$entry . '_y'] = '';
- $content[$entry . '_n'] = '';
- $content[$entry . '_' . strtolower(getConfig('bonus_' . $entry))] = ' checked="checked"';
- } // END - foreach
+ $content['login_timeout_selection'] = createConfigurationTimeSelections('login_timeout' , 'WDh');
+ $content['bonus_timeout_selection'] = createConfigurationTimeSelections('bonus_timeout' , 'WDh');
+ $content['wait_selection'] = createConfigurationTimeSelections('bonus_notify_wait', 'ms' );