Version Description
- Added: Drag & Drop of Columns in form editor
- Added: Drag & Drop of Pages in form editor
- Added: New icon in Elementor plugin
- Improved: Drag & Drop of fields in form editor
- Fixed: Conditional fields flickering during page loading
Download this release
Release Info
Developer | webdorado |
Plugin | Contact Form by WD – responsive drag & drop contact form builder tool |
Version | 1.12.39 |
Comparing to | |
See all releases |
Code changes from version 1.12.38 to 1.12.39
- admin/controllers/elementorWidget.php +1 -1
- admin/views/Manage_fm.php +76 -74
- contact-form-maker.php +10 -3
- css/fm_elementor_icon/fm_elementor_icon.css +47 -0
- css/form_maker_frontend.css +1 -1
- css/form_maker_tables.css +153 -12
- fonts/twbb-icon.svg +19 -0
- fonts/twbb-icons.eot +0 -0
- fonts/twbb-icons.ttf +0 -0
- fonts/twbb-icons.woff +0 -0
- framework/WDW_FM_Library.php +1 -1
- js/add_field.js +16 -45
- js/form_maker_manage.js +67 -47
- js/form_maker_manage_edit.js +67 -51
- js/formmaker_div.js +167 -174
- js/main_div_front_end.js +128 -135
- readme.txt +8 -1
admin/controllers/elementorWidget.php
CHANGED
@@ -30,7 +30,7 @@ class FMCElementor extends \Elementor\Widget_Base {
|
|
30 |
* @return string Widget icon.
|
31 |
*/
|
32 |
public function get_icon() {
|
33 |
-
return 'fa
|
34 |
}
|
35 |
|
36 |
/**
|
30 |
* @return string Widget icon.
|
31 |
*/
|
32 |
public function get_icon() {
|
33 |
+
return 'fa twbb-form-maker twbb-widget-icon';
|
34 |
}
|
35 |
|
36 |
/**
|
admin/views/Manage_fm.php
CHANGED
@@ -324,7 +324,7 @@ class FMViewManage_fmc extends FMAdminView_fmc {
|
|
324 |
}
|
325 |
}
|
326 |
?>
|
327 |
-
<button class="button button-primary button-large" onclick="if (fm_check_required('title', '<?php _e('Form Title', WDFMInstance(self::PLUGIN)->prefix); ?>') ||
|
328 |
<?php
|
329 |
if ($row->title) {
|
330 |
_e('Update', WDFMInstance(self::PLUGIN)->prefix);
|
@@ -368,6 +368,7 @@ class FMViewManage_fmc extends FMAdminView_fmc {
|
|
368 |
<div id="old_theme_notice" style="display: none;"><div class="error inline"><p><?php _e('The theme you have selected is outdated. Please choose one from New Themes section.', WDFMInstance(self::PLUGIN)->prefix); ?></p></div></div>
|
369 |
</div>
|
370 |
<div class="fm-page-actions">
|
|
|
371 |
<?php if( $id ){ ?>
|
372 |
<a class="button button-primary" href="<?php echo $params['form_options_url']; ?>"><?php _e('Form Options', WDFMInstance(self::PLUGIN)->prefix); ?></a>
|
373 |
<a class="button" href="<?php echo $params['display_options_url']; ?>"><?php _e('Display Options', WDFMInstance(self::PLUGIN)->prefix); ?></a>
|
@@ -386,82 +387,83 @@ class FMViewManage_fmc extends FMAdminView_fmc {
|
|
386 |
<?php echo $this->limitation_alert(); ?>
|
387 |
<?php if (!function_exists('the_editor')) { ?>
|
388 |
<iframe id="tinymce" style="display: none;"></iframe>
|
389 |
-
<?php } ?>
|
390 |
-
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
|
395 |
-
|
396 |
-
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
-
|
417 |
-
|
418 |
-
|
419 |
-
|
420 |
-
|
421 |
-
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
-
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
|
430 |
-
|
431 |
-
|
432 |
-
|
433 |
-
|
434 |
-
|
435 |
-
|
436 |
-
|
437 |
-
|
438 |
-
|
439 |
-
|
440 |
-
|
441 |
-
|
442 |
-
|
443 |
-
|
444 |
-
|
445 |
-
|
446 |
-
|
447 |
-
|
448 |
-
|
449 |
-
|
450 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
451 |
<div class="fm-edit-content">
|
452 |
-
<div class="fm-drag-and-drop">
|
453 |
-
<div>
|
454 |
-
<label for="enable_sortable"><?php _e('Enable Drag & Drop', WDFMInstance(self::PLUGIN)->prefix); ?></label>
|
455 |
-
<button name="sortable" id="enable_sortable" class="fm-checkbox-radio-button <?php echo $row->sortable == 1 ? 'fm-yes' : 'fm-no' ?>" onclick="enable_drag(this); return false;" value="<?php echo $row->sortable; ?>">
|
456 |
-
<span></span>
|
457 |
-
</button>
|
458 |
-
<input type="hidden" name="sortable" id="sortable_hidden" value="<?php echo $row->sortable; ?>"/>
|
459 |
-
</div>
|
460 |
-
</div>
|
461 |
<div style="display: table; width: 100%;" id="page_bar">
|
462 |
<div id="page_navigation" style="display: table-row;">
|
463 |
<div align="center" id="pages" show_title="<?php echo $row->show_title; ?>" show_numbers="<?php echo $row->show_numbers; ?>" type="<?php echo $row->pagination; ?>" style="display: table-cell; width:90%;"></div>
|
464 |
-
<div align="left" id="edit_page_navigation"></div>
|
465 |
</div>
|
466 |
</div>
|
467 |
<div id="take" class="main">
|
@@ -475,7 +477,7 @@ class FMViewManage_fmc extends FMAdminView_fmc {
|
|
475 |
</div>
|
476 |
|
477 |
<div type="type_text" class="wdform_field">
|
478 |
-
<div class="add-new-button button-primary" onclick="popup_ready(); Enable(); return false;">
|
479 |
<span class="dashicons dashicons-move"></span>
|
480 |
<?php _e('New Field', WDFMInstance(self::PLUGIN)->prefix); ?>
|
481 |
</div>
|
324 |
}
|
325 |
}
|
326 |
?>
|
327 |
+
<button class="button button-primary button-large" onclick="if (fm_check_required('title', '<?php _e('Form Title', WDFMInstance(self::PLUGIN)->prefix); ?>') || !FormManageSubmitButton()) {return false;}; fm_set_input_value('task', 'apply');">
|
328 |
<?php
|
329 |
if ($row->title) {
|
330 |
_e('Update', WDFMInstance(self::PLUGIN)->prefix);
|
368 |
<div id="old_theme_notice" style="display: none;"><div class="error inline"><p><?php _e('The theme you have selected is outdated. Please choose one from New Themes section.', WDFMInstance(self::PLUGIN)->prefix); ?></p></div></div>
|
369 |
</div>
|
370 |
<div class="fm-page-actions">
|
371 |
+
<a class="button" href="#" onclick="fm_popup_toggle('fm_popup_container'); return false;"><?php _e('Form Header', WDFMInstance(self::PLUGIN)->prefix); ?></a>
|
372 |
<?php if( $id ){ ?>
|
373 |
<a class="button button-primary" href="<?php echo $params['form_options_url']; ?>"><?php _e('Form Options', WDFMInstance(self::PLUGIN)->prefix); ?></a>
|
374 |
<a class="button" href="<?php echo $params['display_options_url']; ?>"><?php _e('Display Options', WDFMInstance(self::PLUGIN)->prefix); ?></a>
|
387 |
<?php echo $this->limitation_alert(); ?>
|
388 |
<?php if (!function_exists('the_editor')) { ?>
|
389 |
<iframe id="tinymce" style="display: none;"></iframe>
|
390 |
+
<?php } ?>
|
391 |
+
<div id="fm_delete_page_popup_container" class="hidden fm_popup_container">
|
392 |
+
<div class="fm-popup-overlay" onclick="fm_popup_toggle('fm_delete_page_popup_container'); return false;"></div>
|
393 |
+
<div id="fm-delete-page-content" class="fm-popup-wrap">
|
394 |
+
<input type="hidden" id="fm_delete_page_id" value="" />
|
395 |
+
<div class="fm-alert-header">
|
396 |
+
<label><?php _e('Are You Sure You Want to...', WDFMInstance(self::PLUGIN)->prefix); ?></label>
|
397 |
+
</div>
|
398 |
+
<div class="fm-alert-body">
|
399 |
+
<button class="button button-primary button-large" onclick="remove_page_only(); fm_popup_toggle('fm_delete_page_popup_container'); return false;"><?php _e('Delete Page Without Fields', WDFMInstance(self::PLUGIN)->prefix); ?></button>
|
400 |
+
<button class="button button-primary button-large" onclick="remove_page_all(); fm_popup_toggle('fm_delete_page_popup_container'); return false;"><?php _e('Delete Page With Fields', WDFMInstance(self::PLUGIN)->prefix); ?></button>
|
401 |
+
<button class="button button-large" onclick="fm_popup_toggle('fm_delete_page_popup_container'); return false;"><?php _e('Cancel', WDFMInstance(self::PLUGIN)->prefix); ?></button>
|
402 |
+
</div>
|
403 |
+
</div>
|
404 |
+
</div>
|
405 |
+
<div id="fm_popup_container" class="hidden fm_popup_container">
|
406 |
+
<div class="fm-popup-overlay" onclick="fm_popup_toggle('fm_popup_container'); return false;"></div>
|
407 |
+
<div id="fm-header-content" class="fm-popup-wrap">
|
408 |
+
<div class="fm-section-header">
|
409 |
+
<label><?php _e('Form Header', WDFMInstance(self::PLUGIN)->prefix); ?></label>
|
410 |
+
</div>
|
411 |
+
<div class="fm-section">
|
412 |
+
<div class="fm-row">
|
413 |
+
<label><?php _e('Title:', WDFMInstance(self::PLUGIN)->prefix); ?></label>
|
414 |
+
<input type="text" id="header_title" name="header_title" class="fm-check-change" value="<?php echo $row->header_title; ?>" data-initial-value="<?php echo $row->header_title; ?>" />
|
415 |
+
</div>
|
416 |
+
<div class="fm-row">
|
417 |
+
<label><?php _e('Description:', WDFMInstance(self::PLUGIN)->prefix); ?></label>
|
418 |
+
<div id="description_editor">
|
419 |
+
<input type="hidden" id="header_description_initial_value" value="<?php echo rawurlencode($row->header_description); ?>" />
|
420 |
+
<?php if (user_can_richedit() && $params['fm_enable_wp_editor']) {
|
421 |
+
wp_editor($row->header_description, 'header_description', array('teeny' => TRUE, 'textarea_name' => 'header_description', 'media_buttons' => FALSE, 'textarea_rows' => 5));
|
422 |
+
}
|
423 |
+
else { ?>
|
424 |
+
<textarea name="header_description" id="header_description" class="mce_editable fm-check-change" aria-hidden="true" data-initial-value="<?php echo $row->header_description; ?>"><?php echo $row->header_description; ?></textarea>
|
425 |
+
<?php
|
426 |
+
}
|
427 |
+
?>
|
428 |
+
</div>
|
429 |
+
</div>
|
430 |
+
<div class="fm-row">
|
431 |
+
<label><?php _e('Image:', WDFMInstance(self::PLUGIN)->prefix); ?></label>
|
432 |
+
<input type="text" id="header_image_url" name="header_image_url" class="fm-check-change" value="<?php echo $row->header_image_url; ?>" data-initial-value="<?php echo $row->header_image_url; ?>" />
|
433 |
+
<button class="button add-button medium" onclick="fmOpenMediaUploader(event); return false;"><?php _e('Add Image', WDFMInstance(self::PLUGIN)->prefix); ?></button>
|
434 |
+
<?php $header_bg = $row->header_image_url ? 'background-image: url('.$row->header_image_url.'); background-position: center;' : ''; ?>
|
435 |
+
<div id="header_image" class="header_img<?php if (!$row->header_image_url) echo ' fm-hide'; ?>" style="<?php echo $header_bg; ?>">
|
436 |
+
<button type="button" id="remove_header_img" onclick="fmRemoveHeaderImage(event); return false;">
|
437 |
+
<i class="mce-ico mce-i-dashicon dashicons-no"></i>
|
438 |
+
</button>
|
439 |
+
</div>
|
440 |
+
</div>
|
441 |
+
<div class="fm-row">
|
442 |
+
<label><?php _e('Image Animation:', WDFMInstance(self::PLUGIN)->prefix); ?></label>
|
443 |
+
<select name="header_image_animation" class="fm-check-change" data-initial-value="<?php echo $row->header_image_animation; ?>">
|
444 |
+
<?php
|
445 |
+
foreach($animation_effects as $anim_key => $animation_effect){
|
446 |
+
$selected = $row->header_image_animation == $anim_key ? 'selected="selected"' : '';
|
447 |
+
echo '<option value="'.$anim_key.'" '.$selected.'>'.$animation_effect.'</option>';
|
448 |
+
}
|
449 |
+
?>
|
450 |
+
</select>
|
451 |
+
</div>
|
452 |
+
<div class="fm-row">
|
453 |
+
<label for="header_hide_image" class="fm-label-inline"><?php _e('Hide Image on Mobile:', WDFMInstance(self::PLUGIN)->prefix); ?></label>
|
454 |
+
<input type="checkbox" id="header_hide_image" name="header_hide_image" value="1" data-initial-value="<?php echo $row->header_hide_image; ?>" <?php echo $row->header_hide_image == '1' ? 'checked="checked"' : '' ?> />
|
455 |
+
</div>
|
456 |
+
<div class="fm-row fm-align-right">
|
457 |
+
<button class="button button-primary button-large" onclick="fm_popup_toggle('fm_popup_container'); return false;"><?php _e('Done', WDFMInstance(self::PLUGIN)->prefix); ?></button>
|
458 |
+
</div>
|
459 |
+
</div>
|
460 |
+
</div>
|
461 |
+
</div>
|
462 |
<div class="fm-edit-content">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
463 |
<div style="display: table; width: 100%;" id="page_bar">
|
464 |
<div id="page_navigation" style="display: table-row;">
|
465 |
<div align="center" id="pages" show_title="<?php echo $row->show_title; ?>" show_numbers="<?php echo $row->show_numbers; ?>" type="<?php echo $row->pagination; ?>" style="display: table-cell; width:90%;"></div>
|
466 |
+
<div align="left" id="edit_page_navigation" title="<?php _e('Edit page navigation.', WDFMInstance(self::PLUGIN)->prefix); ?>"></div>
|
467 |
</div>
|
468 |
</div>
|
469 |
<div id="take" class="main">
|
477 |
</div>
|
478 |
|
479 |
<div type="type_text" class="wdform_field">
|
480 |
+
<div class="add-new-button button-primary" onclick="popup_ready(); Enable(); return false;" title="<?php _e('Drag icon to the form or click here to add a field.', WDFMInstance(self::PLUGIN)->prefix); ?>">
|
481 |
<span class="dashicons dashicons-move"></span>
|
482 |
<?php _e('New Field', WDFMInstance(self::PLUGIN)->prefix); ?>
|
483 |
</div>
|
contact-form-maker.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Contact Form Maker
|
4 |
* Plugin URI: https://web-dorado.com/products/form-maker-wordpress.html
|
5 |
* Description: WordPress Contact Form Maker is a simple contact form builder, which allows the user with almost no knowledge of programming to create and edit different type of contact forms.
|
6 |
-
* Version: 1.12.
|
7 |
* Author: WebDorado Form Builder Team
|
8 |
* Author URI: https://web-dorado.com/wordpress-plugins-bundle.html
|
9 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
@@ -95,8 +95,8 @@ final class WDCFM {
|
|
95 |
$this->plugin_url = plugins_url(plugin_basename(dirname(__FILE__)));
|
96 |
$this->front_urls = $this->get_front_urls();
|
97 |
$this->main_file = plugin_basename(__FILE__);
|
98 |
-
$this->plugin_version = '1.12.
|
99 |
-
$this->db_version = '2.12.
|
100 |
$this->menu_postfix = ($this->is_free == 2 ? '_fmc' : '_fm');
|
101 |
$this->plugin_postfix = ($this->is_free == 2 ? '_fmc' : '');
|
102 |
$this->menu_slug = 'manage' . $this->menu_postfix;
|
@@ -222,8 +222,15 @@ final class WDCFM {
|
|
222 |
add_action('elementor/widgets/widgets_registered', array($this, 'register_elementor_widget'));
|
223 |
// Register 10Web category for Elementor widget if 10Web builder doesn't installed.
|
224 |
add_action('elementor/elements/categories_registered', array($this, 'register_widget_category'), 1, 1);
|
|
|
|
|
225 |
}
|
226 |
|
|
|
|
|
|
|
|
|
|
|
227 |
/**
|
228 |
* Register widget for Elementor builder.
|
229 |
*/
|
3 |
* Plugin Name: Contact Form Maker
|
4 |
* Plugin URI: https://web-dorado.com/products/form-maker-wordpress.html
|
5 |
* Description: WordPress Contact Form Maker is a simple contact form builder, which allows the user with almost no knowledge of programming to create and edit different type of contact forms.
|
6 |
+
* Version: 1.12.39
|
7 |
* Author: WebDorado Form Builder Team
|
8 |
* Author URI: https://web-dorado.com/wordpress-plugins-bundle.html
|
9 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
95 |
$this->plugin_url = plugins_url(plugin_basename(dirname(__FILE__)));
|
96 |
$this->front_urls = $this->get_front_urls();
|
97 |
$this->main_file = plugin_basename(__FILE__);
|
98 |
+
$this->plugin_version = '1.12.39';
|
99 |
+
$this->db_version = '2.12.39';
|
100 |
$this->menu_postfix = ($this->is_free == 2 ? '_fmc' : '_fm');
|
101 |
$this->plugin_postfix = ($this->is_free == 2 ? '_fmc' : '');
|
102 |
$this->menu_slug = 'manage' . $this->menu_postfix;
|
222 |
add_action('elementor/widgets/widgets_registered', array($this, 'register_elementor_widget'));
|
223 |
// Register 10Web category for Elementor widget if 10Web builder doesn't installed.
|
224 |
add_action('elementor/elements/categories_registered', array($this, 'register_widget_category'), 1, 1);
|
225 |
+
//fires after elementor editor styles and scripts are enqueued.
|
226 |
+
add_action('elementor/editor/after_enqueue_styles', array($this, 'enqueue_editor_styles'), 11);
|
227 |
}
|
228 |
|
229 |
+
public function enqueue_editor_styles() {
|
230 |
+
wp_enqueue_style('twbb-editor-styles', $this->plugin_url . '/css/fm_elementor_icon/fm_elementor_icon.css', array(), '1.0.0');
|
231 |
+
}
|
232 |
+
|
233 |
+
|
234 |
/**
|
235 |
* Register widget for Elementor builder.
|
236 |
*/
|
css/fm_elementor_icon/fm_elementor_icon.css
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@font-face {
|
2 |
+
font-family: 'twbb-icons';
|
3 |
+
src: url('../../fonts/twbb-icons.eot');
|
4 |
+
src: url('../../fonts/twbb-icons.eot') format('embedded-opentype'),
|
5 |
+
url('../../fonts/twbb-icons.ttf') format('truetype'),
|
6 |
+
url('../../fonts/twbb-icons.woff') format('woff'),
|
7 |
+
url('../../fonts/twbb-icon.svg') format('svg');
|
8 |
+
font-weight: normal;
|
9 |
+
font-style: normal;
|
10 |
+
}
|
11 |
+
|
12 |
+
.twbb-widget-icon {
|
13 |
+
/* use !important to prevent issues with browser extensions that change fonts */
|
14 |
+
font-family: 'twbb-icons' !important;
|
15 |
+
speak: none;
|
16 |
+
font-style: normal;
|
17 |
+
font-weight: normal;
|
18 |
+
font-variant: normal;
|
19 |
+
text-transform: none;
|
20 |
+
line-height: 1;
|
21 |
+
/* Better Font Rendering =========== */
|
22 |
+
-webkit-font-smoothing: antialiased;
|
23 |
+
-moz-osx-font-smoothing: grayscale;
|
24 |
+
}
|
25 |
+
|
26 |
+
.twbb-widget-icon:before {
|
27 |
+
color: #556068;
|
28 |
+
}
|
29 |
+
|
30 |
+
.elementor-element:hover .twbb-widget-icon:before {
|
31 |
+
color: #d30c5c;
|
32 |
+
}
|
33 |
+
|
34 |
+
/*ICONS*/
|
35 |
+
|
36 |
+
.twbb-photo-gallery.twbb-widget-icon:before {
|
37 |
+
content: "\e906";
|
38 |
+
color: #556068;
|
39 |
+
}
|
40 |
+
.twbb-slider-wd.twbb-widget-icon:before {
|
41 |
+
content: "\e907";
|
42 |
+
color: #556068;
|
43 |
+
}
|
44 |
+
.twbb-form-maker.twbb-widget-icon:before {
|
45 |
+
content: "\e908";
|
46 |
+
color: #556068;
|
47 |
+
}
|
css/form_maker_frontend.css
CHANGED
@@ -1038,4 +1038,4 @@ div[type="type_slider"] .label {
|
|
1038 |
.fm-form-container .fm-form .fm-gdpr-checkbox {
|
1039 |
display: initial !important;
|
1040 |
margin-right: 5px;
|
1041 |
-
}
|
1038 |
.fm-form-container .fm-form .fm-gdpr-checkbox {
|
1039 |
display: initial !important;
|
1040 |
margin-right: 5px;
|
1041 |
+
}
|
css/form_maker_tables.css
CHANGED
@@ -2607,10 +2607,10 @@ button:focus {
|
|
2607 |
margin-bottom: 7px;
|
2608 |
}
|
2609 |
#field_container.field_container_full .field_options {
|
2610 |
-
width: calc(70% -
|
2611 |
}
|
2612 |
#field_container.field_container_full .field_preview {
|
2613 |
-
width: calc(30% -
|
2614 |
}
|
2615 |
@media screen and (max-width: 1050px) {
|
2616 |
#field_container,
|
@@ -2634,7 +2634,6 @@ p.fm-validate-description {
|
|
2634 |
display: inline-block;
|
2635 |
vertical-align: middle;
|
2636 |
width: 100%;
|
2637 |
-
max-width: 487px;
|
2638 |
}
|
2639 |
#header_description {
|
2640 |
width: 100%;
|
@@ -2658,12 +2657,15 @@ p.fm-validate-description {
|
|
2658 |
width: 100%;
|
2659 |
}
|
2660 |
.form_id_tempform_view_img {
|
2661 |
-
background: #
|
2662 |
display: flex;
|
2663 |
flex-basis: inherit;
|
2664 |
justify-content: space-between;
|
2665 |
padding: 10px;
|
2666 |
}
|
|
|
|
|
|
|
2667 |
|
2668 |
.wdform_table1 {
|
2669 |
color: #000000;
|
@@ -3043,6 +3045,9 @@ textarea[readonly] {
|
|
3043 |
.page_toolbar.dashicons {
|
3044 |
font-size: 25px;
|
3045 |
}
|
|
|
|
|
|
|
3046 |
.page_toolbar.dashicons-no,
|
3047 |
.page_toolbar.dashicons-no-alt,
|
3048 |
.page_toolbar.dashicons-dismiss {
|
@@ -3112,8 +3117,20 @@ textarea[readonly] {
|
|
3112 |
.wdform_column .wdform_arrows_advanced {
|
3113 |
top: 30px;
|
3114 |
}
|
3115 |
-
|
3116 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3117 |
color: #e5e5e5;
|
3118 |
font-size: 27px;
|
3119 |
line-height: 27px;
|
@@ -3122,7 +3139,6 @@ textarea[readonly] {
|
|
3122 |
}
|
3123 |
.wdform_column:not(#add_field_cont) {
|
3124 |
border: 1px solid #e5e5e5 !important;
|
3125 |
-
box-shadow: 0 1px 1px rgba(0,0,0,.04);
|
3126 |
display: inline-block;
|
3127 |
flex: 1;
|
3128 |
margin: 10px;
|
@@ -3184,9 +3200,40 @@ textarea[readonly] {
|
|
3184 |
background: #ccc;
|
3185 |
}
|
3186 |
|
3187 |
-
.
|
3188 |
-
{
|
3189 |
-
border:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3190 |
visibility: visible !important;
|
3191 |
height: 80px !important;
|
3192 |
width: 100% !important;
|
@@ -3335,7 +3382,7 @@ input:focus{
|
|
3335 |
position: relative;
|
3336 |
background:#fff;
|
3337 |
margin: 20px 0;
|
3338 |
-
padding: 15px 10px;
|
3339 |
}
|
3340 |
|
3341 |
.fm-drag-and-drop {
|
@@ -3461,7 +3508,6 @@ div.ui-datepicker{
|
|
3461 |
height: 120px;
|
3462 |
background-size: cover;
|
3463 |
margin-top: 10px;
|
3464 |
-
margin-left: 20%;
|
3465 |
}
|
3466 |
@media screen and (max-width: 782px) {
|
3467 |
.fm-row label {
|
@@ -4369,4 +4415,99 @@ li.pp_selected > span {
|
|
4369 |
|
4370 |
.wd-text-center {
|
4371 |
text-align: center;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4372 |
}
|
2607 |
margin-bottom: 7px;
|
2608 |
}
|
2609 |
#field_container.field_container_full .field_options {
|
2610 |
+
width: calc(70% - 8px);
|
2611 |
}
|
2612 |
#field_container.field_container_full .field_preview {
|
2613 |
+
width: calc(30% - 8px);
|
2614 |
}
|
2615 |
@media screen and (max-width: 1050px) {
|
2616 |
#field_container,
|
2634 |
display: inline-block;
|
2635 |
vertical-align: middle;
|
2636 |
width: 100%;
|
|
|
2637 |
}
|
2638 |
#header_description {
|
2639 |
width: 100%;
|
2657 |
width: 100%;
|
2658 |
}
|
2659 |
.form_id_tempform_view_img {
|
2660 |
+
background: #FBFBFB;
|
2661 |
display: flex;
|
2662 |
flex-basis: inherit;
|
2663 |
justify-content: space-between;
|
2664 |
padding: 10px;
|
2665 |
}
|
2666 |
+
.form_id_tempform_view_img:not(.form_view_hide)+.wdform_page {
|
2667 |
+
border-top: 1px solid #e5e5e5 !important;
|
2668 |
+
}
|
2669 |
|
2670 |
.wdform_table1 {
|
2671 |
color: #000000;
|
3045 |
.page_toolbar.dashicons {
|
3046 |
font-size: 25px;
|
3047 |
}
|
3048 |
+
.page_toolbar.dashicons-dismiss {
|
3049 |
+
display: none;
|
3050 |
+
}
|
3051 |
.page_toolbar.dashicons-no,
|
3052 |
.page_toolbar.dashicons-no-alt,
|
3053 |
.page_toolbar.dashicons-dismiss {
|
3117 |
.wdform_column .wdform_arrows_advanced {
|
3118 |
top: 30px;
|
3119 |
}
|
3120 |
+
|
3121 |
+
.wdform_row.ui-sortable-handle.ui-sortable-helper,
|
3122 |
+
.wdform_column:not(#add_field_cont).ui-sortable.ui-sortable-helper,
|
3123 |
+
.wdform-page-and-images.ui-sortable-helper {
|
3124 |
+
border: 1px dashed #0085BA !important;
|
3125 |
+
}
|
3126 |
+
#fm_admin_container .wdform_page .wdform_section .wdform_column.ui-sortable:nth-child(n+5):empty {
|
3127 |
+
display: none;
|
3128 |
+
}
|
3129 |
+
#fm_admin_container .wdform_page .wdform_section .wdform_column.ui-sortable:empty:after {
|
3130 |
+
content: "Drop a field here to create a new column.";
|
3131 |
+
}
|
3132 |
+
#fm_admin_container .wdform_page .wdform_section .wdform_column.ui-sortable:empty {
|
3133 |
+
border: 1px solid #e5e5e5 !important;
|
3134 |
color: #e5e5e5;
|
3135 |
font-size: 27px;
|
3136 |
line-height: 27px;
|
3139 |
}
|
3140 |
.wdform_column:not(#add_field_cont) {
|
3141 |
border: 1px solid #e5e5e5 !important;
|
|
|
3142 |
display: inline-block;
|
3143 |
flex: 1;
|
3144 |
margin: 10px;
|
3200 |
background: #ccc;
|
3201 |
}
|
3202 |
|
3203 |
+
.wdform_column:not(#add_field_cont).highlight,
|
3204 |
+
.highlight:not(.country) {
|
3205 |
+
border: 1px dashed #141414 !important;
|
3206 |
+
}
|
3207 |
+
|
3208 |
+
.wdform_column.ui-sortable-helper {
|
3209 |
+
/*height: 80px !important;
|
3210 |
+
overflow: hidden;*/
|
3211 |
+
}
|
3212 |
+
|
3213 |
+
.wdform_section_handle {
|
3214 |
+
width: 100%;
|
3215 |
+
height: 30px;
|
3216 |
+
}
|
3217 |
+
|
3218 |
+
.fm-divider {
|
3219 |
+
border-bottom: 1px solid #E5E5E5;
|
3220 |
+
margin: 0 10px;
|
3221 |
+
}
|
3222 |
+
|
3223 |
+
.wdform_section_handle .dashicons-move,
|
3224 |
+
.form_id_tempform_view_img .dashicons-move {
|
3225 |
+
color: #CCCCCC;
|
3226 |
+
cursor: move;
|
3227 |
+
font-size: 18px;
|
3228 |
+
margin: 5px 5px 4px 10px;
|
3229 |
+
}
|
3230 |
+
|
3231 |
+
.form_id_tempform_view_img .dashicons-move {
|
3232 |
+
font-size: 18px;
|
3233 |
+
margin: 0 10px 0 0;
|
3234 |
+
}
|
3235 |
+
|
3236 |
+
.highlight:not(.country) {
|
3237 |
visibility: visible !important;
|
3238 |
height: 80px !important;
|
3239 |
width: 100% !important;
|
3382 |
position: relative;
|
3383 |
background:#fff;
|
3384 |
margin: 20px 0;
|
3385 |
+
padding: 50px 10px 15px 10px;
|
3386 |
}
|
3387 |
|
3388 |
.fm-drag-and-drop {
|
3508 |
height: 120px;
|
3509 |
background-size: cover;
|
3510 |
margin-top: 10px;
|
|
|
3511 |
}
|
3512 |
@media screen and (max-width: 782px) {
|
3513 |
.fm-row label {
|
4415 |
|
4416 |
.wd-text-center {
|
4417 |
text-align: center;
|
4418 |
+
}
|
4419 |
+
|
4420 |
+
.fm-section-header {
|
4421 |
+
border-bottom: 1px solid #E5E5E5;
|
4422 |
+
color: #32373C;
|
4423 |
+
padding: 23px 0;
|
4424 |
+
}
|
4425 |
+
.fm-section-header label {
|
4426 |
+
font-size: 20px;
|
4427 |
+
margin: 0 50px;
|
4428 |
+
}
|
4429 |
+
.fm-alert-header {
|
4430 |
+
padding: 30px 0;
|
4431 |
+
text-align: center;
|
4432 |
+
}
|
4433 |
+
.fm-alert-body {
|
4434 |
+
text-align: center;
|
4435 |
+
}
|
4436 |
+
.fm-alert-header label {
|
4437 |
+
color: #32373C;
|
4438 |
+
font-size: 20px;
|
4439 |
+
}
|
4440 |
+
.fm-section {
|
4441 |
+
padding: 10px 50px;
|
4442 |
+
}
|
4443 |
+
.fm-section .fm-row label {
|
4444 |
+
display: block;
|
4445 |
+
font-size: 16px;
|
4446 |
+
margin-bottom: 10px;
|
4447 |
+
width: 100%;
|
4448 |
+
}
|
4449 |
+
.fm-section .fm-row label.fm-label-inline {
|
4450 |
+
display: inline;
|
4451 |
+
}
|
4452 |
+
#header_hide_image {
|
4453 |
+
margin: auto;
|
4454 |
+
}
|
4455 |
+
.fm-section .fm-row .add-button {
|
4456 |
+
width: 100px;
|
4457 |
+
vertical-align: initial;
|
4458 |
+
}
|
4459 |
+
#header_image_url {
|
4460 |
+
width: calc(100% - 110px);
|
4461 |
+
}
|
4462 |
+
.fm-section .fm-row input[type="text"], .fm-section .fm-row select {
|
4463 |
+
width: 100%;
|
4464 |
+
padding: 5px;
|
4465 |
+
border: 1px solid #D2CFCF;
|
4466 |
+
height: 30px;
|
4467 |
+
max-width: none;
|
4468 |
+
line-height: 30px;
|
4469 |
+
box-shadow: none;
|
4470 |
+
}
|
4471 |
+
.fm_popup_container {
|
4472 |
+
position: fixed;
|
4473 |
+
top: 0;
|
4474 |
+
right: 0;
|
4475 |
+
bottom: 0;
|
4476 |
+
left: 0;
|
4477 |
+
background: #000000b3;
|
4478 |
+
z-index: 100500;
|
4479 |
+
}
|
4480 |
+
.fm_popup_container .fm-popup-overlay {
|
4481 |
+
position: absolute;
|
4482 |
+
top: 0;
|
4483 |
+
right: 0;
|
4484 |
+
bottom: 0;
|
4485 |
+
left: 0;
|
4486 |
+
}
|
4487 |
+
.fm_popup_container .fm-popup-wrap {
|
4488 |
+
background: #fff;
|
4489 |
+
font-size: 0;
|
4490 |
+
height: 100%;
|
4491 |
+
width: 100%;
|
4492 |
+
position: absolute;
|
4493 |
+
margin: auto;
|
4494 |
+
top: 0;
|
4495 |
+
bottom: 0;
|
4496 |
+
right: 0;
|
4497 |
+
left: 0;
|
4498 |
+
overflow-y: auto;
|
4499 |
+
}
|
4500 |
+
#fm_popup_container .fm-popup-wrap {
|
4501 |
+
max-width: 710px;
|
4502 |
+
max-height: 600px;
|
4503 |
+
}
|
4504 |
+
#fm_delete_page_popup_container .fm-popup-wrap {
|
4505 |
+
max-width: 744px;
|
4506 |
+
max-height: 155px;
|
4507 |
+
}
|
4508 |
+
.fm-disable-scroll {
|
4509 |
+
overflow: hidden;
|
4510 |
+
}
|
4511 |
+
.fm-align-right {
|
4512 |
+
text-align: right;
|
4513 |
}
|
fonts/twbb-icon.svg
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" standalone="no"?>
|
2 |
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
3 |
+
<svg xmlns="http://www.w3.org/2000/svg">
|
4 |
+
<metadata>Generated by IcoMoon</metadata>
|
5 |
+
<defs>
|
6 |
+
<font id="twbb-icons" horiz-adv-x="1024">
|
7 |
+
<font-face units-per-em="1024" ascent="960" descent="-64" />
|
8 |
+
<missing-glyph horiz-adv-x="1024" />
|
9 |
+
<glyph unicode=" " horiz-adv-x="512" d="" />
|
10 |
+
<glyph unicode="" glyph-name="share-buttons" horiz-adv-x="663" d="M420.793 222.473c-7.286 3.871-15.914 6.184-25.074 6.285h-0.032c-15.75-1.033-29.684-8.054-39.692-18.785l-0.032-0.035-50.176 29.272c3.967 7.634 6.293 16.668 6.293 26.245 0 0.332-0.003 0.663-0.008 0.994l0.001-0.050c-0.199 8.291-1.709 16.165-4.33 23.512l0.163-0.525 50.176 29.272c9.006-11.070 22.431-18.245 37.547-18.818l0.094-0.003c9.191 0.104 17.819 2.417 25.409 6.431l-0.303-0.146c10.769 6.738 18.873 16.877 22.877 28.89l0.11 0.382c1.319 4.179 2.078 8.986 2.078 13.969 0 8.704-2.317 16.866-6.368 23.904l0.124-0.233c-8.559 14.651-23.969 24.485-41.722 25.103l-0.086 0.002c-9.191-0.099-17.82-2.413-25.408-6.431l0.302 0.146c-10.771-6.736-18.876-16.876-22.877-28.891l-0.11-0.382c-0.933-3.708-1.468-7.965-1.468-12.347 0-6.838 1.304-13.371 3.676-19.365l-0.124 0.356-50.176-29.272c-11.552 16.494-30.468 27.145-51.872 27.145-34.716 0-62.888-28.021-63.133-62.679v-0.023c0.864-34.301 28.445-61.883 62.665-62.745l0.081-0.002c20.353 0.442 38.361 10.106 50.070 24.966l0.106 0.139 52.259-29.272c-2.081-5.29-3.287-11.416-3.287-17.824 0-18.073 9.596-33.906 23.971-42.679l0.22-0.125c7.285-3.872 15.914-6.186 25.074-6.285h0.031c18.32 1.091 34.186 10.709 43.798 24.906l0.128 0.2c2.599 5.983 4.111 12.952 4.111 20.275 0 18.78-9.947 35.237-24.859 44.39l-0.227 0.129zM362.249 358.382c2.498 9.148 8.557 16.567 16.557 20.816l0.18 0.087c4.899 2.247 10.593 3.739 16.582 4.158l0.155 0.009c0.139 0.002 0.304 0.003 0.469 0.003 12.875 0 24.208-6.6 30.801-16.602l0.086-0.138c3.139-5.567 4.988-12.222 4.988-19.309 0-2.789-0.286-5.511-0.831-8.138l0.045 0.258c-2.493-9.15-8.554-16.571-16.557-20.817l-0.18-0.087c-5.137-3.229-11.382-5.145-18.075-5.145-12.847 0-24.045 7.058-29.928 17.508l-0.089 0.172c-3.896 4.559-6.267 10.524-6.267 17.043 0 3.689 0.759 7.201 2.131 10.388l-0.065-0.171zM247.243 216.188c-27.711 0-50.176 22.465-50.176 50.176s22.465 50.176 50.176 50.176c27.711 0 50.176-22.465 50.176-50.176v0c-0.411-27.537-22.636-49.749-50.139-50.14h-0.037zM427.079 161.81c-5.972-10.622-17.171-17.68-30.017-17.68-6.693 0-12.939 1.916-18.218 5.229l0.143-0.084c-10.538 6.1-17.514 17.321-17.514 30.171 0 6.62 1.852 12.808 5.065 18.074l-0.087-0.153c6.678 10.14 18.012 16.74 30.887 16.74 0.165 0 0.33-0.001 0.494-0.003h-0.025c0.104 0.001 0.228 0.002 0.351 0.002 18.858 0 34.145-15.287 34.145-34.145 0-6.729-1.946-13.003-5.307-18.29l0.082 0.139zM496.040 960h-496.040v-1024h662.599v836.22zM499.571 928.221l131.107-155.895h-131.072zM646.638-42.814h-628.983v985.159h460.694v-187.78h159.462l5.332-797.237zM46.045 758.060h325.985v-21.257h-325.985v21.257zM46.045 843.087h191.347v-21.257h-191.347v21.257zM46.045 683.626h435.836v-21.257h-435.836v21.257zM46.045 612.793h566.908v-21.257h-566.908v21.257zM46.045 474.589v-418.11h566.908v418.11zM591.695 453.402v-375.596h-524.465v375.596z" />
|
11 |
+
<glyph unicode="" glyph-name="pricing-table" horiz-adv-x="1439" d="M1439.214 175.298v0 721.355h-457.587v63.347h-524.182v-66.842h-457.446v-890.315h457.446v-66.842h524.182v66.842h457.587zM28.142 175.298h429.303v-147.809h-429.197zM1414.603 200.015h-432.975v668.495h429.444v-668.601zM482.092 935.283h475.065v-756.489h-475.065v756.489zM457.375 199.839h-429.127v668.672h429.197v-668.601zM482.092 2.772v0 151.411h475.065v-193.465h-475.065zM981.628 175.298h429.444v-147.809h-429.444zM70.374 769.995h337.814v-21.116h-337.814v21.116zM87.993 678.471h302.61v-21.116h-302.61v21.116zM133.72 590.513h211.121v-21.116h-211.121v21.116zM1027.531 769.995h337.814v-21.116h-337.814v21.116zM1045.116 678.471h302.61v-21.116h-302.61v21.116zM1090.878 590.513h211.121v-21.116h-211.121v21.116zM548.935 850.926h337.814v-21.116h-337.814v21.116zM566.554 759.437h302.61v-21.116h-302.61v21.116zM612.281 674.975h211.121v-21.116h-211.121v21.116zM1104.967 122.509h182.978v-45.762h-182.978v45.762zM147.809 122.509h182.978v-45.762h-182.978v45.762zM626.37 69.72h182.978v-45.762h-182.978v45.762zM711.362 382.146c1.126-0.11 2.433-0.173 3.756-0.173 7.739 0 14.975 2.152 21.143 5.89l-0.182-0.102c4.305 3.206 7.063 8.281 7.063 14 0 0.044 0 0.087 0 0.13v-0.007c0.005 0.17 0.008 0.369 0.008 0.569 0 3.871-1.149 7.474-3.125 10.485l0.045-0.073c-2.221 3.186-4.958 5.844-8.115 7.911l-0.112 0.069c-3.405 2.27-7.31 4.343-11.419 6.019l-0.446 0.161q-6.744 2.754-13.806 5.261t-13.594 5.614c-4.586 2.096-8.538 4.623-12.082 7.619l0.076-0.063c-3.471 2.929-6.341 6.441-8.487 10.404l-0.094 0.189c-2.104 4.202-3.336 9.155-3.336 14.396 0 0.364 0.006 0.726 0.018 1.088l-0.001-0.053c-0.018 0.43-0.028 0.935-0.028 1.442 0 9.712 3.699 18.56 9.765 25.212l-0.027-0.030c7.375 7.25 17.167 12.062 28.058 13.12l0.19 0.015v26.271h18.962v-25.6c6.794-0.274 13.226-1.173 19.437-2.644l-0.687 0.137c5.548-1.249 10.131-2.585 14.602-4.161l-0.901 0.277-4.343-17.655q-5.473 2.048-13.7 4.237c-5.638 1.381-12.111 2.173-18.769 2.173-0.627 0-1.252-0.007-1.875-0.021l0.093 0.002c-0.678 0.045-1.47 0.071-2.267 0.071-6.999 0-13.534-1.985-19.073-5.422l0.155 0.089c-4.513-3.129-7.432-8.283-7.432-14.118 0-0.263 0.006-0.525 0.018-0.785l-0.001 0.037c-0.006-0.166-0.009-0.362-0.009-0.558 0-3.062 0.802-5.937 2.207-8.426l-0.044 0.086c1.635-2.617 3.738-4.786 6.209-6.449l0.076-0.048c2.797-1.93 5.994-3.66 9.373-5.034l0.337-0.121q5.614-2.295 12.465-4.802 8.898-3.531 16.914-7.062c5.396-2.429 10.047-5.372 14.218-8.869l-0.094 0.076c3.959-3.364 7.214-7.42 9.606-11.997l0.105-0.22c2.243-4.63 3.554-10.070 3.554-15.817 0-0.46-0.008-0.919-0.025-1.375l0.002 0.066c0.022-0.473 0.035-1.027 0.035-1.584 0-9.54-3.753-18.204-9.864-24.595l0.013 0.013c-8.107-7.183-18.642-11.791-30.233-12.458l-0.134-0.006v-29.484h-18.962v28.778c-9.285 0.037-18.254 1.324-26.768 3.7l0.709-0.169c-5.813 1.654-10.817 3.638-15.566 6.051l0.488-0.225 5.72 17.126c4.552-2.129 10.018-4.152 15.666-5.742l0.789-0.19c6.458-1.7 13.872-2.676 21.514-2.676 0.779 0 1.555 0.010 2.329 0.030l-0.114-0.002zM233.225 346.165c0.881-0.087 1.905-0.136 2.941-0.136 6.005 0 11.62 1.665 16.41 4.559l-0.142-0.080c3.358 2.497 5.51 6.453 5.51 10.912 0 0.074-0.001 0.148-0.002 0.222v-0.011c0.004 0.126 0.006 0.275 0.006 0.425 0 3.020-0.898 5.829-2.442 8.177l0.035-0.056c-1.726 2.48-3.851 4.549-6.304 6.161l-0.087 0.054c-2.655 1.765-5.7 3.377-8.904 4.677l-0.348 0.125q-5.261 2.119-10.593 4.096t-10.593 4.343c-3.575 1.625-6.655 3.586-9.418 5.912l0.061-0.050c-2.709 2.313-4.944 5.088-6.6 8.217l-0.073 0.152c-1.634 3.269-2.59 7.121-2.59 11.197 0 0.284 0.005 0.568 0.014 0.85l-0.001-0.041c-0.014 0.333-0.021 0.723-0.021 1.116 0 7.562 2.878 14.452 7.599 19.635l-0.021-0.023c5.735 5.641 13.346 9.391 21.813 10.228l0.15 0.012v20.48h14.76v-19.915c5.283-0.211 10.286-0.908 15.118-2.049l-0.535 0.106c4.297-0.982 7.839-2.026 11.294-3.254l-0.701 0.217-3.531-13.877q-4.273 1.589-10.593 3.284c-4.412 1.086-9.478 1.709-14.689 1.709-0.472 0-0.942-0.005-1.412-0.015l0.070 0.001c-0.514 0.033-1.114 0.052-1.718 0.052-5.451 0-10.541-1.544-14.857-4.218l0.121 0.070c-3.524-2.438-5.803-6.458-5.803-11.011 0-0.201 0.004-0.401 0.013-0.599l-0.001 0.028c-0.007-0.157-0.010-0.34-0.010-0.525 0-2.401 0.632-4.655 1.74-6.603l-0.035 0.066c1.275-2.049 2.917-3.747 4.849-5.047l0.059-0.037c2.176-1.493 4.664-2.833 7.293-3.896l0.263-0.094q4.343-1.766 9.71-3.743 7.062-2.684 13.171-5.508c4.182-1.896 7.786-4.188 11.017-6.909l-0.071 0.058c3.082-2.625 5.616-5.79 7.475-9.362l0.081-0.172c1.812-3.664 2.871-7.978 2.871-12.539 0-0.284-0.004-0.567-0.012-0.85l0.001 0.041c0.017-0.362 0.027-0.787 0.027-1.213 0-7.438-2.93-14.192-7.698-19.171l0.009 0.010c-6.315-5.597-14.523-9.187-23.554-9.706l-0.104-0.005v-22.952h-14.76v22.422c-7.235 0.030-14.222 1.033-20.856 2.886l0.552-0.132c-4.521 1.333-8.408 2.918-12.093 4.836l0.37-0.175 4.449 13.347c3.546-1.66 7.804-3.237 12.203-4.478l0.615-0.148c5.053-1.336 10.853-2.104 16.833-2.104 0.587 0 1.173 0.007 1.756 0.022l-0.086-0.002zM1197.374 346.165c0.881-0.087 1.905-0.136 2.941-0.136 6.005 0 11.62 1.665 16.41 4.559l-0.142-0.080c3.358 2.497 5.51 6.453 5.51 10.912 0 0.074-0.001 0.148-0.002 0.222v-0.011c0.004 0.126 0.006 0.275 0.006 0.425 0 3.020-0.898 5.829-2.442 8.177l0.035-0.056c-1.726 2.48-3.851 4.549-6.304 6.161l-0.087 0.054c-2.655 1.765-5.7 3.377-8.904 4.677l-0.348 0.125q-5.261 2.119-10.593 4.096t-10.593 4.343c-3.575 1.625-6.655 3.586-9.418 5.912l0.061-0.050c-2.709 2.313-4.944 5.088-6.6 8.217l-0.073 0.152c-1.634 3.269-2.59 7.121-2.59 11.197 0 0.284 0.005 0.568 0.014 0.85l-0.001-0.041c-0.014 0.333-0.021 0.723-0.021 1.116 0 7.562 2.878 14.452 7.599 19.635l-0.021-0.023c5.735 5.641 13.346 9.391 21.813 10.228l0.15 0.012v20.48h14.76v-19.915c5.283-0.211 10.286-0.908 15.118-2.049l-0.535 0.106c4.297-0.982 7.839-2.026 11.294-3.254l-0.701 0.217-3.531-13.877q-4.273 1.589-10.593 3.284c-4.412 1.086-9.478 1.709-14.689 1.709-0.472 0-0.942-0.005-1.412-0.015l0.070 0.001c-0.514 0.033-1.114 0.052-1.718 0.052-5.451 0-10.541-1.544-14.857-4.218l0.121 0.070c-3.524-2.438-5.803-6.458-5.803-11.011 0-0.201 0.004-0.401 0.013-0.599l-0.001 0.028c-0.007-0.157-0.010-0.34-0.010-0.525 0-2.401 0.632-4.655 1.74-6.603l-0.035 0.066c1.275-2.049 2.917-3.747 4.849-5.047l0.059-0.037c2.176-1.493 4.664-2.833 7.293-3.896l0.263-0.094q4.343-1.766 9.71-3.743 7.062-2.684 13.171-5.508c4.182-1.896 7.786-4.188 11.017-6.909l-0.071 0.058c3.082-2.625 5.616-5.79 7.475-9.362l0.081-0.172c1.812-3.664 2.871-7.978 2.871-12.539 0-0.284-0.004-0.567-0.012-0.85l0.001 0.041c0.017-0.362 0.027-0.787 0.027-1.213 0-7.438-2.93-14.192-7.698-19.171l0.009 0.010c-6.315-5.597-14.523-9.187-23.554-9.706l-0.104-0.005v-22.952h-14.76v22.422c-7.235 0.030-14.222 1.033-20.856 2.886l0.552-0.132c-4.521 1.333-8.408 2.918-12.093 4.836l0.37-0.175 4.449 13.347c3.546-1.66 7.804-3.237 12.203-4.478l0.615-0.148c5.053-1.336 10.853-2.104 16.833-2.104 0.587 0 1.173 0.007 1.756 0.022l-0.086-0.002z" />
|
12 |
+
<glyph unicode="" glyph-name="posts" horiz-adv-x="670" d="M496.040 573.775h173.621v-46.045h-173.621v46.045zM248.020 605.661h226.763v-21.257h-226.763v21.257zM248.020 665.9h421.641v-21.257h-421.641v21.257zM248.020 548.988h226.763v-21.257h-226.763v21.257zM3.531 662.369v0l-3.531-138.169h152.364v138.169zM24.717 545.457v95.726h109.85v-95.656zM496.040 867.875h173.621v-46.045h-173.621v46.045zM248.020 903.292h226.763v-21.257h-226.763v21.257zM248.020 960h421.641v-21.257h-421.641v21.257zM248.020 843.087h226.763v-21.257h-226.763v21.257zM3.531 818.264h152.364v141.736h-152.364zM134.638 938.743v-95.656h-109.921v95.726zM496.040 279.711h173.621v-46.045h-173.621v46.045zM248.020 311.596h226.763v-21.257h-226.763v21.257zM248.020 371.836h421.641v-21.257h-421.641v21.257zM248.020 254.888h226.763v-21.257h-226.763v21.257zM3.531 368.269v0l-3.531-138.169h152.364v138.169zM24.717 251.357v95.726h109.85v-95.656zM496.040-14.389h173.621v-46.045h-173.621v46.045zM248.020 17.496h226.763v-21.257h-226.763v21.257zM248.020 77.736h421.641v-21.257h-421.641v21.257zM248.020-39.212h226.763v-21.257h-226.763v21.257zM3.531 74.169v0l-3.531-138.169h152.364v138.169zM24.717-42.743v95.726h109.85v-95.656z" />
|
13 |
+
<glyph unicode="" glyph-name="flip-box" horiz-adv-x="663" d="M499.606 960h-499.606v-1024h662.599v832.653zM637.775 750.963v-790.246h-620.12v978.097h460.694v-187.851zM499.606 772.149v156.072l131.107-155.895zM347.242 414.349h53.142v-17.726h-53.142v17.726zM449.995 414.349h53.142v-17.726h-53.142v17.726zM152.364 414.349h53.142v-17.726h-53.142v17.726zM109.85 414.349h17.726v-17.726h-17.726v17.726zM527.96 414.349h21.257v-17.726h-21.257v17.726zM248.020 414.349h53.142v-17.726h-53.142v17.726zM325.985 354.11l-223.232-205.506-3.531-3.531h457.092l-230.294 209.037zM155.895 169.86l170.090 155.895 170.090-155.895zM106.284 658.838l219.666-201.975 205.506 187.78 21.186 21.186-446.358-6.991zM325.95 485.217l-170.055 155.966h340.145z" />
|
14 |
+
<glyph unicode="" glyph-name="countdown" horiz-adv-x="3050" d="M1491.957 558.108h60.559v-44.043h-60.559v44.043zM1491.957 381.935h60.559v-44.043h-60.559v44.043zM44.043 514.065h44.043v-132.129h-44.043v132.129zM589.075 514.065h44.043v-132.129h-44.043v132.129zM765.247 514.065h44.043v-132.129h-44.043v132.129zM1310.28 514.065h44.043v-132.129h-44.043v132.129zM1690.151 514.065h44.043v-132.129h-44.043v132.129zM2235.183 514.065h44.043v-132.129h-44.043v132.129zM2416.86 514.065h44.043v-132.129h-44.043v132.129zM2961.892 514.065h44.043v-132.129h-44.043v132.129zM649.634-41.978h-627.613v467.957h-22.022v-489.978h666.151v489.978h-16.516v-467.957zM22.022 937.978h627.613v-467.957h22.022v489.978h-666.151v-489.978h16.516v467.957zM1370.839-41.978h-627.613v467.957h-16.516v-489.978h666.151v489.978h-22.022zM743.226 937.978h627.613v-467.957h22.022v489.978h-666.151v-489.978h16.516v467.957zM2301.247-41.978h-627.613v467.957h-16.516v-489.978h666.151v489.978h-22.022zM1679.14 937.978h627.613v-467.957h22.022v489.978h-666.151v-489.978h16.516v467.957zM2400.344 937.978h627.613v-467.957h22.022v489.978h-666.151v-489.978h16.516v467.957zM3022.452-41.978h-627.613v467.957h-16.516v-489.978h666.151v489.978h-22.022zM22.022 470.022h627.613v-44.043h-627.613v44.043zM2400.344 470.022h627.613v-44.043h-627.613v44.043zM743.226 470.022h627.613v-44.043h-627.613v44.043zM1679.14 470.022h627.613v-44.043h-627.613v44.043zM924.903 492.043c-0.903 9.645-1.419 20.856-1.419 32.188 0 56.273 12.704 109.579 35.399 157.206l-0.949-2.211c16.626 36.298 52.639 61.059 94.435 61.059 3.581 0 7.119-0.182 10.606-0.536l-0.438 0.036c0.446 0.006 0.973 0.010 1.501 0.010 44.086 0 82.528-24.17 102.796-59.981l0.306-0.587c20.922-55.080 33.036-118.767 33.036-185.284 0-0.668-0.001-1.335-0.004-2.002v0.103h71.57c0.346 6.26 0.543 13.586 0.543 20.959 0 75.481-20.656 146.138-56.623 206.626l1.026-1.864c-29.245 49.918-82.62 82.91-143.701 82.91-3.676 0-7.325-0.12-10.942-0.355l0.492 0.026c-3.083 0.197-6.684 0.309-10.312 0.309-59.827 0-112.535-30.479-143.444-76.757l-0.394-0.627c-31.822-58.531-50.531-128.172-50.531-202.183 0-10.219 0.357-20.355 1.058-30.396l-0.076 1.353zM1194.667 409.462c0.002-0.481 0.003-1.050 0.003-1.619 0-59.052-12.149-115.267-34.083-166.282l1.048 2.74c-20.108-36.861-58.583-61.451-102.802-61.451-18.694 0-36.361 4.395-52.025 12.208l0.676-0.305c-21.657 10.759-38.789 27.892-49.266 48.921l-0.283 0.627c-20.897 49.982-33.035 108.057-33.035 168.968 0 0.597 0.001 1.194 0.003 1.791v-0.092h-71.57c-0.044-2.213-0.070-4.822-0.070-7.436 0-74.42 20.486-144.055 56.126-203.574l-1.002 1.806c35.526-50.865 93.79-83.723 159.729-83.723 41.129 0 79.273 12.784 110.674 34.595l-0.64-0.42c17.427 11.986 32.056 26.616 43.676 43.479l0.367 0.564c31.354 56.135 49.816 123.159 49.816 194.495 0 5.173-0.097 10.323-0.29 15.449l0.022-0.74h-77.075zM1849.806 492.043c-0.903 9.645-1.419 20.856-1.419 32.188 0 56.273 12.704 109.579 35.399 157.206l-0.949-2.211c16.626 36.298 52.639 61.059 94.435 61.059 3.581 0 7.119-0.182 10.606-0.536l-0.438 0.036c0.446 0.006 0.973 0.010 1.501 0.010 44.086 0 82.528-24.17 102.796-59.981l0.306-0.587c20.922-55.080 33.036-118.767 33.036-185.284 0-0.668-0.001-1.335-0.004-2.002v0.103h71.57c0.346 6.26 0.543 13.586 0.543 20.959 0 75.481-20.656 146.138-56.623 206.626l1.026-1.864c-29.245 49.918-82.62 82.91-143.701 82.91-3.676 0-7.325-0.12-10.942-0.355l0.492 0.026c-3.083 0.197-6.684 0.309-10.312 0.309-59.827 0-112.535-30.479-143.444-76.757l-0.394-0.627c-31.822-58.531-50.531-128.172-50.531-202.183 0-10.219 0.357-20.355 1.058-30.396l-0.076 1.353zM2119.57 409.462c0.002-0.481 0.003-1.050 0.003-1.619 0-59.052-12.149-115.267-34.083-166.282l1.048 2.74c-20.108-36.861-58.583-61.451-102.802-61.451-18.694 0-36.361 4.395-52.025 12.208l0.676-0.305c-21.657 10.759-38.789 27.892-49.266 48.921l-0.283 0.627c-20.897 49.982-33.035 108.057-33.035 168.968 0 0.597 0.001 1.194 0.003 1.791v-0.092h-71.57c-0.044-2.213-0.070-4.822-0.070-7.436 0-74.42 20.486-144.055 56.126-203.574l-1.002 1.806c35.526-50.865 93.79-83.723 159.729-83.723 41.129 0 79.273 12.784 110.674 34.595l-0.64-0.42c17.427 11.986 32.056 26.616 43.676 43.479l0.367 0.564c31.354 56.135 49.816 123.159 49.816 194.495 0 5.173-0.097 10.323-0.29 15.449l0.022-0.74h-77.075zM2576.516 492.043c-0.903 9.645-1.419 20.856-1.419 32.188 0 56.273 12.704 109.579 35.399 157.206l-0.949-2.211c16.626 36.298 52.639 61.059 94.435 61.059 3.581 0 7.119-0.182 10.606-0.536l-0.438 0.036c0.446 0.006 0.973 0.010 1.501 0.010 44.086 0 82.528-24.17 102.796-59.981l0.306-0.587c20.922-55.080 33.036-118.767 33.036-185.284 0-0.668-0.001-1.335-0.004-2.002v0.103h71.57c0.346 6.26 0.543 13.586 0.543 20.959 0 75.481-20.656 146.138-56.623 206.626l1.026-1.864c-29.245 49.918-82.62 82.91-143.701 82.91-3.676 0-7.325-0.12-10.942-0.355l0.492 0.026c-3.083 0.197-6.684 0.309-10.312 0.309-59.827 0-112.535-30.479-143.444-76.757l-0.394-0.627c-31.822-58.531-50.531-128.172-50.531-202.183 0-10.219 0.357-20.355 1.058-30.396l-0.076 1.353zM2846.28 409.462c0.002-0.481 0.003-1.050 0.003-1.619 0-59.052-12.149-115.267-34.083-166.282l1.048 2.74c-20.108-36.861-58.583-61.451-102.802-61.451-18.694 0-36.361 4.395-52.025 12.208l0.676-0.305c-21.657 10.759-38.789 27.892-49.266 48.921l-0.283 0.627c-20.897 49.982-33.035 108.057-33.035 168.968 0 0.597 0.001 1.194 0.003 1.791v-0.092h-71.57c-0.044-2.213-0.070-4.822-0.070-7.436 0-74.42 20.486-144.055 56.126-203.574l-1.002 1.806c35.526-50.865 93.79-83.723 159.729-83.723 41.129 0 79.273 12.784 110.674 34.595l-0.64-0.42c17.427 11.986 32.056 26.616 43.676 43.479l0.367 0.564c31.354 56.135 49.816 123.159 49.816 194.495 0 5.173-0.097 10.323-0.29 15.449l0.022-0.74h-77.075zM313.806 409.462h71.57v-291.785h-71.57v291.785zM297.29 706.753c5.505 5.505 16.516 11.011 22.022 16.516 0-33.032-5.505-71.57-5.505-104.602v-132.129h71.57v313.806h-60.559l-165.161-126.624 38.538-49.548c29.979 29.099 62.32 56.2 96.552 80.838l2.545 1.743z" />
|
15 |
+
<glyph unicode="" glyph-name="call-to-action" horiz-adv-x="665" d="M0 960v-1024h665.070v1024zM21.186-39.283v974.566h619.343v-974.566h-619.343zM112.605 643.302h429.303v-21.116h-429.303v21.116zM112.605 544.786h429.303v-21.116h-429.303v21.116zM112.605 432.181h429.303v-21.116h-429.303v21.116zM214.652 769.995h232.236v-21.116h-232.236v21.116zM239.298 168.271h175.951v-45.762h-175.951v45.762zM555.502 100.97l-209.178 109.003 61.864-226.834 38.276 61.864 47.139-58.933 41.242 32.415-47.139 58.933zM511.294 21.416l-17.655-14.724-52.966 64.794-29.449-50.070-41.242 159.073 147.315-76.588-55.967-17.655zM369.876 180.524l147.279-76.588-55.967-17.655 50.070-64.83-17.655-14.724-50.070 64.794-32.38-50.070z" />
|
16 |
+
<glyph unicode="" glyph-name="photo-gallery" horiz-adv-x="1209" d="M120.139 1.925c-0.597-0.011-1.301-0.017-2.007-0.017-65.153 0-117.97 52.817-117.97 117.97 0 1.264 0.020 2.524 0.059 3.779l-0.005-0.183v484.080c-0.13 2.562-0.204 5.564-0.204 8.583 0 91.281 67.543 166.787 155.377 179.266l0.963 0.112 4.879 0.976c4.494 0.581 8.573 1.762 12.363 3.472l-0.274-0.11c0.564 1.459 0.891 3.148 0.891 4.913 0 0.677-0.048 1.342-0.141 1.993l0.009-0.075c-0.083 0.834-0.13 1.802-0.13 2.781 0 7.761 2.976 14.826 7.848 20.118l-0.019-0.021c6.765 5.9 15.672 9.498 25.419 9.498 1.934 0 3.836-0.142 5.694-0.415l-0.211 0.025h126.59c2.184 0.32 4.706 0.503 7.271 0.503 12.394 0 23.79-4.274 32.793-11.429l-0.108 0.083c7.257-7.803 11.711-18.299 11.711-29.834 0-0.051 0-0.103 0-0.154v0.008c3.376-0.834 7.252-1.312 11.239-1.312 10.56 0 20.337 3.355 28.323 9.057l-0.148-0.101c20.039 25.414 39.526 53.938 57.042 83.76l1.944 3.58c21.248 40.183 62.778 67.098 110.594 67.098 2.786 0 5.55-0.091 8.291-0.271l-0.372 0.020c108.429-0.867 224.773-0.922 336.454 0 2.578 0.201 5.584 0.315 8.615 0.315 46.146 0 86.101-26.507 105.468-65.126l0.309-0.68c13.228-27.107 33.288-66.738 52.967-105.718 35.619-70.479 52.967-104.959 59.636-122.85v-0.325c6.126-16.264 3.036-18.812-3.036-23.15-2.668-1.9-5.994-3.037-9.586-3.037-4.599 0-8.762 1.865-11.775 4.881v0c-0.457 0.493-0.901 1.023-1.318 1.575l-0.038 0.052c-87.298 113.335-223.049 185.641-375.687 185.641-108.035 0-207.61-36.222-287.242-97.184l1.135 0.834q-17.728-13.499-34.101-28.625c-161.017-155.975-212.412-446.401 9.921-676.757 2.812-2.919 4.544-6.896 4.544-11.277 0-8.979-7.276-16.259-16.254-16.264h-0.001zM206.882 806.302c0.027-0.552 0.043-1.198 0.043-1.848 0-21.823-17.52-39.555-39.262-39.897h-0.032l-5.421-1.030c-73.56-10.028-129.64-72.444-129.64-147.958 0-2.553 0.064-5.091 0.191-7.612l-0.014 0.354v-484.893c-0.053-1.124-0.083-2.441-0.083-3.765 0-47.098 38.181-85.279 85.279-85.279 0.716 0 1.429 0.009 2.14 0.026l-0.105-0.002h291.022c-82.729 88.69-133.517 208.111-133.517 339.394 0 139.474 57.322 265.559 149.693 355.982l0.088 0.086c11.981 10.843 24.071 21.252 36.757 30.848 83.952 64.372 190.475 103.155 306.055 103.155 125.606 0 240.514-45.802 328.933-121.615l-0.681 0.57-15.505 30.74c-19.68 39.089-39.793 78.936-52.967 105.772-14.17 28.685-43.222 48.067-76.8 48.067-2.297 0-4.573-0.091-6.825-0.269l0.297 0.019h-1.898c-111.953-1.084-228.784-1.084-337.864 0-1.63 0.1-3.535 0.157-5.453 0.157-35.95 0-67.221-20.029-83.265-49.537l-0.248-0.498c-20.363-35.081-40.784-65.041-63.1-93.442l1.296 1.711c-13.752-13.38-32.554-21.63-53.283-21.63-7.734 0-15.2 1.149-22.237 3.285l0.541-0.141c-12.154 2.439-21.362 12.494-22.491 24.884l-0.008 0.109c0.109 0.828 0.172 1.786 0.172 2.758 0 3.619-0.865 7.035-2.399 10.054l0.058-0.126c-3.693 1.137-7.939 1.792-12.338 1.792-1.536 0-3.053-0.080-4.547-0.235l0.187 0.016h-124.097c-3.578 0-6.723 0-8.945 0zM771.253-64h-4.283c-239.762 1.124-433.692 195.748-433.692 435.666 0 240.614 195.056 435.671 435.671 435.671 0.696 0 1.391-0.002 2.086-0.005h3.037c169.409-0.715 315.772-98.666 386.23-240.897l1.131-2.525c1.046-2.089 1.659-4.551 1.659-7.156 0-8.983-7.282-16.264-16.264-16.264-0.011 0-0.023 0-0.034 0h-263.588c-0.080-0.001-0.175-0.002-0.27-0.002-4.047 0-7.749 1.478-10.595 3.924l0.022-0.018c-23.665 20.668-54.836 33.272-88.95 33.272-2.599 0-5.181-0.073-7.744-0.218l0.355 0.016c-1.903 0.065-4.14 0.102-6.385 0.102-54.786 0-104.428-22.023-140.556-57.698l0.021 0.021c-38.484-37.259-62.373-89.392-62.373-147.106 0-111.972 89.922-202.942 201.49-204.635l0.159-0.002h7.427c3.639-0.262 7.885-0.412 12.166-0.412 53.089 0 100.808 22.991 133.744 59.56l0.143 0.162h-148.439c-8.983 0-16.264 7.282-16.264 16.264v0 179.992c0 8.983 7.282 16.264 16.264 16.264v0h418.426c0.012 0 0.026 0 0.040 0 4.522 0 8.612-1.845 11.56-4.824l0.001-0.001c5.421-5.421 5.421-5.421 4.879-68.147v0c-3.181-238.713-197.437-431.004-436.606-431.004-0.165 0-0.33 0-0.495 0h0.025zM770.928 774.804c-221.776-1.031-401.161-181.052-401.161-402.971 0-222.557 180.418-402.975 402.975-402.975 220.974 0 400.406 177.86 402.948 398.231l0.002 0.24v40.119h-386.060v-147.463h164.757c8.982-0.001 16.263-7.282 16.263-16.264 0-3.172-0.908-6.132-2.478-8.634l0.040 0.068c-37.923-60.404-104.174-99.969-179.667-99.969-4.749 0-9.462 0.157-14.133 0.465l0.635-0.034h-7.102c-129.427 2.041-233.563 107.439-233.563 237.16 0 66.854 27.659 127.249 72.159 170.363l0.062 0.060c43.026 41.346 101.581 66.808 166.084 66.808 0.982 0 1.963-0.006 2.943-0.018l-0.149 0.001c2.639 0.149 5.728 0.234 8.836 0.234 39.808 0 76.363-13.93 105.055-37.182l-0.312 0.245h230.682c-70.048 120.854-198.577 200.971-345.863 201.514h-0.078z" />
|
17 |
+
<glyph unicode="" glyph-name="slider-wd" horiz-adv-x="1481" d="M370.188 316.518c-0.153-0.006-0.333-0.009-0.514-0.009-7.749 0-14.032 6.282-14.032 14.032 0 7.569 5.992 13.738 13.492 14.021l0.026 0.001c24.603 4.927 44.377 21.855 53.209 44.289l0.169 0.488c6.59 24.726-15.705 45.946-35.57 59.408-31.27 21.174-45.759 43.89-43.282 67.26 4.347 39.356 56.463 60.763 62.399 63.334 1.43 0.538 3.082 0.85 4.807 0.85 7.744 0 14.022-6.278 14.022-14.022 0-5.767-3.481-10.72-8.456-12.874l-0.091-0.035c-10.937-4.347-42.721-21.174-44.825-40.478-1.636-15.144 16.032-30.475 31.129-40.711 49.639-33.56 52.957-67.354 46.741-89.836-12.12-34.32-41.691-59.595-77.773-65.363l-0.565-0.074zM580.896 316.518h-98.156c-7.744 0-14.022 6.278-14.022 14.022v0 235.574c0 7.744 6.278 14.022 14.022 14.022s14.022-6.278 14.022-14.022v-221.552h84.134c7.744 0 14.022-6.278 14.022-14.022s-6.278-14.022-14.022-14.022v0zM621.654 316.518c-7.744 0-14.022 6.278-14.022 14.022v0 235.574c0 7.744 6.278 14.022 14.022 14.022s14.022-6.278 14.022-14.022v0-235.574c0-7.744-6.278-14.022-14.022-14.022v0zM674.892 316.518c-7.744 0-14.022 6.278-14.022 14.022v0 235.574c0.051 4.084 1.84 7.741 4.661 10.271l0.013 0.012c2.631 2.33 6.113 3.753 9.926 3.753 0.224 0 0.447-0.005 0.669-0.015l-0.032 0.001c71.039-2.285 127.768-60.388 127.836-131.756v-0.007c-1.042-70.859-56.999-128.315-127.152-131.751l-0.31-0.012zM688.914 549.708v-202.528c49.372 7.858 86.658 50.13 86.658 101.111 0 0.013 0 0.026 0 0.039v-0.002c0.007 0.452 0.011 0.985 0.011 1.518 0 50.699-37.404 92.661-86.122 99.797l-0.547 0.066zM965.948 316.518h-1.449c-0.643-0.012-1.4-0.019-2.16-0.019-65.891 0-119.632 52.019-122.396 117.229l-0.008 0.25v132.137c0 7.744 6.278 14.022 14.022 14.022v0h112.178c7.744 0 14.022-6.278 14.022-14.022s-6.278-14.022-14.022-14.022h-98.156v-118.395c0-3.459 0-79.132 99.371-89.228 7.446-0.384 13.339-6.515 13.339-14.022 0-7.754-6.286-14.040-14.040-14.040-0.247 0-0.492 0.006-0.735 0.019l0.034-0.001zM965.901 482.448h-142.046c-7.744 0-14.022 6.278-14.022 14.022s6.278 14.022 14.022 14.022h142.046c7.744 0 14.022-6.278 14.022-14.022s-6.278-14.022-14.022-14.022v0zM1113.976 315.957c-36.605 0.871-68.526 20.142-86.964 48.888l-0.254 0.423v-34.729c0-7.744-6.278-14.022-14.022-14.022s-14.022 6.278-14.022 14.022v0 235.574c0 0.033 0 0.072 0 0.111 0 4.147 1.8 7.873 4.661 10.44l0.013 0.012c2.398 2.162 5.591 3.485 9.091 3.485 0.634 0 1.259-0.043 1.87-0.127l-0.071 0.008c37.393-4.674 108.579-32.999 109.841-104.232 0.038-0.992 0.059-2.158 0.059-3.328 0-44.864-31.604-82.346-73.763-91.398l-0.614-0.11c13.635-22.201 37.784-36.785 65.339-36.785 2.487 0 4.946 0.119 7.372 0.351l-0.309-0.024c0.561 0.082 1.208 0.128 1.866 0.128 7.155 0 13.024-5.506 13.602-12.512l0.003-0.049c0.050-0.445 0.079-0.961 0.079-1.484 0-7.212-5.445-13.153-12.448-13.935l-0.064-0.006c-3.419-0.428-7.395-0.682-11.426-0.701h-0.026zM1026.758 548.727v-143.448h0.654c2.851 0 70.111 6.404 68.99 70.111-0.841 47.255-45.152 66.325-69.644 73.336zM740.75-64c-0.028 0-0.060 0-0.093 0-282.77 0-512 229.23-512 512s229.23 512 512 512c282.77 0 512-229.23 512-512 0-0.016 0-0.033 0-0.049v0.002c-0.026-282.717-229.193-511.9-511.901-511.953h-0.005zM740.75 932.002c-0.042 0-0.091 0-0.14 0-267.307 0-484.002-216.695-484.002-484.002s216.695-484.002 484.002-484.002c267.307 0 484.002 216.695 484.002 484.002 0 0.016 0 0.033 0 0.049v-0.002c-0.026 267.237-216.632 483.876-483.854 483.955h-0.008zM1217.601 124.74c-7.739 0.007-14.011 6.282-14.011 14.022 0 3.193 1.067 6.137 2.865 8.494l-0.025-0.034c63.267 82.503 101.383 187.189 101.383 300.778s-38.117 218.274-102.257 301.965l0.873-1.187c-1.778 2.325-2.849 5.274-2.849 8.472 0 7.744 6.278 14.022 14.022 14.022 1.009 0 1.992-0.106 2.941-0.309l-0.092 0.016c150.228-33.093 260.97-165.092 260.97-322.956s-110.742-289.863-258.778-322.55l-2.192-0.406c-0.856-0.208-1.839-0.327-2.85-0.327-0.001 0-0.001 0-0.002 0v0zM1251.768 733.073c52.728-80.52 84.099-179.156 84.099-285.12s-31.371-204.6-85.332-287.129l1.233 2.010c118.558 42.685 201.8 154.181 201.8 285.12s-83.242 242.435-199.694 284.456l-2.106 0.664zM263.899 124.74c-0.014 0-0.031 0-0.048 0-1.011 0-1.994 0.119-2.936 0.345l0.086-0.017c-150.228 33.093-260.97 165.092-260.97 322.956s110.742 289.863 258.778 322.55l2.192 0.406c0.856 0.186 1.84 0.292 2.849 0.292 7.744 0 14.022-6.278 14.022-14.022 0-3.198-1.071-6.147-2.874-8.506l0.025 0.034c-63.267-82.503-101.383-187.189-101.383-300.778s38.117-218.274 102.257-301.965l-0.873 1.187c1.772-2.323 2.84-5.267 2.84-8.46 0-7.74-6.271-14.016-14.010-14.022h-0.001zM229.685 733.073c-118.558-42.685-201.8-154.181-201.8-285.12s83.242-242.435 199.694-284.456l2.106-0.664c-52.728 80.52-84.099 179.156-84.099 285.12s31.371 204.6 85.332 287.129l-1.233-2.010zM1380.306 480.204l-9.348-9.348 28.045-23.37-28.045-23.37 9.348-9.348 37.393 32.719zM66.419 448.047l37.393-32.719 9.348 9.348-28.045 23.37 28.045 23.37-9.348 9.348z" />
|
18 |
+
<glyph unicode="" glyph-name="form-maker" horiz-adv-x="1101" d="M385.133 479.717h-267.327v249.204h262.796v-249.204zM140.46 502.372h222.018v203.894h-222.018v-203.894zM987.752 348.319h-869.947v95.15h869.947v-95.15zM140.46 370.973h824.637v45.31h-824.637v-45.31zM987.752 99.115h-869.947v212.956h869.947v-212.956zM140.46 121.77h824.637v167.646h-824.637v-167.646zM987.752 620.177h-262.796v108.743h267.327v-108.743zM747.611 642.832h222.018v63.434h-222.018v-63.434zM693.239 620.177h-267.327v108.743h267.327v-108.743zM448.566 642.832h222.018v63.434h-222.018v-63.434zM987.752 479.717h-262.796v99.681h267.327v-99.681zM747.611 502.372h222.018v54.372h-222.018v-54.372zM693.239 479.717h-267.327v99.681h267.327v-99.681zM448.566 502.372h222.018v54.372h-222.018v-54.372zM22.655 3.965h1055.717v838.23h-1055.717v-838.23zM1046.655 810.478v-774.796h-992.283v774.796h992.283z" />
|
19 |
+
</font></defs></svg>
|
fonts/twbb-icons.eot
ADDED
Binary file
|
fonts/twbb-icons.ttf
ADDED
Binary file
|
fonts/twbb-icons.woff
ADDED
Binary file
|
framework/WDW_FM_Library.php
CHANGED
@@ -515,7 +515,7 @@ class WDW_FMC_Library {
|
|
515 |
}
|
516 |
|
517 |
public static function fm_container($theme_id, $form_body) {
|
518 |
-
return '<div class="fm-form-container fm-theme' . $theme_id . '">' . $form_body . '</div>';
|
519 |
}
|
520 |
|
521 |
/**
|
515 |
}
|
516 |
|
517 |
public static function fm_container($theme_id, $form_body) {
|
518 |
+
return '<div style="display:none" class="fm-form-container fm-theme' . $theme_id . '">' . $form_body . '</div>';
|
519 |
}
|
520 |
|
521 |
/**
|
js/add_field.js
CHANGED
@@ -1461,7 +1461,7 @@ function add(key, after_edit, wdid) {
|
|
1461 |
var option = document.createElement('div');
|
1462 |
option.setAttribute("id", i + "_element_labelform_id_temp");
|
1463 |
option.style.color = 'red';
|
1464 |
-
option.innerHTML = "Section Break";
|
1465 |
wdform_row.appendChild(option);
|
1466 |
wdform_page = document.getElementById('form_id_tempform_view' + form_view);
|
1467 |
var arrows_body = '<span class="wdform_arrows_basic wdform_arrows_container">' +
|
@@ -1509,12 +1509,7 @@ function add(key, after_edit, wdid) {
|
|
1509 |
j = 2;
|
1510 |
}
|
1511 |
sortable_columns();
|
1512 |
-
|
1513 |
-
jQuery('.wdform_column').sortable("disable");
|
1514 |
-
}
|
1515 |
-
else {
|
1516 |
-
jQuery(".wdform_arrows").hide();
|
1517 |
-
}
|
1518 |
close_window();
|
1519 |
all_sortable_events();
|
1520 |
return;
|
@@ -1561,7 +1556,7 @@ function add(key, after_edit, wdid) {
|
|
1561 |
form_view_element.setAttribute('previous_class', previous_class);
|
1562 |
form_view_element.setAttribute('previous_checkable', previous_checkable);
|
1563 |
form_view_element.setAttribute('page_title', page_title);
|
1564 |
-
document.getElementById('form_id_tempform_view_img' + i).firstChild.innerHTML = page_title;
|
1565 |
var input = document.getElementById('_div_between');
|
1566 |
atr = input.attributes;
|
1567 |
for (v = 0; v < 30; v++) {
|
@@ -1576,12 +1571,7 @@ function add(key, after_edit, wdid) {
|
|
1576 |
generate_page_nav(form_view);
|
1577 |
}
|
1578 |
sortable_columns();
|
1579 |
-
|
1580 |
-
jQuery('.wdform_column').sortable("disable");
|
1581 |
-
}
|
1582 |
-
else {
|
1583 |
-
jQuery(".wdform_arrows").hide();
|
1584 |
-
}
|
1585 |
close_window();
|
1586 |
return;
|
1587 |
}
|
@@ -1638,20 +1628,14 @@ function add(key, after_edit, wdid) {
|
|
1638 |
icon_remove.setAttribute("class", "page_toolbar dashicons dashicons-no");
|
1639 |
icon_remove.setAttribute("onclick", 'remove_page("' + form_view + '")');
|
1640 |
|
1641 |
-
var icon_delete = document.createElement("span");
|
1642 |
-
icon_delete.setAttribute('title', 'Delete the page with fields');
|
1643 |
-
icon_delete.setAttribute("class", "page_toolbar dashicons dashicons-dismiss");
|
1644 |
-
icon_delete.setAttribute("onclick", 'remove_page_all("' + form_view + '")');
|
1645 |
-
|
1646 |
var icon_edit = document.createElement("span");
|
1647 |
icon_edit.setAttribute('title', 'Edit the page');
|
1648 |
icon_edit.setAttribute("class", "page_toolbar dashicons dashicons-edit");
|
1649 |
icon_edit.setAttribute("onclick", 'edit_page_break("' + form_view + '")');
|
1650 |
|
1651 |
-
page_toolbar.appendChild(icon_show_hide);
|
1652 |
page_toolbar.appendChild(icon_remove);
|
1653 |
-
page_toolbar.appendChild(icon_delete);
|
1654 |
page_toolbar.appendChild(icon_edit);
|
|
|
1655 |
page_toolbar_wrap.appendChild(page_toolbar);
|
1656 |
|
1657 |
tr = document.createElement('div');
|
@@ -1705,7 +1689,7 @@ function add(key, after_edit, wdid) {
|
|
1705 |
form_view_element.setAttribute('previous_class', previous_class);
|
1706 |
form_view_element.setAttribute('previous_checkable', previous_checkable);
|
1707 |
form_view_element.setAttribute('page_title', page_title);
|
1708 |
-
page_title_div.innerHTML = page_title;
|
1709 |
var input = document.getElementById('_div_between');
|
1710 |
atr = input.attributes;
|
1711 |
for (v = 0; v < 30; v++) {
|
@@ -1723,12 +1707,7 @@ function add(key, after_edit, wdid) {
|
|
1723 |
generate_page_nav(form_view);
|
1724 |
}
|
1725 |
sortable_columns();
|
1726 |
-
|
1727 |
-
jQuery('.wdform_column').sortable("disable");
|
1728 |
-
}
|
1729 |
-
else {
|
1730 |
-
jQuery(".wdform_arrows").hide();
|
1731 |
-
}
|
1732 |
draggable_page_break(nextID, form_view_max);
|
1733 |
nextID = "";
|
1734 |
close_window();
|
@@ -2031,9 +2010,7 @@ function add(key, after_edit, wdid) {
|
|
2031 |
else {
|
2032 |
alert("Please select an element to add.");
|
2033 |
}
|
2034 |
-
|
2035 |
-
jQuery(".wdform_arrows_advanced").hide();
|
2036 |
-
}
|
2037 |
|
2038 |
jQuery(".wdform_page input[type='text'], .wdform_page input[type='password'], .wdform_page input[type='file'], .wdform_page textarea, .wdform_page input[type='checkbox'], .wdform_page input[type='radio'], .wdform_page select").prop("disabled", true);
|
2039 |
all_sortable_events();
|
@@ -14677,27 +14654,21 @@ function type_page_navigation(w_type, w_show_title, w_show_numbers, w_attr_name,
|
|
14677 |
}
|
14678 |
|
14679 |
function refresh_page_numbers() {
|
14680 |
-
|
14681 |
-
|
14682 |
-
|
14683 |
-
|
14684 |
-
|
14685 |
-
}
|
14686 |
-
}
|
14687 |
-
}
|
14688 |
-
cur_num = 0;
|
14689 |
-
for (j = 1; j <= form_view_max; j++) {
|
14690 |
if (document.getElementById('page_numbersform_id_temp' + j)) {
|
14691 |
-
cur_num++;
|
14692 |
document.getElementById("page_numbersform_id_temp" + j).innerHTML = '';
|
14693 |
-
if (
|
14694 |
var cur = document.createElement('span');
|
14695 |
cur.setAttribute("class", "page_numbersform_id_temp");
|
14696 |
-
cur.innerHTML =
|
14697 |
document.getElementById("page_numbersform_id_temp" + j).appendChild(cur);
|
14698 |
}
|
14699 |
}
|
14700 |
-
}
|
14701 |
}
|
14702 |
|
14703 |
function gen_form_fields() {
|
1461 |
var option = document.createElement('div');
|
1462 |
option.setAttribute("id", i + "_element_labelform_id_temp");
|
1463 |
option.style.color = 'red';
|
1464 |
+
option.innerHTML = "Section Break";
|
1465 |
wdform_row.appendChild(option);
|
1466 |
wdform_page = document.getElementById('form_id_tempform_view' + form_view);
|
1467 |
var arrows_body = '<span class="wdform_arrows_basic wdform_arrows_container">' +
|
1509 |
j = 2;
|
1510 |
}
|
1511 |
sortable_columns();
|
1512 |
+
jQuery(".wdform_arrows").hide();
|
|
|
|
|
|
|
|
|
|
|
1513 |
close_window();
|
1514 |
all_sortable_events();
|
1515 |
return;
|
1556 |
form_view_element.setAttribute('previous_class', previous_class);
|
1557 |
form_view_element.setAttribute('previous_checkable', previous_checkable);
|
1558 |
form_view_element.setAttribute('page_title', page_title);
|
1559 |
+
document.getElementById('form_id_tempform_view_img' + i).firstChild.innerHTML = '<span class="dashicons dashicons-move"></span>' + page_title;
|
1560 |
var input = document.getElementById('_div_between');
|
1561 |
atr = input.attributes;
|
1562 |
for (v = 0; v < 30; v++) {
|
1571 |
generate_page_nav(form_view);
|
1572 |
}
|
1573 |
sortable_columns();
|
1574 |
+
jQuery(".wdform_arrows").hide();
|
|
|
|
|
|
|
|
|
|
|
1575 |
close_window();
|
1576 |
return;
|
1577 |
}
|
1628 |
icon_remove.setAttribute("class", "page_toolbar dashicons dashicons-no");
|
1629 |
icon_remove.setAttribute("onclick", 'remove_page("' + form_view + '")');
|
1630 |
|
|
|
|
|
|
|
|
|
|
|
1631 |
var icon_edit = document.createElement("span");
|
1632 |
icon_edit.setAttribute('title', 'Edit the page');
|
1633 |
icon_edit.setAttribute("class", "page_toolbar dashicons dashicons-edit");
|
1634 |
icon_edit.setAttribute("onclick", 'edit_page_break("' + form_view + '")');
|
1635 |
|
|
|
1636 |
page_toolbar.appendChild(icon_remove);
|
|
|
1637 |
page_toolbar.appendChild(icon_edit);
|
1638 |
+
page_toolbar.appendChild(icon_show_hide);
|
1639 |
page_toolbar_wrap.appendChild(page_toolbar);
|
1640 |
|
1641 |
tr = document.createElement('div');
|
1689 |
form_view_element.setAttribute('previous_class', previous_class);
|
1690 |
form_view_element.setAttribute('previous_checkable', previous_checkable);
|
1691 |
form_view_element.setAttribute('page_title', page_title);
|
1692 |
+
page_title_div.innerHTML = '<span class="dashicons dashicons-move"></span>' + page_title;
|
1693 |
var input = document.getElementById('_div_between');
|
1694 |
atr = input.attributes;
|
1695 |
for (v = 0; v < 30; v++) {
|
1707 |
generate_page_nav(form_view);
|
1708 |
}
|
1709 |
sortable_columns();
|
1710 |
+
jQuery(".wdform_arrows").hide();
|
|
|
|
|
|
|
|
|
|
|
1711 |
draggable_page_break(nextID, form_view_max);
|
1712 |
nextID = "";
|
1713 |
close_window();
|
2010 |
else {
|
2011 |
alert("Please select an element to add.");
|
2012 |
}
|
2013 |
+
jQuery(".wdform_arrows_advanced").hide();
|
|
|
|
|
2014 |
|
2015 |
jQuery(".wdform_page input[type='text'], .wdform_page input[type='password'], .wdform_page input[type='file'], .wdform_page textarea, .wdform_page input[type='checkbox'], .wdform_page input[type='radio'], .wdform_page select").prop("disabled", true);
|
2016 |
all_sortable_events();
|
14654 |
}
|
14655 |
|
14656 |
function refresh_page_numbers() {
|
14657 |
+
var pages = jQuery('.wdform-page-and-images');
|
14658 |
+
var show_numbers = document.getElementById('pages').getAttribute('show_numbers') == 'true';
|
14659 |
+
pages.each(function(index){
|
14660 |
+
var id = jQuery(this).find('.form_id_tempform_view_img').attr('id').split("form_id_tempform_view_img");
|
14661 |
+
j = id[1];
|
|
|
|
|
|
|
|
|
|
|
14662 |
if (document.getElementById('page_numbersform_id_temp' + j)) {
|
|
|
14663 |
document.getElementById("page_numbersform_id_temp" + j).innerHTML = '';
|
14664 |
+
if (show_numbers) {
|
14665 |
var cur = document.createElement('span');
|
14666 |
cur.setAttribute("class", "page_numbersform_id_temp");
|
14667 |
+
cur.innerHTML = (index + 1) + '/' + pages.length;
|
14668 |
document.getElementById("page_numbersform_id_temp" + j).appendChild(cur);
|
14669 |
}
|
14670 |
}
|
14671 |
+
});
|
14672 |
}
|
14673 |
|
14674 |
function gen_form_fields() {
|
js/form_maker_manage.js
CHANGED
@@ -25,38 +25,74 @@ function remove_empty_columns() {
|
|
25 |
});
|
26 |
}
|
27 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
function sortable_columns() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
jQuery( ".wdform_column" ).sortable({
|
30 |
connectWith: ".wdform_column",
|
31 |
cursor: 'move',
|
32 |
placeholder: "highlight",
|
|
|
|
|
33 |
start: function(e, ui) {
|
34 |
jQuery(".add-new-button").off("click");
|
35 |
-
jQuery('.wdform_column').each(function() {
|
36 |
-
if (jQuery(this).html()) {
|
37 |
-
jQuery(this).append(jQuery('<div class="wdform_empty_row" style="height:80px;"></div>'));
|
38 |
-
jQuery( ".wdform_column" ).sortable( "refresh" );
|
39 |
-
}
|
40 |
-
});
|
41 |
},
|
42 |
update: function(event, ui) {
|
43 |
-
|
44 |
-
if (jQuery(this).html()) {
|
45 |
-
jQuery(this).parent().append(jQuery('<div></div>').addClass("wdform_column"));
|
46 |
-
sortable_columns();
|
47 |
-
}
|
48 |
-
});
|
49 |
},
|
50 |
stop: function(event, ui) {
|
51 |
-
jQuery('.wdform_empty_row').remove();
|
52 |
if (ui.item.attr("id") == "add_field" && ui.item.parent().attr("id") != "add_field_cont") {
|
53 |
nextID = jQuery("#add_field").next(".wdform_row").attr("wdid"); //find next row id for position
|
54 |
jQuery("#add_field").parent().attr("id", "cur_column"); // add id cur_column to this column
|
55 |
-
|
56 |
popup_ready();
|
57 |
Enable();
|
58 |
/* In Firfox and Safari click action is working during the drag and drop also */
|
59 |
-
|
60 |
return false;
|
61 |
}
|
62 |
remove_empty_columns();
|
@@ -76,15 +112,14 @@ function all_sortable_events() {
|
|
76 |
jQuery(".wdform_row, .wdform_tr_section_break").on("mouseleave", function () {
|
77 |
jQuery(this).find('.wdform_arrows').hide();
|
78 |
});
|
|
|
79 |
}
|
80 |
|
81 |
jQuery(document).on( "dblclick", ".wdform_row, .wdform_tr_section_break", function() {
|
82 |
-
|
83 |
-
edit(jQuery(this).attr("wdid"));
|
84 |
-
}
|
85 |
});
|
86 |
-
|
87 |
-
function fm_change_radio(elem) {
|
88 |
if(jQuery( elem ).hasClass( "fm-yes" )) {
|
89 |
jQuery( elem ).val('0');
|
90 |
jQuery( elem ).next().val('0');
|
@@ -108,37 +143,22 @@ function fm_change_radio(elem) {
|
|
108 |
}
|
109 |
}
|
110 |
|
111 |
-
function enable_drag(
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
jQuery( "#add_field .wdform_field" ).css("cursor", "");
|
118 |
-
all_sortable_events();
|
119 |
-
}
|
120 |
-
else {
|
121 |
-
jQuery('.wdform_column').sortable( "disable" );
|
122 |
-
jQuery('.wdform_arrows_advanced').show();
|
123 |
-
jQuery( ".wdform_field" ).css("cursor", "default");
|
124 |
-
jQuery( "#add_field .wdform_field" ).css("cursor", "pointer");
|
125 |
-
all_sortable_events();
|
126 |
-
}
|
127 |
}
|
128 |
|
129 |
function refresh_() {
|
130 |
document.getElementById('counter').value = gen;
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
document.getElementById('page_previous_' + i).removeAttribute('src');
|
138 |
-
}
|
139 |
-
document.getElementById('form_id_tempform_view' + i).parentNode.removeChild(document.getElementById('form_id_tempform_view_img' + i));
|
140 |
-
}
|
141 |
-
}
|
142 |
jQuery("#take div").removeClass("ui-sortable ui-sortable-disabled ui-sortable-handle");
|
143 |
jQuery( "#add_field_cont" ).remove(); // remove add new button from div content
|
144 |
document.getElementById('form_front').value = document.getElementById('take').innerHTML;
|
25 |
});
|
26 |
}
|
27 |
|
28 |
+
function fm_section_handle(section) {
|
29 |
+
var fm_section = jQuery(section);
|
30 |
+
fm_section.find('.wdform_section_handle').remove();
|
31 |
+
if (fm_section.find('.wdform_row').length > 0 || !fm_section.is(':last-child')) {
|
32 |
+
fm_section.prepend('<div class="wdform_section_handle">' +
|
33 |
+
'<span class="dashicons dashicons-move"></span>' +
|
34 |
+
'<div class="fm-divider"></div>' +
|
35 |
+
'</div>');
|
36 |
+
}
|
37 |
+
}
|
38 |
+
|
39 |
+
function fm_update_columns() {
|
40 |
+
jQuery('.wdform_section .wdform_column:last-child').each(function() {
|
41 |
+
if (jQuery(this).find('.wdform_row').length > 0) {
|
42 |
+
fm_section_handle(this);
|
43 |
+
jQuery(this).parent().append(jQuery('<div></div>').addClass("wdform_column"));
|
44 |
+
sortable_columns();
|
45 |
+
}
|
46 |
+
});
|
47 |
+
}
|
48 |
+
|
49 |
function sortable_columns() {
|
50 |
+
jQuery( "#take" ).sortable({
|
51 |
+
cursor: 'move',
|
52 |
+
cursorAt: { left: 5, top: 5 },
|
53 |
+
placeholder: "highlight",
|
54 |
+
tolerance: "pointer",
|
55 |
+
handle: ".form_id_tempform_view_img .dashicons-move",
|
56 |
+
items: "> .wdform-page-and-images",
|
57 |
+
axis: "y",
|
58 |
+
update: function(event, ui) {
|
59 |
+
refresh_page_numbers();
|
60 |
+
},
|
61 |
+
});
|
62 |
+
jQuery( ".wdform_section" ).sortable({
|
63 |
+
connectWith: ".wdform_section",
|
64 |
+
cursor: 'move',
|
65 |
+
cursorAt: { left: 5, top: 5 },
|
66 |
+
placeholder: "highlight wdform_column",
|
67 |
+
tolerance: "pointer",
|
68 |
+
handle: ".wdform_section_handle .dashicons-move",
|
69 |
+
items: "> .wdform_column:not(:empty), > .wdform_column:empty:only-child",
|
70 |
+
create: function( event, ui ) {
|
71 |
+
jQuery(event.target).find('.wdform_column').each(function() {
|
72 |
+
fm_section_handle(this);
|
73 |
+
});
|
74 |
+
},
|
75 |
+
});
|
76 |
jQuery( ".wdform_column" ).sortable({
|
77 |
connectWith: ".wdform_column",
|
78 |
cursor: 'move',
|
79 |
placeholder: "highlight",
|
80 |
+
cancel: ".wdform_section_handle",
|
81 |
+
items: "> .wdform_row, #add_field",
|
82 |
start: function(e, ui) {
|
83 |
jQuery(".add-new-button").off("click");
|
|
|
|
|
|
|
|
|
|
|
|
|
84 |
},
|
85 |
update: function(event, ui) {
|
86 |
+
fm_update_columns();
|
|
|
|
|
|
|
|
|
|
|
87 |
},
|
88 |
stop: function(event, ui) {
|
|
|
89 |
if (ui.item.attr("id") == "add_field" && ui.item.parent().attr("id") != "add_field_cont") {
|
90 |
nextID = jQuery("#add_field").next(".wdform_row").attr("wdid"); //find next row id for position
|
91 |
jQuery("#add_field").parent().attr("id", "cur_column"); // add id cur_column to this column
|
|
|
92 |
popup_ready();
|
93 |
Enable();
|
94 |
/* In Firfox and Safari click action is working during the drag and drop also */
|
95 |
+
jQuery(".add-new-button").removeAttr("onclick");
|
96 |
return false;
|
97 |
}
|
98 |
remove_empty_columns();
|
112 |
jQuery(".wdform_row, .wdform_tr_section_break").on("mouseleave", function () {
|
113 |
jQuery(this).find('.wdform_arrows').hide();
|
114 |
});
|
115 |
+
fm_update_columns();
|
116 |
}
|
117 |
|
118 |
jQuery(document).on( "dblclick", ".wdform_row, .wdform_tr_section_break", function() {
|
119 |
+
edit(jQuery(this).attr("wdid"));
|
|
|
|
|
120 |
});
|
121 |
+
|
122 |
+
function fm_change_radio(elem) {
|
123 |
if(jQuery( elem ).hasClass( "fm-yes" )) {
|
124 |
jQuery( elem ).val('0');
|
125 |
jQuery( elem ).next().val('0');
|
143 |
}
|
144 |
}
|
145 |
|
146 |
+
function enable_drag() {
|
147 |
+
jQuery('.wdform_column').sortable( "enable" );
|
148 |
+
jQuery('.wdform_arrows_advanced').hide();
|
149 |
+
jQuery( ".wdform_field" ).css("cursor", "");
|
150 |
+
jQuery( "#add_field .wdform_field" ).css("cursor", "");
|
151 |
+
all_sortable_events();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
152 |
}
|
153 |
|
154 |
function refresh_() {
|
155 |
document.getElementById('counter').value = gen;
|
156 |
+
jQuery('.wdform-page-and-images').each(function () {
|
157 |
+
var cur_page = jQuery(this);
|
158 |
+
cur_page.find('[id^=page_next_]').removeAttr('src');
|
159 |
+
cur_page.find('[id^=page_previous_]').removeAttr('src');
|
160 |
+
cur_page.find('.form_id_tempform_view_img').remove();
|
161 |
+
});
|
|
|
|
|
|
|
|
|
|
|
162 |
jQuery("#take div").removeClass("ui-sortable ui-sortable-disabled ui-sortable-handle");
|
163 |
jQuery( "#add_field_cont" ).remove(); // remove add new button from div content
|
164 |
document.getElementById('form_front').value = document.getElementById('take').innerHTML;
|
js/form_maker_manage_edit.js
CHANGED
@@ -14,7 +14,7 @@ jQuery(window).on("load", function () {
|
|
14 |
|
15 |
jQuery( document ).ready(function() {
|
16 |
jQuery('.wdform_section .wdform_column:last-child').each(function() {
|
17 |
-
if (jQuery(this).
|
18 |
jQuery(this).parent().append(jQuery('<div></div>').addClass("wdform_column"));
|
19 |
}
|
20 |
});
|
@@ -28,6 +28,19 @@ jQuery( document ).ready(function() {
|
|
28 |
jQuery( ".wdform_arrows_advanced" ).show();
|
29 |
}
|
30 |
all_sortable_events();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
});
|
32 |
|
33 |
/**
|
@@ -43,19 +56,20 @@ function FormManageSubmitButton(check_for_changes) {
|
|
43 |
}
|
44 |
tox = '';
|
45 |
form_fields = '';
|
|
|
46 |
if (!check_for_changes) {
|
47 |
document.getElementById('take').style.display = "none";
|
48 |
document.getElementById('page_bar').style.display = "none";
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
jQuery(this).remove();
|
56 |
-
}
|
57 |
});
|
58 |
-
}
|
59 |
|
60 |
remove_whitespace(document.getElementById('take'));
|
61 |
l_id_array = labels_id_array;
|
@@ -716,51 +730,48 @@ function formOnload(rows) {
|
|
716 |
|
717 |
remove_whitespace(document.getElementById('take'));
|
718 |
form_view = 1;
|
|
|
719 |
|
720 |
var form_view_count = jQuery('.wdform-page-and-images').length;
|
721 |
|
722 |
jQuery( '.wdform-page-and-images' ).each(function() {
|
723 |
-
|
724 |
-
|
725 |
-
|
726 |
-
|
727 |
-
|
728 |
-
|
729 |
-
|
730 |
-
|
731 |
-
|
732 |
-
|
733 |
-
|
734 |
-
|
735 |
-
|
736 |
-
|
737 |
-
|
738 |
-
|
739 |
-
|
740 |
-
|
741 |
-
|
742 |
-
|
743 |
-
|
744 |
-
|
745 |
-
|
746 |
-
|
747 |
-
|
748 |
-
|
749 |
-
|
750 |
-
|
751 |
-
|
752 |
-
|
753 |
-
|
754 |
-
|
755 |
-
|
756 |
-
|
757 |
-
|
758 |
-
|
759 |
-
|
760 |
-
page_toolbar.appendChild(icon_edit);
|
761 |
-
page_toolbar_wrap.appendChild(page_toolbar);
|
762 |
-
var cur_page = document.getElementById('form_id_tempform_view' + i).parentNode;
|
763 |
-
cur_page.insertBefore(page_toolbar_wrap, cur_page.childNodes[0]);
|
764 |
});
|
765 |
|
766 |
if (form_view_count > 1) {
|
@@ -816,4 +827,9 @@ function edit_page_break(id) {
|
|
816 |
w_attr_name = [];
|
817 |
w_attr_value = [];
|
818 |
type_page_break(id, page_title, w_title, w_type, w_class, w_check, w_attr_name, w_attr_value);
|
|
|
|
|
|
|
|
|
|
|
819 |
}
|
14 |
|
15 |
jQuery( document ).ready(function() {
|
16 |
jQuery('.wdform_section .wdform_column:last-child').each(function() {
|
17 |
+
if (jQuery(this).find('.wdform_row').length > 0) {
|
18 |
jQuery(this).parent().append(jQuery('<div></div>').addClass("wdform_column"));
|
19 |
}
|
20 |
});
|
28 |
jQuery( ".wdform_arrows_advanced" ).show();
|
29 |
}
|
30 |
all_sortable_events();
|
31 |
+
enable_drag();
|
32 |
+
});
|
33 |
+
|
34 |
+
// Close popup on escape.
|
35 |
+
jQuery(document).on('keydown', function (e) {
|
36 |
+
if (e.keyCode === 27) { /* Esc.*/
|
37 |
+
if (jQuery("#fm_popup_container").is(":visible")) {
|
38 |
+
fm_popup_toggle('fm_popup_container');
|
39 |
+
}
|
40 |
+
if (jQuery("#fm_delete_page_popup_container").is(":visible")) {
|
41 |
+
fm_popup_toggle('fm_delete_page_popup_container');
|
42 |
+
}
|
43 |
+
}
|
44 |
});
|
45 |
|
46 |
/**
|
56 |
}
|
57 |
tox = '';
|
58 |
form_fields = '';
|
59 |
+
jQuery('#saving').html('<div class="fm-loading-container"><div class="fm-loading-content"></div></div>');
|
60 |
if (!check_for_changes) {
|
61 |
document.getElementById('take').style.display = "none";
|
62 |
document.getElementById('page_bar').style.display = "none";
|
63 |
+
jQuery('.wdform_section').each(function () {
|
64 |
+
var this2 = this;
|
65 |
+
jQuery(this2).find('.wdform_column').each(function () {
|
66 |
+
if (!jQuery(this).html() && jQuery(this2).children().length > 1) {
|
67 |
+
jQuery(this).remove();
|
68 |
+
}
|
69 |
+
jQuery(this).find('.wdform_section_handle').remove();
|
70 |
+
});
|
71 |
});
|
72 |
+
}
|
73 |
|
74 |
remove_whitespace(document.getElementById('take'));
|
75 |
l_id_array = labels_id_array;
|
730 |
|
731 |
remove_whitespace(document.getElementById('take'));
|
732 |
form_view = 1;
|
733 |
+
form_view_max = 1;
|
734 |
|
735 |
var form_view_count = jQuery('.wdform-page-and-images').length;
|
736 |
|
737 |
jQuery( '.wdform-page-and-images' ).each(function() {
|
738 |
+
var index = jQuery(this).find('.wdform_page').attr('id').split("form_id_tempform_view");
|
739 |
+
i = index[1];
|
740 |
+
form_view_max = i > form_view_max ? i : form_view_max;
|
741 |
+
page_toolbar_wrap = document.createElement('div');
|
742 |
+
page_toolbar_wrap.setAttribute('id', 'form_id_tempform_view_img' + i);
|
743 |
+
page_toolbar_wrap.setAttribute('class', 'form_id_tempform_view_img');
|
744 |
+
|
745 |
+
page_title = document.createElement('div');
|
746 |
+
page_title.innerHTML = '<span class="dashicons dashicons-move"></span>' + document.getElementById('form_id_tempform_view' + i).getAttribute('page_title');
|
747 |
+
page_toolbar_wrap.appendChild(page_title);
|
748 |
+
|
749 |
+
page_toolbar = document.createElement('div');
|
750 |
+
|
751 |
+
var icon = document.getElementById('form_id_tempform_view' + i).style.display == 'none' ? 'dashicons-arrow-down-alt2' : 'dashicons-arrow-up-alt2';
|
752 |
+
|
753 |
+
var icon_show_hide = document.createElement('span');
|
754 |
+
icon_show_hide.setAttribute('title', 'Show or hide the page');
|
755 |
+
icon_show_hide.setAttribute("class", "page_toolbar dashicons " + icon);
|
756 |
+
icon_show_hide.setAttribute('id', 'show_page_img_' + i);
|
757 |
+
icon_show_hide.setAttribute('onClick', 'show_or_hide("' + i + '"); change_show_hide_icon(this);');
|
758 |
+
|
759 |
+
var icon_remove = document.createElement("span");
|
760 |
+
icon_remove.setAttribute('title', 'Delete the page');
|
761 |
+
icon_remove.setAttribute("class", "page_toolbar dashicons dashicons-no");
|
762 |
+
icon_remove.setAttribute("onclick", 'remove_page("' + i + '")');
|
763 |
+
|
764 |
+
var icon_edit = document.createElement("span");
|
765 |
+
icon_edit.setAttribute('title', 'Edit the page');
|
766 |
+
icon_edit.setAttribute("class", "page_toolbar dashicons dashicons-edit");
|
767 |
+
icon_edit.setAttribute("onclick", 'edit_page_break("' + i + '")');
|
768 |
+
|
769 |
+
page_toolbar.appendChild(icon_remove);
|
770 |
+
page_toolbar.appendChild(icon_edit);
|
771 |
+
page_toolbar.appendChild(icon_show_hide);
|
772 |
+
page_toolbar_wrap.appendChild(page_toolbar);
|
773 |
+
var cur_page = document.getElementById('form_id_tempform_view' + i).parentNode;
|
774 |
+
cur_page.insertBefore(page_toolbar_wrap, cur_page.childNodes[0]);
|
|
|
|
|
|
|
|
|
775 |
});
|
776 |
|
777 |
if (form_view_count > 1) {
|
827 |
w_attr_name = [];
|
828 |
w_attr_value = [];
|
829 |
type_page_break(id, page_title, w_title, w_type, w_class, w_check, w_attr_name, w_attr_value);
|
830 |
+
}
|
831 |
+
|
832 |
+
function fm_popup_toggle(id) {
|
833 |
+
jQuery('#' + id).toggleClass('hidden');
|
834 |
+
jQuery('body').toggleClass('fm-disable-scroll');
|
835 |
}
|
js/formmaker_div.js
CHANGED
@@ -343,10 +343,6 @@ function right_row(id) {
|
|
343 |
|
344 |
sortable_columns();
|
345 |
remove_empty_columns();
|
346 |
-
|
347 |
-
if(document.getElementById("enable_sortable").value==0)
|
348 |
-
jQuery('.wdform_column').sortable( "disable" );
|
349 |
-
|
350 |
}
|
351 |
|
352 |
function left_row(id) {
|
@@ -369,9 +365,6 @@ function left_row(id) {
|
|
369 |
|
370 |
sortable_columns();
|
371 |
remove_empty_columns();
|
372 |
-
|
373 |
-
if(document.getElementById("enable_sortable").value==0)
|
374 |
-
jQuery('.wdform_column').sortable( "disable" );
|
375 |
}
|
376 |
|
377 |
function page_up(id) {
|
@@ -2889,7 +2882,7 @@ function generate_buttons(id) {
|
|
2889 |
var td = document.createElement("div");
|
2890 |
td.setAttribute("valign", "middle");
|
2891 |
td.setAttribute("align", "left");
|
2892 |
-
td.style.display = "
|
2893 |
td.style.width = "40%";
|
2894 |
page_nav.appendChild(td);
|
2895 |
|
@@ -2897,13 +2890,14 @@ function generate_buttons(id) {
|
|
2897 |
if (form_view_elemet.parentNode.previousSibling.tagName == "DIV") {
|
2898 |
table = true;
|
2899 |
}
|
2900 |
-
else if (form_view_elemet.parentNode.previousSibling.previousSibling)
|
2901 |
if (form_view_elemet.parentNode.previousSibling.previousSibling.tagName == "DIV") {
|
2902 |
table = true;
|
2903 |
}
|
2904 |
else {
|
2905 |
table = false;
|
2906 |
}
|
|
|
2907 |
else {
|
2908 |
table = false;
|
2909 |
}
|
@@ -2929,13 +2923,14 @@ function generate_buttons(id) {
|
|
2929 |
td.setAttribute("id", "page_numbersform_id_temp" + id);
|
2930 |
td.setAttribute("valign", "middle");
|
2931 |
td.setAttribute("align", "center");
|
2932 |
-
td.style.display = "
|
|
|
2933 |
page_nav.appendChild(td);
|
2934 |
|
2935 |
var td = document.createElement("div");
|
2936 |
td.setAttribute("valign", "middle");
|
2937 |
td.setAttribute("align", "right");
|
2938 |
-
td.style.display = "
|
2939 |
td.style.width = "40%";
|
2940 |
page_nav.appendChild(td);
|
2941 |
|
@@ -2979,11 +2974,10 @@ function generate_page_nav(id) {
|
|
2979 |
|
2980 |
jQuery('.wdform-page-and-images').each(function(){
|
2981 |
var index = jQuery(this).find('.form_id_tempform_view_img').attr('id').split("form_id_tempform_view_img");
|
2982 |
-
t = index[1]
|
2983 |
page_nav = document.getElementById("form_id_temppage_nav" + t);
|
2984 |
destroyChildren(page_nav);
|
2985 |
generate_buttons(t);
|
2986 |
-
|
2987 |
});
|
2988 |
|
2989 |
generate_page_bar();
|
@@ -2991,65 +2985,68 @@ function generate_page_nav(id) {
|
|
2991 |
}
|
2992 |
|
2993 |
function remove_page(id) {
|
2994 |
-
|
2995 |
-
|
2996 |
-
}
|
2997 |
}
|
2998 |
|
2999 |
-
function
|
3000 |
-
|
3001 |
-
|
3002 |
-
|
3003 |
-
var form_view_count = jQuery(".wdform-page-and-images").length;
|
3004 |
|
3005 |
-
|
3006 |
-
|
3007 |
-
|
3008 |
-
|
|
|
3009 |
|
3010 |
-
|
3011 |
-
|
3012 |
-
|
3013 |
-
|
3014 |
-
tr.setAttribute('class', 'wdform_section');
|
3015 |
-
tr.style.display = "table-row";
|
3016 |
|
3017 |
-
|
3018 |
-
|
3019 |
-
|
3020 |
-
|
|
|
|
|
3021 |
|
3022 |
-
|
3023 |
-
|
|
|
|
|
3024 |
|
3025 |
-
|
3026 |
-
|
3027 |
-
table_min_page_nav.style.display = "table";
|
3028 |
|
3029 |
-
|
3030 |
-
|
3031 |
-
|
3032 |
-
tr_min_page_nav.setAttribute('id', 'form_id_temppage_nav' + form_view);
|
3033 |
-
tr_min_page_nav.style.display = "table-row";
|
3034 |
|
3035 |
-
|
3036 |
-
|
|
|
|
|
|
|
3037 |
|
3038 |
-
|
|
|
3039 |
|
3040 |
-
|
3041 |
-
table_min_page_nav.appendChild(tbody_min_page_nav);
|
3042 |
-
td_page_nav.appendChild(table_min_page_nav);
|
3043 |
-
tr_page_nav.appendChild(td_page_nav);
|
3044 |
-
tbody.appendChild(tr);
|
3045 |
-
tbody.appendChild(tr_page_nav);
|
3046 |
|
3047 |
-
|
3048 |
-
|
3049 |
-
|
3050 |
-
|
3051 |
-
|
|
|
|
|
|
|
3052 |
}
|
|
|
|
|
|
|
3053 |
}
|
3054 |
|
3055 |
function refresh_pages(id) {
|
@@ -3059,35 +3056,28 @@ function refresh_pages(id) {
|
|
3059 |
var form_view_count = jQuery(".wdform-page-and-images").length;
|
3060 |
if (form_view_count > 1) {
|
3061 |
jQuery( ".wdform-page-and-images" ).each(function() {
|
3062 |
-
|
3063 |
-
|
3064 |
-
|
3065 |
-
|
3066 |
-
|
3067 |
-
|
3068 |
-
|
3069 |
-
|
3070 |
});
|
3071 |
}
|
3072 |
else {
|
3073 |
destroyChildren(document.getElementById("edit_page_navigation"));
|
3074 |
-
|
3075 |
-
|
3076 |
-
|
3077 |
-
|
3078 |
-
|
3079 |
-
|
3080 |
-
|
3081 |
-
|
|
|
3082 |
}
|
3083 |
-
jQuery( ".wdform-page-and-images" ).each(function() {
|
3084 |
-
var index = jQuery(this).find('.form_id_tempform_view_img').attr('id').split("form_id_tempform_view");
|
3085 |
-
i = index[1];
|
3086 |
-
if( i != id ) {
|
3087 |
-
generate_page_nav(i);
|
3088 |
-
return;
|
3089 |
-
}
|
3090 |
-
});
|
3091 |
}
|
3092 |
|
3093 |
function refresh_pages_without_deleting(id) {
|
@@ -3185,6 +3175,11 @@ function refresh_pages_without_deleting(id) {
|
|
3185 |
wdform_arrows.style.display = 'none';
|
3186 |
wdform_field.appendChild(wdform_arrows);
|
3187 |
wdform_row.appendChild(wdform_field);
|
|
|
|
|
|
|
|
|
|
|
3188 |
wdform_page = document.getElementById('form_id_tempform_view' + form_view);
|
3189 |
|
3190 |
var arrows_body = '<span class="wdform_arrows_basic wdform_arrows_container">' +
|
@@ -3222,109 +3217,107 @@ function refresh_pages_without_deleting(id) {
|
|
3222 |
all_sortable_events();
|
3223 |
}
|
3224 |
|
3225 |
-
function make_page_steps_front()
|
3226 |
-
|
3227 |
-
|
3228 |
-
|
3229 |
-
k=0;
|
3230 |
|
3231 |
-
|
3232 |
-
|
3233 |
-
|
3234 |
|
3235 |
-
|
3236 |
-
|
3237 |
-
|
3238 |
-
|
3239 |
-
|
3240 |
-
|
3241 |
-
|
3242 |
-
page_number.setAttribute('id','page_'+j);
|
3243 |
-
page_number.setAttribute('onClick','generate_page_nav("'+j+'")');
|
3244 |
-
if(j==form_view)
|
3245 |
-
page_number.setAttribute('class',"page_active");
|
3246 |
-
else
|
3247 |
-
page_number.setAttribute('class',"page_deactive");
|
3248 |
-
if(show_title)
|
3249 |
-
{
|
3250 |
-
page_number.innerHTML=w_pages;
|
3251 |
-
}
|
3252 |
-
else
|
3253 |
-
page_number.innerHTML=k;
|
3254 |
-
|
3255 |
-
document.getElementById("pages").appendChild(page_number);
|
3256 |
-
});
|
3257 |
-
}
|
3258 |
|
3259 |
-
|
3260 |
-
|
3261 |
-
|
3262 |
-
|
3263 |
-
|
3264 |
-
|
3265 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3266 |
|
3267 |
-
|
3268 |
-
|
3269 |
-
|
3270 |
-
|
3271 |
-
var b = document.createElement('b');
|
3272 |
|
3273 |
-
|
3274 |
-
|
3275 |
-
|
3276 |
-
cur_page_title='';
|
3277 |
-
jQuery( '.wdform-page-and-images' ).each(function() {
|
3278 |
-
var index = jQuery(this).find('.wdform_page').attr('id');
|
3279 |
-
j = index.split("form_id_tempform_view")[1];
|
3280 |
|
3281 |
-
|
3282 |
-
|
3283 |
-
else
|
3284 |
-
w_pages=""
|
3285 |
-
k++;
|
3286 |
-
|
3287 |
-
if(j==form_view)
|
3288 |
-
{
|
3289 |
-
if(show_title)
|
3290 |
-
{
|
3291 |
-
var cur_page_title = document.createElement('span');
|
3292 |
-
if(k==1)
|
3293 |
-
cur_page_title.style.paddingLeft="30px";
|
3294 |
-
else
|
3295 |
-
cur_page_title.style.paddingLeft="5px";
|
3296 |
-
cur_page_title.innerHTML=w_pages;
|
3297 |
-
}
|
3298 |
-
page_number=k;
|
3299 |
|
3300 |
-
|
3301 |
-
|
3302 |
-
|
3303 |
-
div.style.width=((page_number-1)/k)*100+'%';
|
3304 |
-
div_parent.appendChild(div);
|
3305 |
-
if(cur_page_title)
|
3306 |
-
div_parent.appendChild(cur_page_title);
|
3307 |
-
document.getElementById("pages").appendChild(div_parent);
|
3308 |
|
3309 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3310 |
}
|
3311 |
|
3312 |
-
function make_page_none_front()
|
3313 |
-
|
3314 |
-
|
3315 |
-
|
3316 |
-
|
3317 |
-
|
3318 |
-
|
3319 |
-
jQuery('#pages').append(no_pagbar);
|
3320 |
}
|
3321 |
|
3322 |
-
function generate_page_bar()
|
3323 |
-
|
3324 |
-
|
3325 |
-
|
3326 |
-
|
3327 |
-
need_enable=true;
|
3328 |
}
|
3329 |
|
3330 |
function remove_add_(id)
|
343 |
|
344 |
sortable_columns();
|
345 |
remove_empty_columns();
|
|
|
|
|
|
|
|
|
346 |
}
|
347 |
|
348 |
function left_row(id) {
|
365 |
|
366 |
sortable_columns();
|
367 |
remove_empty_columns();
|
|
|
|
|
|
|
368 |
}
|
369 |
|
370 |
function page_up(id) {
|
2882 |
var td = document.createElement("div");
|
2883 |
td.setAttribute("valign", "middle");
|
2884 |
td.setAttribute("align", "left");
|
2885 |
+
td.style.display = "inline-block";
|
2886 |
td.style.width = "40%";
|
2887 |
page_nav.appendChild(td);
|
2888 |
|
2890 |
if (form_view_elemet.parentNode.previousSibling.tagName == "DIV") {
|
2891 |
table = true;
|
2892 |
}
|
2893 |
+
else if (form_view_elemet.parentNode.previousSibling.previousSibling) {
|
2894 |
if (form_view_elemet.parentNode.previousSibling.previousSibling.tagName == "DIV") {
|
2895 |
table = true;
|
2896 |
}
|
2897 |
else {
|
2898 |
table = false;
|
2899 |
}
|
2900 |
+
}
|
2901 |
else {
|
2902 |
table = false;
|
2903 |
}
|
2923 |
td.setAttribute("id", "page_numbersform_id_temp" + id);
|
2924 |
td.setAttribute("valign", "middle");
|
2925 |
td.setAttribute("align", "center");
|
2926 |
+
td.style.display = "inline-block";
|
2927 |
+
td.style.width = "20%";
|
2928 |
page_nav.appendChild(td);
|
2929 |
|
2930 |
var td = document.createElement("div");
|
2931 |
td.setAttribute("valign", "middle");
|
2932 |
td.setAttribute("align", "right");
|
2933 |
+
td.style.display = "inline-block";
|
2934 |
td.style.width = "40%";
|
2935 |
page_nav.appendChild(td);
|
2936 |
|
2974 |
|
2975 |
jQuery('.wdform-page-and-images').each(function(){
|
2976 |
var index = jQuery(this).find('.form_id_tempform_view_img').attr('id').split("form_id_tempform_view_img");
|
2977 |
+
t = index[1];
|
2978 |
page_nav = document.getElementById("form_id_temppage_nav" + t);
|
2979 |
destroyChildren(page_nav);
|
2980 |
generate_buttons(t);
|
|
|
2981 |
});
|
2982 |
|
2983 |
generate_page_bar();
|
2985 |
}
|
2986 |
|
2987 |
function remove_page(id) {
|
2988 |
+
jQuery('#fm_delete_page_id').val(id);
|
2989 |
+
fm_popup_toggle('fm_delete_page_popup_container');
|
|
|
2990 |
}
|
2991 |
|
2992 |
+
function remove_page_only() {
|
2993 |
+
id = jQuery('#fm_delete_page_id').val();
|
2994 |
+
refresh_pages_without_deleting(id);
|
2995 |
+
}
|
|
|
2996 |
|
2997 |
+
function remove_page_all() {
|
2998 |
+
id = jQuery('#fm_delete_page_id').val();
|
2999 |
+
form_view_elemet = document.getElementById("form_id_tempform_view" + id);
|
3000 |
+
form_view_count = 0;
|
3001 |
+
var form_view_count = jQuery(".wdform-page-and-images").length;
|
3002 |
|
3003 |
+
if (form_view_count == 2) {
|
3004 |
+
jQuery(".form_id_tempform_view_img").removeClass('form_view_show').addClass('form_view_hide');
|
3005 |
+
jQuery('*[id*=form_id_temppage_nav]').empty();
|
3006 |
+
}
|
|
|
|
|
3007 |
|
3008 |
+
if (form_view_count == 1) {
|
3009 |
+
form_view_elemet.innerHTML = '';
|
3010 |
+
tbody = form_view_elemet;
|
3011 |
+
tr = document.createElement('div');
|
3012 |
+
tr.setAttribute('class', 'wdform_section');
|
3013 |
+
tr.style.display = "table-row";
|
3014 |
|
3015 |
+
tr_page_nav = document.createElement('div');
|
3016 |
+
tr_page_nav.setAttribute('valign', 'top');
|
3017 |
+
tr_page_nav.setAttribute('class', 'wdform_footer');
|
3018 |
+
tr_page_nav.style.width = "100%";
|
3019 |
|
3020 |
+
td_page_nav = document.createElement('div');
|
3021 |
+
td_page_nav.style.width = "100%";
|
|
|
3022 |
|
3023 |
+
table_min_page_nav = document.createElement('div');
|
3024 |
+
table_min_page_nav.style.width = "100%";
|
3025 |
+
table_min_page_nav.style.display = "table";
|
|
|
|
|
3026 |
|
3027 |
+
tbody_min_page_nav = document.createElement('div');
|
3028 |
+
tbody_min_page_nav.style.display = "table-row-group";
|
3029 |
+
tr_min_page_nav = document.createElement('div');
|
3030 |
+
tr_min_page_nav.setAttribute('id', 'form_id_temppage_nav' + form_view);
|
3031 |
+
tr_min_page_nav.style.display = "table-row";
|
3032 |
|
3033 |
+
table_min = document.createElement('div');
|
3034 |
+
table_min.setAttribute('class', 'wdform_column');
|
3035 |
|
3036 |
+
tr.appendChild(table_min);
|
|
|
|
|
|
|
|
|
|
|
3037 |
|
3038 |
+
tbody_min_page_nav.appendChild(tr_min_page_nav);
|
3039 |
+
table_min_page_nav.appendChild(tbody_min_page_nav);
|
3040 |
+
td_page_nav.appendChild(table_min_page_nav);
|
3041 |
+
tr_page_nav.appendChild(td_page_nav);
|
3042 |
+
tbody.appendChild(tr);
|
3043 |
+
tbody.appendChild(tr_page_nav);
|
3044 |
+
|
3045 |
+
return;
|
3046 |
}
|
3047 |
+
form_view_table = form_view_elemet.parentNode;
|
3048 |
+
document.getElementById("take").removeChild(form_view_table);
|
3049 |
+
refresh_pages(id);
|
3050 |
}
|
3051 |
|
3052 |
function refresh_pages(id) {
|
3056 |
var form_view_count = jQuery(".wdform-page-and-images").length;
|
3057 |
if (form_view_count > 1) {
|
3058 |
jQuery( ".wdform-page-and-images" ).each(function() {
|
3059 |
+
var index = jQuery(this).find('.form_id_tempform_view_img').attr('id').split("form_id_tempform_view_img");
|
3060 |
+
i = index[1];
|
3061 |
+
page_number = document.createElement('span');
|
3062 |
+
page_number.setAttribute('id', 'page_' + i);
|
3063 |
+
page_number.setAttribute('class', 'page_deactive');
|
3064 |
+
page_number.innerHTML = (temp);
|
3065 |
+
temp++;
|
3066 |
+
document.getElementById("pages").appendChild(page_number);
|
3067 |
});
|
3068 |
}
|
3069 |
else {
|
3070 |
destroyChildren(document.getElementById("edit_page_navigation"));
|
3071 |
+
jQuery( ".wdform-page-and-images" ).each(function() {
|
3072 |
+
jQuery(this).find('.wdform_page').show();
|
3073 |
+
var index = jQuery(this).find('.form_id_tempform_view_img').attr('id').split("form_id_tempform_view_img");
|
3074 |
+
i = index[1];
|
3075 |
+
document.getElementById('form_id_tempform_view' + i).parentNode.style.borderWidth = "0px";
|
3076 |
+
document.getElementById("form_id_temppage_nav" + i).innerHTML = "";
|
3077 |
+
form_view = i;
|
3078 |
+
return;
|
3079 |
+
});
|
3080 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3081 |
}
|
3082 |
|
3083 |
function refresh_pages_without_deleting(id) {
|
3175 |
wdform_arrows.style.display = 'none';
|
3176 |
wdform_field.appendChild(wdform_arrows);
|
3177 |
wdform_row.appendChild(wdform_field);
|
3178 |
+
var option = document.createElement('div');
|
3179 |
+
option.setAttribute("id", i + "_element_labelform_id_temp");
|
3180 |
+
option.style.color = 'red';
|
3181 |
+
option.innerHTML = "Section Break";
|
3182 |
+
wdform_row.appendChild(option);
|
3183 |
wdform_page = document.getElementById('form_id_tempform_view' + form_view);
|
3184 |
|
3185 |
var arrows_body = '<span class="wdform_arrows_basic wdform_arrows_container">' +
|
3217 |
all_sortable_events();
|
3218 |
}
|
3219 |
|
3220 |
+
function make_page_steps_front() {
|
3221 |
+
destroyChildren(document.getElementById("pages"));
|
3222 |
+
show_title = document.getElementById('el_show_title_input').checked;
|
3223 |
+
k = 0;
|
|
|
3224 |
|
3225 |
+
jQuery('.wdform-page-and-images').each(function () {
|
3226 |
+
var index = jQuery(this).find('.wdform_page').attr('id');
|
3227 |
+
j = index.split("form_id_tempform_view")[1];
|
3228 |
|
3229 |
+
if (document.getElementById('form_id_tempform_view' + j).getAttribute('page_title')) {
|
3230 |
+
w_pages = document.getElementById('form_id_tempform_view' + j).getAttribute('page_title');
|
3231 |
+
}
|
3232 |
+
else {
|
3233 |
+
w_pages = "";
|
3234 |
+
}
|
3235 |
+
k++;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3236 |
|
3237 |
+
page_number = document.createElement('span');
|
3238 |
+
page_number.setAttribute('id', 'page_' + j);
|
3239 |
+
page_number.setAttribute('onClick', 'generate_page_nav("' + j + '")');
|
3240 |
+
if (j == form_view) {
|
3241 |
+
page_number.setAttribute('class', "page_active");
|
3242 |
+
}
|
3243 |
+
else {
|
3244 |
+
page_number.setAttribute('class', "page_deactive");
|
3245 |
+
}
|
3246 |
+
if (show_title) {
|
3247 |
+
page_number.innerHTML = w_pages;
|
3248 |
+
}
|
3249 |
+
else {
|
3250 |
+
page_number.innerHTML = k;
|
3251 |
+
}
|
3252 |
|
3253 |
+
document.getElementById("pages").appendChild(page_number);
|
3254 |
+
});
|
3255 |
+
}
|
|
|
|
|
3256 |
|
3257 |
+
function make_page_percentage_front() {
|
3258 |
+
destroyChildren(document.getElementById("pages"));
|
3259 |
+
show_title = document.getElementById('el_show_title_input').checked;
|
|
|
|
|
|
|
|
|
3260 |
|
3261 |
+
var div_parent = document.createElement('div');
|
3262 |
+
div_parent.setAttribute("class", "page_percentage_deactive");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3263 |
|
3264 |
+
var div = document.createElement('div');
|
3265 |
+
div.setAttribute("id", "div_percentage");
|
3266 |
+
div.setAttribute("class", "page_percentage_active");
|
|
|
|
|
|
|
|
|
|
|
3267 |
|
3268 |
+
var b = document.createElement('b');
|
3269 |
+
div.appendChild(b);
|
3270 |
+
k = 0;
|
3271 |
+
cur_page_title = '';
|
3272 |
+
jQuery('.wdform-page-and-images').each(function () {
|
3273 |
+
var index = jQuery(this).find('.wdform_page').attr('id');
|
3274 |
+
j = index.split("form_id_tempform_view")[1];
|
3275 |
+
|
3276 |
+
if (document.getElementById('form_id_tempform_view' + j).getAttribute('page_title')) {
|
3277 |
+
w_pages = document.getElementById('form_id_tempform_view' + j).getAttribute('page_title');
|
3278 |
+
}
|
3279 |
+
else {
|
3280 |
+
w_pages = "";
|
3281 |
+
}
|
3282 |
+
k++;
|
3283 |
+
|
3284 |
+
if (j == form_view) {
|
3285 |
+
if (show_title) {
|
3286 |
+
var cur_page_title = document.createElement('span');
|
3287 |
+
if (k == 1) {
|
3288 |
+
cur_page_title.style.paddingLeft = "30px";
|
3289 |
+
}
|
3290 |
+
else {
|
3291 |
+
cur_page_title.style.paddingLeft = "5px";
|
3292 |
+
}
|
3293 |
+
cur_page_title.innerHTML = w_pages;
|
3294 |
+
}
|
3295 |
+
page_number = k;
|
3296 |
+
}
|
3297 |
+
});
|
3298 |
+
b.innerHTML = Math.round(((page_number - 1) / k) * 100) + '%';
|
3299 |
+
div.style.width = ((page_number - 1) / k) * 100 + '%';
|
3300 |
+
div_parent.appendChild(div);
|
3301 |
+
if (cur_page_title) {
|
3302 |
+
div_parent.appendChild(cur_page_title);
|
3303 |
+
}
|
3304 |
+
document.getElementById("pages").appendChild(div_parent);
|
3305 |
}
|
3306 |
|
3307 |
+
function make_page_none_front() {
|
3308 |
+
var no_pagbar = document.createElement('div');
|
3309 |
+
no_pagbar.innerHTML = "NO PAGE BAR";
|
3310 |
+
no_pagbar.style.cssText = 'width:100px; padding:10px; border:1px solid #ccc;';
|
3311 |
+
|
3312 |
+
jQuery('#pages').empty();
|
3313 |
+
jQuery('#pages').append(no_pagbar);
|
|
|
3314 |
}
|
3315 |
|
3316 |
+
function generate_page_bar() {
|
3317 |
+
need_enable = false;
|
3318 |
+
el_page_navigation();
|
3319 |
+
add(0, false);
|
3320 |
+
need_enable = true;
|
|
|
3321 |
}
|
3322 |
|
3323 |
function remove_add_(id)
|
js/main_div_front_end.js
CHANGED
@@ -419,68 +419,57 @@ function destroyChildren(node) {
|
|
419 |
}
|
420 |
}
|
421 |
|
422 |
-
function generate_page_nav(id, form_id, form_view_count
|
423 |
-
form_view=id;
|
424 |
-
page_nav=document.getElementById(form_id+'page_nav'+id);
|
425 |
destroyChildren(page_nav);
|
426 |
-
form_view_elemet=document.getElementById(form_id+'form_view'+id);
|
427 |
remove_whitespace(form_view_elemet.parentNode.parentNode);
|
428 |
display_none_form_views_all(form_id);
|
429 |
-
|
430 |
-
form_view_elemet.parentNode.style.display="";
|
431 |
var td = document.createElement("div");
|
432 |
td.setAttribute("valign", "middle");
|
433 |
td.setAttribute("align", "left");
|
434 |
-
td.style.display="table-cell";
|
435 |
-
td.style.width="40%";
|
436 |
page_nav.appendChild(td);
|
437 |
-
if(form_view_elemet.parentNode.previousSibling && 'wdform-page-and-images' == form_view_elemet.parentNode.previousSibling.className && form_view_elemet.parentNode.previousSibling.previousSibling) {
|
438 |
-
if(form_view_elemet.parentNode.previousSibling.tagName=="DIV") {
|
439 |
-
table=form_view_elemet.parentNode.previousSibling;
|
440 |
}
|
441 |
else {
|
442 |
-
if(form_view_elemet.parentNode.previousSibling.previousSibling.tagName=="DIV") {
|
443 |
-
table=form_view_elemet.parentNode.previousSibling.previousSibling;
|
444 |
}
|
445 |
else {
|
446 |
-
table="none";
|
447 |
}
|
448 |
}
|
449 |
-
if(table!="none") {
|
450 |
-
if(!table.firstChild.tagName) {
|
451 |
table.removeChild(table.firstChild);
|
452 |
}
|
453 |
-
previous_title
|
454 |
-
previous_type
|
455 |
-
if(previous_type=="text") {
|
456 |
td.setAttribute("class", "previous-page");
|
457 |
}
|
458 |
-
previous_class
|
459 |
-
previous_checkable
|
460 |
-
next_or_previous="previous";
|
461 |
-
previous=make_pagebreak_button(next_or_previous, previous_title, previous_type, previous_class, previous_checkable, id, form_id, form_view_count
|
462 |
td.appendChild(previous);
|
463 |
}
|
464 |
}
|
465 |
var td = document.createElement("div");
|
466 |
-
td.setAttribute("id", form_id+"page_numbers"+form_view);
|
467 |
td.setAttribute("valign", "middle");
|
468 |
td.setAttribute("class", "page-numbers");
|
469 |
td.setAttribute("align", "center");
|
470 |
-
td.style.display="table-cell";
|
471 |
-
if(document.getElementById('fm-pages' + form_id).getAttribute('show_numbers')=="true") {
|
472 |
-
k=0;
|
473 |
-
for(j=1; j<=form_view_max; j++) {
|
474 |
-
if(document.getElementById(form_id+'form_view'+j)) {
|
475 |
-
k++;
|
476 |
-
if(j==form_view) {
|
477 |
-
page_number=k;
|
478 |
-
}
|
479 |
-
}
|
480 |
-
}
|
481 |
var cur = document.createElement('span');
|
482 |
cur.setAttribute("class", "page_numbers");
|
483 |
-
cur.innerHTML=page_number+'/'+k;
|
484 |
td.appendChild(cur);
|
485 |
}
|
486 |
page_nav.appendChild(td);
|
@@ -489,43 +478,44 @@ function generate_page_nav(id, form_id, form_view_count, form_view_max) {
|
|
489 |
td.setAttribute("align", "right");
|
490 |
td.style.cssText = "display:table-cell; width:40%; text-align:right;";
|
491 |
page_nav.appendChild(td);
|
492 |
-
not_next=false;
|
493 |
-
if(form_view_elemet.parentNode.nextSibling) {
|
494 |
-
if(form_view_elemet.parentNode.nextSibling.tagName=="DIV" && form_view_elemet.parentNode.nextSibling.className=="wdform-page-and-images") {
|
495 |
-
table=form_view_elemet.parentNode.nextSibling;
|
496 |
}
|
497 |
else {
|
498 |
-
if(form_view_elemet.parentNode.nextSibling.nextSibling) {
|
499 |
-
if(form_view_elemet.parentNode.nextSibling.nextSibling.tagName=="DIV") {
|
500 |
-
table=form_view_elemet.parentNode.nextSibling.nextSibling;
|
501 |
}
|
502 |
else {
|
503 |
-
table="none";
|
504 |
}
|
505 |
}
|
506 |
else {
|
507 |
-
table="none";
|
508 |
}
|
509 |
}
|
510 |
-
if(table!="none") {
|
511 |
-
next_title
|
512 |
-
next_type
|
513 |
-
if(next_type=="text") {
|
514 |
td.setAttribute("class", "next-page");
|
515 |
}
|
516 |
next_class = form_view_elemet.getAttribute('next_class');
|
517 |
next_checkable = form_view_elemet.getAttribute('next_checkable');
|
518 |
-
next_or_previous="next";
|
519 |
-
next=make_pagebreak_button(next_or_previous, next_title, next_type, next_class, next_checkable, id, form_id, form_view_count
|
520 |
td.appendChild(next);
|
521 |
}
|
522 |
else {
|
523 |
-
not_next=true;
|
524 |
}
|
525 |
}
|
526 |
else {
|
527 |
-
not_next=true;
|
528 |
}
|
|
|
529 |
fm_initilize_form(form_id);
|
530 |
}
|
531 |
|
@@ -577,98 +567,103 @@ function display_none_form_views_all(form_id) {
|
|
577 |
jQuery("#form"+form_id+" .wdform-page-and-images").css('display','none');
|
578 |
}
|
579 |
|
580 |
-
function generate_page_bar(form_view, form_id, form_view_count
|
581 |
-
if(document.getElementById('fm-pages' + form_id).getAttribute('type')=='steps') {
|
582 |
-
make_page_steps_front(form_view, form_id, form_view_count
|
583 |
}
|
584 |
else {
|
585 |
-
if(document.getElementById('fm-pages' + form_id).getAttribute('type')=='percentage') {
|
586 |
-
make_page_percentage_front(form_view, form_id, form_view_count
|
587 |
}
|
588 |
else {
|
589 |
make_page_none_front(form_id);
|
590 |
}
|
591 |
}
|
592 |
-
if(document.getElementById('fm-pages' + form_id).getAttribute('
|
593 |
-
td = document.getElementById(form_id+'page_numbers'+form_view);
|
594 |
-
if(td) {
|
595 |
destroyChildren(td);
|
596 |
-
k=0;
|
597 |
-
|
598 |
-
|
|
|
|
|
|
|
599 |
k++;
|
600 |
-
if(j==form_view) {
|
601 |
-
|
602 |
}
|
603 |
}
|
604 |
-
}
|
605 |
var cur = document.createElement('span');
|
606 |
cur.setAttribute("class", "page_numbers");
|
607 |
-
cur.innerHTML=
|
608 |
td.appendChild(cur);
|
609 |
}
|
610 |
}
|
611 |
else {
|
612 |
-
td = document.getElementById(form_id+'page_numbers'+form_view);
|
613 |
-
if(td) {
|
614 |
-
destroyChildren(document.getElementById(form_id+'page_numbers'+form_view));
|
615 |
}
|
616 |
}
|
617 |
}
|
618 |
|
619 |
-
function make_page_steps_front(form_view, form_id, form_view_count
|
620 |
destroyChildren(document.getElementById('fm-pages' + form_id));
|
621 |
-
show_title
|
622 |
-
next_checkable
|
623 |
-
previous_checkable
|
624 |
-
k=0;
|
625 |
-
|
626 |
-
|
627 |
-
|
628 |
-
|
|
|
|
|
629 |
}
|
630 |
else {
|
631 |
-
w_pages="";
|
632 |
}
|
633 |
k++;
|
634 |
page_number = document.createElement('span');
|
635 |
-
page_number.setAttribute('id','page_'+j);
|
636 |
-
if(j<form_view) {
|
637 |
-
if(previous_checkable) {
|
638 |
-
page_number.setAttribute('onClick','if(fm_check('+form_view+', '+form_id+', false)) generate_page_nav("'+j+'", "'+form_id+'", "'+form_view_count+
|
639 |
}
|
640 |
else {
|
641 |
-
page_number.setAttribute('onClick','generate_page_nav("'+j+'", "'+form_id+'", "'+form_view_count+
|
642 |
}
|
643 |
}
|
644 |
-
if(j>form_view) {
|
645 |
-
if(next_checkable) {
|
646 |
-
page_number.setAttribute('onClick','if(fm_check('+form_view+', '+form_id+', false)) generate_page_nav("'+j+'", "'+form_id+'", "'+form_view_count+
|
647 |
}
|
648 |
else {
|
649 |
-
page_number.setAttribute('onClick','generate_page_nav("'+j+'", "'+form_id+'", "'+form_view_count+
|
650 |
}
|
651 |
}
|
652 |
-
if(j==form_view) {
|
653 |
-
page_number.setAttribute('class',"page_active");
|
654 |
}
|
655 |
else {
|
656 |
-
page_number.setAttribute('class',"page_deactive");
|
657 |
}
|
658 |
-
if(show_title) {
|
659 |
-
page_number.innerHTML=w_pages;
|
660 |
}
|
661 |
else {
|
662 |
-
page_number.innerHTML=k;
|
663 |
}
|
664 |
document.getElementById('fm-pages' + form_id).appendChild(page_number);
|
665 |
}
|
666 |
-
}
|
667 |
}
|
668 |
|
669 |
-
function make_page_percentage_front(form_view, form_id, form_view_count
|
670 |
destroyChildren(document.getElementById('fm-pages' + form_id));
|
671 |
-
show_title=(document.getElementById('fm-pages' + form_id).getAttribute('show_title')=='true');
|
672 |
var div_parent = document.createElement('div');
|
673 |
div_parent.setAttribute("class", "page_percentage_deactive");
|
674 |
var div = document.createElement('div');
|
@@ -680,36 +675,38 @@ function make_page_percentage_front(form_view, form_id, form_view_count, form_vi
|
|
680 |
var b = document.createElement('b');
|
681 |
b.setAttribute("class", "wdform_percentage_text");
|
682 |
div.appendChild(b);
|
683 |
-
k=0;
|
684 |
-
cur_page_title='';
|
685 |
-
|
686 |
-
|
687 |
-
|
688 |
-
|
|
|
|
|
689 |
}
|
690 |
else {
|
691 |
-
w_pages="";
|
692 |
}
|
693 |
k++;
|
694 |
-
if(j==form_view) {
|
695 |
-
if(show_title) {
|
696 |
var cur_page_title = document.createElement('div');
|
697 |
-
cur_page_title.innerHTML=w_pages;
|
698 |
-
cur_page_title.innerHTML=w_pages;
|
699 |
cur_page_title.setAttribute("class", "wdform_percentage_title");
|
700 |
}
|
701 |
-
page_number=k;
|
702 |
}
|
703 |
}
|
704 |
-
}
|
705 |
-
b.innerHTML=Math.round(((page_number-1)/k)*100)+'%';
|
706 |
-
div.style.width=((page_number-1)/k)*100+'%';
|
707 |
-
if(page_number==1) {
|
708 |
-
div_arrow.style.display='none';
|
709 |
}
|
710 |
div_parent.appendChild(div);
|
711 |
div_parent.appendChild(div_arrow);
|
712 |
-
if(cur_page_title) {
|
713 |
div_parent.appendChild(cur_page_title);
|
714 |
}
|
715 |
document.getElementById('fm-pages' + form_id).appendChild(div_parent);
|
@@ -719,17 +716,17 @@ function make_page_none_front(form_id) {
|
|
719 |
destroyChildren(document.getElementById('fm-pages' + form_id));
|
720 |
}
|
721 |
|
722 |
-
function make_pagebreak_button(next_or_previous,title,type, class_, checkable, id, form_id, form_view_count
|
723 |
switch(type) {
|
724 |
case 'text': {
|
725 |
var element = document.createElement('div');
|
726 |
element.setAttribute('id', "page_"+next_or_previous+"_"+id);
|
727 |
element.setAttribute('class', class_);
|
728 |
if(checkable=="true") {
|
729 |
-
element.setAttribute('onClick', "if(fm_check("+id+", "+form_id+", false)) page_"+next_or_previous+"("+id+","+form_id+","+form_view_count+"
|
730 |
}
|
731 |
else {
|
732 |
-
element.setAttribute('onClick', "page_"+next_or_previous+"("+id+","+form_id+","+form_view_count+"
|
733 |
}
|
734 |
element.innerHTML=title;
|
735 |
return element;
|
@@ -739,10 +736,10 @@ function make_pagebreak_button(next_or_previous,title,type, class_, checkable, i
|
|
739 |
element.setAttribute('id', "page_"+next_or_previous+"_"+id);
|
740 |
element.setAttribute('class', class_);
|
741 |
if(checkable=="true") {
|
742 |
-
element.setAttribute('onClick', "if(fm_check("+id+", "+form_id+", false)) page_"+next_or_previous+"("+id+","+form_id+","+form_view_count+"
|
743 |
}
|
744 |
else {
|
745 |
-
element.setAttribute('onClick', "page_"+next_or_previous+"("+id+","+form_id+","+form_view_count+"
|
746 |
}
|
747 |
if(title.indexOf("http")==0) {
|
748 |
element.src=title;
|
@@ -765,7 +762,7 @@ function form_maker_findPos(obj) {
|
|
765 |
}
|
766 |
}
|
767 |
|
768 |
-
function page_previous(id, form_id, form_view_count
|
769 |
form_view_elemet = document.getElementById(form_id + 'form_view' + id);
|
770 |
if (form_view_elemet.parentNode.previousSibling && form_view_elemet.parentNode.previousSibling.previousSibling) {
|
771 |
if (form_view_elemet.parentNode.previousSibling.tagName == "DIV") {
|
@@ -778,7 +775,7 @@ function page_previous(id, form_id, form_view_count, form_view_max) {
|
|
778 |
if (!table.firstChild.tagName) {
|
779 |
table.removeChild(table.firstChild);
|
780 |
}
|
781 |
-
generate_page_nav(table.firstChild.id.replace(form_id + 'form_view', ""), form_id, form_view_count
|
782 |
form = jQuery("#form" + form_id);
|
783 |
if (!form.parent().hasClass('fm-scrollbox-form')) {
|
784 |
jQuery('html').animate({
|
@@ -787,7 +784,7 @@ function page_previous(id, form_id, form_view_count, form_view_max) {
|
|
787 |
}
|
788 |
}
|
789 |
|
790 |
-
function page_next(id, form_id, form_view_count
|
791 |
form_view_elemet = document.getElementById(form_id + 'form_view' + id);
|
792 |
if (form_view_elemet.parentNode.nextSibling) {
|
793 |
if (form_view_elemet.parentNode.nextSibling.tagName == "DIV") {
|
@@ -801,7 +798,7 @@ function page_next(id, form_id, form_view_count, form_view_max) {
|
|
801 |
if (!table.firstChild.tagName) {
|
802 |
table.removeChild(table.firstChild);
|
803 |
}
|
804 |
-
generate_page_nav(table.firstChild.id.replace(form_id + 'form_view', ""), form_id, form_view_count
|
805 |
form = jQuery("#form" + form_id);
|
806 |
if (!form.parent().hasClass('fm-scrollbox-form')) {
|
807 |
jQuery('html').animate({
|
@@ -810,14 +807,14 @@ function page_next(id, form_id, form_view_count, form_view_max) {
|
|
810 |
}
|
811 |
}
|
812 |
|
813 |
-
function fm_go_to_page(id, form_id, form_view_count
|
814 |
form_view_elemet = document.getElementById(form_id + 'form_view' + id);
|
815 |
table = form_view_elemet.parentNode;
|
816 |
|
817 |
if (!table.firstChild.tagName) {
|
818 |
table.removeChild(table.firstChild);
|
819 |
}
|
820 |
-
generate_page_nav(table.firstChild.id.replace(form_id + 'form_view', ""), form_id, form_view_count
|
821 |
form = jQuery("#form" + form_id);
|
822 |
if (!form.parent().hasClass('fm-scrollbox-form')) {
|
823 |
jQuery('html').animate({
|
@@ -2056,21 +2053,17 @@ function fm_document_ready(form_id) {
|
|
2056 |
|
2057 |
var pagebreak_count = jQuery("#form"+form_id+" .wdform-page-and-images").length;
|
2058 |
window['form_view_count' + form_id] = pagebreak_count;
|
2059 |
-
var maxid = jQuery("#form"+form_id+" .wdform_page").last().attr("id");
|
2060 |
-
if ( typeof maxid == "undefined" ) {
|
2061 |
-
return;
|
2062 |
-
}
|
2063 |
-
maxid = maxid.split("form_view");
|
2064 |
-
window['form_view_max' + form_id] = maxid[1];
|
2065 |
|
2066 |
if (window['form_view_count' + form_id] > 1) {
|
2067 |
firstid = jQuery("#form"+form_id+" .wdform_page").first().attr("id");
|
2068 |
firstid = firstid.split("form_view");
|
2069 |
window['first_form_view' + form_id] = firstid[1];
|
2070 |
-
generate_page_nav(window['first_form_view' + form_id], form_id, window['form_view_count' + form_id]
|
2071 |
}
|
2072 |
fm_initilize_form(form_id);
|
2073 |
window["condition_js" + form_id]();
|
|
|
|
|
2074 |
}
|
2075 |
|
2076 |
function fm_check(id, form_id, all_pages) {
|
419 |
}
|
420 |
}
|
421 |
|
422 |
+
function generate_page_nav(id, form_id, form_view_count) {
|
423 |
+
form_view = id;
|
424 |
+
page_nav = document.getElementById(form_id + 'page_nav' + id);
|
425 |
destroyChildren(page_nav);
|
426 |
+
form_view_elemet = document.getElementById(form_id + 'form_view' + id);
|
427 |
remove_whitespace(form_view_elemet.parentNode.parentNode);
|
428 |
display_none_form_views_all(form_id);
|
429 |
+
form_view_elemet.parentNode.style.display = "";
|
|
|
430 |
var td = document.createElement("div");
|
431 |
td.setAttribute("valign", "middle");
|
432 |
td.setAttribute("align", "left");
|
433 |
+
td.style.display = "table-cell";
|
434 |
+
td.style.width = "40%";
|
435 |
page_nav.appendChild(td);
|
436 |
+
if (form_view_elemet.parentNode.previousSibling && 'wdform-page-and-images' == form_view_elemet.parentNode.previousSibling.className && form_view_elemet.parentNode.previousSibling.previousSibling) {
|
437 |
+
if (form_view_elemet.parentNode.previousSibling.tagName == "DIV") {
|
438 |
+
table = form_view_elemet.parentNode.previousSibling;
|
439 |
}
|
440 |
else {
|
441 |
+
if (form_view_elemet.parentNode.previousSibling.previousSibling.tagName == "DIV") {
|
442 |
+
table = form_view_elemet.parentNode.previousSibling.previousSibling;
|
443 |
}
|
444 |
else {
|
445 |
+
table = "none";
|
446 |
}
|
447 |
}
|
448 |
+
if (table != "none") {
|
449 |
+
if (!table.firstChild.tagName) {
|
450 |
table.removeChild(table.firstChild);
|
451 |
}
|
452 |
+
previous_title = form_view_elemet.getAttribute('previous_title');
|
453 |
+
previous_type = form_view_elemet.getAttribute('previous_type');
|
454 |
+
if (previous_type == "text") {
|
455 |
td.setAttribute("class", "previous-page");
|
456 |
}
|
457 |
+
previous_class = form_view_elemet.getAttribute('previous_class');
|
458 |
+
previous_checkable = form_view_elemet.getAttribute('previous_checkable');
|
459 |
+
next_or_previous = "previous";
|
460 |
+
previous = make_pagebreak_button(next_or_previous, previous_title, previous_type, previous_class, previous_checkable, id, form_id, form_view_count);
|
461 |
td.appendChild(previous);
|
462 |
}
|
463 |
}
|
464 |
var td = document.createElement("div");
|
465 |
+
td.setAttribute("id", form_id + "page_numbers" + form_view);
|
466 |
td.setAttribute("valign", "middle");
|
467 |
td.setAttribute("class", "page-numbers");
|
468 |
td.setAttribute("align", "center");
|
469 |
+
td.style.display = "table-cell";
|
470 |
+
if (document.getElementById('fm-pages' + form_id).getAttribute('show_numbers') == "true") {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
471 |
var cur = document.createElement('span');
|
472 |
cur.setAttribute("class", "page_numbers");
|
|
|
473 |
td.appendChild(cur);
|
474 |
}
|
475 |
page_nav.appendChild(td);
|
478 |
td.setAttribute("align", "right");
|
479 |
td.style.cssText = "display:table-cell; width:40%; text-align:right;";
|
480 |
page_nav.appendChild(td);
|
481 |
+
not_next = false;
|
482 |
+
if (form_view_elemet.parentNode.nextSibling) {
|
483 |
+
if (form_view_elemet.parentNode.nextSibling.tagName == "DIV" && form_view_elemet.parentNode.nextSibling.className == "wdform-page-and-images") {
|
484 |
+
table = form_view_elemet.parentNode.nextSibling;
|
485 |
}
|
486 |
else {
|
487 |
+
if (form_view_elemet.parentNode.nextSibling.nextSibling) {
|
488 |
+
if (form_view_elemet.parentNode.nextSibling.nextSibling.tagName == "DIV") {
|
489 |
+
table = form_view_elemet.parentNode.nextSibling.nextSibling;
|
490 |
}
|
491 |
else {
|
492 |
+
table = "none";
|
493 |
}
|
494 |
}
|
495 |
else {
|
496 |
+
table = "none";
|
497 |
}
|
498 |
}
|
499 |
+
if (table != "none") {
|
500 |
+
next_title = form_view_elemet.getAttribute('next_title');
|
501 |
+
next_type = form_view_elemet.getAttribute('next_type');
|
502 |
+
if (next_type == "text") {
|
503 |
td.setAttribute("class", "next-page");
|
504 |
}
|
505 |
next_class = form_view_elemet.getAttribute('next_class');
|
506 |
next_checkable = form_view_elemet.getAttribute('next_checkable');
|
507 |
+
next_or_previous = "next";
|
508 |
+
next = make_pagebreak_button(next_or_previous, next_title, next_type, next_class, next_checkable, id, form_id, form_view_count);
|
509 |
td.appendChild(next);
|
510 |
}
|
511 |
else {
|
512 |
+
not_next = true;
|
513 |
}
|
514 |
}
|
515 |
else {
|
516 |
+
not_next = true;
|
517 |
}
|
518 |
+
generate_page_bar(id, form_id, form_view_count);
|
519 |
fm_initilize_form(form_id);
|
520 |
}
|
521 |
|
567 |
jQuery("#form"+form_id+" .wdform-page-and-images").css('display','none');
|
568 |
}
|
569 |
|
570 |
+
function generate_page_bar(form_view, form_id, form_view_count) {
|
571 |
+
if (document.getElementById('fm-pages' + form_id).getAttribute('type') == 'steps') {
|
572 |
+
make_page_steps_front(form_view, form_id, form_view_count);
|
573 |
}
|
574 |
else {
|
575 |
+
if (document.getElementById('fm-pages' + form_id).getAttribute('type') == 'percentage') {
|
576 |
+
make_page_percentage_front(form_view, form_id, form_view_count);
|
577 |
}
|
578 |
else {
|
579 |
make_page_none_front(form_id);
|
580 |
}
|
581 |
}
|
582 |
+
if (document.getElementById('fm-pages' + form_id).getAttribute('show_numbers') == 'true') {
|
583 |
+
td = document.getElementById(form_id + 'page_numbers' + form_view);
|
584 |
+
if (td) {
|
585 |
destroyChildren(td);
|
586 |
+
k = 0;
|
587 |
+
cur_page_number = 0;
|
588 |
+
jQuery('.wdform-page-and-images').each(function () {
|
589 |
+
var index = jQuery(this).find('.wdform_page').attr('id');
|
590 |
+
j = index.split("form_view")[1];
|
591 |
+
if (document.getElementById(form_id + 'form_view' + j)) {
|
592 |
k++;
|
593 |
+
if (j == form_view) {
|
594 |
+
cur_page_number = k;
|
595 |
}
|
596 |
}
|
597 |
+
});
|
598 |
var cur = document.createElement('span');
|
599 |
cur.setAttribute("class", "page_numbers");
|
600 |
+
cur.innerHTML = cur_page_number + '/' + k;
|
601 |
td.appendChild(cur);
|
602 |
}
|
603 |
}
|
604 |
else {
|
605 |
+
td = document.getElementById(form_id + 'page_numbers' + form_view);
|
606 |
+
if (td) {
|
607 |
+
destroyChildren(document.getElementById(form_id + 'page_numbers' + form_view));
|
608 |
}
|
609 |
}
|
610 |
}
|
611 |
|
612 |
+
function make_page_steps_front(form_view, form_id, form_view_count) {
|
613 |
destroyChildren(document.getElementById('fm-pages' + form_id));
|
614 |
+
show_title = (document.getElementById('fm-pages' + form_id).getAttribute('show_title') == 'true');
|
615 |
+
next_checkable = (document.getElementById(form_id + 'form_view' + form_view).getAttribute('next_checkable') == 'true');
|
616 |
+
previous_checkable = (document.getElementById(form_id + 'form_view' + form_view).getAttribute('previous_checkable') == 'true');
|
617 |
+
k = 0;
|
618 |
+
jQuery('.wdform-page-and-images').each(function () {
|
619 |
+
var index = jQuery(this).find('.wdform_page').attr('id');
|
620 |
+
j = index.split("form_view")[1];
|
621 |
+
if (document.getElementById(form_id + 'form_view' + j)) {
|
622 |
+
if (document.getElementById(form_id + 'form_view' + j).getAttribute('page_title')) {
|
623 |
+
w_pages = document.getElementById(form_id + 'form_view' + j).getAttribute('page_title');
|
624 |
}
|
625 |
else {
|
626 |
+
w_pages = "";
|
627 |
}
|
628 |
k++;
|
629 |
page_number = document.createElement('span');
|
630 |
+
page_number.setAttribute('id', 'page_' + j);
|
631 |
+
if (j < form_view) {
|
632 |
+
if (previous_checkable) {
|
633 |
+
page_number.setAttribute('onClick', 'if(fm_check(' + form_view + ', ' + form_id + ', false)) generate_page_nav("' + j + '", "' + form_id + '", "' + form_view_count + '")');
|
634 |
}
|
635 |
else {
|
636 |
+
page_number.setAttribute('onClick', 'generate_page_nav("' + j + '", "' + form_id + '", "' + form_view_count + '")');
|
637 |
}
|
638 |
}
|
639 |
+
if (j > form_view) {
|
640 |
+
if (next_checkable) {
|
641 |
+
page_number.setAttribute('onClick', 'if(fm_check(' + form_view + ', ' + form_id + ', false)) generate_page_nav("' + j + '", "' + form_id + '", "' + form_view_count + '")');
|
642 |
}
|
643 |
else {
|
644 |
+
page_number.setAttribute('onClick', 'generate_page_nav("' + j + '", "' + form_id + '", "' + form_view_count + '")');
|
645 |
}
|
646 |
}
|
647 |
+
if (j == form_view) {
|
648 |
+
page_number.setAttribute('class', "page_active");
|
649 |
}
|
650 |
else {
|
651 |
+
page_number.setAttribute('class', "page_deactive");
|
652 |
}
|
653 |
+
if (show_title) {
|
654 |
+
page_number.innerHTML = w_pages;
|
655 |
}
|
656 |
else {
|
657 |
+
page_number.innerHTML = k;
|
658 |
}
|
659 |
document.getElementById('fm-pages' + form_id).appendChild(page_number);
|
660 |
}
|
661 |
+
});
|
662 |
}
|
663 |
|
664 |
+
function make_page_percentage_front(form_view, form_id, form_view_count) {
|
665 |
destroyChildren(document.getElementById('fm-pages' + form_id));
|
666 |
+
show_title = (document.getElementById('fm-pages' + form_id).getAttribute('show_title') == 'true');
|
667 |
var div_parent = document.createElement('div');
|
668 |
div_parent.setAttribute("class", "page_percentage_deactive");
|
669 |
var div = document.createElement('div');
|
675 |
var b = document.createElement('b');
|
676 |
b.setAttribute("class", "wdform_percentage_text");
|
677 |
div.appendChild(b);
|
678 |
+
k = 0;
|
679 |
+
cur_page_title = '';
|
680 |
+
jQuery('.wdform-page-and-images').each(function () {
|
681 |
+
var index = jQuery(this).find('.wdform_page').attr('id');
|
682 |
+
j = index.split("form_view")[1];
|
683 |
+
if (document.getElementById(form_id + 'form_view' + j)) {
|
684 |
+
if (document.getElementById(form_id + 'form_view' + j).getAttribute('page_title')) {
|
685 |
+
w_pages = document.getElementById(form_id + 'form_view' + j).getAttribute('page_title');
|
686 |
}
|
687 |
else {
|
688 |
+
w_pages = "";
|
689 |
}
|
690 |
k++;
|
691 |
+
if (j == form_view) {
|
692 |
+
if (show_title) {
|
693 |
var cur_page_title = document.createElement('div');
|
694 |
+
cur_page_title.innerHTML = w_pages;
|
695 |
+
cur_page_title.innerHTML = w_pages;
|
696 |
cur_page_title.setAttribute("class", "wdform_percentage_title");
|
697 |
}
|
698 |
+
page_number = k;
|
699 |
}
|
700 |
}
|
701 |
+
});
|
702 |
+
b.innerHTML = Math.round(((page_number - 1) / k) * 100) + '%';
|
703 |
+
div.style.width = ((page_number - 1) / k) * 100 + '%';
|
704 |
+
if (page_number == 1) {
|
705 |
+
div_arrow.style.display = 'none';
|
706 |
}
|
707 |
div_parent.appendChild(div);
|
708 |
div_parent.appendChild(div_arrow);
|
709 |
+
if (cur_page_title) {
|
710 |
div_parent.appendChild(cur_page_title);
|
711 |
}
|
712 |
document.getElementById('fm-pages' + form_id).appendChild(div_parent);
|
716 |
destroyChildren(document.getElementById('fm-pages' + form_id));
|
717 |
}
|
718 |
|
719 |
+
function make_pagebreak_button(next_or_previous,title,type, class_, checkable, id, form_id, form_view_count) {
|
720 |
switch(type) {
|
721 |
case 'text': {
|
722 |
var element = document.createElement('div');
|
723 |
element.setAttribute('id', "page_"+next_or_previous+"_"+id);
|
724 |
element.setAttribute('class', class_);
|
725 |
if(checkable=="true") {
|
726 |
+
element.setAttribute('onClick', "if(fm_check("+id+", "+form_id+", false)) page_"+next_or_previous+"("+id+","+form_id+","+form_view_count+")");
|
727 |
}
|
728 |
else {
|
729 |
+
element.setAttribute('onClick', "page_"+next_or_previous+"("+id+","+form_id+","+form_view_count+")");
|
730 |
}
|
731 |
element.innerHTML=title;
|
732 |
return element;
|
736 |
element.setAttribute('id', "page_"+next_or_previous+"_"+id);
|
737 |
element.setAttribute('class', class_);
|
738 |
if(checkable=="true") {
|
739 |
+
element.setAttribute('onClick', "if(fm_check("+id+", "+form_id+", false)) page_"+next_or_previous+"("+id+","+form_id+","+form_view_count+")");
|
740 |
}
|
741 |
else {
|
742 |
+
element.setAttribute('onClick', "page_"+next_or_previous+"("+id+","+form_id+","+form_view_count+")");
|
743 |
}
|
744 |
if(title.indexOf("http")==0) {
|
745 |
element.src=title;
|
762 |
}
|
763 |
}
|
764 |
|
765 |
+
function page_previous(id, form_id, form_view_count) {
|
766 |
form_view_elemet = document.getElementById(form_id + 'form_view' + id);
|
767 |
if (form_view_elemet.parentNode.previousSibling && form_view_elemet.parentNode.previousSibling.previousSibling) {
|
768 |
if (form_view_elemet.parentNode.previousSibling.tagName == "DIV") {
|
775 |
if (!table.firstChild.tagName) {
|
776 |
table.removeChild(table.firstChild);
|
777 |
}
|
778 |
+
generate_page_nav(table.firstChild.id.replace(form_id + 'form_view', ""), form_id, form_view_count);
|
779 |
form = jQuery("#form" + form_id);
|
780 |
if (!form.parent().hasClass('fm-scrollbox-form')) {
|
781 |
jQuery('html').animate({
|
784 |
}
|
785 |
}
|
786 |
|
787 |
+
function page_next(id, form_id, form_view_count) {
|
788 |
form_view_elemet = document.getElementById(form_id + 'form_view' + id);
|
789 |
if (form_view_elemet.parentNode.nextSibling) {
|
790 |
if (form_view_elemet.parentNode.nextSibling.tagName == "DIV") {
|
798 |
if (!table.firstChild.tagName) {
|
799 |
table.removeChild(table.firstChild);
|
800 |
}
|
801 |
+
generate_page_nav(table.firstChild.id.replace(form_id + 'form_view', ""), form_id, form_view_count);
|
802 |
form = jQuery("#form" + form_id);
|
803 |
if (!form.parent().hasClass('fm-scrollbox-form')) {
|
804 |
jQuery('html').animate({
|
807 |
}
|
808 |
}
|
809 |
|
810 |
+
function fm_go_to_page(id, form_id, form_view_count) {
|
811 |
form_view_elemet = document.getElementById(form_id + 'form_view' + id);
|
812 |
table = form_view_elemet.parentNode;
|
813 |
|
814 |
if (!table.firstChild.tagName) {
|
815 |
table.removeChild(table.firstChild);
|
816 |
}
|
817 |
+
generate_page_nav(table.firstChild.id.replace(form_id + 'form_view', ""), form_id, form_view_count);
|
818 |
form = jQuery("#form" + form_id);
|
819 |
if (!form.parent().hasClass('fm-scrollbox-form')) {
|
820 |
jQuery('html').animate({
|
2053 |
|
2054 |
var pagebreak_count = jQuery("#form"+form_id+" .wdform-page-and-images").length;
|
2055 |
window['form_view_count' + form_id] = pagebreak_count;
|
|
|
|
|
|
|
|
|
|
|
|
|
2056 |
|
2057 |
if (window['form_view_count' + form_id] > 1) {
|
2058 |
firstid = jQuery("#form"+form_id+" .wdform_page").first().attr("id");
|
2059 |
firstid = firstid.split("form_view");
|
2060 |
window['first_form_view' + form_id] = firstid[1];
|
2061 |
+
generate_page_nav(window['first_form_view' + form_id], form_id, window['form_view_count' + form_id]);
|
2062 |
}
|
2063 |
fm_initilize_form(form_id);
|
2064 |
window["condition_js" + form_id]();
|
2065 |
+
|
2066 |
+
jQuery("#form" + form_id).closest(".fm-form-container").removeAttr("style");
|
2067 |
}
|
2068 |
|
2069 |
function fm_check(id, form_id, all_pages) {
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: webdorado,10web
|
|
3 |
Tags: contact, contact form, email, forms, contact forms, custom form, feedback, form builder, form manager, form maker, forms builder, form builder wordpress
|
4 |
Requires at least: 4.6
|
5 |
Tested up to: 4.9
|
6 |
-
Stable tag: 1.12.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -79,6 +79,13 @@ After downloading the ZIP file,
|
|
79 |
|
80 |
== Changelog ==
|
81 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
= 1.12.38 =
|
83 |
* Improved: GDPR compliance options.
|
84 |
* Fixed: Error on form front end when Privacy Policy checkbox is enabled.
|
3 |
Tags: contact, contact form, email, forms, contact forms, custom form, feedback, form builder, form manager, form maker, forms builder, form builder wordpress
|
4 |
Requires at least: 4.6
|
5 |
Tested up to: 4.9
|
6 |
+
Stable tag: 1.12.39
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
79 |
|
80 |
== Changelog ==
|
81 |
|
82 |
+
= 1.12.39 =
|
83 |
+
* Added: Drag & Drop of Columns in form editor
|
84 |
+
* Added: Drag & Drop of Pages in form editor
|
85 |
+
* Added: New icon in Elementor plugin
|
86 |
+
* Improved: Drag & Drop of fields in form editor
|
87 |
+
* Fixed: Conditional fields flickering during page loading
|
88 |
+
|
89 |
= 1.12.38 =
|
90 |
* Improved: GDPR compliance options.
|
91 |
* Fixed: Error on form front end when Privacy Policy checkbox is enabled.
|