Version Description
- Add a timestamp to the css file instead of plugin version number to improve issues with styling caching
- Add pro tips & upgrade calls
- Fix bug with importing old forms with no custom style
- Pro Features: *
- Remove autoinsertion options from the view settings. Any views that were set to be inserted automatically will have their shortcodes saved onto that page.
- Allow the delete link to work after an ajax load
- Apply styling settings to HTML fields
- Randomize entry key on CSV import
- Make sure the old transient doesn't delay automatic update
- Allow forced plugin update check if it hasn't been forced before
- Fix CSV import form dropdown with only 1 item
- Fix bug with importing data in embed form fields
- Fix time_ago issue with blank value
- Fix missing pro license message to link to global settings
- Fix a fatal error when a non-Site Admin visits the Global settings page in multisite
Download this release
Release Info
Developer | sswells |
Plugin | Formidable Forms – Form Builder for WordPress |
Version | 2.0.21 |
Comparing to | |
See all releases |
Code changes from version 2.0.20 to 2.0.21
- classes/controllers/FrmAddonsController.php +44 -8
- classes/controllers/FrmFormsController.php +5 -1
- classes/controllers/FrmStylesController.php +14 -1
- classes/helpers/FrmAppHelper.php +23 -10
- classes/helpers/FrmFieldsHelper.php +7 -2
- classes/helpers/FrmStylesHelper.php +1 -0
- classes/helpers/FrmTipsHelper.php +150 -0
- classes/helpers/FrmXMLHelper.php +5 -3
- classes/models/FrmAddon.php +3 -2
- classes/models/FrmEDD_SL_Plugin_Updater.php +1 -1
- classes/models/FrmPointers.php +16 -6
- classes/models/FrmStyle.php +1 -0
- classes/views/addons/list.php +1 -1
- classes/views/addons/upgrade_to_pro.php +208 -0
- classes/views/frm-entries/list.php +2 -0
- classes/views/frm-forms/add_field_links.php +2 -1
- classes/views/frm-forms/settings.php +4 -1
- classes/views/shared/mb_adv_info.php +1 -1
- classes/views/xml/import_form.php +1 -0
- css/_single_theme.css.php +6 -0
- css/frm_admin.css +43 -7
- formidable.php +1 -1
- js/formidable.js +1 -1
- js/formidable_admin.js +0 -13
- languages/formidable-en_US.po +833 -737
- readme.txt +18 -1
classes/controllers/FrmAddonsController.php
CHANGED
@@ -4,29 +4,57 @@ class FrmAddonsController {
|
|
4 |
|
5 |
public static function menu() {
|
6 |
add_submenu_page( 'formidable', 'Formidable | '. __( 'AddOns', 'formidable' ), __( 'AddOns', 'formidable' ), 'frm_view_forms', 'formidable-addons', 'FrmAddonsController::list_addons' );
|
|
|
|
|
|
|
|
|
|
|
7 |
}
|
8 |
|
9 |
public static function list_addons() {
|
10 |
$installed_addons = apply_filters( 'frm_installed_addons', array() );
|
11 |
|
12 |
-
$pro_link = '
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
$addons = self::get_api_addons();
|
14 |
if ( ! is_array( $addons ) ) {
|
15 |
$addons = array(
|
16 |
-
array( '
|
17 |
);
|
18 |
} else {
|
19 |
$addons = $addons['products'];
|
20 |
}
|
21 |
$addons = array_reverse( $addons );
|
22 |
|
23 |
-
$
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
);
|
28 |
|
29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
}
|
31 |
|
32 |
public static function license_settings() {
|
@@ -91,4 +119,12 @@ class FrmAddonsController {
|
|
91 |
|
92 |
return $data;
|
93 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
94 |
}
|
4 |
|
5 |
public static function menu() {
|
6 |
add_submenu_page( 'formidable', 'Formidable | '. __( 'AddOns', 'formidable' ), __( 'AddOns', 'formidable' ), 'frm_view_forms', 'formidable-addons', 'FrmAddonsController::list_addons' );
|
7 |
+
|
8 |
+
$affiliate = FrmAppHelper::get_affiliate();
|
9 |
+
if ( ! empty( $affiliate ) ) {
|
10 |
+
add_submenu_page( 'formidable', 'Formidable | '. __( 'Upgrade to Pro', 'formidable' ), __( 'Upgrade to Pro', 'formidable' ), 'frm_view_forms', 'formidable-pro-upgrade', 'FrmAddonsController::upgrade_to_pro' );
|
11 |
+
}
|
12 |
}
|
13 |
|
14 |
public static function list_addons() {
|
15 |
$installed_addons = apply_filters( 'frm_installed_addons', array() );
|
16 |
|
17 |
+
$pro_link = 'https://formidablepro.com/pricing';
|
18 |
+
$addons = self::get_ordered_addons( $pro_link );
|
19 |
+
|
20 |
+
$plugin_names = array(
|
21 |
+
'formidable-pro' => 'formidable/pro', 'wp-multilingual' => 'formidable-wpml',
|
22 |
+
'registration-lite' => 'formidable-registration', 'bootstrap-modal' => 'formidable-modal',
|
23 |
+
'paypal-standard' => 'formidable-paypal', 'formidable-api' => 'formidable-api',
|
24 |
+
);
|
25 |
+
|
26 |
+
include( FrmAppHelper::plugin_path() . '/classes/views/addons/list.php' );
|
27 |
+
}
|
28 |
+
|
29 |
+
private static function get_ordered_addons( $pro_link = 'https://formidablepro.com/pricing' ) {
|
30 |
$addons = self::get_api_addons();
|
31 |
if ( ! is_array( $addons ) ) {
|
32 |
$addons = array(
|
33 |
+
'info' => array( 'link' => $pro_link, 'name' => 'Formidable Pro', 'slug' => 'formidable_pro' ),
|
34 |
);
|
35 |
} else {
|
36 |
$addons = $addons['products'];
|
37 |
}
|
38 |
$addons = array_reverse( $addons );
|
39 |
|
40 |
+
$keyed_addons = array();
|
41 |
+
foreach ( $addons as $addon ) {
|
42 |
+
$keyed_addons[ $addon['info']['slug'] ] = $addon;
|
43 |
+
}
|
|
|
44 |
|
45 |
+
$plugin_order = array(
|
46 |
+
'formidable-pro', 'mailchimp', 'registration-lite',
|
47 |
+
'paypal-standard', 'bootstrap-modal', 'math-captcha',
|
48 |
+
);
|
49 |
+
$ordered_addons = array();
|
50 |
+
foreach ( $plugin_order as $plugin ) {
|
51 |
+
if ( isset( $keyed_addons[ $plugin ] ) ) {
|
52 |
+
$ordered_addons[] = $keyed_addons[ $plugin ];
|
53 |
+
unset( $keyed_addons[ $plugin ] );
|
54 |
+
}
|
55 |
+
}
|
56 |
+
$addons = $ordered_addons + $keyed_addons;
|
57 |
+
return $addons;
|
58 |
}
|
59 |
|
60 |
public static function license_settings() {
|
119 |
|
120 |
return $data;
|
121 |
}
|
122 |
+
|
123 |
+
public static function upgrade_to_pro() {
|
124 |
+
$addons = self::get_ordered_addons();
|
125 |
+
$pro = $addons[0];
|
126 |
+
$price_id = 0;
|
127 |
+
|
128 |
+
include( FrmAppHelper::plugin_path() . '/classes/views/addons/upgrade_to_pro.php' );
|
129 |
+
}
|
130 |
}
|
classes/controllers/FrmFormsController.php
CHANGED
@@ -3,7 +3,11 @@
|
|
3 |
class FrmFormsController {
|
4 |
|
5 |
public static function menu() {
|
6 |
-
|
|
|
|
|
|
|
|
|
7 |
|
8 |
add_filter('get_user_option_managetoplevel_page_formidablecolumnshidden', 'FrmFormsController::hidden_columns' );
|
9 |
|
3 |
class FrmFormsController {
|
4 |
|
5 |
public static function menu() {
|
6 |
+
$menu_label = __( 'Forms', 'formidable' );
|
7 |
+
if ( ! FrmAppHelper::pro_is_installed() ) {
|
8 |
+
$menu_label .= ' (Lite)';
|
9 |
+
}
|
10 |
+
add_submenu_page('formidable', 'Formidable | '. $menu_label, $menu_label, 'frm_view_forms', 'formidable', 'FrmFormsController::route' );
|
11 |
|
12 |
add_filter('get_user_option_managetoplevel_page_formidablecolumnshidden', 'FrmFormsController::hidden_columns' );
|
13 |
|
classes/controllers/FrmStylesController.php
CHANGED
@@ -79,7 +79,8 @@ class FrmStylesController {
|
|
79 |
|
80 |
foreach ( (array) $css as $css_key => $file ) {
|
81 |
if ( $register == 'register' ) {
|
82 |
-
|
|
|
83 |
}
|
84 |
|
85 |
if ( 'all' == $frm_settings->load_style || $register != 'register' ) {
|
@@ -120,6 +121,18 @@ class FrmStylesController {
|
|
120 |
$stylesheet_urls['formidable'] = $url;
|
121 |
}
|
122 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
123 |
private static function maybe_enqueue_jquery_css() {
|
124 |
global $frm_vars;
|
125 |
if ( isset( $frm_vars['datepicker_loaded'] ) && ! empty( $frm_vars['datepicker_loaded'] ) ) {
|
79 |
|
80 |
foreach ( (array) $css as $css_key => $file ) {
|
81 |
if ( $register == 'register' ) {
|
82 |
+
$this_version = self::get_css_version( $css_key, $version );
|
83 |
+
wp_register_style( $css_key, $file, array(), $this_version );
|
84 |
}
|
85 |
|
86 |
if ( 'all' == $frm_settings->load_style || $register != 'register' ) {
|
121 |
$stylesheet_urls['formidable'] = $url;
|
122 |
}
|
123 |
|
124 |
+
private static function get_css_version( $css_key, $version ) {
|
125 |
+
if ( 'formidable' == $css_key ) {
|
126 |
+
$this_version = get_option( 'frm_last_style_update' );
|
127 |
+
if ( ! $this_version ) {
|
128 |
+
$this_version = $version;
|
129 |
+
}
|
130 |
+
} else {
|
131 |
+
$this_version = $version;
|
132 |
+
}
|
133 |
+
return $this_version;
|
134 |
+
}
|
135 |
+
|
136 |
private static function maybe_enqueue_jquery_css() {
|
137 |
global $frm_vars;
|
138 |
if ( isset( $frm_vars['datepicker_loaded'] ) && ! empty( $frm_vars['datepicker_loaded'] ) ) {
|
classes/helpers/FrmAppHelper.php
CHANGED
@@ -5,12 +5,12 @@ if ( ! defined('ABSPATH') ) {
|
|
5 |
|
6 |
class FrmAppHelper {
|
7 |
public static $db_version = 27; //version of the database we are moving to
|
8 |
-
public static $pro_db_version =
|
9 |
|
10 |
/**
|
11 |
* @since 2.0
|
12 |
*/
|
13 |
-
public static $plug_version = '2.0.
|
14 |
|
15 |
/**
|
16 |
* @since 1.07.02
|
@@ -58,14 +58,23 @@ class FrmAppHelper {
|
|
58 |
}
|
59 |
|
60 |
public static function make_affiliate_url( $url ) {
|
61 |
-
$affiliate_id =
|
62 |
-
|
63 |
-
if ( in_array( strtolower( $affiliate_id ), $allowed_affiliates ) ) {
|
64 |
$url = add_query_arg( 'aff', $affiliate_id, $url );
|
65 |
}
|
66 |
return $url;
|
67 |
}
|
68 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
/**
|
70 |
* Get the Formidable settings
|
71 |
*
|
@@ -1248,16 +1257,20 @@ class FrmAppHelper {
|
|
1248 |
$now = new DateTime( '@' . $to );
|
1249 |
}
|
1250 |
$ago = new DateTime( '@' . $from );
|
1251 |
-
$diff = $now->diff( $ago );
|
1252 |
|
1253 |
-
|
1254 |
-
$
|
|
|
|
|
|
|
|
|
|
|
1255 |
|
1256 |
$time_strings = self::get_time_strings();
|
1257 |
|
1258 |
foreach ( $time_strings as $k => $v ) {
|
1259 |
-
if ( $diff
|
1260 |
-
$time_strings[ $k ] = $diff
|
1261 |
} else {
|
1262 |
unset( $time_strings[ $k ] );
|
1263 |
}
|
5 |
|
6 |
class FrmAppHelper {
|
7 |
public static $db_version = 27; //version of the database we are moving to
|
8 |
+
public static $pro_db_version = 31;
|
9 |
|
10 |
/**
|
11 |
* @since 2.0
|
12 |
*/
|
13 |
+
public static $plug_version = '2.0.21';
|
14 |
|
15 |
/**
|
16 |
* @since 1.07.02
|
58 |
}
|
59 |
|
60 |
public static function make_affiliate_url( $url ) {
|
61 |
+
$affiliate_id = self::get_affiliate();
|
62 |
+
if ( ! empty( $affiliate_id ) ) {
|
|
|
63 |
$url = add_query_arg( 'aff', $affiliate_id, $url );
|
64 |
}
|
65 |
return $url;
|
66 |
}
|
67 |
|
68 |
+
public static function get_affiliate() {
|
69 |
+
$affiliate_id = apply_filters( 'frm_affiliate_link', get_option('frm_aff') );
|
70 |
+
$affiliate_id = strtolower( $affiliate_id );
|
71 |
+
$allowed_affiliates = array( 'mojo' );
|
72 |
+
if ( ! in_array( $affiliate_id, $allowed_affiliates ) ) {
|
73 |
+
$affiliate_id = false;
|
74 |
+
}
|
75 |
+
return $affiliate_id;
|
76 |
+
}
|
77 |
+
|
78 |
/**
|
79 |
* Get the Formidable settings
|
80 |
*
|
1257 |
$now = new DateTime( '@' . $to );
|
1258 |
}
|
1259 |
$ago = new DateTime( '@' . $from );
|
|
|
1260 |
|
1261 |
+
// Get the time difference
|
1262 |
+
$diff_object = $now->diff( $ago );
|
1263 |
+
$diff = get_object_vars( $diff_object );
|
1264 |
+
|
1265 |
+
// Add week amount and update day amount
|
1266 |
+
$diff['w'] = floor( $diff['d'] / 7 );
|
1267 |
+
$diff['d'] -= $diff['w'] * 7;
|
1268 |
|
1269 |
$time_strings = self::get_time_strings();
|
1270 |
|
1271 |
foreach ( $time_strings as $k => $v ) {
|
1272 |
+
if ( $diff[ $k ] ) {
|
1273 |
+
$time_strings[ $k ] = $diff[ $k ] . ' ' . ( $diff[ $k ] > 1 ? $v[1] : $v[0] );
|
1274 |
} else {
|
1275 |
unset( $time_strings[ $k ] );
|
1276 |
}
|
classes/helpers/FrmFieldsHelper.php
CHANGED
@@ -374,6 +374,11 @@ DEFAULT_HTML;
|
|
374 |
$error_class .= ' frm_embed_form_container';
|
375 |
}
|
376 |
|
|
|
|
|
|
|
|
|
|
|
377 |
//Add classes to inline confirmation field (if it doesn't already have classes set)
|
378 |
if ( isset( $field['conf_field'] ) && $field['conf_field'] == 'inline' && ! $field['classes'] ) {
|
379 |
$error_class .= ' frm_first frm_half';
|
@@ -879,7 +884,7 @@ DEFAULT_HTML;
|
|
879 |
}
|
880 |
|
881 |
public static function get_display_value( $replace_with, $field, $atts = array() ) {
|
882 |
-
$sep = isset( $atts['sep'] ) ? $atts['sep'] : ', ';
|
883 |
|
884 |
$replace_with = apply_filters( 'frm_get_display_value', $replace_with, $field, $atts );
|
885 |
|
@@ -893,7 +898,7 @@ DEFAULT_HTML;
|
|
893 |
}
|
894 |
unset( $autop );
|
895 |
} else if ( is_array( $replace_with ) ) {
|
896 |
-
$replace_with = implode( $sep, $replace_with );
|
897 |
}
|
898 |
|
899 |
return $replace_with;
|
374 |
$error_class .= ' frm_embed_form_container';
|
375 |
}
|
376 |
|
377 |
+
// Add class to HTML field
|
378 |
+
if ( $field['type'] == 'html' ) {
|
379 |
+
$error_class .= ' frm_html_container';
|
380 |
+
}
|
381 |
+
|
382 |
//Add classes to inline confirmation field (if it doesn't already have classes set)
|
383 |
if ( isset( $field['conf_field'] ) && $field['conf_field'] == 'inline' && ! $field['classes'] ) {
|
384 |
$error_class .= ' frm_first frm_half';
|
884 |
}
|
885 |
|
886 |
public static function get_display_value( $replace_with, $field, $atts = array() ) {
|
887 |
+
$atts['sep'] = isset( $atts['sep'] ) ? $atts['sep'] : ', ';
|
888 |
|
889 |
$replace_with = apply_filters( 'frm_get_display_value', $replace_with, $field, $atts );
|
890 |
|
898 |
}
|
899 |
unset( $autop );
|
900 |
} else if ( is_array( $replace_with ) ) {
|
901 |
+
$replace_with = implode( $atts['sep'], $replace_with );
|
902 |
}
|
903 |
|
904 |
return $replace_with;
|
classes/helpers/FrmStylesHelper.php
CHANGED
@@ -92,6 +92,7 @@ class FrmStylesHelper {
|
|
92 |
<a href="<?php echo esc_url( admin_url( 'admin.php?page=formidable-styles' ) ) ?>" class="nav-tab <?php echo ( '' == $active ) ? 'nav-tab-active' : '' ?>"><?php _e( 'Edit Styles', 'formidable' ) ?></a>
|
93 |
<a href="<?php echo esc_url( admin_url( 'admin.php?page=formidable-styles&frm_action=manage' ) ) ?>" class="nav-tab <?php echo ( 'manage' == $active ) ? 'nav-tab-active' : '' ?>"><?php _e( 'Manage Form Styles', 'formidable' ) ?></a>
|
94 |
<a href="<?php echo esc_url( admin_url('admin.php?page=formidable-styles&frm_action=custom_css' ) ) ?>" class="nav-tab <?php echo ( 'custom_css' == $active ) ? 'nav-tab-active' : '' ?>"><?php _e( 'Custom CSS', 'formidable' ) ?></a>
|
|
|
95 |
</h2>
|
96 |
<?php
|
97 |
}
|
92 |
<a href="<?php echo esc_url( admin_url( 'admin.php?page=formidable-styles' ) ) ?>" class="nav-tab <?php echo ( '' == $active ) ? 'nav-tab-active' : '' ?>"><?php _e( 'Edit Styles', 'formidable' ) ?></a>
|
93 |
<a href="<?php echo esc_url( admin_url( 'admin.php?page=formidable-styles&frm_action=manage' ) ) ?>" class="nav-tab <?php echo ( 'manage' == $active ) ? 'nav-tab-active' : '' ?>"><?php _e( 'Manage Form Styles', 'formidable' ) ?></a>
|
94 |
<a href="<?php echo esc_url( admin_url('admin.php?page=formidable-styles&frm_action=custom_css' ) ) ?>" class="nav-tab <?php echo ( 'custom_css' == $active ) ? 'nav-tab-active' : '' ?>"><?php _e( 'Custom CSS', 'formidable' ) ?></a>
|
95 |
+
<?php FrmTipsHelper::pro_tip( 'get_styling_tip' ); ?>
|
96 |
</h2>
|
97 |
<?php
|
98 |
}
|
classes/helpers/FrmTipsHelper.php
ADDED
@@ -0,0 +1,150 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class FrmTipsHelper {
|
4 |
+
|
5 |
+
public static function pro_tip( $callback, $html = '' ) {
|
6 |
+
if ( FrmAppHelper::pro_is_installed() ) {
|
7 |
+
return;
|
8 |
+
}
|
9 |
+
|
10 |
+
$tip = self::$callback();
|
11 |
+
if ( $html == 'p' ) {
|
12 |
+
echo '<p>';
|
13 |
+
}
|
14 |
+
?>
|
15 |
+
<a href="<?php echo esc_url( FrmAppHelper::make_affiliate_url( $tip['link'] ) ) ?>" target="_blank" class="frm_pro_tip">
|
16 |
+
<span><i class="frm_icon_font frm_check1_icon"></i> Pro Tip:</span>
|
17 |
+
<?php echo $tip['tip'] ?>
|
18 |
+
<?php if ( isset( $tip['call'] ) ) { ?>
|
19 |
+
<span><?php echo $tip['call'] ?></span>
|
20 |
+
<?php } ?>
|
21 |
+
</a>
|
22 |
+
<?php
|
23 |
+
if ( $html == 'p' ) {
|
24 |
+
echo '</p>';
|
25 |
+
}
|
26 |
+
}
|
27 |
+
|
28 |
+
public static function get_builder_tip() {
|
29 |
+
$tips = array(
|
30 |
+
array(
|
31 |
+
'link' => 'https://formidablepro.com/section-tip',
|
32 |
+
'tip' => __( 'Long forms can still be beautiful with sections.', 'formidable' ),
|
33 |
+
'call' => __( 'Upgrade to Pro.', 'formidable' ),
|
34 |
+
),
|
35 |
+
array(
|
36 |
+
'link' => 'https://formidablepro.com/conditional-logic-tip',
|
37 |
+
'tip' => __( 'Use conditional logic to shorten your forms and increase conversions.', 'formidable' ),
|
38 |
+
'call' => __( 'Upgrade to Pro.', 'formidable' ),
|
39 |
+
),
|
40 |
+
array(
|
41 |
+
'link' => 'https://formidablepro.com/page-break-tip',
|
42 |
+
'tip' => __( 'Stop intimidating users with long forms.', 'formidable' ),
|
43 |
+
'call' => __( 'Use page breaks.', 'formidable' ),
|
44 |
+
),
|
45 |
+
array(
|
46 |
+
'link' => 'https://formidablepro.com/file-upload-tip',
|
47 |
+
'tip' => __( 'Cut down on back-and-forth with clients.', 'formidable' ),
|
48 |
+
'call' => __( 'Allow file uploads in your form.', 'formidable' ),
|
49 |
+
),
|
50 |
+
);
|
51 |
+
|
52 |
+
return self::get_random_tip( $tips );
|
53 |
+
}
|
54 |
+
|
55 |
+
public static function get_form_settings_tip() {
|
56 |
+
$tips = array(
|
57 |
+
array(
|
58 |
+
'link' => 'https://formidablepro.com/front-end-editing-tip',
|
59 |
+
'tip' => __( 'A site with dynamic, maintainable, user-generated content is within reach.', 'formidable' ),
|
60 |
+
'call' => __( 'Add front-end editing.', 'formidable' ),
|
61 |
+
),
|
62 |
+
array(
|
63 |
+
'link' => 'https://formidablepro.com/save-drafts-tip',
|
64 |
+
'tip' => __( 'Have a long form that takes time to complete?', 'formidable' ),
|
65 |
+
'call' => __( 'Let logged-in users save a draft and return later.', 'formidable' ),
|
66 |
+
),
|
67 |
+
);
|
68 |
+
return self::get_random_tip( $tips );
|
69 |
+
}
|
70 |
+
|
71 |
+
public static function get_form_action_tip() {
|
72 |
+
$tips = array(
|
73 |
+
array(
|
74 |
+
'link' => 'https://formidablepro.com/email-routing-tip',
|
75 |
+
'tip' => __( 'Save time by sending the email to the right person automatically.', 'formidable' ),
|
76 |
+
'call' => __( 'Add email routing.', 'formidable' ),
|
77 |
+
),
|
78 |
+
array(
|
79 |
+
'link' => 'https://formidablepro.com/create-posts-tip',
|
80 |
+
'tip' => __( 'Allow anyone to create a blog post using your form.', 'formidable' ),
|
81 |
+
'call' => __( 'Upgrade to Pro.', 'formidable' ),
|
82 |
+
),
|
83 |
+
array(
|
84 |
+
'link' => 'https://formidablepro.com/downloads/mailchimp/',
|
85 |
+
'tip' => __( 'Grow your business with automated email follow-up.', 'formidable' ),
|
86 |
+
'call' => __( 'Send leads straight to MailChimp.', 'formidable' ),
|
87 |
+
),
|
88 |
+
array(
|
89 |
+
'link' => 'https://formidablepro.com/downloads/paypal-standard/',
|
90 |
+
'tip' => __( 'Save hours and increase revenue by collecting payments with every submission.', 'formidable' ),
|
91 |
+
'call' => __( 'Use PayPal with this form.', 'formidable' ),
|
92 |
+
),
|
93 |
+
array(
|
94 |
+
'link' => 'https://formidablepro.com/downloads/registration-lite/',
|
95 |
+
'tip' => __( 'Start building up your site membership.', 'formidable' ),
|
96 |
+
'call' => __( 'Automatically create user accounts.', 'formidable' ),
|
97 |
+
),
|
98 |
+
array(
|
99 |
+
'link' => 'https://formidablepro.com/downloads/twilio/',
|
100 |
+
'tip' => __( 'Want a text when this form is submitted or when a payment is received?', 'formidable' ),
|
101 |
+
'call' => __( 'Use Twilio with this form.', 'formidable' ),
|
102 |
+
),
|
103 |
+
);
|
104 |
+
|
105 |
+
return self::get_random_tip( $tips );
|
106 |
+
}
|
107 |
+
|
108 |
+
public static function get_styling_tip() {
|
109 |
+
$tips = array(
|
110 |
+
array(
|
111 |
+
'link' => 'https://formidablepro.com/visual-styling-tip',
|
112 |
+
'tip' => __( 'Want your sidebar or footer form to look different from the rest?', 'formidable' ),
|
113 |
+
'call' => __( 'Use multiple stylesheets.', 'formidable' ),
|
114 |
+
),
|
115 |
+
);
|
116 |
+
return $tips[0];
|
117 |
+
}
|
118 |
+
|
119 |
+
public static function get_entries_tip() {
|
120 |
+
$tips = array(
|
121 |
+
array(
|
122 |
+
'link' => 'https://formidablepro.com/manage-entries-tip',
|
123 |
+
'tip' => __( 'Do you want to edit or delete form submissions?', 'formidable' ),
|
124 |
+
'call' => __( 'Add entry management.', 'formidable' ),
|
125 |
+
),
|
126 |
+
array(
|
127 |
+
'link' => 'https://formidablepro.com/search-entries-tip',
|
128 |
+
'tip' => __( 'Want to search submitted entries?', 'formidable' ),
|
129 |
+
'call' => __( 'Upgrade to Pro.', 'formidable' ),
|
130 |
+
),
|
131 |
+
);
|
132 |
+
return self::get_random_tip( $tips );
|
133 |
+
}
|
134 |
+
|
135 |
+
public static function get_import_tip() {
|
136 |
+
$tips = array(
|
137 |
+
array(
|
138 |
+
'link' => 'https://formidablepro.com/import-entries-tip/',
|
139 |
+
'tip' => __( 'Want to import entries into your forms?', 'formidable' ),
|
140 |
+
'call' => __( 'Upgrade to Pro.', 'formidable' ),
|
141 |
+
),
|
142 |
+
);
|
143 |
+
return $tips[0];
|
144 |
+
}
|
145 |
+
|
146 |
+
public static function get_random_tip( $tips ) {
|
147 |
+
$random = rand( 0, count( $tips ) - 1 );
|
148 |
+
return $tips[ $random ];
|
149 |
+
}
|
150 |
+
}
|
classes/helpers/FrmXMLHelper.php
CHANGED
@@ -91,7 +91,6 @@ class FrmXMLHelper {
|
|
91 |
'slug' => (string) $t->term_slug,
|
92 |
'description' => (string) $t->term_description,
|
93 |
'parent' => empty( $parent ) ? 0 : $parent,
|
94 |
-
'slug' => (string) $t->term_slug,
|
95 |
));
|
96 |
|
97 |
if ( $term && is_array( $term ) ) {
|
@@ -383,6 +382,10 @@ class FrmXMLHelper {
|
|
383 |
*
|
384 |
*/
|
385 |
private static function update_custom_style_setting_on_import( &$form ) {
|
|
|
|
|
|
|
|
|
386 |
if ( is_numeric( $form['options']['custom_style'] ) ) {
|
387 |
// Set to default
|
388 |
$form['options']['custom_style'] = 1;
|
@@ -392,7 +395,7 @@ class FrmXMLHelper {
|
|
392 |
$table = $wpdb->prefix . 'posts';
|
393 |
$where = array(
|
394 |
'post_name' => $form['options']['custom_style'],
|
395 |
-
'post_type' => 'frm_styles'
|
396 |
);
|
397 |
$select = 'ID';
|
398 |
$style_id = FrmDb::get_var( $table, $where, $select );
|
@@ -404,7 +407,6 @@ class FrmXMLHelper {
|
|
404 |
$form['options']['custom_style'] = 1;
|
405 |
}
|
406 |
}
|
407 |
-
|
408 |
}
|
409 |
|
410 |
public static function import_xml_views( $views, $imported ) {
|
91 |
'slug' => (string) $t->term_slug,
|
92 |
'description' => (string) $t->term_description,
|
93 |
'parent' => empty( $parent ) ? 0 : $parent,
|
|
|
94 |
));
|
95 |
|
96 |
if ( $term && is_array( $term ) ) {
|
382 |
*
|
383 |
*/
|
384 |
private static function update_custom_style_setting_on_import( &$form ) {
|
385 |
+
if ( ! isset( $form['options']['custom_style'] ) ) {
|
386 |
+
return;
|
387 |
+
}
|
388 |
+
|
389 |
if ( is_numeric( $form['options']['custom_style'] ) ) {
|
390 |
// Set to default
|
391 |
$form['options']['custom_style'] = 1;
|
395 |
$table = $wpdb->prefix . 'posts';
|
396 |
$where = array(
|
397 |
'post_name' => $form['options']['custom_style'],
|
398 |
+
'post_type' => 'frm_styles',
|
399 |
);
|
400 |
$select = 'ID';
|
401 |
$style_id = FrmDb::get_var( $table, $where, $select );
|
407 |
$form['options']['custom_style'] = 1;
|
408 |
}
|
409 |
}
|
|
|
410 |
}
|
411 |
|
412 |
public static function import_xml_views( $views, $imported ) {
|
classes/models/FrmAddon.php
CHANGED
@@ -117,9 +117,10 @@ class FrmAddon {
|
|
117 |
} else if ( isset( $transient->response ) && isset( $transient->response[ $this->plugin_folder ] ) ) {
|
118 |
$cache_key = 'edd_plugin_' . md5( sanitize_key( $this->license . $this->version ) . '_get_version' );
|
119 |
$version_info = get_transient( $cache_key );
|
120 |
-
if ( $version_info !== false ) {
|
121 |
$transient->response[ $this->plugin_folder ] = $version_info;
|
122 |
} else {
|
|
|
123 |
if ( ! $this->has_been_cleared() ) {
|
124 |
// if the transient has expired, clear the update and trigger it again
|
125 |
$this->cleared_plugins();
|
@@ -148,7 +149,7 @@ class FrmAddon {
|
|
148 |
|
149 |
private function has_been_cleared() {
|
150 |
$last_cleared = get_option( 'frm_last_cleared' );
|
151 |
-
return ( $last_cleared
|
152 |
}
|
153 |
|
154 |
private function cleared_plugins() {
|
117 |
} else if ( isset( $transient->response ) && isset( $transient->response[ $this->plugin_folder ] ) ) {
|
118 |
$cache_key = 'edd_plugin_' . md5( sanitize_key( $this->license . $this->version ) . '_get_version' );
|
119 |
$version_info = get_transient( $cache_key );
|
120 |
+
if ( $version_info !== false && version_compare( $version_info->new_version, $this->version, '>' ) ) {
|
121 |
$transient->response[ $this->plugin_folder ] = $version_info;
|
122 |
} else {
|
123 |
+
delete_transient( $cache_key );
|
124 |
if ( ! $this->has_been_cleared() ) {
|
125 |
// if the transient has expired, clear the update and trigger it again
|
126 |
$this->cleared_plugins();
|
149 |
|
150 |
private function has_been_cleared() {
|
151 |
$last_cleared = get_option( 'frm_last_cleared' );
|
152 |
+
return ( $last_cleared && $last_cleared > date( 'Y-m-d H:i:s', strtotime('-5 minutes') ) );
|
153 |
}
|
154 |
|
155 |
private function cleared_plugins() {
|
classes/models/FrmEDD_SL_Plugin_Updater.php
CHANGED
@@ -273,7 +273,7 @@ class FrmEDD_SL_Plugin_Updater {
|
|
273 |
|
274 |
}
|
275 |
|
276 |
-
if( ! empty( $version_info ) && isset( $version_info->sections['changelog'] ) ) {
|
277 |
echo '<div style="background:#fff;padding:10px;">' . $version_info->sections['changelog'] . '</div>';
|
278 |
}
|
279 |
|
273 |
|
274 |
}
|
275 |
|
276 |
+
if ( ! empty( $version_info ) && isset( $version_info->sections['changelog'] ) ) {
|
277 |
echo '<div style="background:#fff;padding:10px;">' . $version_info->sections['changelog'] . '</div>';
|
278 |
}
|
279 |
|
classes/models/FrmPointers.php
CHANGED
@@ -100,7 +100,7 @@ class FrmPointers {
|
|
100 |
|
101 |
frm_pointer_options = $.extend(frm_pointer_options, {
|
102 |
buttons: function (event, t) {
|
103 |
-
var button = jQuery('<a href="<?php echo $this->get_ignore_url(); ?>" id="pointer-close" style="margin:0 5px;" class="button-secondary">' + '<?php _e( 'Close', 'formidable' ) ?>' + '</a>');
|
104 |
button.bind('click.pointer', function () {
|
105 |
t.element.pointer('close');
|
106 |
});
|
@@ -111,7 +111,7 @@ class FrmPointers {
|
|
111 |
});
|
112 |
|
113 |
setup = function () {
|
114 |
-
$('<?php echo $selector; ?>').pointer(frm_pointer_options).pointer('open');
|
115 |
var lastOpenedPointer = jQuery( '.wp-pointer').slice( -1 );
|
116 |
<?php
|
117 |
$this->button2();
|
@@ -136,7 +136,7 @@ class FrmPointers {
|
|
136 |
if ( $this->button_array['button2']['text'] ) {
|
137 |
?>
|
138 |
lastOpenedPointer.find( '#pointer-close' ).after('<a id="pointer-primary" class="button-primary">' +
|
139 |
-
'<?php echo $this->button_array['button2']['text']; ?>' + '</a>');
|
140 |
lastOpenedPointer.find('#pointer-primary').click(function () {
|
141 |
<?php echo $this->button_array['button2']['function']; ?>
|
142 |
});
|
@@ -151,7 +151,7 @@ class FrmPointers {
|
|
151 |
if ( $this->button_array['button3']['text'] ) {
|
152 |
?>
|
153 |
lastOpenedPointer.find('#pointer-primary').after('<a id="pointer-ternary" style="float: left;" class="button-secondary">' +
|
154 |
-
'<?php echo $this->button_array['button3']['text']; ?>' + '</a>');
|
155 |
lastOpenedPointer.find('#pointer-ternary').click(function () {
|
156 |
<?php echo $this->button_array['button3']['function']; ?>
|
157 |
});
|
@@ -163,8 +163,9 @@ class FrmPointers {
|
|
163 |
*/
|
164 |
private function start_tour_pointer() {
|
165 |
$selector = 'li.toplevel_page_formidable';
|
|
|
166 |
$content = '<h3>' . __( 'Congratulations!', 'formidable' ) . '</h3>'
|
167 |
-
.'<p>' .
|
168 |
$opt_arr = array(
|
169 |
'content' => $content,
|
170 |
'position' => array( 'edge' => 'top', 'align' => 'center' ),
|
@@ -176,6 +177,15 @@ class FrmPointers {
|
|
176 |
$this->print_scripts( $selector, $opt_arr );
|
177 |
}
|
178 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
179 |
/**
|
180 |
* Shows a pointer on the proper pages
|
181 |
*
|
@@ -341,6 +351,6 @@ class FrmPointers {
|
|
341 |
'nonce' => wp_create_nonce( 'frm-ignore-tour' ),
|
342 |
);
|
343 |
|
344 |
-
return
|
345 |
}
|
346 |
}
|
100 |
|
101 |
frm_pointer_options = $.extend(frm_pointer_options, {
|
102 |
buttons: function (event, t) {
|
103 |
+
var button = jQuery('<a href="<?php echo esc_url( $this->get_ignore_url() ); ?>" id="pointer-close" style="margin:0 5px;" class="button-secondary">' + '<?php _e( 'Close', 'formidable' ) ?>' + '</a>');
|
104 |
button.bind('click.pointer', function () {
|
105 |
t.element.pointer('close');
|
106 |
});
|
111 |
});
|
112 |
|
113 |
setup = function () {
|
114 |
+
$('<?php echo esc_attr( $selector ); ?>').pointer(frm_pointer_options).pointer('open');
|
115 |
var lastOpenedPointer = jQuery( '.wp-pointer').slice( -1 );
|
116 |
<?php
|
117 |
$this->button2();
|
136 |
if ( $this->button_array['button2']['text'] ) {
|
137 |
?>
|
138 |
lastOpenedPointer.find( '#pointer-close' ).after('<a id="pointer-primary" class="button-primary">' +
|
139 |
+
'<?php echo esc_attr( $this->button_array['button2']['text'] ); ?>' + '</a>');
|
140 |
lastOpenedPointer.find('#pointer-primary').click(function () {
|
141 |
<?php echo $this->button_array['button2']['function']; ?>
|
142 |
});
|
151 |
if ( $this->button_array['button3']['text'] ) {
|
152 |
?>
|
153 |
lastOpenedPointer.find('#pointer-primary').after('<a id="pointer-ternary" style="float: left;" class="button-secondary">' +
|
154 |
+
'<?php echo esc_attr( $this->button_array['button3']['text'] ); ?>' + '</a>');
|
155 |
lastOpenedPointer.find('#pointer-ternary').click(function () {
|
156 |
<?php echo $this->button_array['button3']['function']; ?>
|
157 |
});
|
163 |
*/
|
164 |
private function start_tour_pointer() {
|
165 |
$selector = 'li.toplevel_page_formidable';
|
166 |
+
|
167 |
$content = '<h3>' . __( 'Congratulations!', 'formidable' ) . '</h3>'
|
168 |
+
.'<p>' . $this->opening_line() . ' ' . sprintf( __( 'Click “Start Tour” to view a quick introduction of this plugin’s core functionality.' ), 'formidable' ) . '</p>';
|
169 |
$opt_arr = array(
|
170 |
'content' => $content,
|
171 |
'position' => array( 'edge' => 'top', 'align' => 'center' ),
|
177 |
$this->print_scripts( $selector, $opt_arr );
|
178 |
}
|
179 |
|
180 |
+
private function opening_line() {
|
181 |
+
$opening = __( 'You’ve just installed a new form builder plugin!', 'formidable' );
|
182 |
+
$affiliate = FrmAppHelper::get_affiliate();
|
183 |
+
if ( $affiliate == 'mojo' ) {
|
184 |
+
$opening = 'Your Forms plugin has been installed by MOJO Marketplace for your convenience.';
|
185 |
+
}
|
186 |
+
return $opening;
|
187 |
+
}
|
188 |
+
|
189 |
/**
|
190 |
* Shows a pointer on the proper pages
|
191 |
*
|
351 |
'nonce' => wp_create_nonce( 'frm-ignore-tour' ),
|
352 |
);
|
353 |
|
354 |
+
return add_query_arg( $arr_params );
|
355 |
}
|
356 |
}
|
classes/models/FrmStyle.php
CHANGED
@@ -101,6 +101,7 @@ class FrmStyle {
|
|
101 |
*/
|
102 |
public function save_settings( $styles ) {
|
103 |
$filename = FrmAppHelper::plugin_path() .'/css/custom_theme.css.php';
|
|
|
104 |
|
105 |
if ( ! is_file($filename) ) {
|
106 |
return;
|
101 |
*/
|
102 |
public function save_settings( $styles ) {
|
103 |
$filename = FrmAppHelper::plugin_path() .'/css/custom_theme.css.php';
|
104 |
+
update_option( 'frm_last_style_update', date('njGi') );
|
105 |
|
106 |
if ( ! is_file($filename) ) {
|
107 |
return;
|
classes/views/addons/list.php
CHANGED
@@ -19,7 +19,7 @@
|
|
19 |
$addon['info']['link'] = FrmAppHelper::make_affiliate_url( $addon['info']['link'] );
|
20 |
|
21 |
?>
|
22 |
-
<div class="plugin-card <?php echo esc_attr( $has_thumbnail ? '' : 'frm-no-thumb') ?>">
|
23 |
<div class="plugin-card-top">
|
24 |
<div class="name column-name">
|
25 |
<h3>
|
19 |
$addon['info']['link'] = FrmAppHelper::make_affiliate_url( $addon['info']['link'] );
|
20 |
|
21 |
?>
|
22 |
+
<div class="plugin-card plugin-card-<?php echo esc_attr( $addon['info']['slug'] ) ?> <?php echo esc_attr( $has_thumbnail ? '' : 'frm-no-thumb' ) ?>">
|
23 |
<div class="plugin-card-top">
|
24 |
<div class="name column-name">
|
25 |
<h3>
|
classes/views/addons/upgrade_to_pro.php
ADDED
@@ -0,0 +1,208 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<div class="wrap">
|
2 |
+
<h2><?php _e( 'Upgrade to Pro', 'formidable' ) ?></h2>
|
3 |
+
|
4 |
+
<table class="wp-list-table widefat fixed striped frm_pricing">
|
5 |
+
<thead>
|
6 |
+
<tr>
|
7 |
+
<th></th>
|
8 |
+
<?php foreach ( $pro['pricing'] as $name => $price ) {
|
9 |
+
$price_id++;
|
10 |
+
if ( $name == 'smallbusiness' ) {
|
11 |
+
$name = 'Small Business';
|
12 |
+
} ?>
|
13 |
+
<th>
|
14 |
+
<h3><?php echo esc_attr( ucfirst( $name ) ) ?></h3>
|
15 |
+
<h4>$<?php echo esc_attr( $price ) ?></h4>
|
16 |
+
<a href="<?php echo esc_url( FrmAppHelper::make_affiliate_url( 'https://formidablepro.com/checkout?edd_action=add_to_cart&download_id=93790' ) ) ?>&edd_options[price_id]=<?php echo absint( $price_id ) ?>" class="button-primary" target="_blank"><?php _e( 'Get Started', 'formidable' ) ?></a>
|
17 |
+
</th>
|
18 |
+
<?php } ?>
|
19 |
+
</tr>
|
20 |
+
</thead>
|
21 |
+
<tbody>
|
22 |
+
<tr>
|
23 |
+
<th>Knowledge Base Support For # Sites</th>
|
24 |
+
<td>1 Site</td>
|
25 |
+
<td>1 Site + 1 Staging Site</td>
|
26 |
+
<td>15 Sites</td>
|
27 |
+
<td>200 Sites</td>
|
28 |
+
</tr>
|
29 |
+
<tr>
|
30 |
+
<th>Product Updates Forever</th>
|
31 |
+
<td>Manual</td>
|
32 |
+
<td>Manual</td>
|
33 |
+
<td>Manual</td>
|
34 |
+
<td>Automatic</td>
|
35 |
+
</tr>
|
36 |
+
<tr>
|
37 |
+
<th>Automatic Updates</th>
|
38 |
+
<td>1 Year</td>
|
39 |
+
<td>1 Year</td>
|
40 |
+
<td>2 Years</td>
|
41 |
+
<td>Lifetime</td>
|
42 |
+
</tr>
|
43 |
+
<tr>
|
44 |
+
<th>1 Year of Ticket Support</th>
|
45 |
+
<td>None</td>
|
46 |
+
<td>Standard Support</td>
|
47 |
+
<td>Priority Support</td>
|
48 |
+
<td>Elite Support</td>
|
49 |
+
</tr>
|
50 |
+
<tr>
|
51 |
+
<th>Included AddOns</th>
|
52 |
+
<td>None</td>
|
53 |
+
<td><a href="<?php echo esc_url( FrmAppHelper::make_affiliate_url('https://formidablepro.com/pricing/#addon-lists') ) ?>" target="_blank">Basic Addons</a></td>
|
54 |
+
<td><a href="<?php echo esc_url( FrmAppHelper::make_affiliate_url('https://formidablepro.com/pricing/#addon-lists') ) ?>" target="_blank">Advanced Addons</a></td>
|
55 |
+
<td><a href="<?php echo esc_url( FrmAppHelper::make_affiliate_url('https://formidablepro.com/pricing/#addon-lists') ) ?>" target="_blank">Enterprise Addons</a></td>
|
56 |
+
</tr>
|
57 |
+
</tbody>
|
58 |
+
</table>
|
59 |
+
<br/>
|
60 |
+
|
61 |
+
<h2>Features</h2>
|
62 |
+
<table class="wp-list-table widefat fixed striped">
|
63 |
+
<thead>
|
64 |
+
<tr>
|
65 |
+
<th></th>
|
66 |
+
<th><h3>Lite</h3></th>
|
67 |
+
<th><h3>Pro</h3></th>
|
68 |
+
</tr>
|
69 |
+
</thead>
|
70 |
+
<tbody>
|
71 |
+
<tr><th colspan="3" class="frm_table_break">Form Building</th></tr>
|
72 |
+
<tr>
|
73 |
+
<th>Drag & Drop Form building</th>
|
74 |
+
<td><i class="frm_icon_font frm_check_icon"></i></td>
|
75 |
+
<td><i class="frm_icon_font frm_check_icon"></i></td>
|
76 |
+
</tr>
|
77 |
+
<tr>
|
78 |
+
<th>Create forms from Templates</th>
|
79 |
+
<td><i class="frm_icon_font frm_check_icon"></i></td>
|
80 |
+
<td><i class="frm_icon_font frm_check_icon"></i></td>
|
81 |
+
</tr>
|
82 |
+
<tr>
|
83 |
+
<th>Import and export forms with XML</th>
|
84 |
+
<td><i class="frm_icon_font frm_check_icon"></i></td>
|
85 |
+
<td><i class="frm_icon_font frm_check_icon"></i></td>
|
86 |
+
</tr>
|
87 |
+
<tr>
|
88 |
+
<th>Use Placeholders in your fields that clear when typing starts</th>
|
89 |
+
<td><i class="frm_icon_font frm_check_icon"></i></td>
|
90 |
+
<td><i class="frm_icon_font frm_check_icon"></i></td>
|
91 |
+
</tr>
|
92 |
+
<tr>
|
93 |
+
<th>Include text, email, url, paragraph text, radio, checkbox, and dropdown fields in your form</th>
|
94 |
+
<td><i class="frm_icon_font frm_check_icon"></i></td>
|
95 |
+
<td><i class="frm_icon_font frm_check_icon"></i></td>
|
96 |
+
</tr>
|
97 |
+
<tr>
|
98 |
+
<th>Include Section headings, page breaks, rich text, number, phone number, date, time, scale, dynamic fields populated from other forms, hidden fields, user ID fields, password, HTML, and tags fields</th>
|
99 |
+
<td><i class="frm_icon_font frm_cancel1_icon"></i></td>
|
100 |
+
<td><i class="frm_icon_font frm_check_icon"></i></td>
|
101 |
+
</tr>
|
102 |
+
<tr>
|
103 |
+
<th>Save a calculated value into a field</th>
|
104 |
+
<td><i class="frm_icon_font frm_cancel1_icon"></i></td>
|
105 |
+
<td><i class="frm_icon_font frm_check_icon"></i></td>
|
106 |
+
</tr>
|
107 |
+
<tr>
|
108 |
+
<th>Allow File Uploads</th>
|
109 |
+
<td><i class="frm_icon_font frm_cancel1_icon"></i></td>
|
110 |
+
<td><i class="frm_icon_font frm_check_icon"></i></td>
|
111 |
+
</tr>
|
112 |
+
<tr>
|
113 |
+
<th>Repeat sections of fields</th>
|
114 |
+
<td><i class="frm_icon_font frm_cancel1_icon"></i></td>
|
115 |
+
<td><i class="frm_icon_font frm_check_icon"></i></td>
|
116 |
+
</tr>
|
117 |
+
<tr>
|
118 |
+
<th>Hide and show fields conditionally based on other fields or the user's role</th>
|
119 |
+
<td><i class="frm_icon_font frm_cancel1_icon"></i></td>
|
120 |
+
<td><i class="frm_icon_font frm_check_icon"></i></td>
|
121 |
+
</tr>
|
122 |
+
<tr>
|
123 |
+
<th>Confirmation fields</th>
|
124 |
+
<td><i class="frm_icon_font frm_cancel1_icon"></i></td>
|
125 |
+
<td><i class="frm_icon_font frm_check_icon"></i></td>
|
126 |
+
</tr>
|
127 |
+
<tr>
|
128 |
+
<th>Multi-paged forms</th>
|
129 |
+
<td><i class="frm_icon_font frm_cancel1_icon"></i></td>
|
130 |
+
<td><i class="frm_icon_font frm_check_icon"></i></td>
|
131 |
+
</tr>
|
132 |
+
<tr><th colspan="3" class="frm_table_break">Form Actions</th></tr>
|
133 |
+
<tr>
|
134 |
+
<th>Send multiple emails and autoresponders</th>
|
135 |
+
<td><i class="frm_icon_font frm_check_icon"></i></td>
|
136 |
+
<td><i class="frm_icon_font frm_check_icon"></i></td>
|
137 |
+
</tr>
|
138 |
+
<tr>
|
139 |
+
<th>Conditionally send your email notifications based on values in your form</th>
|
140 |
+
<td><i class="frm_icon_font frm_cancel1_icon"></i></td>
|
141 |
+
<td><i class="frm_icon_font frm_check_icon"></i></td>
|
142 |
+
</tr>
|
143 |
+
<tr>
|
144 |
+
<th>Create and edit WordPress posts or custom posts from the front-end</th>
|
145 |
+
<td><i class="frm_icon_font frm_cancel1_icon"></i></td>
|
146 |
+
<td><i class="frm_icon_font frm_check_icon"></i></td>
|
147 |
+
</tr>
|
148 |
+
<tr><th colspan="3" class="frm_table_break">Form Appearance</th></tr>
|
149 |
+
<tr>
|
150 |
+
<th>Customizable layout with CSS classes</th>
|
151 |
+
<td><i class="frm_icon_font frm_check_icon"></i></td>
|
152 |
+
<td><i class="frm_icon_font frm_check_icon"></i></td>
|
153 |
+
</tr>
|
154 |
+
<tr>
|
155 |
+
<th>Customize the HTML for your forms</th>
|
156 |
+
<td><i class="frm_icon_font frm_check_icon"></i></td>
|
157 |
+
<td><i class="frm_icon_font frm_check_icon"></i></td>
|
158 |
+
</tr>
|
159 |
+
<tr>
|
160 |
+
<th>Style your form with the Visual Styler</th>
|
161 |
+
<td><i class="frm_icon_font frm_check_icon"></i></td>
|
162 |
+
<td><i class="frm_icon_font frm_check_icon"></i></td>
|
163 |
+
</tr>
|
164 |
+
<tr>
|
165 |
+
<th>Create Multiple styles for different forms</th>
|
166 |
+
<td><i class="frm_icon_font frm_cancel1_icon"></i></td>
|
167 |
+
<td><i class="frm_icon_font frm_check_icon"></i></td>
|
168 |
+
</tr>
|
169 |
+
<tr><th colspan="3" class="frm_table_break">Entry Management</th></tr>
|
170 |
+
<tr>
|
171 |
+
<th>View form submissions from the back-end</th>
|
172 |
+
<td><i class="frm_icon_font frm_check_icon"></i></td>
|
173 |
+
<td><i class="frm_icon_font frm_check_icon"></i></td>
|
174 |
+
</tr>
|
175 |
+
<tr>
|
176 |
+
<th>Export your entries to a CSV</th>
|
177 |
+
<td><i class="frm_icon_font frm_check_icon"></i></td>
|
178 |
+
<td><i class="frm_icon_font frm_check_icon"></i></td>
|
179 |
+
</tr>
|
180 |
+
<tr>
|
181 |
+
<th>Import entries from a CSV</th>
|
182 |
+
<td><i class="frm_icon_font frm_cancel1_icon"></i></td>
|
183 |
+
<td><i class="frm_icon_font frm_check_icon"></i></td>
|
184 |
+
</tr>
|
185 |
+
<tr>
|
186 |
+
<th>Logged-in users can save drafts and return later</th>
|
187 |
+
<td><i class="frm_icon_font frm_cancel1_icon"></i></td>
|
188 |
+
<td><i class="frm_icon_font frm_check_icon"></i></td>
|
189 |
+
</tr>
|
190 |
+
<tr>
|
191 |
+
<th>Flexibly and powerfully view, edit, and delete entries from anywhere on your site</th>
|
192 |
+
<td><i class="frm_icon_font frm_cancel1_icon"></i></td>
|
193 |
+
<td><i class="frm_icon_font frm_check_icon"></i></td>
|
194 |
+
</tr>
|
195 |
+
<tr><th colspan="3" class="frm_table_break">Display Entries</th></tr>
|
196 |
+
<tr>
|
197 |
+
<th>Generate graphs and stats based on your submitted data</th>
|
198 |
+
<td><i class="frm_icon_font frm_cancel1_icon"></i></td>
|
199 |
+
<td><i class="frm_icon_font frm_check_icon"></i></td>
|
200 |
+
</tr>
|
201 |
+
<tr>
|
202 |
+
<th>Virtually limitless views</th>
|
203 |
+
<td><i class="frm_icon_font frm_cancel1_icon"></i></td>
|
204 |
+
<td><i class="frm_icon_font frm_check_icon"></i></td>
|
205 |
+
</tr>
|
206 |
+
</tbody>
|
207 |
+
</table>
|
208 |
+
</div>
|
classes/views/frm-entries/list.php
CHANGED
@@ -26,6 +26,8 @@
|
|
26 |
</div>
|
27 |
<?php } ?>
|
28 |
|
|
|
|
|
29 |
<?php $wp_list_table->display(); ?>
|
30 |
|
31 |
</div>
|
26 |
</div>
|
27 |
<?php } ?>
|
28 |
|
29 |
+
<?php FrmTipsHelper::pro_tip( 'get_entries_tip' ); ?>
|
30 |
+
|
31 |
<?php $wp_list_table->display(); ?>
|
32 |
|
33 |
</div>
|
classes/views/frm-forms/add_field_links.php
CHANGED
@@ -33,7 +33,8 @@ foreach ( $frm_field_selection as $field_key => $field_type ) { ?>
|
|
33 |
</ul>
|
34 |
<div class="clear"></div>
|
35 |
<hr/>
|
36 |
-
<ul<?php echo apply_filters('frm_drag_field_class', '') ?> style="margin-top:2px;">
|
|
|
37 |
<?php
|
38 |
$col_class = 'frm_col_one';
|
39 |
$no_allow_class = apply_filters( 'frm_noallow_class', 'frm_noallow' );
|
33 |
</ul>
|
34 |
<div class="clear"></div>
|
35 |
<hr/>
|
36 |
+
<ul <?php echo apply_filters( 'frm_drag_field_class', '' ) ?> style="margin-top:2px;">
|
37 |
+
<li><?php FrmTipsHelper::pro_tip( 'get_builder_tip' ); ?></li>
|
38 |
<?php
|
39 |
$col_class = 'frm_col_one';
|
40 |
$no_allow_class = apply_filters( 'frm_noallow_class', 'frm_noallow' );
|
classes/views/frm-forms/settings.php
CHANGED
@@ -44,10 +44,12 @@
|
|
44 |
</ul>
|
45 |
</div>
|
46 |
<div class="advanced_settings tabs-panel <?php echo ($a == 'advanced_settings') ? 'frm_block' : 'frm_hidden' ?>">
|
|
|
|
|
47 |
<h3 class="frm_first_h3"><?php _e( 'On Submit', 'formidable' ); ?>
|
48 |
<span class="frm_help frm_icon_font frm_tooltip_icon" title="<?php esc_attr_e( 'Choose what will happen after the user submits this form.', 'formidable' );
|
49 |
if ( ! FrmAppHelper::pro_is_installed() ) {
|
50 |
-
esc_attr_e( ' Upgrade to Formidable
|
51 |
} ?>" ></span>
|
52 |
</h3>
|
53 |
|
@@ -177,6 +179,7 @@
|
|
177 |
|
178 |
|
179 |
<div id="frm_notification_settings" class="frm_email_settings email_settings tabs-panel widgets-holder-wrap <?php echo ($a == 'email_settings') ? ' frm_block' : ' frm_hidden'; ?>">
|
|
|
180 |
<div id="frm_email_addon_menu" class="manage-menus">
|
181 |
<h3><?php _e( 'Add New Action', 'formidable' ) ?></h3>
|
182 |
<ul class="frm_actions_list">
|
44 |
</ul>
|
45 |
</div>
|
46 |
<div class="advanced_settings tabs-panel <?php echo ($a == 'advanced_settings') ? 'frm_block' : 'frm_hidden' ?>">
|
47 |
+
<?php FrmTipsHelper::pro_tip( 'get_form_settings_tip', 'p' ); ?>
|
48 |
+
|
49 |
<h3 class="frm_first_h3"><?php _e( 'On Submit', 'formidable' ); ?>
|
50 |
<span class="frm_help frm_icon_font frm_tooltip_icon" title="<?php esc_attr_e( 'Choose what will happen after the user submits this form.', 'formidable' );
|
51 |
if ( ! FrmAppHelper::pro_is_installed() ) {
|
52 |
+
esc_attr_e( ' Upgrade to Formidable Pro to get access to all options in the dropdown.', 'formidable' );
|
53 |
} ?>" ></span>
|
54 |
</h3>
|
55 |
|
179 |
|
180 |
|
181 |
<div id="frm_notification_settings" class="frm_email_settings email_settings tabs-panel widgets-holder-wrap <?php echo ($a == 'email_settings') ? ' frm_block' : ' frm_hidden'; ?>">
|
182 |
+
<?php FrmTipsHelper::pro_tip( 'get_form_action_tip', 'p' ); ?>
|
183 |
<div id="frm_email_addon_menu" class="manage-menus">
|
184 |
<h3><?php _e( 'Add New Action', 'formidable' ) ?></h3>
|
185 |
<ul class="frm_actions_list">
|
classes/views/shared/mb_adv_info.php
CHANGED
@@ -128,7 +128,7 @@
|
|
128 |
foreach ( $cond_shortcodes as $skey => $sname ) {
|
129 |
?>
|
130 |
<li class="frm_col_<?php echo esc_attr( $col ) ?>">
|
131 |
-
<a href="javascript:void(0)" class="frmbutton button frm_insert_code" data-code="if
|
132 |
</li>
|
133 |
<?php
|
134 |
$col = ( $col == 'one' ) ? 'two' : 'one';
|
128 |
foreach ( $cond_shortcodes as $skey => $sname ) {
|
129 |
?>
|
130 |
<li class="frm_col_<?php echo esc_attr( $col ) ?>">
|
131 |
+
<a href="javascript:void(0)" class="frmbutton button frm_insert_code" data-code="if x <?php echo esc_attr($skey) ?>][/if x"><?php echo esc_html( $sname ) ?></a>
|
132 |
</li>
|
133 |
<?php
|
134 |
$col = ( $col == 'one' ) ? 'two' : 'one';
|
classes/views/xml/import_form.php
CHANGED
@@ -25,6 +25,7 @@
|
|
25 |
<input type="submit" value="<?php esc_attr_e( 'Upload file and import', 'formidable' ) ?>" class="button-primary" />
|
26 |
</p>
|
27 |
</form>
|
|
|
28 |
</div>
|
29 |
</div>
|
30 |
|
25 |
<input type="submit" value="<?php esc_attr_e( 'Upload file and import', 'formidable' ) ?>" class="button-primary" />
|
26 |
</p>
|
27 |
</form>
|
28 |
+
<?php FrmTipsHelper::pro_tip( 'get_import_tip' ); ?>
|
29 |
</div>
|
30 |
</div>
|
31 |
|
css/_single_theme.css.php
CHANGED
@@ -137,6 +137,12 @@ if ( ! isset( $center_form ) ) {
|
|
137 |
display:block;
|
138 |
}
|
139 |
|
|
|
|
|
|
|
|
|
|
|
|
|
140 |
.<?php echo esc_html( $style_class ) ?> .frm_icon_font{
|
141 |
color:#<?php echo esc_html( $label_color . $important ) ?>;
|
142 |
}
|
137 |
display:block;
|
138 |
}
|
139 |
|
140 |
+
.<?php echo esc_html( $style_class ) ?> .frm_form_field.frm_html_container{
|
141 |
+
font-family:<?php echo FrmAppHelper::kses( stripslashes( $font ) ) ?>;
|
142 |
+
font-size:<?php echo esc_html( $form_desc_size . $important ) ?>;
|
143 |
+
color:#<?php echo esc_html( $form_desc_color . $important ) ?>;
|
144 |
+
}
|
145 |
+
|
146 |
.<?php echo esc_html( $style_class ) ?> .frm_icon_font{
|
147 |
color:#<?php echo esc_html( $label_color . $important ) ?>;
|
148 |
}
|
css/frm_admin.css
CHANGED
@@ -280,6 +280,21 @@ form label.frm_primary_label input{font-size:12px;}
|
|
280 |
margin-top:10px;
|
281 |
}
|
282 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
283 |
.frm-no-thumb.plugin-card .name,
|
284 |
.frm-no-thumb.plugin-card .desc{
|
285 |
margin-left:0;
|
@@ -300,6 +315,28 @@ form label.frm_primary_label input{font-size:12px;}
|
|
300 |
height:50px;
|
301 |
}
|
302 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
303 |
/*Switch form dropdown*/
|
304 |
.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px solid #AAA;border-right:4px solid transparent;border-left:4px solid transparent;border-bottom:0 dotted;}
|
305 |
.dropdown{position:relative;}
|
@@ -322,7 +359,6 @@ form label.frm_primary_label input{font-size:12px;}
|
|
322 |
list-style:none;
|
323 |
font-size:12px;
|
324 |
background-color:#ffffff;
|
325 |
-
border:1px solid #cccccc;
|
326 |
border:1px solid rgba(0, 0, 0, 0.15);
|
327 |
border-radius:4px;
|
328 |
-webkit-box-shadow:0 6px 12px rgba(0, 0, 0, 0.175);
|
@@ -682,7 +718,7 @@ textarea.inplace_field{
|
|
682 |
float:right;
|
683 |
background-color: #FFF !important;
|
684 |
padding-left: 4px;
|
685 |
-
box-shadow:
|
686 |
border: 1px solid #DDD;
|
687 |
cursor:text;
|
688 |
}
|
@@ -902,7 +938,7 @@ select.frm_cancelnew, input.frm_enternew{width:175px;}
|
|
902 |
.categorydiv .frm_settings_form div.tabs-panel.general_settings{border-top:none;}
|
903 |
.categorydiv .frm_settings_form div.tabs-panel.general_settings .submit{padding:0;}
|
904 |
.categorydiv .frm_settings_form .frm_uninstall{padding-top:1.25em;}
|
905 |
-
#contextual-help-columns div.tabs-panel.general_settings.frm_license_box{min-height:
|
906 |
.general_settings #frm_license_top{float:left;width:55%}
|
907 |
.categorydiv div.tabs-panel.general_settings{max-height:none;}
|
908 |
.frm_38_trigger .categorydiv div.tabs-panel.general_settings .postbox{margin-bottom:0;}
|
@@ -970,7 +1006,7 @@ select.frm_cancelnew, input.frm_enternew{width:175px;}
|
|
970 |
|
971 |
/*Form Settings Tab*/
|
972 |
.frm_form_settings .advanced_settings .form-table{margin-top:0;}
|
973 |
-
.frm_form_settings .advanced_settings .form-table .frm_short_tr td{padding:
|
974 |
.frm_form_settings .advanced_settings .form-table td.td_select_padding{padding:8px 10px 0;}
|
975 |
.frm_form_settings td.frm_175_width{width:175px;}
|
976 |
.frm_form_settings #success_url{width:95%;}
|
@@ -1087,7 +1123,7 @@ label.frm_action_events{
|
|
1087 |
height:auto;
|
1088 |
}
|
1089 |
.frm_email_icons, .frm_actions_list{
|
1090 |
-
padding: 10px
|
1091 |
}
|
1092 |
.frm_actions_list a.frm_inactive_action:before{
|
1093 |
color:#d6d6d6;
|
@@ -1889,7 +1925,7 @@ iframe#dyncontent_ifr{min-height:150px;}
|
|
1889 |
}
|
1890 |
.frm_progress_bar {
|
1891 |
float: left;
|
1892 |
-
width: 0
|
1893 |
height: 100%;
|
1894 |
font-size: 12px;
|
1895 |
line-height: 20px;
|
@@ -2203,7 +2239,7 @@ Responsive Design
|
|
2203 |
#screen-metas, #screen-meta-links, #footer, #wpfooter, .inner-sidebar, .frm_form_nav, .icon32,
|
2204 |
.frm_flash_graph, .frm_no_print, object{visibility:hidden;display:none !important;}
|
2205 |
#poststuff #post-body.columns-2{margin-right:0;}
|
2206 |
-
.widget, .postbox, .stuffbox, .postbox h3{border-width:
|
2207 |
.postbox{background:#fff !important;border:none;position:static;}
|
2208 |
.postbox h3{background:#fff !important;}
|
2209 |
#wpbody-content{float:none;}
|
280 |
margin-top:10px;
|
281 |
}
|
282 |
|
283 |
+
.widefat.frm_pricing thead th,
|
284 |
+
.widefat.frm_pricing td{
|
285 |
+
text-align:center;
|
286 |
+
}
|
287 |
+
|
288 |
+
.widefat th.frm_table_break{
|
289 |
+
background-color:#999;
|
290 |
+
color:#fff;
|
291 |
+
text-align:center;
|
292 |
+
}
|
293 |
+
|
294 |
+
.plugin-card.plugin-card-formidable-pro{
|
295 |
+
border:2px solid #0073aa;
|
296 |
+
}
|
297 |
+
|
298 |
.frm-no-thumb.plugin-card .name,
|
299 |
.frm-no-thumb.plugin-card .desc{
|
300 |
margin-left:0;
|
315 |
height:50px;
|
316 |
}
|
317 |
|
318 |
+
.frm_pro_tip{
|
319 |
+
font-size:12px;
|
320 |
+
color:#666;
|
321 |
+
}
|
322 |
+
|
323 |
+
.frm_pro_tip span,
|
324 |
+
.frm_pro_tip .frm_check1_icon{
|
325 |
+
color:#0073aa;
|
326 |
+
}
|
327 |
+
|
328 |
+
.nav-tab-wrapper .frm_pro_tip{
|
329 |
+
float:right;
|
330 |
+
}
|
331 |
+
|
332 |
+
.frm_pro_tip:hover{
|
333 |
+
color:#666;
|
334 |
+
}
|
335 |
+
|
336 |
+
.frm_pro_tip:hover span{
|
337 |
+
color:#00a0d2;
|
338 |
+
}
|
339 |
+
|
340 |
/*Switch form dropdown*/
|
341 |
.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px solid #AAA;border-right:4px solid transparent;border-left:4px solid transparent;border-bottom:0 dotted;}
|
342 |
.dropdown{position:relative;}
|
359 |
list-style:none;
|
360 |
font-size:12px;
|
361 |
background-color:#ffffff;
|
|
|
362 |
border:1px solid rgba(0, 0, 0, 0.15);
|
363 |
border-radius:4px;
|
364 |
-webkit-box-shadow:0 6px 12px rgba(0, 0, 0, 0.175);
|
718 |
float:right;
|
719 |
background-color: #FFF !important;
|
720 |
padding-left: 4px;
|
721 |
+
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07) inset;
|
722 |
border: 1px solid #DDD;
|
723 |
cursor:text;
|
724 |
}
|
938 |
.categorydiv .frm_settings_form div.tabs-panel.general_settings{border-top:none;}
|
939 |
.categorydiv .frm_settings_form div.tabs-panel.general_settings .submit{padding:0;}
|
940 |
.categorydiv .frm_settings_form .frm_uninstall{padding-top:1.25em;}
|
941 |
+
#contextual-help-columns div.tabs-panel.general_settings.frm_license_box{min-height:0;border-bottom:none;}
|
942 |
.general_settings #frm_license_top{float:left;width:55%}
|
943 |
.categorydiv div.tabs-panel.general_settings{max-height:none;}
|
944 |
.frm_38_trigger .categorydiv div.tabs-panel.general_settings .postbox{margin-bottom:0;}
|
1006 |
|
1007 |
/*Form Settings Tab*/
|
1008 |
.frm_form_settings .advanced_settings .form-table{margin-top:0;}
|
1009 |
+
.frm_form_settings .advanced_settings .form-table .frm_short_tr td{padding:0 10px 10px;}
|
1010 |
.frm_form_settings .advanced_settings .form-table td.td_select_padding{padding:8px 10px 0;}
|
1011 |
.frm_form_settings td.frm_175_width{width:175px;}
|
1012 |
.frm_form_settings #success_url{width:95%;}
|
1123 |
height:auto;
|
1124 |
}
|
1125 |
.frm_email_icons, .frm_actions_list{
|
1126 |
+
padding: 10px 0 10px 15px;
|
1127 |
}
|
1128 |
.frm_actions_list a.frm_inactive_action:before{
|
1129 |
color:#d6d6d6;
|
1925 |
}
|
1926 |
.frm_progress_bar {
|
1927 |
float: left;
|
1928 |
+
width: 0;
|
1929 |
height: 100%;
|
1930 |
font-size: 12px;
|
1931 |
line-height: 20px;
|
2239 |
#screen-metas, #screen-meta-links, #footer, #wpfooter, .inner-sidebar, .frm_form_nav, .icon32,
|
2240 |
.frm_flash_graph, .frm_no_print, object{visibility:hidden;display:none !important;}
|
2241 |
#poststuff #post-body.columns-2{margin-right:0;}
|
2242 |
+
.widget, .postbox, .stuffbox, .postbox h3{border-width:0 !important;border-color:#fff;}
|
2243 |
.postbox{background:#fff !important;border:none;position:static;}
|
2244 |
.postbox h3{background:#fff !important;}
|
2245 |
#wpbody-content{float:none;}
|
formidable.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
Plugin Name: Formidable
|
4 |
Description: Quickly and easily create drag-and-drop forms
|
5 |
-
Version: 2.0.
|
6 |
Plugin URI: http://formidablepro.com/
|
7 |
Author URI: http://strategy11.com
|
8 |
Author: Strategy11
|
2 |
/*
|
3 |
Plugin Name: Formidable
|
4 |
Description: Quickly and easily create drag-and-drop forms
|
5 |
+
Version: 2.0.21
|
6 |
Plugin URI: http://formidablepro.com/
|
7 |
Author URI: http://strategy11.com
|
8 |
Author: Strategy11
|
js/formidable.js
CHANGED
@@ -2578,7 +2578,7 @@ function frmFrontFormJS(){
|
|
2578 |
// In place edit
|
2579 |
jQuery('.frm_edit_link_container').on('click', 'a.frm_inplace_edit', editEntry);
|
2580 |
jQuery('.frm_edit_link_container').on('click', 'a.frm_cancel_edit', cancelEdit);
|
2581 |
-
jQuery('.frm_ajax_delete'
|
2582 |
|
2583 |
// toggle collapsible entries shortcode
|
2584 |
jQuery('.frm_month_heading, .frm_year_heading').click( function(){
|
2578 |
// In place edit
|
2579 |
jQuery('.frm_edit_link_container').on('click', 'a.frm_inplace_edit', editEntry);
|
2580 |
jQuery('.frm_edit_link_container').on('click', 'a.frm_cancel_edit', cancelEdit);
|
2581 |
+
jQuery(document).on('click', '.frm_ajax_delete', deleteEntry);
|
2582 |
|
2583 |
// toggle collapsible entries shortcode
|
2584 |
jQuery('.frm_month_heading, .frm_year_heading').click( function(){
|
js/formidable_admin.js
CHANGED
@@ -1342,16 +1342,6 @@ function frmAdminBuildJS(){
|
|
1342 |
}
|
1343 |
|
1344 |
/* View Functions */
|
1345 |
-
function showLoc(){
|
1346 |
-
var val = this.value;
|
1347 |
-
var $cont = document.getElementById('post_select_container');
|
1348 |
-
if(val == 'none'){
|
1349 |
-
$cont.style.display = 'none';
|
1350 |
-
}else{
|
1351 |
-
$cont.style.display = '';
|
1352 |
-
}
|
1353 |
-
}
|
1354 |
-
|
1355 |
function showCount(){
|
1356 |
var value = jQuery(this).val();
|
1357 |
|
@@ -2273,9 +2263,6 @@ function frmAdminBuildJS(){
|
|
2273 |
var $postForm = jQuery(document.getElementById('post'));
|
2274 |
jQuery('input[name="show_count"]').change(showCount);
|
2275 |
|
2276 |
-
$postForm.on('change', '#insert_loc', showLoc);
|
2277 |
-
jQuery(document.getElementById('insert_loc')).change();
|
2278 |
-
|
2279 |
jQuery(document.getElementById('form_id')).change(displayFormSelected);
|
2280 |
|
2281 |
var $addRemove = jQuery('.frm_add_remove');
|
1342 |
}
|
1343 |
|
1344 |
/* View Functions */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1345 |
function showCount(){
|
1346 |
var value = jQuery(this).val();
|
1347 |
|
2263 |
var $postForm = jQuery(document.getElementById('post'));
|
2264 |
jQuery('input[name="show_count"]').change(showCount);
|
2265 |
|
|
|
|
|
|
|
2266 |
jQuery(document.getElementById('form_id')).change(displayFormSelected);
|
2267 |
|
2268 |
var $addRemove = jQuery('.frm_add_remove');
|
languages/formidable-en_US.po
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version: Formidable v2.0.
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
"POT-Creation-Date: 2010-12-20\n"
|
6 |
-
"PO-Revision-Date: 2016-01-
|
7 |
"Last-Translator: \n"
|
8 |
"Language-Team: \n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -21,9 +21,9 @@ msgstr ""
|
|
21 |
"X-Textdomain-Support: yes"
|
22 |
|
23 |
#: classes/controllers/FrmFormsController.php:6
|
24 |
-
#: classes/controllers/FrmFormsController.php:
|
25 |
#: classes/controllers/FrmXMLController.php:59
|
26 |
-
#: classes/models/FrmPointers.php:
|
27 |
#: classes/models/FrmSettings.php:78
|
28 |
#: classes/views/frm-forms/list.php:5
|
29 |
#@ formidable
|
@@ -45,32 +45,32 @@ msgstr ""
|
|
45 |
msgid "Settings"
|
46 |
msgstr ""
|
47 |
|
48 |
-
#: classes/controllers/FrmFormsController.php:1029
|
49 |
#: classes/controllers/FrmFormsController.php:1034
|
50 |
-
#: classes/controllers/FrmFormsController.php:
|
|
|
51 |
#@ formidable
|
52 |
msgid "Please select a valid form"
|
53 |
msgstr ""
|
54 |
|
55 |
-
#: classes/controllers/FrmFormsController.php:
|
56 |
-
#: classes/controllers/FrmFormsController.php:
|
57 |
#@ formidable
|
58 |
msgid "Form was Successfully Updated"
|
59 |
msgstr ""
|
60 |
|
61 |
-
#: classes/controllers/FrmFormsController.php:
|
62 |
-
#: classes/controllers/FrmFormsController.php:
|
63 |
#@ formidable
|
64 |
msgid "Form template was Successfully Created"
|
65 |
msgstr ""
|
66 |
|
67 |
-
#: classes/controllers/FrmFormsController.php:
|
68 |
#@ formidable
|
69 |
msgid "Form was Successfully Copied"
|
70 |
msgstr ""
|
71 |
|
72 |
-
#: classes/controllers/FrmFormsController.php:
|
73 |
-
#: classes/controllers/FrmFormsController.php:
|
74 |
#@ formidable
|
75 |
msgid "That template cannot be edited"
|
76 |
msgstr ""
|
@@ -81,37 +81,37 @@ msgstr ""
|
|
81 |
msgid "Settings Saved"
|
82 |
msgstr ""
|
83 |
|
84 |
-
#: classes/helpers/FrmAppHelper.php:
|
85 |
#@ formidable
|
86 |
msgid "View Forms and Templates"
|
87 |
msgstr ""
|
88 |
|
89 |
-
#: classes/helpers/FrmAppHelper.php:
|
90 |
#@ formidable
|
91 |
msgid "Delete Forms and Templates"
|
92 |
msgstr ""
|
93 |
|
94 |
-
#: classes/helpers/FrmAppHelper.php:
|
95 |
#@ formidable
|
96 |
msgid "Access this Settings Page"
|
97 |
msgstr ""
|
98 |
|
99 |
-
#: classes/helpers/FrmAppHelper.php:
|
100 |
#@ formidable
|
101 |
msgid "View Entries from Admin Area"
|
102 |
msgstr ""
|
103 |
|
104 |
-
#: classes/helpers/FrmAppHelper.php:
|
105 |
#@ formidable
|
106 |
msgid "Edit Entries from Admin Area"
|
107 |
msgstr ""
|
108 |
|
109 |
-
#: classes/helpers/FrmAppHelper.php:
|
110 |
#@ formidable
|
111 |
msgid "Delete Entries from Admin Area"
|
112 |
msgstr ""
|
113 |
|
114 |
-
#: classes/helpers/FrmAppHelper.php:
|
115 |
#@ formidable
|
116 |
msgid "View Reports"
|
117 |
msgstr ""
|
@@ -146,9 +146,9 @@ msgstr ""
|
|
146 |
msgid "Email Address"
|
147 |
msgstr ""
|
148 |
|
149 |
-
#: classes/controllers/FrmFormsController.php:
|
150 |
#: classes/models/FrmField.php:37
|
151 |
-
#: pro/classes/controllers/FrmProDisplaysController.php:
|
152 |
#@ formidable
|
153 |
msgid "Date"
|
154 |
msgstr ""
|
@@ -257,12 +257,12 @@ msgstr ""
|
|
257 |
msgid "You do not have permission to do that"
|
258 |
msgstr ""
|
259 |
|
260 |
-
#: pro/classes/models/FrmProDisplay.php:
|
261 |
#@ formidable
|
262 |
msgid "Name cannot be blank"
|
263 |
msgstr ""
|
264 |
|
265 |
-
#: classes/models/FrmPointers.php:
|
266 |
#: pro/classes/controllers/FrmProFormsController.php:55
|
267 |
#: pro/classes/controllers/FrmProFormsController.php:267
|
268 |
#@ formidable
|
@@ -285,7 +285,7 @@ msgid "Message"
|
|
285 |
msgstr ""
|
286 |
|
287 |
#: classes/controllers/FrmEntriesController.php:72
|
288 |
-
#: classes/controllers/FrmFormsController.php:
|
289 |
#: classes/views/frm-entries/form.php:48
|
290 |
#: classes/views/frm-entries/sidebar-shared.php:23
|
291 |
#: pro/classes/helpers/FrmProFieldsHelper.php:2815
|
@@ -331,7 +331,7 @@ msgid "Left"
|
|
331 |
msgstr ""
|
332 |
|
333 |
#: classes/views/frm-forms/add_field.php:218
|
334 |
-
#: classes/views/frm-forms/add_field_links.php:
|
335 |
#@ formidable
|
336 |
msgid "Right"
|
337 |
msgstr ""
|
@@ -341,18 +341,18 @@ msgstr ""
|
|
341 |
msgid "Indicate required field with"
|
342 |
msgstr ""
|
343 |
|
344 |
-
#: classes/controllers/FrmFormsController.php:
|
345 |
-
#: classes/controllers/FrmFormsController.php:
|
346 |
#: classes/helpers/FrmCSVExportHelper.php:112
|
347 |
-
#: pro/classes/controllers/FrmProDisplaysController.php:
|
348 |
#: pro/classes/helpers/FrmProFieldsHelper.php:2836
|
349 |
#: pro/classes/helpers/FrmProFieldsHelper.php:2851
|
350 |
-
#: pro/classes/views/displays/mb_advanced.php:
|
351 |
#@ formidable
|
352 |
msgid "Key"
|
353 |
msgstr ""
|
354 |
|
355 |
-
#: pro/classes/views/displays/mb_advanced.php:
|
356 |
#@ formidable
|
357 |
msgid "Copy"
|
358 |
msgstr ""
|
@@ -374,7 +374,7 @@ msgstr ""
|
|
374 |
#: classes/views/frm-forms/add_field_links.php:6
|
375 |
#: classes/views/frm-forms/edit.php:27
|
376 |
#: classes/views/frm-forms/edit.php:39
|
377 |
-
#: classes/views/frm-forms/settings.php:
|
378 |
#: pro/classes/controllers/FrmProEntriesController.php:2095
|
379 |
#: pro/classes/controllers/FrmProEntriesController.php:2606
|
380 |
#: pro/classes/models/FrmProSettings.php:19
|
@@ -382,14 +382,14 @@ msgstr ""
|
|
382 |
msgid "Update"
|
383 |
msgstr ""
|
384 |
|
385 |
-
#: pro/classes/controllers/FrmProEddController.php:
|
386 |
#@ formidable
|
387 |
msgid "or"
|
388 |
msgstr ""
|
389 |
|
390 |
-
#: classes/helpers/FrmAppHelper.php:
|
391 |
#: classes/views/frm-forms/_publish_box.php:75
|
392 |
-
#: pro/classes/controllers/FrmProEddController.php:
|
393 |
#: pro/classes/controllers/FrmProEntriesController.php:1999
|
394 |
#: pro/classes/views/frmpro-entries/sidebar-new.php:14
|
395 |
#: pro/classes/views/frmpro-form-actions/_custom_field_row.php:31
|
@@ -403,17 +403,17 @@ msgstr ""
|
|
403 |
msgid "Form Key"
|
404 |
msgstr ""
|
405 |
|
406 |
-
#: classes/views/frm-forms/settings.php:
|
407 |
#@ formidable
|
408 |
msgid "Submit Button Text"
|
409 |
msgstr ""
|
410 |
|
411 |
-
#: classes/views/frm-forms/settings.php:
|
412 |
#@ formidable
|
413 |
msgid "Before Fields"
|
414 |
msgstr ""
|
415 |
|
416 |
-
#: classes/views/frm-forms/settings.php:
|
417 |
#@ formidable
|
418 |
msgid "After Fields"
|
419 |
msgstr ""
|
@@ -423,7 +423,7 @@ msgstr ""
|
|
423 |
msgid "Form Name"
|
424 |
msgstr ""
|
425 |
|
426 |
-
#: classes/controllers/FrmStylesController.php:
|
427 |
#: classes/views/frm-forms/mb_html_tab.php:35
|
428 |
#@ formidable
|
429 |
msgid "Form Description"
|
@@ -440,7 +440,7 @@ msgstr ""
|
|
440 |
msgid "Field Name"
|
441 |
msgstr ""
|
442 |
|
443 |
-
#: classes/controllers/FrmStylesController.php:
|
444 |
#: classes/views/frm-forms/mb_html_tab.php:9
|
445 |
#@ formidable
|
446 |
msgid "Field Description"
|
@@ -466,21 +466,21 @@ msgstr ""
|
|
466 |
msgid "Please select a form"
|
467 |
msgstr ""
|
468 |
|
469 |
-
#: classes/controllers/FrmFormsController.php:
|
470 |
#@ formidable
|
471 |
msgid "Display form title"
|
472 |
msgstr ""
|
473 |
|
474 |
-
#: classes/controllers/FrmFormsController.php:
|
475 |
#@ formidable
|
476 |
msgid "Display form description"
|
477 |
msgstr ""
|
478 |
|
479 |
-
#: classes/helpers/FrmAppHelper.php:
|
480 |
#: classes/helpers/FrmCSVExportHelper.php:111
|
481 |
#: pro/classes/helpers/FrmProFieldsHelper.php:2835
|
482 |
#: pro/classes/helpers/FrmProFieldsHelper.php:2850
|
483 |
-
#: pro/classes/views/displays/mb_advanced.php:
|
484 |
#: pro/classes/views/frmpro-entries/table.php:5
|
485 |
#@ formidable
|
486 |
msgid "ID"
|
@@ -489,9 +489,9 @@ msgstr ""
|
|
489 |
#: classes/controllers/FrmAppController.php:74
|
490 |
#: classes/controllers/FrmEntriesController.php:8
|
491 |
#: classes/controllers/FrmEntriesController.php:120
|
492 |
-
#: classes/controllers/FrmFormsController.php:
|
493 |
#: classes/controllers/FrmXMLController.php:59
|
494 |
-
#: classes/models/FrmPointers.php:
|
495 |
#: classes/views/frm-entries/list.php:3
|
496 |
#: pro/classes/views/frmpro-fields/options-form.php:41
|
497 |
#: pro/classes/views/frmpro-statistics/show.php:67
|
@@ -499,7 +499,7 @@ msgstr ""
|
|
499 |
msgid "Entries"
|
500 |
msgstr ""
|
501 |
|
502 |
-
#: pro/classes/controllers/FrmProDisplaysController.php:
|
503 |
#@ formidable
|
504 |
msgid "Shortcode"
|
505 |
msgstr ""
|
@@ -570,7 +570,7 @@ msgid "Create"
|
|
570 |
msgstr ""
|
571 |
|
572 |
#: classes/controllers/FrmFieldsController.php:322
|
573 |
-
#: classes/helpers/FrmAppHelper.php:
|
574 |
#: classes/views/frm-fields/single-option.php:6
|
575 |
#: classes/views/frm-fields/single-option.php:8
|
576 |
#: pro/classes/views/frmpro-fields/other-option.php:10
|
@@ -639,12 +639,12 @@ msgstr ""
|
|
639 |
msgid "The message seen when a user who is not logged-in views a form only logged-in users can submit."
|
640 |
msgstr ""
|
641 |
|
642 |
-
#: classes/views/frm-forms/settings.php:
|
643 |
#@ formidable
|
644 |
msgid "Submit Button"
|
645 |
msgstr ""
|
646 |
|
647 |
-
#: classes/helpers/FrmAppHelper.php:
|
648 |
#@ formidable
|
649 |
msgid "Are you sure you want to do this? Clicking OK will delete all forms, form data, and all other Formidable data. There is no Undo."
|
650 |
msgstr ""
|
@@ -666,7 +666,7 @@ msgstr ""
|
|
666 |
|
667 |
#: classes/helpers/FrmEntriesListHelper.php:59
|
668 |
#: pro/classes/controllers/FrmProEntriesController.php:1301
|
669 |
-
#: pro/classes/helpers/FrmProDisplaysHelper.php:
|
670 |
#@ formidable
|
671 |
msgid "No Entries Found"
|
672 |
msgstr ""
|
@@ -712,258 +712,258 @@ msgstr ""
|
|
712 |
msgid "Duplicate Field"
|
713 |
msgstr ""
|
714 |
|
715 |
-
#: classes/helpers/FrmAppHelper.php:
|
716 |
#@ formidable
|
717 |
msgid "English/Western"
|
718 |
msgstr ""
|
719 |
|
720 |
-
#: classes/helpers/FrmAppHelper.php:
|
721 |
#@ formidable
|
722 |
msgid "Afrikaans"
|
723 |
msgstr ""
|
724 |
|
725 |
-
#: classes/helpers/FrmAppHelper.php:
|
726 |
#@ formidable
|
727 |
msgid "Albanian"
|
728 |
msgstr ""
|
729 |
|
730 |
-
#: classes/helpers/FrmAppHelper.php:
|
731 |
#@ formidable
|
732 |
msgid "Arabic"
|
733 |
msgstr ""
|
734 |
|
735 |
-
#: classes/helpers/FrmAppHelper.php:
|
736 |
#@ formidable
|
737 |
msgid "Armenian"
|
738 |
msgstr ""
|
739 |
|
740 |
-
#: classes/helpers/FrmAppHelper.php:
|
741 |
#@ formidable
|
742 |
msgid "Azerbaijani"
|
743 |
msgstr ""
|
744 |
|
745 |
-
#: classes/helpers/FrmAppHelper.php:
|
746 |
#@ formidable
|
747 |
msgid "Basque"
|
748 |
msgstr ""
|
749 |
|
750 |
-
#: classes/helpers/FrmAppHelper.php:
|
751 |
#@ formidable
|
752 |
msgid "Bosnian"
|
753 |
msgstr ""
|
754 |
|
755 |
-
#: classes/helpers/FrmAppHelper.php:
|
756 |
#@ formidable
|
757 |
msgid "Bulgarian"
|
758 |
msgstr ""
|
759 |
|
760 |
-
#: classes/helpers/FrmAppHelper.php:
|
761 |
#@ formidable
|
762 |
msgid "Catalan"
|
763 |
msgstr ""
|
764 |
|
765 |
-
#: classes/helpers/FrmAppHelper.php:
|
766 |
#@ formidable
|
767 |
msgid "Chinese Hong Kong"
|
768 |
msgstr ""
|
769 |
|
770 |
-
#: classes/helpers/FrmAppHelper.php:
|
771 |
#@ formidable
|
772 |
msgid "Chinese Simplified"
|
773 |
msgstr ""
|
774 |
|
775 |
-
#: classes/helpers/FrmAppHelper.php:
|
776 |
#@ formidable
|
777 |
msgid "Chinese Traditional"
|
778 |
msgstr ""
|
779 |
|
780 |
-
#: classes/helpers/FrmAppHelper.php:
|
781 |
#@ formidable
|
782 |
msgid "Croatian"
|
783 |
msgstr ""
|
784 |
|
785 |
-
#: classes/helpers/FrmAppHelper.php:
|
786 |
#@ formidable
|
787 |
msgid "Czech"
|
788 |
msgstr ""
|
789 |
|
790 |
-
#: classes/helpers/FrmAppHelper.php:
|
791 |
#@ formidable
|
792 |
msgid "Danish"
|
793 |
msgstr ""
|
794 |
|
795 |
-
#: classes/helpers/FrmAppHelper.php:
|
796 |
#@ formidable
|
797 |
msgid "Dutch"
|
798 |
msgstr ""
|
799 |
|
800 |
-
#: classes/helpers/FrmAppHelper.php:
|
801 |
#@ formidable
|
802 |
msgid "English/UK"
|
803 |
msgstr ""
|
804 |
|
805 |
-
#: classes/helpers/FrmAppHelper.php:
|
806 |
#@ formidable
|
807 |
msgid "Esperanto"
|
808 |
msgstr ""
|
809 |
|
810 |
-
#: classes/helpers/FrmAppHelper.php:
|
811 |
#@ formidable
|
812 |
msgid "Estonian"
|
813 |
msgstr ""
|
814 |
|
815 |
-
#: classes/helpers/FrmAppHelper.php:
|
816 |
#@ formidable
|
817 |
msgid "Faroese"
|
818 |
msgstr ""
|
819 |
|
820 |
-
#: classes/helpers/FrmAppHelper.php:
|
821 |
#@ formidable
|
822 |
msgid "Farsi/Persian"
|
823 |
msgstr ""
|
824 |
|
825 |
-
#: classes/helpers/FrmAppHelper.php:
|
826 |
#@ formidable
|
827 |
msgid "Finnish"
|
828 |
msgstr ""
|
829 |
|
830 |
-
#: classes/helpers/FrmAppHelper.php:
|
831 |
#@ formidable
|
832 |
msgid "French"
|
833 |
msgstr ""
|
834 |
|
835 |
-
#: classes/helpers/FrmAppHelper.php:
|
836 |
#@ formidable
|
837 |
msgid "French/Swiss"
|
838 |
msgstr ""
|
839 |
|
840 |
-
#: classes/helpers/FrmAppHelper.php:
|
841 |
#@ formidable
|
842 |
msgid "German"
|
843 |
msgstr ""
|
844 |
|
845 |
-
#: classes/helpers/FrmAppHelper.php:
|
846 |
#@ formidable
|
847 |
msgid "Greek"
|
848 |
msgstr ""
|
849 |
|
850 |
-
#: classes/helpers/FrmAppHelper.php:
|
851 |
#@ formidable
|
852 |
msgid "Hebrew"
|
853 |
msgstr ""
|
854 |
|
855 |
-
#: classes/helpers/FrmAppHelper.php:
|
856 |
#@ formidable
|
857 |
msgid "Hungarian"
|
858 |
msgstr ""
|
859 |
|
860 |
-
#: classes/helpers/FrmAppHelper.php:
|
861 |
#@ formidable
|
862 |
msgid "Icelandic"
|
863 |
msgstr ""
|
864 |
|
865 |
-
#: classes/helpers/FrmAppHelper.php:
|
866 |
#@ formidable
|
867 |
msgid "Italian"
|
868 |
msgstr ""
|
869 |
|
870 |
-
#: classes/helpers/FrmAppHelper.php:
|
871 |
#@ formidable
|
872 |
msgid "Japanese"
|
873 |
msgstr ""
|
874 |
|
875 |
-
#: classes/helpers/FrmAppHelper.php:
|
876 |
#@ formidable
|
877 |
msgid "Korean"
|
878 |
msgstr ""
|
879 |
|
880 |
-
#: classes/helpers/FrmAppHelper.php:
|
881 |
#@ formidable
|
882 |
msgid "Latvian"
|
883 |
msgstr ""
|
884 |
|
885 |
-
#: classes/helpers/FrmAppHelper.php:
|
886 |
#@ formidable
|
887 |
msgid "Lithuanian"
|
888 |
msgstr ""
|
889 |
|
890 |
-
#: classes/helpers/FrmAppHelper.php:
|
891 |
#@ formidable
|
892 |
msgid "Malaysian"
|
893 |
msgstr ""
|
894 |
|
895 |
-
#: classes/helpers/FrmAppHelper.php:
|
896 |
#@ formidable
|
897 |
msgid "Norwegian"
|
898 |
msgstr ""
|
899 |
|
900 |
-
#: classes/helpers/FrmAppHelper.php:
|
901 |
#@ formidable
|
902 |
msgid "Polish"
|
903 |
msgstr ""
|
904 |
|
905 |
-
#: classes/helpers/FrmAppHelper.php:
|
906 |
#@ formidable
|
907 |
msgid "Portuguese/Brazilian"
|
908 |
msgstr ""
|
909 |
|
910 |
-
#: classes/helpers/FrmAppHelper.php:
|
911 |
#@ formidable
|
912 |
msgid "Romanian"
|
913 |
msgstr ""
|
914 |
|
915 |
-
#: classes/helpers/FrmAppHelper.php:
|
916 |
#@ formidable
|
917 |
msgid "Russian"
|
918 |
msgstr ""
|
919 |
|
920 |
-
#: classes/helpers/FrmAppHelper.php:
|
921 |
-
#: classes/helpers/FrmAppHelper.php:
|
922 |
#@ formidable
|
923 |
msgid "Serbian"
|
924 |
msgstr ""
|
925 |
|
926 |
-
#: classes/helpers/FrmAppHelper.php:
|
927 |
#@ formidable
|
928 |
msgid "Slovak"
|
929 |
msgstr ""
|
930 |
|
931 |
-
#: classes/helpers/FrmAppHelper.php:
|
932 |
#@ formidable
|
933 |
msgid "Slovenian"
|
934 |
msgstr ""
|
935 |
|
936 |
-
#: classes/helpers/FrmAppHelper.php:
|
937 |
#@ formidable
|
938 |
msgid "Spanish"
|
939 |
msgstr ""
|
940 |
|
941 |
-
#: classes/helpers/FrmAppHelper.php:
|
942 |
#@ formidable
|
943 |
msgid "Swedish"
|
944 |
msgstr ""
|
945 |
|
946 |
-
#: classes/helpers/FrmAppHelper.php:
|
947 |
#@ formidable
|
948 |
msgid "Tamil"
|
949 |
msgstr ""
|
950 |
|
951 |
-
#: classes/helpers/FrmAppHelper.php:
|
952 |
#@ formidable
|
953 |
msgid "Thai"
|
954 |
msgstr ""
|
955 |
|
956 |
-
#: classes/helpers/FrmAppHelper.php:
|
957 |
#@ formidable
|
958 |
msgid "Turkish"
|
959 |
msgstr ""
|
960 |
|
961 |
-
#: classes/helpers/FrmAppHelper.php:
|
962 |
#@ formidable
|
963 |
msgid "Ukranian"
|
964 |
msgstr ""
|
965 |
|
966 |
-
#: classes/helpers/FrmAppHelper.php:
|
967 |
#@ formidable
|
968 |
msgid "Vietnamese"
|
969 |
msgstr ""
|
@@ -988,7 +988,7 @@ msgstr ""
|
|
988 |
msgid "User Meta"
|
989 |
msgstr ""
|
990 |
|
991 |
-
#: classes/controllers/FrmFormsController.php:
|
992 |
#: pro/classes/controllers/FrmProFormsController.php:63
|
993 |
#: pro/classes/helpers/FrmProFieldsHelper.php:2816
|
994 |
#: pro/classes/views/displays/where_row.php:8
|
@@ -1039,7 +1039,7 @@ msgstr ""
|
|
1039 |
msgid "Select a value to insert into the box below"
|
1040 |
msgstr ""
|
1041 |
|
1042 |
-
#: classes/controllers/FrmFormsController.php:
|
1043 |
#: classes/views/frm-entries/sidebar-shared.php:17
|
1044 |
#: pro/classes/controllers/FrmProFormsController.php:585
|
1045 |
#: pro/classes/helpers/FrmProEntriesListHelper.php:58
|
@@ -1098,13 +1098,13 @@ msgstr ""
|
|
1098 |
msgid "Add a rotating 'even' or 'odd' class"
|
1099 |
msgstr ""
|
1100 |
|
1101 |
-
#: classes/controllers/FrmFormsController.php:
|
1102 |
#: pro/classes/helpers/FrmProFieldsHelper.php:2873
|
1103 |
#@ formidable
|
1104 |
msgid "Site URL"
|
1105 |
msgstr ""
|
1106 |
|
1107 |
-
#: pro/classes/models/FrmProDisplay.php:
|
1108 |
#@ formidable
|
1109 |
msgid "Limit must be a number"
|
1110 |
msgstr ""
|
@@ -1117,7 +1117,7 @@ msgstr ""
|
|
1117 |
msgid "User ID"
|
1118 |
msgstr ""
|
1119 |
|
1120 |
-
#: pro/classes/
|
1121 |
#@ formidable
|
1122 |
msgid "Page"
|
1123 |
msgstr ""
|
@@ -1169,8 +1169,8 @@ msgstr ""
|
|
1169 |
msgid "This content will not be repeated. This would be a good place to put any HTML table tags."
|
1170 |
msgstr ""
|
1171 |
|
1172 |
-
#: pro/classes/controllers/FrmProDisplaysController.php:
|
1173 |
-
#: pro/classes/controllers/FrmProDisplaysController.php:
|
1174 |
#: pro/classes/views/displays/mb_dyncontent.php:23
|
1175 |
#: pro/classes/views/frmpro-fields/options-form.php:222
|
1176 |
#@ formidable
|
@@ -1187,7 +1187,7 @@ msgstr ""
|
|
1187 |
msgid "This content will not be repeated. This would be a good place to close any HTML tags from the Before Content field."
|
1188 |
msgstr ""
|
1189 |
|
1190 |
-
#: pro/classes/controllers/FrmProDisplaysController.php:
|
1191 |
#: pro/classes/views/displays/mb_dyncontent.php:55
|
1192 |
#@ formidable
|
1193 |
msgid "Dynamic Content"
|
@@ -1199,33 +1199,18 @@ msgstr ""
|
|
1199 |
msgid "The HTML for the entry on the dynamic page. This content will NOT be repeated, and will only show when the %1$s is clicked."
|
1200 |
msgstr ""
|
1201 |
|
1202 |
-
#:
|
1203 |
-
#@ formidable
|
1204 |
-
msgid "After page content"
|
1205 |
-
msgstr ""
|
1206 |
-
|
1207 |
-
#: pro/classes/views/displays/mb_advanced.php:108
|
1208 |
-
#@ formidable
|
1209 |
-
msgid "Before page content"
|
1210 |
-
msgstr ""
|
1211 |
-
|
1212 |
-
#: pro/classes/views/displays/mb_advanced.php:121
|
1213 |
-
#@ formidable
|
1214 |
-
msgid "If you would like the content to be inserted automatically, you must then select the page in which to insert it."
|
1215 |
-
msgstr ""
|
1216 |
-
|
1217 |
-
#: classes/controllers/FrmFormsController.php:703
|
1218 |
#@ formidable
|
1219 |
msgid "Detail Link"
|
1220 |
msgstr ""
|
1221 |
|
1222 |
-
#: pro/classes/views/displays/mb_advanced.php:
|
1223 |
#, php-format
|
1224 |
#@ formidable
|
1225 |
msgid "Example: If parameter name is 'contact', the url would be like %1$s/selected-page?contact=2. If this entry is linked to a post, the post permalink will be used instead."
|
1226 |
msgstr ""
|
1227 |
|
1228 |
-
#: pro/classes/views/displays/mb_advanced.php:
|
1229 |
#@ formidable
|
1230 |
msgid "Parameter Value"
|
1231 |
msgstr ""
|
@@ -1257,7 +1242,7 @@ msgstr ""
|
|
1257 |
msgid "The number of entries to show per page. Leave blank to not use pagination."
|
1258 |
msgstr ""
|
1259 |
|
1260 |
-
#: classes/controllers/FrmFormsController.php:
|
1261 |
#: classes/views/frm-forms/_publish_box.php:47
|
1262 |
#: classes/widgets/FrmShowForm.php:46
|
1263 |
#: pro/classes/controllers/FrmProDisplaysController.php:137
|
@@ -1456,7 +1441,7 @@ msgstr ""
|
|
1456 |
msgid "These buttons are for illustrative purposes only. They will be functional in your form."
|
1457 |
msgstr ""
|
1458 |
|
1459 |
-
#: classes/views/frm-forms/settings.php:
|
1460 |
#: pro/classes/views/frmpro-forms/add_form_options.php:88
|
1461 |
#@ formidable
|
1462 |
msgid "Use Content from Page"
|
@@ -1508,7 +1493,7 @@ msgstr ""
|
|
1508 |
msgid "Keys"
|
1509 |
msgstr ""
|
1510 |
|
1511 |
-
#: classes/controllers/FrmFormsController.php:
|
1512 |
#: pro/classes/views/settings/form.php:35
|
1513 |
#@ formidable
|
1514 |
msgid "Date Format"
|
@@ -1682,13 +1667,13 @@ msgstr ""
|
|
1682 |
msgid "Formidable Form"
|
1683 |
msgstr ""
|
1684 |
|
1685 |
-
#: classes/views/xml/import_form.php:
|
1686 |
#@ formidable
|
1687 |
msgid "Export"
|
1688 |
msgstr ""
|
1689 |
|
1690 |
-
#: classes/controllers/FrmStylesController.php:
|
1691 |
-
#: classes/models/FrmPointers.php:
|
1692 |
#: classes/views/frm-forms/settings.php:32
|
1693 |
#: classes/views/frm-settings/form.php:18
|
1694 |
#@ formidable
|
@@ -1763,13 +1748,13 @@ msgstr ""
|
|
1763 |
msgid "Width"
|
1764 |
msgstr ""
|
1765 |
|
1766 |
-
#: classes/models/FrmStyle.php:
|
1767 |
#: classes/views/styles/_field-description.php:16
|
1768 |
#@ formidable
|
1769 |
msgid "normal"
|
1770 |
msgstr ""
|
1771 |
|
1772 |
-
#: classes/models/FrmStyle.php:
|
1773 |
#@ formidable
|
1774 |
msgid "bold"
|
1775 |
msgstr ""
|
@@ -1790,12 +1775,12 @@ msgstr ""
|
|
1790 |
msgid "Formidable uses CSS3 border-radius for corner rounding, which is not currently supported by Internet Explorer."
|
1791 |
msgstr ""
|
1792 |
|
1793 |
-
#: classes/controllers/FrmStylesController.php:
|
1794 |
#@ formidable
|
1795 |
msgid "Field Settings"
|
1796 |
msgstr ""
|
1797 |
|
1798 |
-
#: classes/controllers/FrmStylesController.php:
|
1799 |
#@ formidable
|
1800 |
msgid "Field Colors"
|
1801 |
msgstr ""
|
@@ -1919,12 +1904,12 @@ msgstr ""
|
|
1919 |
msgid "reCAPTCHA Language"
|
1920 |
msgstr ""
|
1921 |
|
1922 |
-
#: classes/helpers/FrmAppHelper.php:
|
1923 |
#@ formidable
|
1924 |
msgid "English"
|
1925 |
msgstr ""
|
1926 |
|
1927 |
-
#: classes/helpers/FrmAppHelper.php:
|
1928 |
#@ formidable
|
1929 |
msgid "Portuguese"
|
1930 |
msgstr ""
|
@@ -1955,7 +1940,7 @@ msgstr ""
|
|
1955 |
msgid "Required"
|
1956 |
msgstr ""
|
1957 |
|
1958 |
-
#: classes/controllers/FrmFormsController.php:
|
1959 |
#: classes/views/frm-forms/_publish_box.php:47
|
1960 |
#: pro/classes/views/displays/submitbox_actions.php:2
|
1961 |
#@ formidable
|
@@ -1967,52 +1952,37 @@ msgstr ""
|
|
1967 |
msgid "Default Submit Button"
|
1968 |
msgstr ""
|
1969 |
|
1970 |
-
#: pro/classes/models/FrmProDisplay.php:
|
1971 |
#: pro/classes/views/displays/mb_excerpt.php:2
|
1972 |
#@ formidable
|
1973 |
msgid "This is not displayed anywhere, but is just for your reference. (optional)"
|
1974 |
msgstr ""
|
1975 |
|
1976 |
-
#: pro/classes/models/FrmProDisplay.php:
|
1977 |
#@ formidable
|
1978 |
msgid "Content cannot be blank"
|
1979 |
msgstr ""
|
1980 |
|
1981 |
-
#: pro/classes/models/FrmProDisplay.php:
|
1982 |
-
#@ formidable
|
1983 |
-
msgid "Page cannot be blank if you want the content inserted automatically"
|
1984 |
-
msgstr ""
|
1985 |
-
|
1986 |
-
#: pro/classes/models/FrmProDisplay.php:265
|
1987 |
#@ formidable
|
1988 |
msgid "Dynamic Content cannot be blank"
|
1989 |
msgstr ""
|
1990 |
|
1991 |
-
#: pro/classes/models/FrmProDisplay.php:
|
1992 |
#@ formidable
|
1993 |
msgid "Parameter Name cannot be blank if content is dynamic"
|
1994 |
msgstr ""
|
1995 |
|
1996 |
-
#: pro/classes/models/FrmProDisplay.php:
|
1997 |
#@ formidable
|
1998 |
msgid "Parameter Value cannot be blank if content is dynamic"
|
1999 |
msgstr ""
|
2000 |
|
2001 |
-
#: pro/classes/models/FrmProDisplay.php:
|
2002 |
#@ formidable
|
2003 |
msgid "Detail Link cannot be blank if content is dynamic"
|
2004 |
msgstr ""
|
2005 |
|
2006 |
-
#: pro/classes/views/displays/mb_advanced.php:109
|
2007 |
-
#@ formidable
|
2008 |
-
msgid "Replace page content"
|
2009 |
-
msgstr ""
|
2010 |
-
|
2011 |
-
#: pro/classes/views/displays/mb_advanced.php:119
|
2012 |
-
#@ formidable
|
2013 |
-
msgid "on page"
|
2014 |
-
msgstr ""
|
2015 |
-
|
2016 |
#: classes/views/frm-forms/_publish_box.php:50
|
2017 |
#: pro/classes/views/displays/submitbox_actions.php:5
|
2018 |
#@ formidable
|
@@ -2052,7 +2022,7 @@ msgid "optional"
|
|
2052 |
msgstr ""
|
2053 |
|
2054 |
#: classes/views/shared/mb_adv_info.php:7
|
2055 |
-
#: pro/classes/views/displays/mb_advanced.php:
|
2056 |
#@ formidable
|
2057 |
msgid "Advanced"
|
2058 |
msgstr ""
|
@@ -2103,7 +2073,7 @@ msgstr ""
|
|
2103 |
msgid "Response Count"
|
2104 |
msgstr ""
|
2105 |
|
2106 |
-
#: classes/views/frm-forms/add_field_links.php:
|
2107 |
#: pro/classes/views/frmpro-statistics/show.php:34
|
2108 |
#@ formidable
|
2109 |
msgid "Total"
|
@@ -2162,7 +2132,7 @@ msgstr ""
|
|
2162 |
|
2163 |
#: classes/models/FrmField.php:15
|
2164 |
#: classes/views/styles/_sample_form.php:52
|
2165 |
-
#: pro/classes/helpers/FrmProFieldsHelper.php:
|
2166 |
#@ formidable
|
2167 |
msgid "Radio Buttons"
|
2168 |
msgstr ""
|
@@ -2296,12 +2266,12 @@ msgstr ""
|
|
2296 |
msgid "Your submission was successfully saved."
|
2297 |
msgstr ""
|
2298 |
|
2299 |
-
#: classes/helpers/FrmAppHelper.php:
|
2300 |
#@ formidable
|
2301 |
msgid "Add/Edit Forms and Templates"
|
2302 |
msgstr ""
|
2303 |
|
2304 |
-
#: classes/helpers/FrmAppHelper.php:
|
2305 |
#@ formidable
|
2306 |
msgid "Add Entries from Admin Area"
|
2307 |
msgstr ""
|
@@ -2342,7 +2312,7 @@ msgstr ""
|
|
2342 |
msgid "Post Meta"
|
2343 |
msgstr ""
|
2344 |
|
2345 |
-
#: classes/helpers/FrmAppHelper.php:
|
2346 |
#@ formidable
|
2347 |
msgid "at"
|
2348 |
msgstr ""
|
@@ -2352,7 +2322,7 @@ msgstr ""
|
|
2352 |
msgid "Default Email Message"
|
2353 |
msgstr ""
|
2354 |
|
2355 |
-
#: pro/classes/views/displays/mb_advanced.php:
|
2356 |
#@ formidable
|
2357 |
msgid "Copy these display settings to other blogs when Formidable Pro is activated. <br/>Note: Use only field keys in the content box(es) above."
|
2358 |
msgstr ""
|
@@ -2443,1207 +2413,1207 @@ msgstr ""
|
|
2443 |
msgid "Bottom Margin"
|
2444 |
msgstr ""
|
2445 |
|
2446 |
-
#: classes/helpers/FrmFieldsHelper.php:
|
2447 |
#@ formidable
|
2448 |
msgid "Countries"
|
2449 |
msgstr ""
|
2450 |
|
2451 |
-
#: classes/helpers/FrmFieldsHelper.php:
|
2452 |
#@ formidable
|
2453 |
msgid "U.S. States"
|
2454 |
msgstr ""
|
2455 |
|
2456 |
-
#: classes/helpers/FrmFieldsHelper.php:
|
2457 |
#@ formidable
|
2458 |
msgid "U.S. State Abbreviations"
|
2459 |
msgstr ""
|
2460 |
|
2461 |
-
#: classes/helpers/FrmFieldsHelper.php:
|
2462 |
#@ formidable
|
2463 |
msgid "Age"
|
2464 |
msgstr ""
|
2465 |
|
2466 |
-
#: classes/helpers/FrmFieldsHelper.php:
|
2467 |
#@ formidable
|
2468 |
msgid "Under 18"
|
2469 |
msgstr ""
|
2470 |
|
2471 |
-
#: classes/helpers/FrmFieldsHelper.php:
|
2472 |
#@ formidable
|
2473 |
msgid "18-24"
|
2474 |
msgstr ""
|
2475 |
|
2476 |
-
#: classes/helpers/FrmFieldsHelper.php:
|
2477 |
#@ formidable
|
2478 |
msgid "25-34"
|
2479 |
msgstr ""
|
2480 |
|
2481 |
-
#: classes/helpers/FrmFieldsHelper.php:
|
2482 |
#@ formidable
|
2483 |
msgid "35-44"
|
2484 |
msgstr ""
|
2485 |
|
2486 |
-
#: classes/helpers/FrmFieldsHelper.php:
|
2487 |
#@ formidable
|
2488 |
msgid "45-54"
|
2489 |
msgstr ""
|
2490 |
|
2491 |
-
#: classes/helpers/FrmFieldsHelper.php:
|
2492 |
#@ formidable
|
2493 |
msgid "55-64"
|
2494 |
msgstr ""
|
2495 |
|
2496 |
-
#: classes/helpers/FrmFieldsHelper.php:
|
2497 |
#@ formidable
|
2498 |
msgid "65 or Above"
|
2499 |
msgstr ""
|
2500 |
|
2501 |
-
#: classes/helpers/FrmFieldsHelper.php:
|
2502 |
#@ formidable
|
2503 |
msgid "Prefer Not to Answer"
|
2504 |
msgstr ""
|
2505 |
|
2506 |
-
#: classes/helpers/FrmFieldsHelper.php:
|
2507 |
#@ formidable
|
2508 |
msgid "Satisfaction"
|
2509 |
msgstr ""
|
2510 |
|
2511 |
-
#: classes/helpers/FrmFieldsHelper.php:
|
2512 |
#@ formidable
|
2513 |
msgid "Very Satisfied"
|
2514 |
msgstr ""
|
2515 |
|
2516 |
-
#: classes/helpers/FrmFieldsHelper.php:
|
2517 |
#@ formidable
|
2518 |
msgid "Satisfied"
|
2519 |
msgstr ""
|
2520 |
|
2521 |
-
#: classes/helpers/FrmFieldsHelper.php:1342
|
2522 |
#: classes/helpers/FrmFieldsHelper.php:1347
|
2523 |
#: classes/helpers/FrmFieldsHelper.php:1352
|
|
|
2524 |
#@ formidable
|
2525 |
msgid "Neutral"
|
2526 |
msgstr ""
|
2527 |
|
2528 |
-
#: classes/helpers/FrmFieldsHelper.php:
|
2529 |
#@ formidable
|
2530 |
msgid "Unsatisfied"
|
2531 |
msgstr ""
|
2532 |
|
2533 |
-
#: classes/helpers/FrmFieldsHelper.php:
|
2534 |
#@ formidable
|
2535 |
msgid "Very Unsatisfied"
|
2536 |
msgstr ""
|
2537 |
|
2538 |
-
#: classes/helpers/FrmFieldsHelper.php:1343
|
2539 |
#: classes/helpers/FrmFieldsHelper.php:1348
|
2540 |
#: classes/helpers/FrmFieldsHelper.php:1353
|
2541 |
-
#:
|
|
|
2542 |
#@ formidable
|
2543 |
msgid "N/A"
|
2544 |
msgstr ""
|
2545 |
|
2546 |
-
#: classes/helpers/FrmFieldsHelper.php:
|
2547 |
#@ formidable
|
2548 |
msgid "Importance"
|
2549 |
msgstr ""
|
2550 |
|
2551 |
-
#: classes/helpers/FrmFieldsHelper.php:
|
2552 |
#@ formidable
|
2553 |
msgid "Very Important"
|
2554 |
msgstr ""
|
2555 |
|
2556 |
-
#: classes/helpers/FrmFieldsHelper.php:
|
2557 |
#@ formidable
|
2558 |
msgid "Important"
|
2559 |
msgstr ""
|
2560 |
|
2561 |
-
#: classes/helpers/FrmFieldsHelper.php:
|
2562 |
#@ formidable
|
2563 |
msgid "Somewhat Important"
|
2564 |
msgstr ""
|
2565 |
|
2566 |
-
#: classes/helpers/FrmFieldsHelper.php:
|
2567 |
#@ formidable
|
2568 |
msgid "Not at all Important"
|
2569 |
msgstr ""
|
2570 |
|
2571 |
-
#: classes/helpers/FrmFieldsHelper.php:
|
2572 |
#@ formidable
|
2573 |
msgid "Agreement"
|
2574 |
msgstr ""
|
2575 |
|
2576 |
-
#: classes/helpers/FrmFieldsHelper.php:
|
2577 |
#@ formidable
|
2578 |
msgid "Strongly Agree"
|
2579 |
msgstr ""
|
2580 |
|
2581 |
-
#: classes/helpers/FrmFieldsHelper.php:
|
2582 |
#@ formidable
|
2583 |
msgid "Agree"
|
2584 |
msgstr ""
|
2585 |
|
2586 |
-
#: classes/helpers/FrmFieldsHelper.php:
|
2587 |
#@ formidable
|
2588 |
msgid "Disagree"
|
2589 |
msgstr ""
|
2590 |
|
2591 |
-
#: classes/helpers/FrmFieldsHelper.php:
|
2592 |
#@ formidable
|
2593 |
msgid "Strongly Disagree"
|
2594 |
msgstr ""
|
2595 |
|
2596 |
-
#: classes/helpers/FrmFieldsHelper.php:
|
2597 |
#@ formidable
|
2598 |
msgid "Afghanistan"
|
2599 |
msgstr ""
|
2600 |
|
2601 |
-
#: classes/helpers/FrmFieldsHelper.php:
|
2602 |
#@ formidable
|
2603 |
msgid "Albania"
|
2604 |
msgstr ""
|
2605 |
|
2606 |
-
#: classes/helpers/FrmFieldsHelper.php:
|
2607 |
#@ formidable
|