| 1 |
<?php |
| 2 |
if ( ! defined( 'ABSPATH' ) ) { |
| 3 |
die( 'You are not allowed to call this page directly.' ); |
| 4 |
} |
| 5 |
|
| 6 |
$frm_settings = FrmAppHelper::get_settings(); |
| 7 |
if ( empty( $frm_settings->pubkey ) ) { |
| 8 |
?> |
| 9 |
<div class="howto frm_no_captcha_text"><?php |
| 10 |
/* translators: %1$s: Link HTML, %2$s: End link */ |
| 11 |
printf( esc_html__( 'Your captcha will not appear on your form until you %1$sset up%2$s the Site and Secret Keys', 'formidable' ), '<a href="?page=formidable-settings" target="_blank">', '</a>' ); |
| 12 |
?></div> |
| 13 |
<?php } ?> |
| 14 |
<img src="<?php echo esc_url( FrmAppHelper::plugin_url() . '/images/recaptcha.png' ); ?>" class="recaptcha_placeholder" alt="reCaptcha"/> |
| 15 |
<input type="hidden" name="<?php echo esc_attr( $field_name ); ?>" value="1" /> |
| 16 |
|