| 1 |
<?php |
| 2 |
/** |
| 3 |
* View rechaptcha settings |
| 4 |
* |
| 5 |
* @package |
| 6 |
*/ |
| 7 |
?> |
| 8 |
<div class="wpfnl-box recapcha-settings"> |
| 9 |
<div class="wpfnl-field-wrapper analytics-stats recapcha-wrapper"> |
| 10 |
<label class="recaptcha-label"><?php esc_html_e('Connect reCAPTCHA (v3)', 'wpfnl'); ?></label> |
| 11 |
<div class="wpfnl-fields connect-recaptcha"> |
| 12 |
<span class="wpfnl-switcher extra-sm no-title"> |
| 13 |
<input type="checkbox" name="wpfnl-recapcha-enable" id="recapcha-pixel-enable" <?php if ($this->recaptcha_settings['enable_recaptcha'] == 'on') { |
| 14 |
echo 'checked'; |
| 15 |
} ?> /> |
| 16 |
<label for="recapcha-pixel-enable"></label> |
| 17 |
</span> |
| 18 |
</div> |
| 19 |
</div> |
| 20 |
<div id="wpfnl-recapcha"> |
| 21 |
<div class="wpfnl-field-wrapper recaptcha-tracking" id="recaptcha-tracking"> |
| 22 |
<label> |
| 23 |
<?php esc_html_e('Site Key', 'wpfnl'); ?> |
| 24 |
<span class="wpfnl-tooltip"> |
| 25 |
<?php require WPFNL_DIR . '/admin/partials/icons/settings-tooltip-icon.php'; ?> |
| 26 |
<p><?php esc_html_e('Collect the Site Key from your Google reCAPTCHA site settings under the reCAPTCHA keys.', 'wpfnl'); ?></p> |
| 27 |
</span> |
| 28 |
</label> |
| 29 |
<div class="wpfnl-fields"> |
| 30 |
<input type="text" name="wpfnl-recapcha-site-key" id="wpfnl-recapcha-site-key" value="<?php echo isset($this->recaptcha_settings['recaptcha_site_key']) ? $this->recaptcha_settings['recaptcha_site_key'] : ''; ?>" /> |
| 31 |
</div> |
| 32 |
</div> |
| 33 |
<div class="wpfnl-field-wrapper analytics-stats"> |
| 34 |
<label> |
| 35 |
<?php esc_html_e('Site Secret', 'wpfnl'); ?> |
| 36 |
<span class="wpfnl-tooltip"> |
| 37 |
<?php require WPFNL_DIR . '/admin/partials/icons/settings-tooltip-icon.php'; ?> |
| 38 |
<p><?php esc_html_e('Collect the Secrect Key from your Google reCAPTCHA site settings under the reCAPTCHA keys.', 'wpfnl'); ?></p> |
| 39 |
</span> |
| 40 |
</label> |
| 41 |
<div class="wpfnl-fields"> |
| 42 |
<input type="text" name="wpfnl-recapcha-site-secret" id="wpfnl-recapcha-site-secret" value="<?php echo isset($this->recaptcha_settings['recaptcha_site_secret']) ? $this->recaptcha_settings['recaptcha_site_secret'] : ''; ?>" /> |
| 43 |
</div> |
| 44 |
</div> |
| 45 |
</div> |
| 46 |
</div> |
| 47 |
<!-- /settings-box --> |
| 48 |
|