- define('__BEG_MIN_POINTS' , translateComma(getConfig('beg_points')));
- define('__BEG_MAX_POINTS' , translateComma(getConfig('beg_points_max')));
- define('__BEG_MAX_WINNERS', round(getConfig('beg_ranks')));
- if (getConfig('beg_ip_timeout') == 0) {
- // No IP locking setuped!
- define('__BEG_IP_LOCKER', getMessage('BEG_NO_LIMITATION'));
- } else {
+ $content['min_points'] = translateComma(getConfig('beg_points'));
+ $content['max_points'] = translateComma(getConfig('beg_points_max'));
+ $content['max_winner'] = round(getConfig('beg_ranks'));
+
+ // No IP locking setuped by default
+ $content['ip_locker'] = getMessage('BEG_NO_LIMITATION');
+
+ if (getConfig('beg_ip_timeout') > 0) {