| 1 |
<?php |
| 2 |
if ( ! defined( 'ABSPATH' ) ) { |
| 3 |
die( 'You are not allowed to call this page directly.' ); |
| 4 |
} |
| 5 |
$tooltip = __( 'Generate unique tokens for validating form submissions.', 'formidable' ); |
| 6 |
if ( FrmAppHelper::pro_is_installed() ) { |
| 7 |
$tooltip .= ' ' . __( 'Uploaded files will also be validated for spam.', 'formidable' ); |
| 8 |
} |
| 9 |
?> |
| 10 |
<p class="frm6 frm_form_field frm_first"> |
| 11 |
<label for="antispam"> |
| 12 |
<input id="antispam" type="checkbox" name="options[antispam]" <?php checked( $values['antispam'], 1 ); ?> value="1" /> |
| 13 |
<?php esc_html_e( 'Check entries for spam using JavaScript', 'formidable' ); ?> |
| 14 |
<?php FrmAppHelper::tooltip_icon( $tooltip, array( 'data-container' => 'body' ) ); ?> |
| 15 |
</label> |
| 16 |
</p> |
| 17 |
|