- define('__BEG_POINTS' , TRANSLATE_COMMA($_CONFIG['beg_points'] , false));
- define('__BEG_POINTS_MAX' , TRANSLATE_COMMA($_CONFIG['beg_points_max'] , false));
- define('__BEG_NOTIFY_BONUS' , TRANSLATE_COMMA($_CONFIG['beg_notify_bonus'], false));
- define('__BEG_TIMEOUT' , CREATE_TIME_SELECTIONS($_CONFIG['beg_timeout'] , "beg_timeout" , "Dhm"));
- define('__BEG_UID_TIMEOUT' , CREATE_TIME_SELECTIONS($_CONFIG['beg_uid_timeout'], "beg_uid_timeout", "Dhm"));
- define('__BEG_REMOTE_IP_TIMEOUT', CREATE_TIME_SELECTIONS($_CONFIG['beg_ip_timeout'] , "beg_ip_timeout" , "Dhm"));
- define('__WAIT_SELECTION' , CREATE_TIME_SELECTIONS($_CONFIG['beg_notify_wait'], "beg_notify_wait", "ms" ));
- define('__BEG_RANKS', $_CONFIG['beg_ranks']);
-
- // Activate / Deactivate beg rallye (Y/N)
- switch ($_CONFIG['beg_rallye'])
- {
- case 'Y':
- define('__BEG_RALLYE_Y', ' checked');
- define('__BEG_RALLYE_N', "");
- break;
-
- case 'N':
- define('__BEG_RALLYE_Y', "");
- define('__BEG_RALLYE_N', ' checked');
- break;
- }
- switch ($_CONFIG['beg_active'])
- {
- case 'Y':
- define('__BEG_ACTIVE_Y', ' checked');
- define('__BEG_ACTIVE_N', "");
- break;
+ $content['timeout'] = createConfigurationTimeSelections('beg_timeout' , 'Dhm');
+ $content['userid_timeout'] = createConfigurationTimeSelections('beg_userid_timeout', 'Dhm');
+ $content['beg_ip_timeout'] = createConfigurationTimeSelections('beg_ip_timeout' , 'Dhm');
+ $content['wait_selection'] = createConfigurationTimeSelections('beg_notify_wait' , 'ms' );