Version Description
- New: HTML field descriptions now use a rich text editor instead of a plain textarea.
- New: Added a new array_separator option to entry shortcodes. This can be used with the [default-message] like [default-message array_separator="
"] shortcode to change the separator used for multiple checkbox or dropdown values. It also works with the [frm-show-entry] shortcode in pro. - New: Added tooltips to honeypot and JavaScript token spam settings.
- Fix: The adjusted color used for .frm-alt-table stripes was not calculating properly when the border color was set as an RGBA value in the style manager.
Download this release
Release Info
Developer | formidableforms |
Plugin | Formidable Forms – Form Builder for WordPress |
Version | 5.0.14 |
Comparing to | |
See all releases |
Code changes from version 5.0.13.1 to 5.0.14
- classes/controllers/FrmEntriesController.php +26 -25
- classes/controllers/FrmFormsController.php +30 -4
- classes/helpers/FrmAppHelper.php +1 -1
- classes/helpers/FrmStylesHelper.php +9 -0
- classes/models/FrmEntryFormatter.php +2 -1
- classes/views/frm-fields/back-end/html-content.php +6 -3
- classes/views/frm-forms/settings-advanced.php +11 -13
- classes/views/frm-forms/spam-settings/akismet.php +14 -15
- classes/views/frm-forms/spam-settings/antispam.php +10 -5
- classes/views/frm-forms/spam-settings/honeypot.php +10 -10
- formidable.php +1 -1
- js/formidable_admin.js +141 -0
- languages/formidable.pot +98 -86
- readme.txt +7 -5
classes/controllers/FrmEntriesController.php
CHANGED
@@ -603,31 +603,32 @@ class FrmEntriesController {
|
|
603 |
*/
|
604 |
public static function show_entry_shortcode( $atts ) {
|
605 |
$defaults = array(
|
606 |
-
'id'
|
607 |
-
'entry'
|
608 |
-
'fields'
|
609 |
-
'plain_text'
|
610 |
-
'user_info'
|
611 |
-
'include_blank'
|
612 |
-
'default_email'
|
613 |
-
'form_id'
|
614 |
-
'format'
|
615 |
-
'array_key'
|
616 |
-
'direction'
|
617 |
-
'font_size'
|
618 |
-
'text_color'
|
619 |
-
'border_width'
|
620 |
-
'border_color'
|
621 |
-
'bg_color'
|
622 |
-
'alt_bg_color'
|
623 |
-
'class'
|
624 |
-
'clickable'
|
625 |
-
'exclude_fields'
|
626 |
-
'include_fields'
|
627 |
-
'include_extras'
|
628 |
-
'inline_style'
|
629 |
-
'child_array'
|
630 |
-
'line_breaks'
|
|
|
631 |
);
|
632 |
$defaults = apply_filters( 'frm_show_entry_defaults', $defaults );
|
633 |
|
603 |
*/
|
604 |
public static function show_entry_shortcode( $atts ) {
|
605 |
$defaults = array(
|
606 |
+
'id' => false,
|
607 |
+
'entry' => false,
|
608 |
+
'fields' => false,
|
609 |
+
'plain_text' => false,
|
610 |
+
'user_info' => false,
|
611 |
+
'include_blank' => false,
|
612 |
+
'default_email' => false,
|
613 |
+
'form_id' => false,
|
614 |
+
'format' => 'text',
|
615 |
+
'array_key' => 'key',
|
616 |
+
'direction' => 'ltr',
|
617 |
+
'font_size' => '',
|
618 |
+
'text_color' => '',
|
619 |
+
'border_width' => '',
|
620 |
+
'border_color' => '',
|
621 |
+
'bg_color' => '',
|
622 |
+
'alt_bg_color' => '',
|
623 |
+
'class' => '',
|
624 |
+
'clickable' => false,
|
625 |
+
'exclude_fields' => '',
|
626 |
+
'include_fields' => '',
|
627 |
+
'include_extras' => '',
|
628 |
+
'inline_style' => 1,
|
629 |
+
'child_array' => false, // return embedded fields as nested array
|
630 |
+
'line_breaks' => true,
|
631 |
+
'array_separator' => ', ',
|
632 |
);
|
633 |
$defaults = apply_filters( 'frm_show_entry_defaults', $defaults );
|
634 |
|
classes/controllers/FrmFormsController.php
CHANGED
@@ -651,9 +651,11 @@ class FrmFormsController {
|
|
651 |
}
|
652 |
}
|
653 |
|
|
|
|
|
|
|
654 |
public static function insert_form_popup() {
|
655 |
-
|
656 |
-
if ( ! in_array( $page, array( 'post.php', 'page.php', 'page-new.php', 'post-new.php' ) ) ) {
|
657 |
return;
|
658 |
}
|
659 |
|
@@ -665,10 +667,34 @@ class FrmFormsController {
|
|
665 |
'label' => __( 'Insert a Form', 'formidable' ),
|
666 |
),
|
667 |
);
|
668 |
-
|
669 |
$shortcodes = apply_filters( 'frm_popup_shortcodes', $shortcodes );
|
670 |
|
671 |
-
include
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
672 |
}
|
673 |
|
674 |
public static function get_shortcode_opts() {
|
651 |
}
|
652 |
}
|
653 |
|
654 |
+
/**
|
655 |
+
* @return void
|
656 |
+
*/
|
657 |
public static function insert_form_popup() {
|
658 |
+
if ( ! self::should_insert_form_popup() ) {
|
|
|
659 |
return;
|
660 |
}
|
661 |
|
667 |
'label' => __( 'Insert a Form', 'formidable' ),
|
668 |
),
|
669 |
);
|
|
|
670 |
$shortcodes = apply_filters( 'frm_popup_shortcodes', $shortcodes );
|
671 |
|
672 |
+
include FrmAppHelper::plugin_path() . '/classes/views/frm-forms/insert_form_popup.php';
|
673 |
+
|
674 |
+
if ( FrmAppHelper::is_form_builder_page() && ! class_exists( '_WP_Editors', false ) ) {
|
675 |
+
// initialize a wysiwyg so we have usable settings defined in tinyMCEPreInit.mceInit
|
676 |
+
require ABSPATH . WPINC . '/class-wp-editor.php';
|
677 |
+
?>
|
678 |
+
<div class="frm_hidden">
|
679 |
+
<?php wp_editor( '', 'frm_description_placeholder', array() ); ?>
|
680 |
+
</div>
|
681 |
+
<?php
|
682 |
+
}
|
683 |
+
}
|
684 |
+
|
685 |
+
/**
|
686 |
+
* Check the page being loaded, determine if this is a page that should include the form popup.
|
687 |
+
*
|
688 |
+
* @since x.x
|
689 |
+
*
|
690 |
+
* @return bool
|
691 |
+
*/
|
692 |
+
private static function should_insert_form_popup() {
|
693 |
+
if ( FrmAppHelper::is_form_builder_page() ) {
|
694 |
+
return true;
|
695 |
+
}
|
696 |
+
$page = basename( FrmAppHelper::get_server_value( 'PHP_SELF' ) );
|
697 |
+
return in_array( $page, array( 'post.php', 'page.php', 'page-new.php', 'post-new.php' ), true );
|
698 |
}
|
699 |
|
700 |
public static function get_shortcode_opts() {
|
classes/helpers/FrmAppHelper.php
CHANGED
@@ -11,7 +11,7 @@ class FrmAppHelper {
|
|
11 |
/**
|
12 |
* @since 2.0
|
13 |
*/
|
14 |
-
public static $plug_version = '5.0.
|
15 |
|
16 |
/**
|
17 |
* @since 1.07.02
|
11 |
/**
|
12 |
* @since 2.0
|
13 |
*/
|
14 |
+
public static $plug_version = '5.0.14';
|
15 |
|
16 |
/**
|
17 |
* @since 1.07.02
|
classes/helpers/FrmStylesHelper.php
CHANGED
@@ -273,6 +273,15 @@ class FrmStylesHelper {
|
|
273 |
public static function adjust_brightness( $hex, $steps ) {
|
274 |
$steps = max( - 255, min( 255, $steps ) );
|
275 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
276 |
// Normalize into a six character long hex string
|
277 |
$hex = str_replace( '#', '', $hex );
|
278 |
if ( strlen( $hex ) == 3 ) {
|
273 |
public static function adjust_brightness( $hex, $steps ) {
|
274 |
$steps = max( - 255, min( 255, $steps ) );
|
275 |
|
276 |
+
if ( 0 === strpos( $hex, 'rgba(' ) ) {
|
277 |
+
$rgba = str_replace( ')', '', str_replace( 'rgba(', '', $hex ) );
|
278 |
+
list ( $r, $g, $b, $a ) = array_map( 'trim', explode( ',', $rgba ) );
|
279 |
+
$r = max( 0, min( 255, $r + $steps ) );
|
280 |
+
$g = max( 0, min( 255, $g + $steps ) );
|
281 |
+
$b = max( 0, min( 255, $b + $steps ) );
|
282 |
+
return 'rgba(' . $r . ',' . $g . ',' . $b . ',' . $a . ')';
|
283 |
+
}
|
284 |
+
|
285 |
// Normalize into a six character long hex string
|
286 |
$hex = str_replace( '#', '', $hex );
|
287 |
if ( strlen( $hex ) == 3 ) {
|
classes/models/FrmEntryFormatter.php
CHANGED
@@ -860,7 +860,8 @@ class FrmEntryFormatter {
|
|
860 |
*/
|
861 |
protected function flatten_array( $value ) {
|
862 |
if ( is_array( $value ) ) {
|
863 |
-
$
|
|
|
864 |
}
|
865 |
|
866 |
return $value;
|
860 |
*/
|
861 |
protected function flatten_array( $value ) {
|
862 |
if ( is_array( $value ) ) {
|
863 |
+
$separator = isset( $this->atts['array_separator'] ) ? $this->atts['array_separator'] : ', ';
|
864 |
+
$value = implode( $separator, $value );
|
865 |
}
|
866 |
|
867 |
return $value;
|
classes/views/frm-fields/back-end/html-content.php
CHANGED
@@ -16,9 +16,12 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
16 |
'title' => esc_attr__( 'Toggle Options', 'formidable' ),
|
17 |
)
|
18 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
?>
|
20 |
-
<textarea name="field_options[description_<?php echo absint( $field['id'] ); ?>]" id="frm_description_<?php echo esc_attr( $field['id'] ); ?>" rows="8"><?php
|
21 |
-
echo FrmAppHelper::esc_textarea( $field['description'] ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
|
22 |
-
?></textarea>
|
23 |
</span>
|
24 |
</p>
|
16 |
'title' => esc_attr__( 'Toggle Options', 'formidable' ),
|
17 |
)
|
18 |
);
|
19 |
+
$e_args = array(
|
20 |
+
'textarea_name' => 'field_options[description_' . absint( $field['id'] ) . ']',
|
21 |
+
'textarea_rows' => 8,
|
22 |
+
);
|
23 |
+
$html_id = 'frm_description_' . absint( $field['id'] );
|
24 |
+
wp_editor( $field['description'], $html_id, $e_args );
|
25 |
?>
|
|
|
|
|
|
|
26 |
</span>
|
27 |
</p>
|
classes/views/frm-forms/settings-advanced.php
CHANGED
@@ -109,19 +109,17 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
109 |
</label>
|
110 |
</p>
|
111 |
|
112 |
-
<
|
113 |
-
<
|
114 |
-
<
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
</label>
|
119 |
-
</td>
|
120 |
-
</tr>
|
121 |
-
<?php is_callable( 'self::render_spam_settings' ) && self::render_spam_settings( $values ); ?>
|
122 |
-
</table>
|
123 |
|
124 |
-
<?php
|
|
|
|
|
|
|
125 |
|
126 |
<!--AJAX Section-->
|
127 |
<h3><?php esc_html_e( 'AJAX', 'formidable' ); ?>
|
@@ -154,7 +152,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
154 |
<label for="js_validate" class="frm_inline_block">
|
155 |
<input type="checkbox" name="options[js_validate]" id="js_validate" value="1" <?php checked( $values['js_validate'], 1 ); ?> />
|
156 |
<?php esc_html_e( 'Validate this form with javascript', 'formidable' ); ?>
|
157 |
-
<span class="frm_help frm_icon_font frm_tooltip_icon" title="<?php esc_attr_e( 'Required fields, email format, and number format can be checked instantly in your browser. You may want to turn this option off if you have any customizations to remove validation messages on certain fields.', 'formidable' ); ?>"></span>
|
158 |
</label>
|
159 |
</td>
|
160 |
</tr>
|
109 |
</label>
|
110 |
</p>
|
111 |
|
112 |
+
<p class="frm8 frm_form_field">
|
113 |
+
<label for="no_save" class="frm_inline_block">
|
114 |
+
<input type="checkbox" name="options[no_save]" id="no_save" value="1" <?php checked( $values['no_save'], 1 ); ?> />
|
115 |
+
<?php esc_html_e( 'Do not store entries submitted from this form', 'formidable' ); ?>
|
116 |
+
</label>
|
117 |
+
</p>
|
|
|
|
|
|
|
|
|
|
|
118 |
|
119 |
+
<?php
|
120 |
+
is_callable( 'self::render_spam_settings' ) && self::render_spam_settings( $values );
|
121 |
+
FrmTipsHelper::pro_tip( 'get_form_settings_tip', 'p' );
|
122 |
+
?>
|
123 |
|
124 |
<!--AJAX Section-->
|
125 |
<h3><?php esc_html_e( 'AJAX', 'formidable' ); ?>
|
152 |
<label for="js_validate" class="frm_inline_block">
|
153 |
<input type="checkbox" name="options[js_validate]" id="js_validate" value="1" <?php checked( $values['js_validate'], 1 ); ?> />
|
154 |
<?php esc_html_e( 'Validate this form with javascript', 'formidable' ); ?>
|
155 |
+
<span class="frm_help frm_icon_font frm_tooltip_icon" title="<?php esc_attr_e( 'Required fields, email format, and number format can be checked instantly in your browser. You may want to turn this option off if you have any customizations to remove validation messages on certain fields.', 'formidable' ); ?>" data-container="body"></span>
|
156 |
</label>
|
157 |
</td>
|
158 |
</tr>
|
classes/views/frm-forms/spam-settings/akismet.php
CHANGED
@@ -3,18 +3,17 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
3 |
die( 'You are not allowed to call this page directly.' );
|
4 |
}
|
5 |
?>
|
6 |
-
<
|
7 |
-
<
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
</tr>
|
3 |
die( 'You are not allowed to call this page directly.' );
|
4 |
}
|
5 |
?>
|
6 |
+
<p class="frm6 frm_form_field frm_first">
|
7 |
+
<label for="frm_akismet"><?php esc_html_e( 'Use Akismet to check entries for spam for', 'formidable' ); ?></label>
|
8 |
+
<select id="frm_akismet" name="options[akismet]">
|
9 |
+
<option value="">
|
10 |
+
<?php esc_html_e( 'no one', 'formidable' ); ?>
|
11 |
+
</option>
|
12 |
+
<option value="1" <?php selected( $values['akismet'], 1 ); ?>>
|
13 |
+
<?php esc_html_e( 'everyone', 'formidable' ); ?>
|
14 |
+
</option>
|
15 |
+
<option value="logged" <?php selected( $values['akismet'], 'logged' ); ?>>
|
16 |
+
<?php esc_html_e( 'visitors who are not logged in', 'formidable' ); ?>
|
17 |
+
</option>
|
18 |
+
</select>
|
19 |
+
</p>
|
|
classes/views/frm-forms/spam-settings/antispam.php
CHANGED
@@ -2,10 +2,15 @@
|
|
2 |
if ( ! defined( 'ABSPATH' ) ) {
|
3 |
die( 'You are not allowed to call this page directly.' );
|
4 |
}
|
|
|
|
|
|
|
|
|
5 |
?>
|
6 |
-
<
|
7 |
-
<
|
8 |
<input id="antispam" type="checkbox" name="options[antispam]" <?php checked( $values['antispam'], 1 ); ?> value="1" />
|
9 |
-
|
10 |
-
|
11 |
-
</
|
|
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 |
+
<span class="frm_help frm_icon_font frm_tooltip_icon" title="<?php echo esc_attr( $tooltip ); ?>" data-container="body"></span>
|
15 |
+
</label>
|
16 |
+
</p>
|
classes/views/frm-forms/spam-settings/honeypot.php
CHANGED
@@ -3,13 +3,13 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
3 |
die( 'You are not allowed to call this page directly.' );
|
4 |
}
|
5 |
?>
|
6 |
-
<
|
7 |
-
<
|
8 |
-
<
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
</
|
15 |
-
</
|
3 |
die( 'You are not allowed to call this page directly.' );
|
4 |
}
|
5 |
?>
|
6 |
+
<p class="frm6 frm_form_field frm_first">
|
7 |
+
<label for="honeypot"><?php esc_html_e( 'Use Honeypot to check entries for spam', 'formidable' ); ?>
|
8 |
+
<span class="frm_help frm_icon_font frm_tooltip_icon" title="<?php esc_attr_e( 'Include an invisible field in your form to trick bots. Setting to strict will catch more spam but issues with autocomplete may prevent real people from submitting on some browsers.', 'formidable' ); ?>" data-container="body"></span>
|
9 |
+
</label>
|
10 |
+
<select id="honeypot" name="options[honeypot]">
|
11 |
+
<option value="off" <?php selected( $values['honeypot'], 'off' ); ?>><?php esc_html_e( 'Off', 'formidable' ); ?></option>
|
12 |
+
<option value="basic" <?php selected( $values['honeypot'], 'basic' ); ?>><?php esc_html_e( 'Basic', 'formidable' ); ?></option>
|
13 |
+
<option value="strict" <?php selected( $values['honeypot'], 'strict' ); ?>><?php esc_html_e( 'Strict', 'formidable' ); ?></option>
|
14 |
+
</select>
|
15 |
+
</p>
|
formidable.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
Plugin Name: Formidable Forms
|
4 |
Description: Quickly and easily create drag-and-drop forms
|
5 |
-
Version: 5.0.
|
6 |
Plugin URI: https://formidableforms.com/
|
7 |
Author URI: https://formidableforms.com/
|
8 |
Author: Strategy11
|
2 |
/*
|
3 |
Plugin Name: Formidable Forms
|
4 |
Description: Quickly and easily create drag-and-drop forms
|
5 |
+
Version: 5.0.14
|
6 |
Plugin URI: https://formidableforms.com/
|
7 |
Author URI: https://formidableforms.com/
|
8 |
Author: Strategy11
|
js/formidable_admin.js
CHANGED
@@ -5986,6 +5986,147 @@ function frmAdminBuildJS() {
|
|
5986 |
|
5987 |
singleField.classList.remove( 'frm_hidden' );
|
5988 |
document.getElementById( 'frm-options-panel-tab' ).click();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5989 |
}
|
5990 |
|
5991 |
/**
|
5986 |
|
5987 |
singleField.classList.remove( 'frm_hidden' );
|
5988 |
document.getElementById( 'frm-options-panel-tab' ).click();
|
5989 |
+
|
5990 |
+
setUpTinyMceVisualButtonListener( singleField );
|
5991 |
+
setUpTinyMceHtmlButtonListener( singleField );
|
5992 |
+
|
5993 |
+
if ( isTinyMceActive() ) {
|
5994 |
+
setTimeout( resetTinyMce, 0 );
|
5995 |
+
} else {
|
5996 |
+
initQuickTagsButtons( singleField );
|
5997 |
+
}
|
5998 |
+
}
|
5999 |
+
|
6000 |
+
function setUpTinyMceVisualButtonListener( fieldSettings ) {
|
6001 |
+
var editor = fieldSettings.querySelector( '.wp-editor-area' );
|
6002 |
+
jQuery( document ).on(
|
6003 |
+
'click', '#' + editor.id + '-html',
|
6004 |
+
function() {
|
6005 |
+
editor.style.visibility = 'visible';
|
6006 |
+
initQuickTagsButtons( fieldSettings );
|
6007 |
+
}
|
6008 |
+
);
|
6009 |
+
}
|
6010 |
+
|
6011 |
+
function setUpTinyMceHtmlButtonListener( fieldSettings ) {
|
6012 |
+
var editor, hasResetTinyMce;
|
6013 |
+
|
6014 |
+
editor = fieldSettings.querySelector( '.wp-editor-area' );
|
6015 |
+
hasResetTinyMce = false;
|
6016 |
+
|
6017 |
+
jQuery( '#' + editor.id + '-tmce' )
|
6018 |
+
.on(
|
6019 |
+
'click',
|
6020 |
+
function() {
|
6021 |
+
var wrap;
|
6022 |
+
|
6023 |
+
if ( ! hasResetTinyMce ) {
|
6024 |
+
resetTinyMce();
|
6025 |
+
hasResetTinyMce = true;
|
6026 |
+
}
|
6027 |
+
|
6028 |
+
wrap = document.getElementById( 'wp-' + editor.id + '-wrap' );
|
6029 |
+
wrap.classList.add( 'tmce-active' );
|
6030 |
+
wrap.classList.remove( 'html-active' );
|
6031 |
+
}
|
6032 |
+
);
|
6033 |
+
}
|
6034 |
+
|
6035 |
+
function initQuickTagsButtons( fieldSettings ) {
|
6036 |
+
var editor, settings;
|
6037 |
+
|
6038 |
+
editor = fieldSettings.querySelector( '.wp-editor-area' );
|
6039 |
+
|
6040 |
+
if ( 'function' !== typeof window.quicktags || typeof window.QTags.instances[ editor.id ] !== 'undefined' ) {
|
6041 |
+
return;
|
6042 |
+
}
|
6043 |
+
|
6044 |
+
settings = {
|
6045 |
+
name: 'qt_' + editor.id,
|
6046 |
+
id: editor.id,
|
6047 |
+
canvas: editor,
|
6048 |
+
settings: {
|
6049 |
+
buttons: 'strong,em,link,block,del,ins,img,ul,ol,li,code,more,close',
|
6050 |
+
id: editor.id
|
6051 |
+
},
|
6052 |
+
toolbar: document.getElementById( 'qt_' + editor.id + '_toolbar' ),
|
6053 |
+
theButtons: {}
|
6054 |
+
};
|
6055 |
+
window.quicktags( settings );
|
6056 |
+
}
|
6057 |
+
|
6058 |
+
function resetTinyMce() {
|
6059 |
+
document.querySelectorAll( '.frm-single-settings:not(.frm_hidden) .wp-editor-area' ).forEach(
|
6060 |
+
function( editor ) {
|
6061 |
+
var isInitialized, isVisible;
|
6062 |
+
|
6063 |
+
isInitialized = 'undefined' !== typeof tinyMCE.editors[ editor.id ];
|
6064 |
+
isVisible = isInitialized && ! tinyMCE.editors[ editor.id ].isHidden();
|
6065 |
+
|
6066 |
+
if ( isVisible ) {
|
6067 |
+
removeRichText( editor.id );
|
6068 |
+
}
|
6069 |
+
|
6070 |
+
if ( isVisible || ! isInitialized ) {
|
6071 |
+
initRichText( editor.id );
|
6072 |
+
}
|
6073 |
+
}
|
6074 |
+
);
|
6075 |
+
}
|
6076 |
+
|
6077 |
+
function removeRichText( id ) {
|
6078 |
+
tinymce.EditorManager.execCommand( 'mceRemoveEditor', true, id );
|
6079 |
+
tinymce.remove( id );
|
6080 |
+
}
|
6081 |
+
|
6082 |
+
function initRichText( id ) {
|
6083 |
+
var defaultSettings = getDefaultTinyMceSettings(),
|
6084 |
+
newValues = {
|
6085 |
+
selector: '#' + id,
|
6086 |
+
body_class: defaultSettings.body_class.replace( getDefaultSettingsKey(), id ),
|
6087 |
+
setup: setupTinyMceEventHandlers
|
6088 |
+
},
|
6089 |
+
newSettings = Object.assign(
|
6090 |
+
{}, defaultSettings, newValues
|
6091 |
+
);
|
6092 |
+
if ( 'undefined' !== typeof newSettings.toolbar1 ) {
|
6093 |
+
// the link option does not work in the modal, so exclude it.
|
6094 |
+
newSettings.toolbar1 = newSettings.toolbar1.replace( ',wp_more', '' );
|
6095 |
+
}
|
6096 |
+
tinymce.init( newSettings );
|
6097 |
+
}
|
6098 |
+
|
6099 |
+
function getDefaultSettingsKey() {
|
6100 |
+
return Object.keys( tinyMCEPreInit.mceInit )[0];
|
6101 |
+
}
|
6102 |
+
|
6103 |
+
function getDefaultTinyMceSettings() {
|
6104 |
+
return tinyMCEPreInit.mceInit[ getDefaultSettingsKey() ];
|
6105 |
+
}
|
6106 |
+
|
6107 |
+
function setupTinyMceEventHandlers( editor ) {
|
6108 |
+
editor.on( 'Change', function() {
|
6109 |
+
handleTinyMceChange( editor );
|
6110 |
+
});
|
6111 |
+
}
|
6112 |
+
|
6113 |
+
function handleTinyMceChange( editor ) {
|
6114 |
+
if ( isTinyMceActive() && ! tinyMCE.activeEditor.isHidden() ) {
|
6115 |
+
editor.targetElm.value = editor.getContent();
|
6116 |
+
jQuery( editor.targetElm ).trigger( 'change' );
|
6117 |
+
}
|
6118 |
+
}
|
6119 |
+
|
6120 |
+
function isTinyMceActive() {
|
6121 |
+
var activeSettings, wrapper;
|
6122 |
+
|
6123 |
+
activeSettings = document.querySelector( '.frm-single-settings:not(.frm_hidden)' );
|
6124 |
+
if ( ! activeSettings ) {
|
6125 |
+
return false;
|
6126 |
+
}
|
6127 |
+
|
6128 |
+
wrapper = activeSettings.querySelector( '.wp-editor-wrap' );
|
6129 |
+
return null !== wrapper && wrapper.classList.contains( 'tmce-active' );
|
6130 |
}
|
6131 |
|
6132 |
/**
|
languages/formidable.pot
CHANGED
@@ -2,14 +2,14 @@
|
|
2 |
# This file is distributed under the same license as the Formidable Forms plugin.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Formidable Forms 5.0.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/formidable\n"
|
7 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
8 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"POT-Creation-Date: 2021-
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
"X-Generator: WP-CLI 2.4.0\n"
|
15 |
"X-Domain: formidable\n"
|
@@ -198,7 +198,7 @@ msgstr ""
|
|
198 |
#: classes/controllers/FrmAppController.php:165
|
199 |
#: classes/controllers/FrmEntriesController.php:11
|
200 |
#: classes/controllers/FrmEntriesController.php:100
|
201 |
-
#: classes/controllers/FrmFormsController.php:
|
202 |
#: classes/controllers/FrmXMLController.php:259
|
203 |
#: classes/views/xml/import_form.php:121
|
204 |
msgid "Entries"
|
@@ -224,14 +224,14 @@ msgid "Build a Form"
|
|
224 |
msgstr ""
|
225 |
|
226 |
#: classes/controllers/FrmEntriesController.php:79
|
227 |
-
#: classes/controllers/FrmFormsController.php:
|
228 |
#: classes/views/frm-entries/form.php:63
|
229 |
#: classes/views/frm-entries/sidebar-shared.php:57
|
230 |
msgid "Entry Key"
|
231 |
msgstr ""
|
232 |
|
233 |
#: classes/controllers/FrmEntriesController.php:84
|
234 |
-
#: classes/controllers/FrmFormsController.php:
|
235 |
#: classes/views/xml/import_form.php:152
|
236 |
#: classes/widgets/FrmElementorWidget.php:37
|
237 |
#: classes/widgets/FrmShowForm.php:59
|
@@ -322,7 +322,7 @@ msgid "You do not have permission to do that"
|
|
322 |
msgstr ""
|
323 |
|
324 |
#: classes/controllers/FrmFormsController.php:9
|
325 |
-
#: classes/controllers/FrmFormsController.php:
|
326 |
#: classes/controllers/FrmStylesController.php:51
|
327 |
#: classes/controllers/FrmXMLController.php:258
|
328 |
#: classes/views/frm-forms/list.php:10
|
@@ -348,7 +348,7 @@ msgid "Settings Successfully Updated"
|
|
348 |
msgstr ""
|
349 |
|
350 |
#: classes/controllers/FrmFormsController.php:187
|
351 |
-
#: classes/controllers/FrmFormsController.php:
|
352 |
msgid "Form was successfully updated."
|
353 |
msgstr ""
|
354 |
|
@@ -413,41 +413,41 @@ msgstr ""
|
|
413 |
msgid "Add forms and content"
|
414 |
msgstr ""
|
415 |
|
416 |
-
#: classes/controllers/FrmFormsController.php:
|
417 |
#: classes/views/frm-forms/insert_form_popup.php:33
|
418 |
msgid "Insert a Form"
|
419 |
msgstr ""
|
420 |
|
421 |
-
#: classes/controllers/FrmFormsController.php:
|
422 |
msgid "Display form title"
|
423 |
msgstr ""
|
424 |
|
425 |
-
#: classes/controllers/FrmFormsController.php:
|
426 |
msgid "Display form description"
|
427 |
msgstr ""
|
428 |
|
429 |
-
#: classes/controllers/FrmFormsController.php:
|
430 |
msgid "Minimize form HTML"
|
431 |
msgstr ""
|
432 |
|
433 |
-
#: classes/controllers/FrmFormsController.php:
|
434 |
#: classes/views/frm-forms/new-form-overlay.php:46
|
435 |
msgid "Template Name"
|
436 |
msgstr ""
|
437 |
|
438 |
-
#: classes/controllers/FrmFormsController.php:
|
439 |
#: classes/views/xml/import_form.php:120
|
440 |
msgid "Type"
|
441 |
msgstr ""
|
442 |
|
443 |
-
#: classes/controllers/FrmFormsController.php:
|
444 |
-
#: classes/controllers/FrmFormsController.php:
|
445 |
#: classes/helpers/FrmCSVExportHelper.php:230
|
446 |
#: classes/views/shared/mb_adv_info.php:98
|
447 |
msgid "Key"
|
448 |
msgstr ""
|
449 |
|
450 |
-
#: classes/controllers/FrmFormsController.php:
|
451 |
#: classes/controllers/FrmStylesController.php:395
|
452 |
#: classes/views/frm-forms/settings-advanced.php:13
|
453 |
#: classes/views/styles/manage.php:39
|
@@ -456,184 +456,184 @@ msgstr ""
|
|
456 |
msgid "Form Title"
|
457 |
msgstr ""
|
458 |
|
459 |
-
#: classes/controllers/FrmFormsController.php:
|
460 |
msgid "Shortcodes"
|
461 |
msgstr ""
|
462 |
|
463 |
-
#: classes/controllers/FrmFormsController.php:
|
464 |
#: classes/models/FrmField.php:87
|
465 |
msgid "Date"
|
466 |
msgstr ""
|
467 |
|
468 |
-
#: classes/controllers/FrmFormsController.php:
|
469 |
#: classes/helpers/FrmFormsHelper.php:1282
|
470 |
msgid "My Templates"
|
471 |
msgstr ""
|
472 |
|
473 |
-
#: classes/controllers/FrmFormsController.php:
|
474 |
msgid "You are trying to edit a form that does not exist."
|
475 |
msgstr ""
|
476 |
|
477 |
#. translators: %1$s: Start link HTML, %2$s: End link HTML
|
478 |
-
#: classes/controllers/FrmFormsController.php:
|
479 |
msgid "You are trying to edit a child form. Please edit from %1$shere%2$s"
|
480 |
msgstr ""
|
481 |
|
482 |
-
#: classes/controllers/FrmFormsController.php:
|
483 |
msgid "Template was successfully updated."
|
484 |
msgstr ""
|
485 |
|
486 |
-
#: classes/controllers/FrmFormsController.php:
|
487 |
#: classes/controllers/FrmStylesController.php:394
|
488 |
msgid "General"
|
489 |
msgstr ""
|
490 |
|
491 |
-
#: classes/controllers/FrmFormsController.php:
|
492 |
msgid "General Form Settings"
|
493 |
msgstr ""
|
494 |
|
495 |
-
#: classes/controllers/FrmFormsController.php:
|
496 |
msgid "Actions & Notifications"
|
497 |
msgstr ""
|
498 |
|
499 |
-
#: classes/controllers/FrmFormsController.php:
|
500 |
-
#: classes/controllers/FrmFormsController.php:
|
501 |
msgid "Form Permissions"
|
502 |
msgstr ""
|
503 |
|
504 |
-
#: classes/controllers/FrmFormsController.php:
|
505 |
msgid "Allow editing, protect forms and files, limit entries, and save drafts. Upgrade to get form and entry permissions."
|
506 |
msgstr ""
|
507 |
|
508 |
-
#: classes/controllers/FrmFormsController.php:
|
509 |
msgid "Form Scheduling"
|
510 |
msgstr ""
|
511 |
|
512 |
-
#: classes/controllers/FrmFormsController.php:
|
513 |
msgid "Form scheduling settings"
|
514 |
msgstr ""
|
515 |
|
516 |
-
#: classes/controllers/FrmFormsController.php:
|
517 |
msgid "Styling & Buttons"
|
518 |
msgstr ""
|
519 |
|
520 |
-
#: classes/controllers/FrmFormsController.php:
|
521 |
msgid "Customize HTML"
|
522 |
msgstr ""
|
523 |
|
524 |
-
#: classes/controllers/FrmFormsController.php:
|
525 |
msgid "Customize field values with the following parameters."
|
526 |
msgstr ""
|
527 |
|
528 |
-
#: classes/controllers/FrmFormsController.php:
|
529 |
msgid "Separator"
|
530 |
msgstr ""
|
531 |
|
532 |
-
#: classes/controllers/FrmFormsController.php:
|
533 |
msgid "Use a different separator for checkbox fields"
|
534 |
msgstr ""
|
535 |
|
536 |
-
#: classes/controllers/FrmFormsController.php:
|
537 |
msgid "Date Format"
|
538 |
msgstr ""
|
539 |
|
540 |
-
#: classes/controllers/FrmFormsController.php:
|
541 |
#: classes/views/frm-fields/back-end/settings.php:27
|
542 |
msgid "Field Label"
|
543 |
msgstr ""
|
544 |
|
545 |
-
#: classes/controllers/FrmFormsController.php:
|
546 |
msgid "No Auto P"
|
547 |
msgstr ""
|
548 |
|
549 |
-
#: classes/controllers/FrmFormsController.php:
|
550 |
msgid "Do not automatically add any paragraphs or line breaks"
|
551 |
msgstr ""
|
552 |
|
553 |
-
#: classes/controllers/FrmFormsController.php:
|
554 |
#: classes/models/FrmField.php:62
|
555 |
msgid "User ID"
|
556 |
msgstr ""
|
557 |
|
558 |
-
#: classes/controllers/FrmFormsController.php:
|
559 |
msgid "First Name"
|
560 |
msgstr ""
|
561 |
|
562 |
-
#: classes/controllers/FrmFormsController.php:
|
563 |
msgid "Last Name"
|
564 |
msgstr ""
|
565 |
|
566 |
-
#: classes/controllers/FrmFormsController.php:
|
567 |
msgid "Display Name"
|
568 |
msgstr ""
|
569 |
|
570 |
-
#: classes/controllers/FrmFormsController.php:
|
571 |
msgid "User Login"
|
572 |
msgstr ""
|
573 |
|
574 |
-
#: classes/controllers/FrmFormsController.php:
|
575 |
#: classes/models/FrmField.php:34
|
576 |
msgid "Email"
|
577 |
msgstr ""
|
578 |
|
579 |
-
#: classes/controllers/FrmFormsController.php:
|
580 |
msgid "Avatar"
|
581 |
msgstr ""
|
582 |
|
583 |
-
#: classes/controllers/FrmFormsController.php:
|
584 |
msgid "Author Link"
|
585 |
msgstr ""
|
586 |
|
587 |
-
#: classes/controllers/FrmFormsController.php:
|
588 |
#: classes/views/frm-entries/sidebar-shared.php:51
|
589 |
msgid "Entry ID"
|
590 |
msgstr ""
|
591 |
|
592 |
-
#: classes/controllers/FrmFormsController.php:
|
593 |
msgid "Post ID"
|
594 |
msgstr ""
|
595 |
|
596 |
-
#: classes/controllers/FrmFormsController.php:
|
597 |
msgid "User IP"
|
598 |
msgstr ""
|
599 |
|
600 |
-
#: classes/controllers/FrmFormsController.php:
|
601 |
msgid "Entry created"
|
602 |
msgstr ""
|
603 |
|
604 |
-
#: classes/controllers/FrmFormsController.php:
|
605 |
msgid "Entry updated"
|
606 |
msgstr ""
|
607 |
|
608 |
-
#: classes/controllers/FrmFormsController.php:
|
609 |
msgid "Site URL"
|
610 |
msgstr ""
|
611 |
|
612 |
-
#: classes/controllers/FrmFormsController.php:
|
613 |
msgid "Site Name"
|
614 |
msgstr ""
|
615 |
|
616 |
-
#: classes/controllers/FrmFormsController.php:
|
617 |
msgid "Default Msg"
|
618 |
msgstr ""
|
619 |
|
620 |
-
#: classes/controllers/FrmFormsController.php:
|
621 |
msgid "Default HTML"
|
622 |
msgstr ""
|
623 |
|
624 |
-
#: classes/controllers/FrmFormsController.php:
|
625 |
msgid "Default Plain"
|
626 |
msgstr ""
|
627 |
|
628 |
-
#: classes/controllers/FrmFormsController.php:
|
629 |
msgid "No forms were specified"
|
630 |
msgstr ""
|
631 |
|
632 |
-
#: classes/controllers/FrmFormsController.php:
|
633 |
msgid "Abnormal HTML characters prevented your form from saving correctly"
|
634 |
msgstr ""
|
635 |
|
636 |
-
#: classes/controllers/FrmFormsController.php:
|
637 |
#: classes/helpers/FrmFormsHelper.php:57
|
638 |
#: classes/helpers/FrmFormsHelper.php:112
|
639 |
#: classes/helpers/FrmFormsHelper.php:166
|
@@ -646,17 +646,17 @@ msgstr ""
|
|
646 |
msgid "(no title)"
|
647 |
msgstr ""
|
648 |
|
649 |
-
#: classes/controllers/FrmFormsController.php:
|
650 |
-
#: classes/controllers/FrmFormsController.php:
|
651 |
msgid "Please select a valid form"
|
652 |
msgstr ""
|
653 |
|
654 |
-
#: classes/controllers/FrmFormsController.php:
|
655 |
msgid "Please wait while you are redirected."
|
656 |
msgstr ""
|
657 |
|
658 |
#. translators: %1$s: Start link HTML, %2$s: End link HTML
|
659 |
-
#: classes/controllers/FrmFormsController.php:
|
660 |
msgid "%1$sClick here%2$s if you are not automatically redirected."
|
661 |
msgstr ""
|
662 |
|
@@ -711,7 +711,7 @@ msgid "Plugin Licenses"
|
|
711 |
msgstr ""
|
712 |
|
713 |
#: classes/controllers/FrmSettingsController.php:104
|
714 |
-
#: classes/views/frm-forms/settings-advanced.php:
|
715 |
msgid "Miscellaneous"
|
716 |
msgstr ""
|
717 |
|
@@ -4499,7 +4499,7 @@ msgstr ""
|
|
4499 |
#: classes/views/frm-fields/back-end/inline-modal.php:7
|
4500 |
#: classes/views/frm-fields/back-end/inline-modal.php:8
|
4501 |
#: classes/views/shared/admin-header.php:19
|
4502 |
-
#: js/formidable_admin.js:
|
4503 |
msgid "Close"
|
4504 |
msgstr ""
|
4505 |
|
@@ -5260,7 +5260,7 @@ msgid "Form Settings"
|
|
5260 |
msgstr ""
|
5261 |
|
5262 |
#: classes/views/frm-forms/settings-advanced.php:67
|
5263 |
-
#: classes/views/frm-forms/settings-advanced.php:
|
5264 |
msgid "On Submit"
|
5265 |
msgstr ""
|
5266 |
|
@@ -5284,55 +5284,55 @@ msgstr ""
|
|
5284 |
msgid "Show the form with the confirmation message"
|
5285 |
msgstr ""
|
5286 |
|
5287 |
-
#: classes/views/frm-forms/settings-advanced.php:
|
5288 |
msgid "Do not store entries submitted from this form"
|
5289 |
msgstr ""
|
5290 |
|
5291 |
-
#: classes/views/frm-forms/settings-advanced.php:
|
5292 |
msgid "AJAX"
|
5293 |
msgstr ""
|
5294 |
|
5295 |
-
#: classes/views/frm-forms/settings-advanced.php:
|
5296 |
msgid "Make stuff happen in the background without a page refresh"
|
5297 |
msgstr ""
|
5298 |
|
5299 |
-
#: classes/views/frm-forms/settings-advanced.php:
|
5300 |
msgid "Load and save form builder page with AJAX"
|
5301 |
msgstr ""
|
5302 |
|
5303 |
-
#: classes/views/frm-forms/settings-advanced.php:
|
5304 |
msgid "Recommended for long forms."
|
5305 |
msgstr ""
|
5306 |
|
5307 |
-
#: classes/views/frm-forms/settings-advanced.php:
|
5308 |
msgid "AJAX Form Submissions"
|
5309 |
msgstr ""
|
5310 |
|
5311 |
-
#: classes/views/frm-forms/settings-advanced.php:
|
5312 |
msgid "Want to submit forms without reloading the page?"
|
5313 |
msgstr ""
|
5314 |
|
5315 |
-
#: classes/views/frm-forms/settings-advanced.php:
|
5316 |
msgid "Submit this form with AJAX"
|
5317 |
msgstr ""
|
5318 |
|
5319 |
-
#: classes/views/frm-forms/settings-advanced.php:
|
5320 |
msgid "Submit the form without refreshing the page."
|
5321 |
msgstr ""
|
5322 |
|
5323 |
-
#: classes/views/frm-forms/settings-advanced.php:
|
5324 |
msgid "Validate this form with javascript"
|
5325 |
msgstr ""
|
5326 |
|
5327 |
-
#: classes/views/frm-forms/settings-advanced.php:
|
5328 |
msgid "Required fields, email format, and number format can be checked instantly in your browser. You may want to turn this option off if you have any customizations to remove validation messages on certain fields."
|
5329 |
msgstr ""
|
5330 |
|
5331 |
-
#: classes/views/frm-forms/settings-advanced.php:
|
5332 |
msgid "Messages"
|
5333 |
msgstr ""
|
5334 |
|
5335 |
-
#: classes/views/frm-forms/settings-advanced.php:
|
5336 |
msgid "Set up your confirmation messages."
|
5337 |
msgstr ""
|
5338 |
|
@@ -5402,23 +5402,35 @@ msgstr ""
|
|
5402 |
msgid "visitors who are not logged in"
|
5403 |
msgstr ""
|
5404 |
|
5405 |
-
#: classes/views/frm-forms/spam-settings/antispam.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5406 |
msgid "Check entries for spam using JavaScript"
|
5407 |
msgstr ""
|
5408 |
|
5409 |
-
#: classes/views/frm-forms/spam-settings/honeypot.php:
|
5410 |
msgid "Use Honeypot to check entries for spam"
|
5411 |
msgstr ""
|
5412 |
|
5413 |
-
#: classes/views/frm-forms/spam-settings/honeypot.php:
|
5414 |
-
msgid "
|
5415 |
msgstr ""
|
5416 |
|
5417 |
#: classes/views/frm-forms/spam-settings/honeypot.php:11
|
5418 |
-
msgid "
|
5419 |
msgstr ""
|
5420 |
|
5421 |
#: classes/views/frm-forms/spam-settings/honeypot.php:12
|
|
|
|
|
|
|
|
|
5422 |
msgid "Strict"
|
5423 |
msgstr ""
|
5424 |
|
@@ -6347,6 +6359,6 @@ msgstr ""
|
|
6347 |
msgid "Are you sure you want to delete these %1$s selected fields?"
|
6348 |
msgstr ""
|
6349 |
|
6350 |
-
#: js/formidable_admin.js:
|
6351 |
msgid "Save and Reload"
|
6352 |
msgstr ""
|
2 |
# This file is distributed under the same license as the Formidable Forms plugin.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Formidable Forms 5.0.14\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/formidable\n"
|
7 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
8 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"POT-Creation-Date: 2021-12-02T14:58:17+00:00\n"
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
"X-Generator: WP-CLI 2.4.0\n"
|
15 |
"X-Domain: formidable\n"
|
198 |
#: classes/controllers/FrmAppController.php:165
|
199 |
#: classes/controllers/FrmEntriesController.php:11
|
200 |
#: classes/controllers/FrmEntriesController.php:100
|
201 |
+
#: classes/controllers/FrmFormsController.php:789
|
202 |
#: classes/controllers/FrmXMLController.php:259
|
203 |
#: classes/views/xml/import_form.php:121
|
204 |
msgid "Entries"
|
224 |
msgstr ""
|
225 |
|
226 |
#: classes/controllers/FrmEntriesController.php:79
|
227 |
+
#: classes/controllers/FrmFormsController.php:1335
|
228 |
#: classes/views/frm-entries/form.php:63
|
229 |
#: classes/views/frm-entries/sidebar-shared.php:57
|
230 |
msgid "Entry Key"
|
231 |
msgstr ""
|
232 |
|
233 |
#: classes/controllers/FrmEntriesController.php:84
|
234 |
+
#: classes/controllers/FrmFormsController.php:666
|
235 |
#: classes/views/xml/import_form.php:152
|
236 |
#: classes/widgets/FrmElementorWidget.php:37
|
237 |
#: classes/widgets/FrmShowForm.php:59
|
322 |
msgstr ""
|
323 |
|
324 |
#: classes/controllers/FrmFormsController.php:9
|
325 |
+
#: classes/controllers/FrmFormsController.php:799
|
326 |
#: classes/controllers/FrmStylesController.php:51
|
327 |
#: classes/controllers/FrmXMLController.php:258
|
328 |
#: classes/views/frm-forms/list.php:10
|
348 |
msgstr ""
|
349 |
|
350 |
#: classes/controllers/FrmFormsController.php:187
|
351 |
+
#: classes/controllers/FrmFormsController.php:1008
|
352 |
msgid "Form was successfully updated."
|
353 |
msgstr ""
|
354 |
|
413 |
msgid "Add forms and content"
|
414 |
msgstr ""
|
415 |
|
416 |
+
#: classes/controllers/FrmFormsController.php:667
|
417 |
#: classes/views/frm-forms/insert_form_popup.php:33
|
418 |
msgid "Insert a Form"
|
419 |
msgstr ""
|
420 |
|
421 |
+
#: classes/controllers/FrmFormsController.php:720
|
422 |
msgid "Display form title"
|
423 |
msgstr ""
|
424 |
|
425 |
+
#: classes/controllers/FrmFormsController.php:724
|
426 |
msgid "Display form description"
|
427 |
msgstr ""
|
428 |
|
429 |
+
#: classes/controllers/FrmFormsController.php:728
|
430 |
msgid "Minimize form HTML"
|
431 |
msgstr ""
|
432 |
|
433 |
+
#: classes/controllers/FrmFormsController.php:784
|
434 |
#: classes/views/frm-forms/new-form-overlay.php:46
|
435 |
msgid "Template Name"
|
436 |
msgstr ""
|
437 |
|
438 |
+
#: classes/controllers/FrmFormsController.php:785
|
439 |
#: classes/views/xml/import_form.php:120
|
440 |
msgid "Type"
|
441 |
msgstr ""
|
442 |
|
443 |
+
#: classes/controllers/FrmFormsController.php:786
|
444 |
+
#: classes/controllers/FrmFormsController.php:790
|
445 |
#: classes/helpers/FrmCSVExportHelper.php:230
|
446 |
#: classes/views/shared/mb_adv_info.php:98
|
447 |
msgid "Key"
|
448 |
msgstr ""
|
449 |
|
450 |
+
#: classes/controllers/FrmFormsController.php:788
|
451 |
#: classes/controllers/FrmStylesController.php:395
|
452 |
#: classes/views/frm-forms/settings-advanced.php:13
|
453 |
#: classes/views/styles/manage.php:39
|
456 |
msgid "Form Title"
|
457 |
msgstr ""
|
458 |
|
459 |
+
#: classes/controllers/FrmFormsController.php:791
|
460 |
msgid "Shortcodes"
|
461 |
msgstr ""
|
462 |
|
463 |
+
#: classes/controllers/FrmFormsController.php:794
|
464 |
#: classes/models/FrmField.php:87
|
465 |
msgid "Date"
|
466 |
msgstr ""
|
467 |
|
468 |
+
#: classes/controllers/FrmFormsController.php:914
|
469 |
#: classes/helpers/FrmFormsHelper.php:1282
|
470 |
msgid "My Templates"
|
471 |
msgstr ""
|
472 |
|
473 |
+
#: classes/controllers/FrmFormsController.php:973
|
474 |
msgid "You are trying to edit a form that does not exist."
|
475 |
msgstr ""
|
476 |
|
477 |
#. translators: %1$s: Start link HTML, %2$s: End link HTML
|
478 |
+
#: classes/controllers/FrmFormsController.php:978
|
479 |
msgid "You are trying to edit a child form. Please edit from %1$shere%2$s"
|
480 |
msgstr ""
|
481 |
|
482 |
+
#: classes/controllers/FrmFormsController.php:1010
|
483 |
msgid "Template was successfully updated."
|
484 |
msgstr ""
|
485 |
|
486 |
+
#: classes/controllers/FrmFormsController.php:1084
|
487 |
#: classes/controllers/FrmStylesController.php:394
|
488 |
msgid "General"
|
489 |
msgstr ""
|
490 |
|
491 |
+
#: classes/controllers/FrmFormsController.php:1085
|
492 |
msgid "General Form Settings"
|
493 |
msgstr ""
|
494 |
|
495 |
+
#: classes/controllers/FrmFormsController.php:1090
|
496 |
msgid "Actions & Notifications"
|
497 |
msgstr ""
|
498 |
|
499 |
+
#: classes/controllers/FrmFormsController.php:1096
|
500 |
+
#: classes/controllers/FrmFormsController.php:1101
|
501 |
msgid "Form Permissions"
|
502 |
msgstr ""
|
503 |
|
504 |
+
#: classes/controllers/FrmFormsController.php:1102
|
505 |
msgid "Allow editing, protect forms and files, limit entries, and save drafts. Upgrade to get form and entry permissions."
|
506 |
msgstr ""
|
507 |
|
508 |
+
#: classes/controllers/FrmFormsController.php:1106
|
509 |
msgid "Form Scheduling"
|
510 |
msgstr ""
|
511 |
|
512 |
+
#: classes/controllers/FrmFormsController.php:1111
|
513 |
msgid "Form scheduling settings"
|
514 |
msgstr ""
|
515 |
|
516 |
+
#: classes/controllers/FrmFormsController.php:1115
|
517 |
msgid "Styling & Buttons"
|
518 |
msgstr ""
|
519 |
|
520 |
+
#: classes/controllers/FrmFormsController.php:1121
|
521 |
msgid "Customize HTML"
|
522 |
msgstr ""
|
523 |
|
524 |
+
#: classes/controllers/FrmFormsController.php:1251
|
525 |
msgid "Customize field values with the following parameters."
|
526 |
msgstr ""
|
527 |
|
528 |
+
#: classes/controllers/FrmFormsController.php:1288
|
529 |
msgid "Separator"
|
530 |
msgstr ""
|
531 |
|
532 |
+
#: classes/controllers/FrmFormsController.php:1289
|
533 |
msgid "Use a different separator for checkbox fields"
|
534 |
msgstr ""
|
535 |
|
536 |
+
#: classes/controllers/FrmFormsController.php:1292
|
537 |
msgid "Date Format"
|
538 |
msgstr ""
|
539 |
|
540 |
+
#: classes/controllers/FrmFormsController.php:1295
|
541 |
#: classes/views/frm-fields/back-end/settings.php:27
|
542 |
msgid "Field Label"
|
543 |
msgstr ""
|
544 |
|
545 |
+
#: classes/controllers/FrmFormsController.php:1298
|
546 |
msgid "No Auto P"
|
547 |
msgstr ""
|
548 |
|
549 |
+
#: classes/controllers/FrmFormsController.php:1299
|
550 |
msgid "Do not automatically add any paragraphs or line breaks"
|
551 |
msgstr ""
|
552 |
|
553 |
+
#: classes/controllers/FrmFormsController.php:1314
|
554 |
#: classes/models/FrmField.php:62
|
555 |
msgid "User ID"
|
556 |
msgstr ""
|
557 |
|
558 |
+
#: classes/controllers/FrmFormsController.php:1315
|
559 |
msgid "First Name"
|
560 |
msgstr ""
|
561 |
|
562 |
+
#: classes/controllers/FrmFormsController.php:1316
|
563 |
msgid "Last Name"
|
564 |
msgstr ""
|
565 |
|
566 |
+
#: classes/controllers/FrmFormsController.php:1317
|
567 |
msgid "Display Name"
|
568 |
msgstr ""
|
569 |
|
570 |
+
#: classes/controllers/FrmFormsController.php:1318
|
571 |
msgid "User Login"
|
572 |
msgstr ""
|
573 |
|
574 |
+
#: classes/controllers/FrmFormsController.php:1319
|
575 |
#: classes/models/FrmField.php:34
|
576 |
msgid "Email"
|
577 |
msgstr ""
|
578 |
|
579 |
+
#: classes/controllers/FrmFormsController.php:1320
|
580 |
msgid "Avatar"
|
581 |
msgstr ""
|
582 |
|
583 |
+
#: classes/controllers/FrmFormsController.php:1321
|
584 |
msgid "Author Link"
|
585 |
msgstr ""
|
586 |
|
587 |
+
#: classes/controllers/FrmFormsController.php:1334
|
588 |
#: classes/views/frm-entries/sidebar-shared.php:51
|
589 |
msgid "Entry ID"
|
590 |
msgstr ""
|
591 |
|
592 |
+
#: classes/controllers/FrmFormsController.php:1336
|
593 |
msgid "Post ID"
|
594 |
msgstr ""
|
595 |
|
596 |
+
#: classes/controllers/FrmFormsController.php:1337
|
597 |
msgid "User IP"
|
598 |
msgstr ""
|
599 |
|
600 |
+
#: classes/controllers/FrmFormsController.php:1338
|
601 |
msgid "Entry created"
|
602 |
msgstr ""
|
603 |
|
604 |
+
#: classes/controllers/FrmFormsController.php:1339
|
605 |
msgid "Entry updated"
|
606 |
msgstr ""
|
607 |
|
608 |
+
#: classes/controllers/FrmFormsController.php:1341
|
609 |
msgid "Site URL"
|
610 |
msgstr ""
|
611 |
|
612 |
+
#: classes/controllers/FrmFormsController.php:1342
|
613 |
msgid "Site Name"
|
614 |
msgstr ""
|
615 |
|
616 |
+
#: classes/controllers/FrmFormsController.php:1350
|
617 |
msgid "Default Msg"
|
618 |
msgstr ""
|
619 |
|
620 |
+
#: classes/controllers/FrmFormsController.php:1351
|
621 |
msgid "Default HTML"
|
622 |
msgstr ""
|
623 |
|
624 |
+
#: classes/controllers/FrmFormsController.php:1352
|
625 |
msgid "Default Plain"
|
626 |
msgstr ""
|
627 |
|
628 |
+
#: classes/controllers/FrmFormsController.php:1455
|
629 |
msgid "No forms were specified"
|
630 |
msgstr ""
|
631 |
|
632 |
+
#: classes/controllers/FrmFormsController.php:1567
|
633 |
msgid "Abnormal HTML characters prevented your form from saving correctly"
|
634 |
msgstr ""
|
635 |
|
636 |
+
#: classes/controllers/FrmFormsController.php:1682
|
637 |
#: classes/helpers/FrmFormsHelper.php:57
|
638 |
#: classes/helpers/FrmFormsHelper.php:112
|
639 |
#: classes/helpers/FrmFormsHelper.php:166
|
646 |
msgid "(no title)"
|
647 |
msgstr ""
|
648 |
|
649 |
+
#: classes/controllers/FrmFormsController.php:1728
|
650 |
+
#: classes/controllers/FrmFormsController.php:1742
|
651 |
msgid "Please select a valid form"
|
652 |
msgstr ""
|
653 |
|
654 |
+
#: classes/controllers/FrmFormsController.php:1964
|
655 |
msgid "Please wait while you are redirected."
|
656 |
msgstr ""
|
657 |
|
658 |
#. translators: %1$s: Start link HTML, %2$s: End link HTML
|
659 |
+
#: classes/controllers/FrmFormsController.php:1999
|
660 |
msgid "%1$sClick here%2$s if you are not automatically redirected."
|
661 |
msgstr ""
|
662 |
|
711 |
msgstr ""
|
712 |
|
713 |
#: classes/controllers/FrmSettingsController.php:104
|
714 |
+
#: classes/views/frm-forms/settings-advanced.php:181
|
715 |
msgid "Miscellaneous"
|
716 |
msgstr ""
|
717 |
|
4499 |
#: classes/views/frm-fields/back-end/inline-modal.php:7
|
4500 |
#: classes/views/frm-fields/back-end/inline-modal.php:8
|
4501 |
#: classes/views/shared/admin-header.php:19
|
4502 |
+
#: js/formidable_admin.js:7764
|
4503 |
msgid "Close"
|
4504 |
msgstr ""
|
4505 |
|
5260 |
msgstr ""
|
5261 |
|
5262 |
#: classes/views/frm-forms/settings-advanced.php:67
|
5263 |
+
#: classes/views/frm-forms/settings-advanced.php:172
|
5264 |
msgid "On Submit"
|
5265 |
msgstr ""
|
5266 |
|
5284 |
msgid "Show the form with the confirmation message"
|
5285 |
msgstr ""
|
5286 |
|
5287 |
+
#: classes/views/frm-forms/settings-advanced.php:115
|
5288 |
msgid "Do not store entries submitted from this form"
|
5289 |
msgstr ""
|
5290 |
|
5291 |
+
#: classes/views/frm-forms/settings-advanced.php:125
|
5292 |
msgid "AJAX"
|
5293 |
msgstr ""
|
5294 |
|
5295 |
+
#: classes/views/frm-forms/settings-advanced.php:126
|
5296 |
msgid "Make stuff happen in the background without a page refresh"
|
5297 |
msgstr ""
|
5298 |
|
5299 |
+
#: classes/views/frm-forms/settings-advanced.php:133
|
5300 |
msgid "Load and save form builder page with AJAX"
|
5301 |
msgstr ""
|
5302 |
|
5303 |
+
#: classes/views/frm-forms/settings-advanced.php:134
|
5304 |
msgid "Recommended for long forms."
|
5305 |
msgstr ""
|
5306 |
|
5307 |
+
#: classes/views/frm-forms/settings-advanced.php:142
|
5308 |
msgid "AJAX Form Submissions"
|
5309 |
msgstr ""
|
5310 |
|
5311 |
+
#: classes/views/frm-forms/settings-advanced.php:142
|
5312 |
msgid "Want to submit forms without reloading the page?"
|
5313 |
msgstr ""
|
5314 |
|
5315 |
+
#: classes/views/frm-forms/settings-advanced.php:144
|
5316 |
msgid "Submit this form with AJAX"
|
5317 |
msgstr ""
|
5318 |
|
5319 |
+
#: classes/views/frm-forms/settings-advanced.php:145
|
5320 |
msgid "Submit the form without refreshing the page."
|
5321 |
msgstr ""
|
5322 |
|
5323 |
+
#: classes/views/frm-forms/settings-advanced.php:154
|
5324 |
msgid "Validate this form with javascript"
|
5325 |
msgstr ""
|
5326 |
|
5327 |
+
#: classes/views/frm-forms/settings-advanced.php:155
|
5328 |
msgid "Required fields, email format, and number format can be checked instantly in your browser. You may want to turn this option off if you have any customizations to remove validation messages on certain fields."
|
5329 |
msgstr ""
|
5330 |
|
5331 |
+
#: classes/views/frm-forms/settings-advanced.php:166
|
5332 |
msgid "Messages"
|
5333 |
msgstr ""
|
5334 |
|
5335 |
+
#: classes/views/frm-forms/settings-advanced.php:167
|
5336 |
msgid "Set up your confirmation messages."
|
5337 |
msgstr ""
|
5338 |
|
5402 |
msgid "visitors who are not logged in"
|
5403 |
msgstr ""
|
5404 |
|
5405 |
+
#: classes/views/frm-forms/spam-settings/antispam.php:5
|
5406 |
+
msgid "Generate unique tokens for validating form submissions."
|
5407 |
+
msgstr ""
|
5408 |
+
|
5409 |
+
#: classes/views/frm-forms/spam-settings/antispam.php:7
|
5410 |
+
msgid "Uploaded files will also be validated for spam."
|
5411 |
+
msgstr ""
|
5412 |
+
|
5413 |
+
#: classes/views/frm-forms/spam-settings/antispam.php:13
|
5414 |
msgid "Check entries for spam using JavaScript"
|
5415 |
msgstr ""
|
5416 |
|
5417 |
+
#: classes/views/frm-forms/spam-settings/honeypot.php:7
|
5418 |
msgid "Use Honeypot to check entries for spam"
|
5419 |
msgstr ""
|
5420 |
|
5421 |
+
#: classes/views/frm-forms/spam-settings/honeypot.php:8
|
5422 |
+
msgid "Include an invisible field in your form to trick bots. Setting to strict will catch more spam but issues with autocomplete may prevent real people from submitting on some browsers."
|
5423 |
msgstr ""
|
5424 |
|
5425 |
#: classes/views/frm-forms/spam-settings/honeypot.php:11
|
5426 |
+
msgid "Off"
|
5427 |
msgstr ""
|
5428 |
|
5429 |
#: classes/views/frm-forms/spam-settings/honeypot.php:12
|
5430 |
+
msgid "Basic"
|
5431 |
+
msgstr ""
|
5432 |
+
|
5433 |
+
#: classes/views/frm-forms/spam-settings/honeypot.php:13
|
5434 |
msgid "Strict"
|
5435 |
msgstr ""
|
5436 |
|
6359 |
msgid "Are you sure you want to delete these %1$s selected fields?"
|
6360 |
msgstr ""
|
6361 |
|
6362 |
+
#: js/formidable_admin.js:7756
|
6363 |
msgid "Save and Reload"
|
6364 |
msgstr ""
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: forms, contact form, form builder, survey, free, form maker, form creator,
|
|
5 |
Requires at least: 5.0
|
6 |
Tested up to: 5.8.2
|
7 |
Requires PHP: 5.6
|
8 |
-
Stable tag: 5.0.
|
9 |
|
10 |
The most advanced WordPress forms plugin. Go beyond contact forms with our drag & drop form builder for surveys, quizzes, and more.
|
11 |
|
@@ -438,6 +438,12 @@ Using our Zapier integration, you can easily connect Formidable with over 1000+
|
|
438 |
See all <a href="https://zapier.com/apps/formidable/integrations">Formidable Zapier Integrations</a>.
|
439 |
|
440 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
441 |
= 5.0.13.1 =
|
442 |
- Fix: Too much HTML was being stripped from filtered icons preventing the ellipses icon from opening the pop up to add layout classes.
|
443 |
|
@@ -460,8 +466,4 @@ See all <a href="https://zapier.com/apps/formidable/integrations">Formidable Zap
|
|
460 |
- Fix: Added additional validation to CSV export so it fails more gracefully when the form does not exist.
|
461 |
- Fix: The style setting for Margin under Field Settings as been renamed to Bottom Margin to avoid confusion as it only updates one margin value.
|
462 |
|
463 |
-
= 5.0.11 =
|
464 |
-
- Fix: Required credit cards were causing an issue with JavaScript validation.
|
465 |
-
- Fix: Empty required appointment fields were not properly validating with JavaScript.
|
466 |
-
|
467 |
<a href="https://raw.githubusercontent.com/Strategy11/formidable-forms/master/changelog.txt">See changelog for all versions</a>
|
5 |
Requires at least: 5.0
|
6 |
Tested up to: 5.8.2
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 5.0.14
|
9 |
|
10 |
The most advanced WordPress forms plugin. Go beyond contact forms with our drag & drop form builder for surveys, quizzes, and more.
|
11 |
|
438 |
See all <a href="https://zapier.com/apps/formidable/integrations">Formidable Zapier Integrations</a>.
|
439 |
|
440 |
== Changelog ==
|
441 |
+
= 5.0.14 =
|
442 |
+
- New: HTML field descriptions now use a rich text editor instead of a plain textarea.
|
443 |
+
- New: Added a new array_separator option to entry shortcodes. This can be used with the [default-message] like [default-message array_separator="<br/>"] shortcode to change the separator used for multiple checkbox or dropdown values. It also works with the [frm-show-entry] shortcode in pro.
|
444 |
+
- New: Added tooltips to honeypot and JavaScript token spam settings.
|
445 |
+
- Fix: The adjusted color used for .frm-alt-table stripes was not calculating properly when the border color was set as an RGBA value in the style manager.
|
446 |
+
|
447 |
= 5.0.13.1 =
|
448 |
- Fix: Too much HTML was being stripped from filtered icons preventing the ellipses icon from opening the pop up to add layout classes.
|
449 |
|
466 |
- Fix: Added additional validation to CSV export so it fails more gracefully when the form does not exist.
|
467 |
- Fix: The style setting for Margin under Field Settings as been renamed to Bottom Margin to avoid confusion as it only updates one margin value.
|
468 |
|
|
|
|
|
|
|
|
|
469 |
<a href="https://raw.githubusercontent.com/Strategy11/formidable-forms/master/changelog.txt">See changelog for all versions</a>
|