Version Description
- Bugfix: Some parts caused notices in Customizer screen.
- Bugfix: Small fixes related to styles.
Download this release
Release Info
Developer | thethemefoundry |
Plugin | Form builder to get in touch with visitors, grow your email list and collect payments — Happyforms |
Version | 1.8.8 |
Comparing to | |
See all releases |
Code changes from version 1.8.7 to 1.8.8
- happyforms.php +2 -2
- inc/assets/js/admin/dashboard.js +17 -6
- inc/classes/class-happyforms.php +6 -4
- inc/core/assets/css/admin.css +2 -2
- inc/core/assets/css/layout.css +5 -1
- inc/core/classes/class-email-message.php +1 -1
- inc/core/classes/class-happyforms-core.php +10 -3
- inc/core/classes/parts/class-part-legal.php +1 -1
- inc/core/helpers/helper-form-templates.php +11 -7
- inc/core/helpers/helper-misc.php +1 -1
- inc/templates/admin/export-upgrade-modal.php +49 -0
- inc/templates/admin/{upgrade-modal-existing.php → responses-upgrade-modal.php} +25 -1
- inc/templates/admin/upgrade-modal-new.php +0 -23
- languages/happyforms.pot +15 -10
- readme.txt +8 -1
happyforms.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Plugin URI: https://happyforms.me
|
6 |
* Description: Your friendly drag and drop contact form builder for creating contact forms, lead generation forms, feedback forms, quote forms, survey forms and more!
|
7 |
* Author: The Theme Foundry
|
8 |
-
* Version: 1.8.
|
9 |
* Author URI: https://thethemefoundry.com
|
10 |
* Upgrade URI: https://thethemefoundry.com
|
11 |
*/
|
@@ -13,7 +13,7 @@
|
|
13 |
/**
|
14 |
* The current version of the plugin.
|
15 |
*/
|
16 |
-
define( 'HAPPYFORMS_VERSION', '1.8.
|
17 |
|
18 |
if ( ! function_exists( 'happyforms_plugin_file' ) ):
|
19 |
/**
|
5 |
* Plugin URI: https://happyforms.me
|
6 |
* Description: Your friendly drag and drop contact form builder for creating contact forms, lead generation forms, feedback forms, quote forms, survey forms and more!
|
7 |
* Author: The Theme Foundry
|
8 |
+
* Version: 1.8.8
|
9 |
* Author URI: https://thethemefoundry.com
|
10 |
* Upgrade URI: https://thethemefoundry.com
|
11 |
*/
|
13 |
/**
|
14 |
* The current version of the plugin.
|
15 |
*/
|
16 |
+
define( 'HAPPYFORMS_VERSION', '1.8.8' );
|
17 |
|
18 |
if ( ! function_exists( 'happyforms_plugin_file' ) ):
|
19 |
/**
|
inc/assets/js/admin/dashboard.js
CHANGED
@@ -7,6 +7,7 @@
|
|
7 |
init: function() {
|
8 |
$( document ).on( 'click', '#adminmenu #toplevel_page_happyforms li:last-child a', this.onUpgradeClick.bind(this) );
|
9 |
$( document ).on( 'click', '#adminmenu #toplevel_page_happyforms li:eq(3) a', this.onResponsesClick.bind(this) );
|
|
|
10 |
$( document ).on( 'click', '.happyforms-upgrade-modal .happyforms-continue-link', this.onContinueClick.bind(this) );
|
11 |
$( document ).on( 'click', '.happyforms-upgrade-modal .happyforms-export-button', this.onExportButtonClick.bind(this) );
|
12 |
$( document ).on( 'click', '.happyforms-upgrade-modal .happyforms-upgrade-modal__close', this.onCloseClick.bind(this) );
|
@@ -23,19 +24,29 @@
|
|
23 |
onResponsesClick: function( e ) {
|
24 |
e.preventDefault();
|
25 |
|
26 |
-
|
27 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
$( '#TB_ajaxContent' ).height( 'auto' );
|
29 |
},
|
30 |
|
31 |
-
|
32 |
tb_remove();
|
33 |
},
|
34 |
|
35 |
onContinueClick: function( e ) {
|
36 |
e.preventDefault();
|
37 |
|
38 |
-
this.
|
39 |
},
|
40 |
|
41 |
onExportButtonClick: function( e ) {
|
@@ -48,7 +59,7 @@
|
|
48 |
onCloseClick: function( e ) {
|
49 |
e.preventDefault();
|
50 |
|
51 |
-
this.
|
52 |
}
|
53 |
};
|
54 |
|
@@ -56,4 +67,4 @@
|
|
56 |
happyForms.freeDashboard.init();
|
57 |
} );
|
58 |
|
59 |
-
} )( jQuery, _happyFormsDashboardSettings );
|
7 |
init: function() {
|
8 |
$( document ).on( 'click', '#adminmenu #toplevel_page_happyforms li:last-child a', this.onUpgradeClick.bind(this) );
|
9 |
$( document ).on( 'click', '#adminmenu #toplevel_page_happyforms li:eq(3) a', this.onResponsesClick.bind(this) );
|
10 |
+
$( document ).on( 'click', '#adminmenu #toplevel_page_happyforms li:eq(4) a', this.onExportClick.bind(this) );
|
11 |
$( document ).on( 'click', '.happyforms-upgrade-modal .happyforms-continue-link', this.onContinueClick.bind(this) );
|
12 |
$( document ).on( 'click', '.happyforms-upgrade-modal .happyforms-export-button', this.onExportButtonClick.bind(this) );
|
13 |
$( document ).on( 'click', '.happyforms-upgrade-modal .happyforms-upgrade-modal__close', this.onCloseClick.bind(this) );
|
24 |
onResponsesClick: function( e ) {
|
25 |
e.preventDefault();
|
26 |
|
27 |
+
this.openModal( settings.responses_modal_id );
|
28 |
+
},
|
29 |
+
|
30 |
+
onExportClick: function( e ) {
|
31 |
+
e.preventDefault();
|
32 |
+
|
33 |
+
this.openModal( settings.export_modal_id );
|
34 |
+
},
|
35 |
+
|
36 |
+
openModal: function( modalId ) {
|
37 |
+
tb_show( '', '#TB_inline?width=600&inlineId=' + modalId );
|
38 |
+
$( '#TB_window' ).addClass( 'happyforms-admin-modal' ).addClass( modalId );
|
39 |
$( '#TB_ajaxContent' ).height( 'auto' );
|
40 |
},
|
41 |
|
42 |
+
closeModal: function() {
|
43 |
tb_remove();
|
44 |
},
|
45 |
|
46 |
onContinueClick: function( e ) {
|
47 |
e.preventDefault();
|
48 |
|
49 |
+
this.closeModal();
|
50 |
},
|
51 |
|
52 |
onExportButtonClick: function( e ) {
|
59 |
onCloseClick: function( e ) {
|
60 |
e.preventDefault();
|
61 |
|
62 |
+
this.closeModal();
|
63 |
}
|
64 |
};
|
65 |
|
67 |
happyForms.freeDashboard.init();
|
68 |
} );
|
69 |
|
70 |
+
} )( jQuery, _happyFormsDashboardSettings );
|
inc/classes/class-happyforms.php
CHANGED
@@ -120,8 +120,8 @@ class HappyForms extends HappyForms_Core {
|
|
120 |
}
|
121 |
|
122 |
public function print_upgrade_modals() {
|
123 |
-
require_once( happyforms_get_include_folder() . '/templates/admin/upgrade-modal
|
124 |
-
require_once( happyforms_get_include_folder() . '/templates/admin/upgrade-modal
|
125 |
}
|
126 |
|
127 |
public function admin_menu() {
|
@@ -169,13 +169,15 @@ class HappyForms extends HappyForms_Core {
|
|
169 |
}
|
170 |
}
|
171 |
|
172 |
-
$
|
|
|
173 |
|
174 |
wp_localize_script(
|
175 |
'happyforms-free-admin',
|
176 |
'_happyFormsDashboardSettings',
|
177 |
array(
|
178 |
-
'
|
|
|
179 |
)
|
180 |
);
|
181 |
|
120 |
}
|
121 |
|
122 |
public function print_upgrade_modals() {
|
123 |
+
require_once( happyforms_get_include_folder() . '/templates/admin/responses-upgrade-modal.php' );
|
124 |
+
require_once( happyforms_get_include_folder() . '/templates/admin/export-upgrade-modal.php' );
|
125 |
}
|
126 |
|
127 |
public function admin_menu() {
|
169 |
}
|
170 |
}
|
171 |
|
172 |
+
$responses_modal_id = ( 1 === intval( $has_responses ) ) ? 'happyforms-responses-upgrade-existing' : 'happyforms-responses-upgrade-new';
|
173 |
+
$export_modal_id = ( 1 === intval( $has_responses ) ) ? 'happyforms-export-upgrade-existing' : 'happyforms-export-upgrade-new';
|
174 |
|
175 |
wp_localize_script(
|
176 |
'happyforms-free-admin',
|
177 |
'_happyFormsDashboardSettings',
|
178 |
array(
|
179 |
+
'responses_modal_id' => $responses_modal_id,
|
180 |
+
'export_modal_id' => $export_modal_id
|
181 |
)
|
182 |
);
|
183 |
|
inc/core/assets/css/admin.css
CHANGED
@@ -22,7 +22,7 @@ i.mce-i-happyforms-form-picker:before, i.mce-i-happyforms-form-picker:before {
|
|
22 |
background-position: center;
|
23 |
}
|
24 |
|
25 |
-
#toplevel_page_happyforms ul.wp-submenu li:nth-child(
|
26 |
display: none;
|
27 |
}
|
28 |
|
@@ -313,4 +313,4 @@ p.welcome-panel-footer a:active {
|
|
313 |
|
314 |
.happyforms-responses-count-wrapper a:hover .happyforms-responses-count-bubble:after {
|
315 |
border-top-color: #0073aa;
|
316 |
-
}
|
22 |
background-position: center;
|
23 |
}
|
24 |
|
25 |
+
#toplevel_page_happyforms ul.wp-submenu li:nth-child(6) {
|
26 |
display: none;
|
27 |
}
|
28 |
|
313 |
|
314 |
.happyforms-responses-count-wrapper a:hover .happyforms-responses-count-bubble:after {
|
315 |
border-top-color: #0073aa;
|
316 |
+
}
|
inc/core/assets/css/layout.css
CHANGED
@@ -523,7 +523,7 @@ h3.happyforms-form__title {
|
|
523 |
.happyforms-tooltip__trigger {
|
524 |
position: absolute;
|
525 |
right: 0;
|
526 |
-
z-index:
|
527 |
display: block;
|
528 |
background-color: transparent;
|
529 |
pointer-events: auto;
|
@@ -2411,6 +2411,10 @@ div.mce-inline-toolbar-grp.happyforms-editor-toolbar-link div.wp-link-input inpu
|
|
2411 |
top: 0;
|
2412 |
left: -10000em;
|
2413 |
}
|
|
|
|
|
|
|
|
|
2414 |
|
2415 |
.screen-reader-text:focus {
|
2416 |
display: block;
|
523 |
.happyforms-tooltip__trigger {
|
524 |
position: absolute;
|
525 |
right: 0;
|
526 |
+
z-index: 8;
|
527 |
display: block;
|
528 |
background-color: transparent;
|
529 |
pointer-events: auto;
|
2411 |
top: 0;
|
2412 |
left: -10000em;
|
2413 |
}
|
2414 |
+
.happyforms-form--direction-rtl .screen-reader-text {
|
2415 |
+
left: auto;
|
2416 |
+
right: -10000em;
|
2417 |
+
}
|
2418 |
|
2419 |
.screen-reader-text:focus {
|
2420 |
display: block;
|
inc/core/classes/class-email-message.php
CHANGED
@@ -83,7 +83,7 @@ class HappyForms_Email_Message {
|
|
83 |
*/
|
84 |
private $content;
|
85 |
|
86 |
-
private $attachments;
|
87 |
|
88 |
/**
|
89 |
* The submission message this email is linked to.
|
83 |
*/
|
84 |
private $content;
|
85 |
|
86 |
+
private $attachments = array();
|
87 |
|
88 |
/**
|
89 |
* The submission message this email is linked to.
|
inc/core/classes/class-happyforms-core.php
CHANGED
@@ -184,14 +184,21 @@ class HappyForms_Core {
|
|
184 |
happyforms_get_form_edit_link( 0 )
|
185 |
);
|
186 |
|
187 |
-
$responses_link = apply_filters( 'happyforms_responses_menu_link', '#' );
|
188 |
-
|
189 |
add_submenu_page(
|
190 |
'happyforms',
|
191 |
__( 'Responses', 'happyforms' ),
|
192 |
__( 'Responses', 'happyforms' ),
|
193 |
'manage_options',
|
194 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
195 |
);
|
196 |
|
197 |
add_submenu_page(
|
184 |
happyforms_get_form_edit_link( 0 )
|
185 |
);
|
186 |
|
|
|
|
|
187 |
add_submenu_page(
|
188 |
'happyforms',
|
189 |
__( 'Responses', 'happyforms' ),
|
190 |
__( 'Responses', 'happyforms' ),
|
191 |
'manage_options',
|
192 |
+
'#'
|
193 |
+
);
|
194 |
+
|
195 |
+
add_submenu_page(
|
196 |
+
'happyforms',
|
197 |
+
__( 'Import/Export', 'happyforms' ),
|
198 |
+
__( 'Import/Export', 'happyforms' ),
|
199 |
+
'manage_options',
|
200 |
+
apply_filters( 'happyforms_export_page_url', '#' ),
|
201 |
+
apply_filters( 'happyforms_export_page_method', '' )
|
202 |
);
|
203 |
|
204 |
add_submenu_page(
|
inc/core/classes/parts/class-part-legal.php
CHANGED
@@ -161,7 +161,7 @@ class HappyForms_Part_Legal extends HappyForms_Form_Part {
|
|
161 |
|
162 |
if ( happyforms_get_next_part( $part, $form ) ) {
|
163 |
$next_part = happyforms_get_next_part( $part, $form );
|
164 |
-
|
165 |
if ( 'left' === $next_part['label_placement'] && 'full' === $next_part['width'] ) {
|
166 |
$class[] = 'happyforms-part-legal--align-right';
|
167 |
}
|
161 |
|
162 |
if ( happyforms_get_next_part( $part, $form ) ) {
|
163 |
$next_part = happyforms_get_next_part( $part, $form );
|
164 |
+
|
165 |
if ( 'left' === $next_part['label_placement'] && 'full' === $next_part['width'] ) {
|
166 |
$class[] = 'happyforms-part-legal--align-right';
|
167 |
}
|
inc/core/helpers/helper-form-templates.php
CHANGED
@@ -1495,12 +1495,13 @@ function happyforms_get_previous_part( $part, $form ) {
|
|
1495 |
$part_id = $part['id'];
|
1496 |
$part_ids = wp_list_pluck( $form['parts'], 'id' );
|
1497 |
$part_index = array_search( $part_id, $part_ids );
|
|
|
1498 |
|
1499 |
-
if (
|
1500 |
-
return
|
1501 |
}
|
1502 |
|
1503 |
-
return
|
1504 |
}
|
1505 |
|
1506 |
endif;
|
@@ -1511,12 +1512,13 @@ function happyforms_get_next_part( $part, $form ) {
|
|
1511 |
$part_id = $part['id'];
|
1512 |
$part_ids = wp_list_pluck( $form['parts'], 'id' );
|
1513 |
$part_index = array_search( $part_id, $part_ids );
|
|
|
1514 |
|
1515 |
-
if (
|
1516 |
-
return
|
1517 |
}
|
1518 |
|
1519 |
-
return
|
1520 |
}
|
1521 |
|
1522 |
endif;
|
@@ -1530,7 +1532,9 @@ function happyforms_get_form_partial( $partial_name, $form ) {
|
|
1530 |
$file = happyforms_get_include_folder() . '/core/templates/partials/' . $partial_name . '.php';
|
1531 |
}
|
1532 |
|
1533 |
-
|
|
|
|
|
1534 |
|
1535 |
return $html;
|
1536 |
}
|
1495 |
$part_id = $part['id'];
|
1496 |
$part_ids = wp_list_pluck( $form['parts'], 'id' );
|
1497 |
$part_index = array_search( $part_id, $part_ids );
|
1498 |
+
$part_index = $part_index - 1;
|
1499 |
|
1500 |
+
if ( isset( $form['parts'][$part_index] ) ) {
|
1501 |
+
return $form['parts'][$part_index];
|
1502 |
}
|
1503 |
|
1504 |
+
return false;
|
1505 |
}
|
1506 |
|
1507 |
endif;
|
1512 |
$part_id = $part['id'];
|
1513 |
$part_ids = wp_list_pluck( $form['parts'], 'id' );
|
1514 |
$part_index = array_search( $part_id, $part_ids );
|
1515 |
+
$part_index = $part_index + 1;
|
1516 |
|
1517 |
+
if ( isset( $form['parts'][$part_index] ) ) {
|
1518 |
+
return $form['parts'][$part_index];
|
1519 |
}
|
1520 |
|
1521 |
+
return false;
|
1522 |
}
|
1523 |
|
1524 |
endif;
|
1532 |
$file = happyforms_get_include_folder() . '/core/templates/partials/' . $partial_name . '.php';
|
1533 |
}
|
1534 |
|
1535 |
+
ob_start();
|
1536 |
+
require( $file );
|
1537 |
+
$html = ob_get_clean();
|
1538 |
|
1539 |
return $html;
|
1540 |
}
|
inc/core/helpers/helper-misc.php
CHANGED
@@ -44,7 +44,7 @@ if ( ! function_exists( 'happyforms_get_csv_value' ) ):
|
|
44 |
* @return string
|
45 |
*/
|
46 |
function happyforms_get_csv_value( $value, $message, $part, $form ) {
|
47 |
-
$value = happyforms_get_message_part_value( $value, $part );
|
48 |
$value = htmlspecialchars_decode( $value );
|
49 |
$value = apply_filters( 'happyforms_get_csv_value', $value, $message, $part, $form );
|
50 |
|
44 |
* @return string
|
45 |
*/
|
46 |
function happyforms_get_csv_value( $value, $message, $part, $form ) {
|
47 |
+
$value = happyforms_get_message_part_value( $value, $part, 'csv' );
|
48 |
$value = htmlspecialchars_decode( $value );
|
49 |
$value = apply_filters( 'happyforms_get_csv_value', $value, $message, $part, $form );
|
50 |
|
inc/templates/admin/export-upgrade-modal.php
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<div id="happyforms-export-upgrade-existing" class="happyforms-upgrade-modal-container" style="display: none">
|
2 |
+
<div class="happyforms-upgrade-modal">
|
3 |
+
<a href="#" class="happyforms-upgrade-modal__close">
|
4 |
+
<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="times-circle" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="svg-inline--fa fa-times-circle fa-w-16 fa-3x"><path fill="currentColor" d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z" class=""></path></svg>
|
5 |
+
<span class="screen-reader-text">Close</span>
|
6 |
+
</a>
|
7 |
+
|
8 |
+
<img src="<?php echo happyforms_get_plugin_url(); ?>/inc/assets/img/logo.png" alt="HappyForms" class="happyforms-logo">
|
9 |
+
|
10 |
+
<h2>Save, backup and transfer data…</h2>
|
11 |
+
|
12 |
+
<p>Want to backup all data? Transfer forms and responses? Or share form designs from this website to another? We have good news! Our upgrade plans now make these tricky tasks super-easy.</p>
|
13 |
+
|
14 |
+
<p>To make your transition easier, we're offering 50% off upgrades.<br>Use the coupon code “TRANSITION” or <a href="mailto:support@thethemefoundry.com">email us for help</a>.</p>
|
15 |
+
|
16 |
+
<div class="happyforms-upgrade-modal__buttons">
|
17 |
+
<div class="happyforms-upgrade-modal__button">
|
18 |
+
<a href="https://happyforms.me/upgrade" target="_blank" class="button button-primary">Support HappyForms By Upgrading</a>
|
19 |
+
</div>
|
20 |
+
<div class="happyforms-upgrade-modal__button happyforms-upgrade-modal__button--grey">
|
21 |
+
Or <a href="#" class="happyforms-continue-link">continue with free version</a>
|
22 |
+
</div>
|
23 |
+
</div>
|
24 |
+
</div>
|
25 |
+
</div>
|
26 |
+
|
27 |
+
<div id="happyforms-export-upgrade-new" class="happyforms-upgrade-modal-container" style="display: none">
|
28 |
+
<div class="happyforms-upgrade-modal">
|
29 |
+
<a href="#" class="happyforms-upgrade-modal__close">
|
30 |
+
<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="times-circle" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="svg-inline--fa fa-times-circle fa-w-16 fa-3x"><path fill="currentColor" d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z" class=""></path></svg>
|
31 |
+
<span class="screen-reader-text">Close</span>
|
32 |
+
</a>
|
33 |
+
|
34 |
+
<img src="<?php echo happyforms_get_plugin_url(); ?>/inc/assets/img/logo.png" alt="HappyForms" class="happyforms-logo">
|
35 |
+
|
36 |
+
<h2>Save, backup and transfer data…</h2>
|
37 |
+
|
38 |
+
<p>Want to backup all data? Transfer forms and responses? Or share form designs from this website to another? We have good news! Our upgrade plans now make these tricky tasks super-easy.</p>
|
39 |
+
|
40 |
+
<div class="happyforms-upgrade-modal__buttons">
|
41 |
+
<div class="happyforms-upgrade-modal__button">
|
42 |
+
<a href="https://happyforms.me/upgrade" target="_blank" class="button button-primary">Support HappyForms By Upgrading</a>
|
43 |
+
</div>
|
44 |
+
<div class="happyforms-upgrade-modal__button happyforms-upgrade-modal__button--grey">
|
45 |
+
Or <a href="#" class="happyforms-continue-link">continue with free version</a>
|
46 |
+
</div>
|
47 |
+
</div>
|
48 |
+
</div>
|
49 |
+
</div>
|
inc/templates/admin/{upgrade-modal-existing.php → responses-upgrade-modal.php}
RENAMED
@@ -1,4 +1,4 @@
|
|
1 |
-
<div id="happyforms-upgrade-existing" class="happyforms-upgrade-modal-container" style="display: none">
|
2 |
<div class="happyforms-upgrade-modal">
|
3 |
<a href="#" class="happyforms-upgrade-modal__close">
|
4 |
<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="times-circle" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="svg-inline--fa fa-times-circle fa-w-16 fa-3x"><path fill="currentColor" d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z" class=""></path></svg>
|
@@ -38,3 +38,27 @@
|
|
38 |
</div>
|
39 |
</div>
|
40 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<div id="happyforms-responses-upgrade-existing" class="happyforms-upgrade-modal-container" style="display: none">
|
2 |
<div class="happyforms-upgrade-modal">
|
3 |
<a href="#" class="happyforms-upgrade-modal__close">
|
4 |
<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="times-circle" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="svg-inline--fa fa-times-circle fa-w-16 fa-3x"><path fill="currentColor" d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z" class=""></path></svg>
|
38 |
</div>
|
39 |
</div>
|
40 |
</div>
|
41 |
+
|
42 |
+
<div id="happyforms-responses-upgrade-new" class="happyforms-upgrade-modal-container" style="display: none">
|
43 |
+
<div class="happyforms-upgrade-modal">
|
44 |
+
<a href="#" class="happyforms-upgrade-modal__close">
|
45 |
+
<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="times-circle" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="svg-inline--fa fa-times-circle fa-w-16 fa-3x"><path fill="currentColor" d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z" class=""></path></svg>
|
46 |
+
<span class="screen-reader-text">Close</span>
|
47 |
+
</a>
|
48 |
+
|
49 |
+
<img src="<?php echo happyforms_get_plugin_url(); ?>/inc/assets/img/logo.png" alt="HappyForms" class="happyforms-logo">
|
50 |
+
|
51 |
+
<h2>Read responses and see recipient data…</h2>
|
52 |
+
|
53 |
+
<p>HappyForms doesn't have the function to save responses.<br> You'll need to upgrade HappyForms to save responses and get access to <a href="https://happyforms.me/features" target="_blank">all paid features</a>.</p>
|
54 |
+
|
55 |
+
<div class="happyforms-upgrade-modal__buttons">
|
56 |
+
<div class="happyforms-upgrade-modal__button">
|
57 |
+
<a href="https://happyforms.me/upgrade" target="_blank" class="button button-primary">Discover HappyForms Upgrade</a>
|
58 |
+
</div>
|
59 |
+
<div class="happyforms-upgrade-modal__button happyforms-upgrade-modal__button--grey">
|
60 |
+
Or <a href="#" class="happyforms-continue-link">continue with free version</a>
|
61 |
+
</div>
|
62 |
+
</div>
|
63 |
+
</div>
|
64 |
+
</div>
|
inc/templates/admin/upgrade-modal-new.php
DELETED
@@ -1,23 +0,0 @@
|
|
1 |
-
<div id="happyforms-upgrade-new" class="happyforms-upgrade-modal-container" style="display: none">
|
2 |
-
<div class="happyforms-upgrade-modal">
|
3 |
-
<a href="#" class="happyforms-upgrade-modal__close">
|
4 |
-
<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="times-circle" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="svg-inline--fa fa-times-circle fa-w-16 fa-3x"><path fill="currentColor" d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z" class=""></path></svg>
|
5 |
-
<span class="screen-reader-text">Close</span>
|
6 |
-
</a>
|
7 |
-
|
8 |
-
<img src="<?php echo happyforms_get_plugin_url(); ?>/inc/assets/img/logo.png" alt="HappyForms" class="happyforms-logo">
|
9 |
-
|
10 |
-
<h2>Read responses and see recipient data…</h2>
|
11 |
-
|
12 |
-
<p>HappyForms doesn't have the function to save responses.<br> You'll need to upgrade HappyForms to save responses and get access to <a href="https://happyforms.me/features" target="_blank">all paid features</a>.</p>
|
13 |
-
|
14 |
-
<div class="happyforms-upgrade-modal__buttons">
|
15 |
-
<div class="happyforms-upgrade-modal__button">
|
16 |
-
<a href="https://happyforms.me/upgrade" target="_blank" class="button button-primary">Discover HappyForms Upgrade</a>
|
17 |
-
</div>
|
18 |
-
<div class="happyforms-upgrade-modal__button happyforms-upgrade-modal__button--grey">
|
19 |
-
Or <a href="#" class="happyforms-continue-link">continue with free version</a>
|
20 |
-
</div>
|
21 |
-
</div>
|
22 |
-
</div>
|
23 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
languages/happyforms.pot
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
# This file is distributed under the same license as the HappyForms package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: HappyForms 1.8.
|
6 |
"Report-Msgid-Bugs-To: https://thethemefoundry.com/support/\n"
|
7 |
-
"POT-Creation-Date: 2019-05-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -1017,29 +1017,34 @@ msgstr ""
|
|
1017 |
msgid "Add New"
|
1018 |
msgstr ""
|
1019 |
|
1020 |
-
#: inc/core/classes/class-happyforms-core.php:
|
1021 |
-
#: inc/core/classes/class-happyforms-core.php:
|
1022 |
msgid "Responses"
|
1023 |
msgstr ""
|
1024 |
|
1025 |
-
#: inc/core/classes/class-happyforms-core.php:
|
1026 |
-
#: inc/core/classes/class-happyforms-core.php:
|
|
|
|
|
|
|
|
|
|
|
1027 |
msgid "Welcome"
|
1028 |
msgstr ""
|
1029 |
|
1030 |
-
#: inc/core/classes/class-happyforms-core.php:
|
1031 |
msgid "HappyForm"
|
1032 |
msgstr ""
|
1033 |
|
1034 |
-
#: inc/core/classes/class-happyforms-core.php:
|
1035 |
msgid "New HappyForm"
|
1036 |
msgstr ""
|
1037 |
|
1038 |
-
#: inc/core/classes/class-happyforms-core.php:
|
1039 |
msgid "Insert HappyForm"
|
1040 |
msgstr ""
|
1041 |
|
1042 |
-
#: inc/core/classes/class-happyforms-core.php:
|
1043 |
msgid "Add HappyForms"
|
1044 |
msgstr ""
|
1045 |
|
2 |
# This file is distributed under the same license as the HappyForms package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: HappyForms 1.8.8\n"
|
6 |
"Report-Msgid-Bugs-To: https://thethemefoundry.com/support/\n"
|
7 |
+
"POT-Creation-Date: 2019-05-29 08:40:36+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
1017 |
msgid "Add New"
|
1018 |
msgstr ""
|
1019 |
|
1020 |
+
#: inc/core/classes/class-happyforms-core.php:189
|
1021 |
+
#: inc/core/classes/class-happyforms-core.php:190
|
1022 |
msgid "Responses"
|
1023 |
msgstr ""
|
1024 |
|
1025 |
+
#: inc/core/classes/class-happyforms-core.php:197
|
1026 |
+
#: inc/core/classes/class-happyforms-core.php:198
|
1027 |
+
msgid "Import/Export"
|
1028 |
+
msgstr ""
|
1029 |
+
|
1030 |
+
#: inc/core/classes/class-happyforms-core.php:206
|
1031 |
+
#: inc/core/classes/class-happyforms-core.php:207
|
1032 |
msgid "Welcome"
|
1033 |
msgstr ""
|
1034 |
|
1035 |
+
#: inc/core/classes/class-happyforms-core.php:326
|
1036 |
msgid "HappyForm"
|
1037 |
msgstr ""
|
1038 |
|
1039 |
+
#: inc/core/classes/class-happyforms-core.php:330
|
1040 |
msgid "New HappyForm"
|
1041 |
msgstr ""
|
1042 |
|
1043 |
+
#: inc/core/classes/class-happyforms-core.php:451
|
1044 |
msgid "Insert HappyForm"
|
1045 |
msgstr ""
|
1046 |
|
1047 |
+
#: inc/core/classes/class-happyforms-core.php:451
|
1048 |
msgid "Add HappyForms"
|
1049 |
msgstr ""
|
1050 |
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: contact, contact form, email, feedback form, form, form builder, custom fo
|
|
5 |
Requires at least: 4.8
|
6 |
Tested up to: 5.2
|
7 |
Requires PHP: 5.3
|
8 |
-
Stable tag: 1.8.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -107,6 +107,10 @@ Yep! HappyForms free isn't going anywhere but for those looking for even more po
|
|
107 |
|
108 |
== Changelog ==
|
109 |
|
|
|
|
|
|
|
|
|
110 |
= 1.8.7 =
|
111 |
* Improvement: Small fixes and improvements related to styles and form builder UI.
|
112 |
* Bugfix: Setting Scale part to multirange mode broke appearance of its sliders.
|
@@ -510,6 +514,9 @@ Yep! HappyForms free isn't going anywhere but for those looking for even more po
|
|
510 |
|
511 |
== Upgrade Notice ==
|
512 |
|
|
|
|
|
|
|
513 |
= 1.8.7 =
|
514 |
* Improvement and bugfixes.
|
515 |
|
5 |
Requires at least: 4.8
|
6 |
Tested up to: 5.2
|
7 |
Requires PHP: 5.3
|
8 |
+
Stable tag: 1.8.8
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
107 |
|
108 |
== Changelog ==
|
109 |
|
110 |
+
= 1.8.8 =
|
111 |
+
* Bugfix: Some parts caused notices in Customizer screen.
|
112 |
+
* Bugfix: Small fixes related to styles.
|
113 |
+
|
114 |
= 1.8.7 =
|
115 |
* Improvement: Small fixes and improvements related to styles and form builder UI.
|
116 |
* Bugfix: Setting Scale part to multirange mode broke appearance of its sliders.
|
514 |
|
515 |
== Upgrade Notice ==
|
516 |
|
517 |
+
= 1.8.8 =
|
518 |
+
* Bugfixes.
|
519 |
+
|
520 |
= 1.8.7 =
|
521 |
* Improvement and bugfixes.
|
522 |
|