PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 5.0.13
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v5.0.13
6.35 6.34 6.33.1 6.33 6.32.1 6.32 6.31 6.25 6.25.1 6.26 6.26.1 6.27 6.28 6.29 6.3 6.3.1 6.3.2 6.30 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 All 141 releases
formidable / classes / views / frm-settings / recaptcha.php

recaptcha.php in Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More 5.0.13, at classes/views/frm-settings/recaptcha.php

70 lines 2.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if ( ! defined( 'ABSPATH' ) ) {
3 die( 'You are not allowed to call this page directly.' );
4 }
5 ?>
6 <p class="howto">
7 <?php
8 printf(
9 /* translators: %1$s: Start link HTML, %2$s: End link HTML */
10 esc_html__( 'reCAPTCHA requires a Site and Private API key. Sign up for a %1$sfree reCAPTCHA key%2$s.', 'formidable' ),
11 '<a href="' . esc_url( 'https://www.google.com/recaptcha/' ) . '" target="_blank">',
12 '</a>'
13 );
14 ?>
15 </p>
16
17 <div class="frm_grid_container">
18 <p class="frm6 frm_form_field">
19 <label class="frm_help" for="frm_pubkey" title="<?php esc_attr_e( 'reCAPTCHA is a free, accessible CAPTCHA service that helps to digitize books while blocking spam on your blog. reCAPTCHA asks commenters to retype two words scanned from a book to prove that they are a human. This verifies that they are not a spambot.', 'formidable' ); ?>">
20 <?php esc_html_e( 'Site Key', 'formidable' ); ?>
21 </label>
22 <input type="text" name="frm_pubkey" id="frm_pubkey" size="42" value="<?php echo esc_attr( $frm_settings->pubkey ); ?>" />
23 </p>
24
25 <p class="frm6 frm_form_field">
26 <label for="frm_privkey">
27 <?php esc_html_e( 'Secret Key', 'formidable' ); ?>
28 </label>
29 <input type="text" name="frm_privkey" id="frm_privkey" size="42" value="<?php echo esc_attr( $frm_settings->privkey ); ?>" />
30 </p>
31
32 <p class="frm6 frm_form_field">
33 <label for="frm_re_type">
34 <?php esc_html_e( 'reCAPTCHA Type', 'formidable' ); ?>
35 </label>
36 <select name="frm_re_type" id="frm_re_type">
37 <option value="" <?php selected( $frm_settings->re_type, '' ); ?>>
38 <?php esc_html_e( 'Checkbox (V2)', 'formidable' ); ?>
39 </option>
40 <option value="invisible" <?php selected( $frm_settings->re_type, 'invisible' ); ?>>
41 <?php esc_html_e( 'Invisible', 'formidable' ); ?>
42 </option>
43 </select>
44 </p>
45
46 <p class="frm6 frm_form_field">
47 <label for="frm_re_lang">
48 <?php esc_html_e( 'reCAPTCHA Language', 'formidable' ); ?>
49 </label>
50 <select name="frm_re_lang" id="frm_re_lang">
51 <option value="" <?php selected( $frm_settings->re_lang, '' ); ?>>
52 <?php esc_html_e( 'Browser Default', 'formidable' ); ?>
53 </option>
54 <?php foreach ( $captcha_lang as $lang => $lang_name ) { ?>
55 <option value="<?php echo esc_attr( $lang ); ?>" <?php selected( $frm_settings->re_lang, $lang ); ?>>
56 <?php echo esc_html( $lang_name ); ?>
57 </option>
58 <?php } ?>
59 </select>
60 </p>
61
62 <p>
63 <label for="frm_re_multi">
64 <input type="checkbox" name="frm_re_multi" id="frm_re_multi"
65 value="1" <?php checked( $frm_settings->re_multi, 1 ); ?> />
66 <?php esc_html_e( 'Allow multiple reCaptchas to be used on a single page', 'formidable' ); ?>
67 </label>
68 </p>
69 </div>
70