is_action()) { if ($controls->is_action('save')) { $controls->data['ip_blacklist'] = $this->to_array($controls->data['ip_blacklist']); $controls->data['address_blacklist'] = $this->to_array($controls->data['address_blacklist']); $this->save_options($controls->data, 'antibot'); $controls->add_message_saved(); } } else { $controls->data = $this->get_options('antibot'); } ?>

page_help('https://www.thenewsletterplugin.com/documentation/subscription/antiflood') ?>
init(); ?>

button_save() ?>

*/ ?>
yesno('disabled'); ?> help('https://www.thenewsletterplugin.com/documentation/subscription/antiflood') ?>

field_label('Akismet', '/documentation/subscription/antiflood#akismet')?> select('akismet', array( 0 => __('Disabled', 'newsletter'), 1 => __('Enabled', 'newsletter') )); ?>
field_label(__('Antiflood', 'newsletter'), '/documentation/subscription/antiflood#antiflood') ?> select('antiflood', array( 0 => __('Disabled', 'newsletter'), 5 => '5 ' . __('seconds', 'newsletter'), 10 => '10 ' . __('seconds', 'newsletter'), 15 => '15 ' . __('seconds', 'newsletter'), 30 => '30 ' . __('seconds', 'newsletter'), 60 => '1 ' . __('minute', 'newsletter'), 120 => '2 ' . __('minutes', 'newsletter'), 300 => '5 ' . __('minutes', 'newsletter'), 600 => '10 ' . __('minutes', 'newsletter'), 900 => '15 ' . __('minutes', 'newsletter'), 1800 => '30 ' . __('minutes', 'newsletter'), 360 => '60 ' . __('minutes', 'newsletter') )); ?>
field_label(__('Captcha', 'newsletter'), '/documentation/subscription/antiflood/#captcha') ?> enabled('captcha'); ?>
yesno('domain_check'); ?>
field_label(__('IP black list', 'newsletter'), '/documentation/subscription/antiflood/#ip-blacklist') ?> textarea('ip_blacklist'); ?>

field_label(__('Address black list', 'newsletter'), '/documentation/subscription/antiflood/#email-blacklist') ?> textarea('address_blacklist'); ?>

button_save() ?>