- $content['points'] = translateComma(getConfig('beg_points') , false);
- $content['points_max'] = translateComma(getConfig('beg_points_max') , false);
- $content['notify_bonus'] = translateComma(getConfig('beg_notify_bonus'), false);
- $content['timeout'] = createTimeSelections(getConfig('beg_timeout') , 'beg_timeout' , 'Dhm');
- $content['uid_timeout'] = createTimeSelections(getConfig('beg_uid_timeout'), 'beg_uid_timeout', 'Dhm');
- $content['ip_timeout'] = createTimeSelections(getConfig('beg_ip_timeout') , 'beg_ip_timeout' , 'Dhm');
- $content['wait_selection'] = createTimeSelections(getConfig('beg_notify_wait'), 'beg_notify_wait', 'ms' );
- $content['ranks'] = getConfig('beg_ranks');
-
- // Activate / Deactivate beg rallye (Y/N)
- switch (getConfig('beg_rallye'))
- {
- case 'Y':
- $content['rallye_yes'] = ' checked="checked"';
- $content['rallye_no'] = '';
- break;
-
- case 'N':
- $content['rallye_yes'] = '';
- $content['rallye_no'] = ' checked="checked"';
- break;
- }
-
- switch (getConfig('beg_active'))
- {
- case 'Y':
- $content['active_yes'] = ' checked="checked"';
- $content['active_no'] = '';
- break;
-
- case 'N':
- $content['active_yes'] = '';
- $content['active_no'] = ' checked="checked"';
- break;
- }
-
- switch (getConfig('beg_mode'))
- {
- case 'DIRECT':
- $content['mode_direct'] = ' checked="checked"';
- $content['mode_ref'] = '';
- break;
-
- case 'REF':
- $content['mode_direct'] = '';
- $content['mode_ref'] = ' checked="checked"';
- break;
- }
-
- switch (getConfig('beg_ral_en_notify'))
- {
- case 'Y':
- $content['ral_enable_notify_yes'] = ' checked="checked"';
- $content['ral_enable_notify_no'] = '';
- break;
-
- case 'N':
- $content['ral_enable_notify_yes'] = '';
- $content['ral_enable_notify_no'] = ' checked="checked"';
- break;
- }
-
- switch (getConfig('beg_ral_di_notify'))
- {
- case 'Y':
- $content['ral_disable_notify_yes'] = ' checked="checked"';
- $content['ral_disable_notify_no'] = '';
- break;
-
- case 'N':
- $content['ral_disable_notify_yes'] = '';
- $content['ral_disable_notify_no'] = ' checked="checked"';
- break;
- }
-
- switch (getConfig('beg_new_mem_notify'))
- {
- case 'Y':
- $content['new_member_notify_yes'] = ' checked="checked"';
- $content['new_member_notify_no'] = '';
- break;
-
- case 'N':
- $content['new_member_notify_yes'] = '';
- $content['new_member_notify_no'] = ' checked="checked"';
- break;
- }
-
- switch (getConfig('beg_include_own'))
- {
- case 'Y':
- $content['include_own_yes'] = ' checked="checked"';
- $content['include_own_no'] = '';
- break;
-
- case 'N':
- $content['include_own_yes'] = '';
- $content['include_own_no'] = ' checked="checked"';
- break;
- }