Version Description
- Show pages hierarchy in page select dropdown.
Download this release
Release Info
Developer | yuvalsabar |
Plugin | Contact Form 7 Redirection |
Version | 1.3.7 |
Comparing to | |
See all releases |
Code changes from version 1.3.6 to 1.3.7
- admin/wpcf7-redirect-admin-script.js +7 -3
- admin/wpcf7-redirect-admin-style.css +47 -42
- js/wpcf7-redirect-script.js +1 -1
- lang/readme.txt +1 -1
- readme.txt +5 -2
- wpcf7-redirect.php +36 -39
admin/wpcf7-redirect-admin-script.js
CHANGED
@@ -35,7 +35,7 @@ jQuery(document).ready(function($) {
|
|
35 |
$('.checkbox-radio-1').prop('checked', false);
|
36 |
if ( checked ) {
|
37 |
$(this).prop('checked',true);
|
38 |
-
}
|
39 |
});
|
40 |
|
41 |
// field - after sent script
|
@@ -61,6 +61,10 @@ jQuery(document).ready(function($) {
|
|
61 |
e.preventDefault();
|
62 |
sign = window.location.href.indexOf("?") > -1 ? '&' : '?';
|
63 |
location.href = window.location.href + sign + 'wpcf7_redirect_dismiss_banner=1';
|
64 |
-
|
65 |
-
|
|
|
|
|
|
|
|
|
66 |
});
|
35 |
$('.checkbox-radio-1').prop('checked', false);
|
36 |
if ( checked ) {
|
37 |
$(this).prop('checked',true);
|
38 |
+
}
|
39 |
});
|
40 |
|
41 |
// field - after sent script
|
61 |
e.preventDefault();
|
62 |
sign = window.location.href.indexOf("?") > -1 ? '&' : '?';
|
63 |
location.href = window.location.href + sign + 'wpcf7_redirect_dismiss_banner=1';
|
64 |
+
});
|
65 |
+
|
66 |
+
// Add selected attribute to pages dropdown if none selected
|
67 |
+
if ( $('#wpcf7-redirect-page-id').val() == 0 ) {
|
68 |
+
$('#wpcf7-redirect-page-id option:first').attr('selected', 'selected')
|
69 |
+
}
|
70 |
});
|
admin/wpcf7-redirect-admin-style.css
CHANGED
@@ -1,83 +1,88 @@
|
|
1 |
#redirect-panel .banner-wrap {
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
}
|
6 |
#redirect-panel .banner-wrap img {
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
}
|
11 |
#redirect-panel .field-wrap {
|
12 |
-
|
13 |
}
|
14 |
#redirect-panel .field-wrap [type='url'],
|
15 |
#redirect-panel .field-wrap [type='select'] {
|
16 |
-
|
17 |
}
|
18 |
#redirect-panel .field-wrap [type='url'],
|
19 |
#redirect-panel .field-wrap [type='text'] {
|
20 |
-
|
21 |
}
|
22 |
#redirect-panel .field-wrap [type='checkbox'] {
|
23 |
-
|
24 |
}
|
25 |
#redirect-panel .field-wrap textarea {
|
26 |
-
|
27 |
-
|
|
|
28 |
}
|
29 |
#redirect-panel .field-wrap-after-sent-script {
|
30 |
-
|
31 |
}
|
32 |
#redirect-panel .field-wrap-page-id label,
|
33 |
#redirect-panel .field-wrap-after-sent-script label {
|
34 |
-
|
35 |
-
|
36 |
}
|
37 |
#redirect-panel .field-wrap-http-build-query-selectively [type='text'] {
|
38 |
-
|
39 |
}
|
40 |
#redirect-panel .field-wrap-after-sent-script .field-message {
|
41 |
-
|
42 |
}
|
43 |
#redirect-panel .field-notice {
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
}
|
51 |
#redirect-panel .field-notice-alert {
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
}
|
56 |
#redirect-panel .field-hidden,
|
57 |
#redirect-panel .field-notice-hidden {
|
58 |
-
|
59 |
}
|
60 |
#redirect-panel .field-warning-alert {
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
}
|
65 |
#redirect-panel .get-pro-wrap {
|
66 |
-
|
67 |
-
|
|
|
68 |
}
|
69 |
#redirect-panel .get-pro-wrap .get-pro {
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
|
|
|
|
|
|
75 |
}
|
76 |
#redirect-panel .get-pro-wrap .get-pro .dashicons-star-filled {
|
77 |
-
|
78 |
}
|
79 |
#redirect-panel .get-pro-wrap .get-pro a {
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
}
|
1 |
#redirect-panel .banner-wrap {
|
2 |
+
position: relative;
|
3 |
+
padding: 15px 40px;
|
4 |
+
border: 1px solid #ddd;
|
5 |
}
|
6 |
#redirect-panel .banner-wrap img {
|
7 |
+
display: block;
|
8 |
+
max-width: 100%;
|
9 |
+
margin: auto;
|
10 |
}
|
11 |
#redirect-panel .field-wrap {
|
12 |
+
margin-bottom: 10px;
|
13 |
}
|
14 |
#redirect-panel .field-wrap [type='url'],
|
15 |
#redirect-panel .field-wrap [type='select'] {
|
16 |
+
height: 28px;
|
17 |
}
|
18 |
#redirect-panel .field-wrap [type='url'],
|
19 |
#redirect-panel .field-wrap [type='text'] {
|
20 |
+
width: 100%;
|
21 |
}
|
22 |
#redirect-panel .field-wrap [type='checkbox'] {
|
23 |
+
margin-top: 1px;
|
24 |
}
|
25 |
#redirect-panel .field-wrap textarea {
|
26 |
+
width: 100%;
|
27 |
+
|
28 |
+
direction: ltr;
|
29 |
}
|
30 |
#redirect-panel .field-wrap-after-sent-script {
|
31 |
+
margin-top: 10px;
|
32 |
}
|
33 |
#redirect-panel .field-wrap-page-id label,
|
34 |
#redirect-panel .field-wrap-after-sent-script label {
|
35 |
+
display: block;
|
36 |
+
margin-bottom: 5px;
|
37 |
}
|
38 |
#redirect-panel .field-wrap-http-build-query-selectively [type='text'] {
|
39 |
+
margin-top: 10px;
|
40 |
}
|
41 |
#redirect-panel .field-wrap-after-sent-script .field-message {
|
42 |
+
margin-bottom: 10px;
|
43 |
}
|
44 |
#redirect-panel .field-notice {
|
45 |
+
padding: 15px;
|
46 |
+
margin-top: 10px;
|
47 |
+
margin-bottom: 20px;
|
48 |
+
background: #fff;
|
49 |
+
border: 1px solid;
|
50 |
+
border-radius: 4px;
|
51 |
}
|
52 |
#redirect-panel .field-notice-alert {
|
53 |
+
color: #8a6d3b;
|
54 |
+
background-color: #fcf8e3;
|
55 |
+
border: 1px solid #faebcc;
|
56 |
}
|
57 |
#redirect-panel .field-hidden,
|
58 |
#redirect-panel .field-notice-hidden {
|
59 |
+
display: none;
|
60 |
}
|
61 |
#redirect-panel .field-warning-alert {
|
62 |
+
color: #a94442;
|
63 |
+
background-color: #f2dede;
|
64 |
+
border-color: #ebccd1;
|
65 |
}
|
66 |
#redirect-panel .get-pro-wrap {
|
67 |
+
text-align: center;
|
68 |
+
|
69 |
+
direction: ltr;
|
70 |
}
|
71 |
#redirect-panel .get-pro-wrap .get-pro {
|
72 |
+
display: inline-block;
|
73 |
+
padding: 15px;
|
74 |
+
color: #8a6d3b;
|
75 |
+
background-color: #fff;
|
76 |
+
border: 1px solid #ddd;
|
77 |
+
}
|
78 |
+
#redirect-panel .get-pro-wrap .get-pro .get-pro-text {
|
79 |
+
margin-bottom: 20px;
|
80 |
}
|
81 |
#redirect-panel .get-pro-wrap .get-pro .dashicons-star-filled {
|
82 |
+
color: #e7c201;
|
83 |
}
|
84 |
#redirect-panel .get-pro-wrap .get-pro a {
|
85 |
+
position: relative;
|
86 |
+
top: 2px;
|
87 |
+
margin: 0 8px;
|
88 |
+
}
|
js/wpcf7-redirect-script.js
CHANGED
@@ -35,7 +35,7 @@ function wpcf7_redirect_mailsent_handler() {
|
|
35 |
|
36 |
http_query = http_query.slice(0, -1);
|
37 |
redirect_url = redirect_url + decodeURIComponent(http_query);
|
38 |
-
}
|
39 |
|
40 |
// Redirect
|
41 |
if ( redirect_url ) {
|
35 |
|
36 |
http_query = http_query.slice(0, -1);
|
37 |
redirect_url = redirect_url + decodeURIComponent(http_query);
|
38 |
+
}
|
39 |
|
40 |
// Redirect
|
41 |
if ( redirect_url ) {
|
lang/readme.txt
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
Translations have moved to https://translate.wordpress.org/projects/wp-plugins/wpcf7-redirect
|
2 |
|
3 |
-
Your are more than welcome contribute :)
|
1 |
Translations have moved to https://translate.wordpress.org/projects/wp-plugins/wpcf7-redirect
|
2 |
|
3 |
+
Your are more than welcome contribute :)
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Tags: contact form 7 redirect, contact form 7 thank you page, redirect cf7, redirect contact form 7, contact form 7 success page, cf7 redirect
|
3 |
Contributors: yuvalsabar
|
4 |
Requires at least: 4.7.0
|
5 |
-
Tested up to: 5.
|
6 |
-
Stable tag: 1.3.
|
7 |
License: GPLv3 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
@@ -70,6 +70,9 @@ No. One of the reasons we developed this plugin, is because on_send_ok is now de
|
|
70 |
|
71 |
== Changelog ==
|
72 |
|
|
|
|
|
|
|
73 |
= 1.3.6 =
|
74 |
* Fixed a bug: Redirection for legacy browsers (non-ajax) not working when using external url.
|
75 |
|
2 |
Tags: contact form 7 redirect, contact form 7 thank you page, redirect cf7, redirect contact form 7, contact form 7 success page, cf7 redirect
|
3 |
Contributors: yuvalsabar
|
4 |
Requires at least: 4.7.0
|
5 |
+
Tested up to: 5.5.1
|
6 |
+
Stable tag: 1.3.7
|
7 |
License: GPLv3 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
70 |
|
71 |
== Changelog ==
|
72 |
|
73 |
+
= 1.3.7 =
|
74 |
+
* Show pages hierarchy in page select dropdown.
|
75 |
+
|
76 |
= 1.3.6 =
|
77 |
* Fixed a bug: Redirection for legacy browsers (non-ajax) not working when using external url.
|
78 |
|
wpcf7-redirect.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Redirection for Contact Form 7
|
4 |
* Plugin URI: http://querysol.com
|
5 |
* Description: Contact Form 7 Add-on - Redirect after mail sent.
|
6 |
-
* Version: 1.3.
|
7 |
* Author: Query Solutions
|
8 |
* Author URI: http://querysol.com
|
9 |
* Contributors: querysolutions, yuvalsabar
|
@@ -31,18 +31,18 @@ class WPCF7_Redirect {
|
|
31 |
public function __construct() {
|
32 |
$this->plugin_url = plugin_dir_url( __FILE__ );
|
33 |
$this->plugin_path = plugin_dir_path( __FILE__ );
|
34 |
-
$this->version = '1.3.
|
35 |
$this->add_actions();
|
36 |
}
|
37 |
|
38 |
static function plugin_activated( $file ) {
|
39 |
-
update_option( '
|
40 |
update_option( 'wpcf7_redirect_banner_dismiss', 0 );
|
41 |
}
|
42 |
|
43 |
public function dismiss_ads() {
|
44 |
if ( isset( $_GET['wpcf7_redirect_dismiss_notice'] ) && 1 == $_GET['wpcf7_redirect_dismiss_notice'] ) {
|
45 |
-
update_option( '
|
46 |
}
|
47 |
|
48 |
if ( isset( $_GET['wpcf7_redirect_dismiss_banner'] ) && 1 == $_GET['wpcf7_redirect_dismiss_banner'] ) {
|
@@ -288,10 +288,10 @@ class WPCF7_Redirect {
|
|
288 |
|
289 |
<div class="wpcf7-redirect-error error notice">
|
290 |
<h3>
|
291 |
-
<?php esc_html_e( 'Contact Form
|
292 |
</h3>
|
293 |
<p>
|
294 |
-
<?php esc_html_e( 'Error: Contact Form 7 version is too old. Contact Form
|
295 |
</p>
|
296 |
</div>
|
297 |
|
@@ -302,7 +302,7 @@ class WPCF7_Redirect {
|
|
302 |
?>
|
303 |
<div class="wpcf7-redirect-error error notice">
|
304 |
<h3>
|
305 |
-
<?php esc_html_e( 'Contact Form
|
306 |
</h3>
|
307 |
<p>
|
308 |
<?php esc_html_e( 'Error: Please install and activate Contact Form 7.', 'wpcf7-redirect' ); ?>
|
@@ -314,14 +314,16 @@ class WPCF7_Redirect {
|
|
314 |
}
|
315 |
|
316 |
public function pro_notice() {
|
317 |
-
if ( ! get_option( '
|
318 |
?>
|
319 |
|
320 |
<div class="wpcf7-redirect-pro-admin-notice updated notice is-dismissible">
|
|
|
321 |
<p>
|
322 |
-
<a href="https://querysol.com/product/contact-form-7-redirection/" target="_blank">
|
323 |
-
|
324 |
-
|
|
|
325 |
</p>
|
326 |
</div>
|
327 |
|
@@ -329,7 +331,6 @@ class WPCF7_Redirect {
|
|
329 |
endif;
|
330 |
}
|
331 |
|
332 |
-
|
333 |
/**
|
334 |
* Add plugin support to browsers that don't support ajax
|
335 |
*/
|
@@ -402,32 +403,20 @@ class WPCF7_Redirect {
|
|
402 |
<fieldset>
|
403 |
<div class="field-wrap field-wrap-page-id">
|
404 |
<label for="wpcf7-redirect-page-id">
|
405 |
-
<?php esc_html_e( 'Select a page to redirect to on successful form submission.', 'wpcf7-redirect' ); ?>
|
406 |
</label>
|
407 |
|
408 |
<?php
|
409 |
-
|
410 |
array(
|
411 |
-
'
|
412 |
-
'
|
413 |
-
'
|
|
|
|
|
414 |
)
|
415 |
);
|
416 |
?>
|
417 |
-
|
418 |
-
<select name="wpcf7-redirect[page_id]" id="wpcf7-redirect-page-id">
|
419 |
-
<option value="0" <?php selected( 0, $fields['page_id'] ); ?>>
|
420 |
-
<?php _e( 'Choose Page', 'wpcf7-redirect' ); ?>
|
421 |
-
</option>
|
422 |
-
|
423 |
-
<?php foreach ( $pages as $p ) : ?>
|
424 |
-
|
425 |
-
<option value="<?php echo $p->ID; ?>" <?php selected( $p->ID, $fields['page_id'] ); ?>>
|
426 |
-
<?php echo $p->post_title; ?>
|
427 |
-
</option>
|
428 |
-
|
429 |
-
<?php endforeach ?>
|
430 |
-
</select>
|
431 |
</div>
|
432 |
|
433 |
<div class="field-wrap field-wrap-external-url">
|
@@ -449,7 +438,7 @@ class WPCF7_Redirect {
|
|
449 |
|
450 |
<div class="field-notice field-notice-alert field-notice-hidden">
|
451 |
<strong>
|
452 |
-
<?php esc_html_e( 'Notice!', 'wpcf7-redirect' ); ?>
|
453 |
</strong>
|
454 |
|
455 |
<?php esc_html_e( 'This option might not work as expected, since browsers often block popup windows. This option depends on the browser settings.', 'wpcf7-redirect' ); ?>
|
@@ -460,7 +449,7 @@ class WPCF7_Redirect {
|
|
460 |
<input type="checkbox" id="wpcf7-redirect-http-build-query" class="checkbox-radio-1" name="wpcf7-redirect[http_build_query]" <?php checked( $fields['http_build_query'], 'on', true ); ?>/>
|
461 |
|
462 |
<label for="wpcf7-redirect-http-build-query">
|
463 |
-
<?php esc_html_e( 'Pass all the fields from the form as URL query parameters', 'wpcf7-redirect' ); ?>
|
464 |
</label>
|
465 |
</div>
|
466 |
|
@@ -468,7 +457,7 @@ class WPCF7_Redirect {
|
|
468 |
<input type="checkbox" id="wpcf7-redirect-http-build-query-selectively" class="checkbox-radio-1" name="wpcf7-redirect[http_build_query_selectively]" <?php checked( $fields['http_build_query_selectively'], 'on', true ); ?>/>
|
469 |
|
470 |
<label for="wpcf7-redirect-http-build-query-selectively">
|
471 |
-
<?php esc_html_e( 'Pass specific fields from the form as URL query parameters', 'wpcf7-redirect' ); ?>
|
472 |
</label>
|
473 |
|
474 |
<input type="text" id="wpcf7-redirect-http-build-query-selectively-fields" class="field-hidden" placeholder="<?php esc_html_e( 'Fields to pass, separated by commas', 'wpcf7-redirect' ); ?>" name="wpcf7-redirect[http_build_query_selectively_fields]" value="<?php echo $fields['http_build_query_selectively_fields']; ?>">
|
@@ -476,7 +465,7 @@ class WPCF7_Redirect {
|
|
476 |
|
477 |
<div class="field-wrap field-wrap-delay-redirect">
|
478 |
<label for="wpcf7-redirect-delay-redirect">
|
479 |
-
<?php esc_html_e( 'Delay redirect (in milliseconds)', 'wpcf7-redirect' ); ?>
|
480 |
</label>
|
481 |
|
482 |
<input type="number" id="wpcf7-redirect-delay-redirect" name="wpcf7-redirect[delay_redirect]" value="<?php echo $fields['delay_redirect']; ?>">
|
@@ -497,7 +486,7 @@ class WPCF7_Redirect {
|
|
497 |
|
498 |
<div class="field-notice field-warning-alert field-notice-hidden">
|
499 |
<strong>
|
500 |
-
<?php esc_html_e( 'Warning!', 'wpcf7-redirect' ); ?>
|
501 |
</strong>
|
502 |
|
503 |
<?php esc_html_e( 'This option is for developers only - use with caution. If the plugin does not redirect after you have added scripts, it means you have a problem with your script. Either fix the script, or remove it.', 'wpcf7-redirect' ); ?>
|
@@ -507,12 +496,20 @@ class WPCF7_Redirect {
|
|
507 |
|
508 |
<div class="get-pro-wrap">
|
509 |
<div class="get-pro">
|
510 |
-
<
|
511 |
-
|
512 |
-
|
|
|
|
|
513 |
</a>
|
|
|
514 |
<span class="dashicons dashicons-star-filled"></span>
|
515 |
</div>
|
|
|
|
|
|
|
|
|
|
|
516 |
</div>
|
517 |
|
518 |
<?php
|
3 |
* Plugin Name: Redirection for Contact Form 7
|
4 |
* Plugin URI: http://querysol.com
|
5 |
* Description: Contact Form 7 Add-on - Redirect after mail sent.
|
6 |
+
* Version: 1.3.7
|
7 |
* Author: Query Solutions
|
8 |
* Author URI: http://querysol.com
|
9 |
* Contributors: querysolutions, yuvalsabar
|
31 |
public function __construct() {
|
32 |
$this->plugin_url = plugin_dir_url( __FILE__ );
|
33 |
$this->plugin_path = plugin_dir_path( __FILE__ );
|
34 |
+
$this->version = '1.3.7';
|
35 |
$this->add_actions();
|
36 |
}
|
37 |
|
38 |
static function plugin_activated( $file ) {
|
39 |
+
update_option( 'wpcf7_redirect_admin_notice_ver_dismiss', 0 );
|
40 |
update_option( 'wpcf7_redirect_banner_dismiss', 0 );
|
41 |
}
|
42 |
|
43 |
public function dismiss_ads() {
|
44 |
if ( isset( $_GET['wpcf7_redirect_dismiss_notice'] ) && 1 == $_GET['wpcf7_redirect_dismiss_notice'] ) {
|
45 |
+
update_option( 'wpcf7_redirect_admin_notice_ver_dismiss', 1 );
|
46 |
}
|
47 |
|
48 |
if ( isset( $_GET['wpcf7_redirect_dismiss_banner'] ) && 1 == $_GET['wpcf7_redirect_dismiss_banner'] ) {
|
288 |
|
289 |
<div class="wpcf7-redirect-error error notice">
|
290 |
<h3>
|
291 |
+
<?php esc_html_e( 'Redirection for Contact Form 7', 'wpcf7-redirect' ); ?>
|
292 |
</h3>
|
293 |
<p>
|
294 |
+
<?php esc_html_e( 'Error: Contact Form 7 version is too old. Redirection for Contact Form 7 is compatible from version 4.8 and above. Please update Contact Form 7.', 'wpcf7-redirect' ); ?>
|
295 |
</p>
|
296 |
</div>
|
297 |
|
302 |
?>
|
303 |
<div class="wpcf7-redirect-error error notice">
|
304 |
<h3>
|
305 |
+
<?php esc_html_e( 'Redirection for Contact Form 7', 'wpcf7-redirect' ); ?>
|
306 |
</h3>
|
307 |
<p>
|
308 |
<?php esc_html_e( 'Error: Please install and activate Contact Form 7.', 'wpcf7-redirect' ); ?>
|
314 |
}
|
315 |
|
316 |
public function pro_notice() {
|
317 |
+
if ( ! get_option( 'wpcf7_redirect_admin_notice_ver_dismiss' ) ) :
|
318 |
?>
|
319 |
|
320 |
<div class="wpcf7-redirect-pro-admin-notice updated notice is-dismissible">
|
321 |
+
<h3>IMPORTANT NOTICE!</h3>
|
322 |
<p>
|
323 |
+
The next update of Redirection for Contact Form 7 will be a major update, and so <a href="https://querysol.com/product/contact-form-7-redirection/beta-testers/" target="_blank">we need beta-testers for the next update.</a> The first 20 people who are willing to help, will get <strong>one year of free updates</strong> of <a href="https://querysol.com/product/contact-form-7-redirection/" target="_blank">Redirection for Contact Form 7 Pro</a> (standard plan).
|
324 |
+
</p>
|
325 |
+
<p>
|
326 |
+
Also, we will be happy if you can take a few moments and <a href="https://wordpress.org/support/plugin/wpcf7-redirect/reviews/" target="_blank">rate our plugin</a>.
|
327 |
</p>
|
328 |
</div>
|
329 |
|
331 |
endif;
|
332 |
}
|
333 |
|
|
|
334 |
/**
|
335 |
* Add plugin support to browsers that don't support ajax
|
336 |
*/
|
403 |
<fieldset>
|
404 |
<div class="field-wrap field-wrap-page-id">
|
405 |
<label for="wpcf7-redirect-page-id">
|
406 |
+
<?php esc_html_e( 'Select a page to redirect to on successful form submission.', 'wpcf7-redirect' ); ?>
|
407 |
</label>
|
408 |
|
409 |
<?php
|
410 |
+
wp_dropdown_pages(
|
411 |
array(
|
412 |
+
'name' => 'wpcf7-redirect[page_id]',
|
413 |
+
'show_option_none' => __( 'Choose Page', 'wpcf7-redirect' ),
|
414 |
+
'option_none_value' => '0',
|
415 |
+
'selected' => $fields['page_id'],
|
416 |
+
'id' => 'wpcf7-redirect-page-id',
|
417 |
)
|
418 |
);
|
419 |
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
420 |
</div>
|
421 |
|
422 |
<div class="field-wrap field-wrap-external-url">
|
438 |
|
439 |
<div class="field-notice field-notice-alert field-notice-hidden">
|
440 |
<strong>
|
441 |
+
<?php esc_html_e( 'Notice!', 'wpcf7-redirect' ); ?>
|
442 |
</strong>
|
443 |
|
444 |
<?php esc_html_e( 'This option might not work as expected, since browsers often block popup windows. This option depends on the browser settings.', 'wpcf7-redirect' ); ?>
|
449 |
<input type="checkbox" id="wpcf7-redirect-http-build-query" class="checkbox-radio-1" name="wpcf7-redirect[http_build_query]" <?php checked( $fields['http_build_query'], 'on', true ); ?>/>
|
450 |
|
451 |
<label for="wpcf7-redirect-http-build-query">
|
452 |
+
<?php esc_html_e( 'Pass all the fields from the form as URL query parameters', 'wpcf7-redirect' ); ?>
|
453 |
</label>
|
454 |
</div>
|
455 |
|
457 |
<input type="checkbox" id="wpcf7-redirect-http-build-query-selectively" class="checkbox-radio-1" name="wpcf7-redirect[http_build_query_selectively]" <?php checked( $fields['http_build_query_selectively'], 'on', true ); ?>/>
|
458 |
|
459 |
<label for="wpcf7-redirect-http-build-query-selectively">
|
460 |
+
<?php esc_html_e( 'Pass specific fields from the form as URL query parameters', 'wpcf7-redirect' ); ?>
|
461 |
</label>
|
462 |
|
463 |
<input type="text" id="wpcf7-redirect-http-build-query-selectively-fields" class="field-hidden" placeholder="<?php esc_html_e( 'Fields to pass, separated by commas', 'wpcf7-redirect' ); ?>" name="wpcf7-redirect[http_build_query_selectively_fields]" value="<?php echo $fields['http_build_query_selectively_fields']; ?>">
|
465 |
|
466 |
<div class="field-wrap field-wrap-delay-redirect">
|
467 |
<label for="wpcf7-redirect-delay-redirect">
|
468 |
+
<?php esc_html_e( 'Delay redirect (in milliseconds)', 'wpcf7-redirect' ); ?>
|
469 |
</label>
|
470 |
|
471 |
<input type="number" id="wpcf7-redirect-delay-redirect" name="wpcf7-redirect[delay_redirect]" value="<?php echo $fields['delay_redirect']; ?>">
|
486 |
|
487 |
<div class="field-notice field-warning-alert field-notice-hidden">
|
488 |
<strong>
|
489 |
+
<?php esc_html_e( 'Warning!', 'wpcf7-redirect' ); ?>
|
490 |
</strong>
|
491 |
|
492 |
<?php esc_html_e( 'This option is for developers only - use with caution. If the plugin does not redirect after you have added scripts, it means you have a problem with your script. Either fix the script, or remove it.', 'wpcf7-redirect' ); ?>
|
496 |
|
497 |
<div class="get-pro-wrap">
|
498 |
<div class="get-pro">
|
499 |
+
<div class="get-pro-text">
|
500 |
+
<span class="dashicons dashicons-star-filled"></span>
|
501 |
+
|
502 |
+
<a href="https://querysol.com/product/contact-form-7-redirection/" target="_blank">
|
503 |
+
Redirection Pro For Contact Form 7 - We've added exciting new features!
|
504 |
</a>
|
505 |
+
|
506 |
<span class="dashicons dashicons-star-filled"></span>
|
507 |
</div>
|
508 |
+
|
509 |
+
<div class="rate-text">
|
510 |
+
<a href="https://wordpress.org/support/plugin/wpcf7-redirect/reviews/" target="_blank">We will be happy if you can take a few moments and rate our plugin.</a>
|
511 |
+
</div>
|
512 |
+
</div>
|
513 |
</div>
|
514 |
|
515 |
<?php
|