Form Maker by WD – user-friendly drag & drop Form Builder plugin - Version 1.13.2

Version Description

  • Changed: Links to 10Web.io.
Download this release

Release Info

Developer webdorado
Plugin Icon 128x128 Form Maker by WD – user-friendly drag & drop Form Builder plugin
Version 1.13.2
Comparing to
See all releases

Code changes from version 1.13.1 to 1.13.2

Files changed (48) hide show
  1. admin/controllers/Addons_fm.php +0 -156
  2. admin/controllers/Manage_fm.php +4 -4
  3. admin/controllers/Pricing_fm.php +0 -54
  4. admin/controllers/Submissions_fm.php +1 -1
  5. admin/controllers/Uninstall_fm.php +2 -2
  6. admin/models/Manage_fm.php +3 -0
  7. admin/views/Addons_fm.php +0 -89
  8. admin/views/Manage_fm.php +7 -7
  9. admin/views/Pricing_fm.php +0 -180
  10. admin/views/Submissions_fm.php +1 -1
  11. admin/views/Uninstall_fm.php +2 -2
  12. admin/views/view.php +19 -16
  13. css/pricing.css +2 -2
  14. form-maker.php +26 -26
  15. form_maker_update.php +1 -1
  16. frontend/models/form_maker.php +6 -6
  17. frontend/views/form_maker.php +5 -2
  18. languages/form_maker-ca.po +1 -1
  19. languages/form_maker-da_DK.po +2 -2
  20. languages/form_maker-fa_IR.po +2 -2
  21. languages/form_maker-hr.po +2 -2
  22. languages/form_maker-it_IT.po +17 -17
  23. languages/form_maker-ko_KR.po +2 -2
  24. languages/form_maker-mk_MK.po +1 -1
  25. languages/form_maker-nb_NO.po +2 -2
  26. readme.txt +146 -73
  27. wd/README.md +22 -39
  28. wd/assets/css/deactivate_popup.css +14 -22
  29. wd/assets/css/overview.css +414 -404
  30. wd/assets/css/subscribe.css +186 -90
  31. wd/assets/img/allow-and-continue.png +0 -0
  32. wd/assets/img/fmc_main_plugin.png +0 -0
  33. wd/assets/img/header.svg +1 -0
  34. wd/assets/img/how_it_works.png +0 -0
  35. wd/assets/img/slide-1366.jpg +0 -0
  36. wd/assets/js/deactivate_popup.js +28 -36
  37. wd/assets/js/overview.js +13 -53
  38. wd/config.php +20 -18
  39. wd/includes/api.php +2 -2
  40. wd/includes/deactivate.php +170 -171
  41. wd/includes/notices.php +1 -1
  42. wd/includes/overview.php +3 -234
  43. wd/includes/subscribe.php +122 -125
  44. wd/start.php +6 -4
  45. wd/templates/display_deactivation_popup.php +11 -11
  46. wd/templates/display_overview.php +120 -39
  47. wd/templates/display_subscribe.php +31 -31
  48. wd/wd.php +109 -66
admin/controllers/Addons_fm.php DELETED
@@ -1,156 +0,0 @@
1
- <?php
2
- /**
3
- * Class FMControllerAddons_fm
4
- */
5
- class FMControllerAddons_fm extends FMAdminController {
6
-
7
- /**
8
- * @var $model
9
- */
10
- private $model;
11
- /**
12
- * @var $view
13
- */
14
- private $view;
15
- /**
16
- * @var string $page
17
- */
18
- private $page;
19
-
20
- public function __construct() {
21
- $this->page = WDW_FM_Library(self::PLUGIN)->get('page');
22
- $this->page_url = add_query_arg( array (
23
- 'page' => $this->page,
24
- WDFMInstance(self::PLUGIN)->nonce => wp_create_nonce(WDFMInstance(self::PLUGIN)->nonce),
25
- ), admin_url('admin.php')
26
- );
27
- require_once WDFMInstance(self::PLUGIN)->plugin_dir . "/admin/views/Addons_fm.php";
28
- $this->view = new FMViewAddons_fm();
29
- }
30
-
31
- /**
32
- * Execute.
33
- */
34
- public function execute() {
35
- $task = WDW_FM_Library(self::PLUGIN)->get('task');
36
- $id = (int) WDW_FM_Library(self::PLUGIN)->get('current_id', 0);
37
- if (method_exists($this, $task)) {
38
- $this->$task($id);
39
- }
40
- else {
41
- $this->display();
42
- }
43
- }
44
-
45
- /**
46
- * Display.
47
- */
48
- public function display() {
49
- // Set params for view.
50
- $params = array();
51
- $params['page'] = $this->page;
52
- $params['page_url'] = $this->page_url;
53
- $params['addons'] = array(
54
- 'Form Maker Add-ons' => array(
55
- 'imp_exp' => array(
56
- 'pro' => (WDFMInstance(self::PLUGIN)->is_free == 2),
57
- 'dir' => 'form-maker-export-import/fm_exp_imp.php',
58
- 'url' => 'https://web-dorado.com/products/wordpress-form/add-ons/export-import.html',
59
- 'icon' => WDFMInstance(self::PLUGIN)->plugin_url . '/images/addons/import_export.svg',
60
- 'name' => __('Import/Export', WDFMInstance(self::PLUGIN)->prefix),
61
- 'description' => __('Form Maker Export/Import WordPress plugin allows exporting and importing forms with/without submissions.', WDFMInstance(self::PLUGIN)->prefix)
62
- ),
63
- 'mailchimp' => array(
64
- 'pro' => (WDFMInstance(self::PLUGIN)->is_free == 2),
65
- 'dir' => 'form-maker-mailchimp/fm_mailchimp.php',
66
- 'url' => 'https://web-dorado.com/products/wordpress-form/add-ons/mailchimp.html',
67
- 'icon' => WDFMInstance(self::PLUGIN)->plugin_url . '/images/addons/mailchimp.svg',
68
- 'name' => __('MailChimp', WDFMInstance(self::PLUGIN)->prefix),
69
- 'description' => __('This add-on is an integration of the Form Maker with MailChimp which allows to add contacts to your subscription lists just from submitted forms.', WDFMInstance(self::PLUGIN)->prefix)
70
- ),
71
- 'registration' => array(
72
- 'pro' => (WDFMInstance(self::PLUGIN)->is_free == 2),
73
- 'dir' => 'form-maker-reg/fm_reg.php',
74
- 'url' => 'https://web-dorado.com/products/wordpress-form/add-ons/registration.html',
75
- 'icon' => WDFMInstance(self::PLUGIN)->plugin_url . '/images/addons/registration.svg',
76
- 'name' => __('Registration', WDFMInstance(self::PLUGIN)->prefix),
77
- 'description' => __('User Registration add-on integrates with Form maker forms allowing users to create accounts at your website.', WDFMInstance(self::PLUGIN)->prefix)
78
- ),
79
- 'post_generation' => array(
80
- 'pro' => (WDFMInstance(self::PLUGIN)->is_free == 2),
81
- 'dir' => 'form-maker-post-generation/fm_post_generation.php',
82
- 'url' => 'https://web-dorado.com/products/wordpress-form/add-ons/post-generation.html',
83
- 'icon' => WDFMInstance(self::PLUGIN)->plugin_url . '/images/addons/post_generation.svg',
84
- 'name' => __('Post Generation', WDFMInstance(self::PLUGIN)->prefix),
85
- 'description' => 'Post Generation add-on allows creating a post, page or custom post based on the submitted data.',
86
- ),
87
- 'conditional_emails' => array(
88
- 'pro' => (WDFMInstance(self::PLUGIN)->is_free == 2),
89
- 'dir' => 'form-maker-conditional-emails/fm_conditional_emails.php',
90
- 'url' => 'https://web-dorado.com/products/wordpress-form/add-ons/conditional-emails.html',
91
- 'icon' => WDFMInstance(self::PLUGIN)->plugin_url . '/images/addons/conditional_emails.svg',
92
- 'name' => __('Conditional Emails', WDFMInstance(self::PLUGIN)->prefix),
93
- 'description' => __('Conditional Emails add-on allows to send emails to different recipients depending on the submitted data .', WDFMInstance(self::PLUGIN)->prefix)
94
- ),
95
- 'dropbox_integration' => array(
96
- 'pro' => WDFMInstance(self::PLUGIN)->is_free,
97
- 'dir' => 'form-maker-dropbox-integration/fm_dropbox_integration.php',
98
- 'url' => 'https://web-dorado.com/products/wordpress-form/add-ons/dropbox.html',
99
- 'icon' => WDFMInstance(self::PLUGIN)->plugin_url . '/images/addons/dropbox_integration.svg',
100
- 'name' => __('Dropbox Integration', WDFMInstance(self::PLUGIN)->prefix),
101
- 'description' => __('The Form Maker Dropbox Integration addon is extending the Form Maker capabilities allowing to store the form attachments straight to your Dropbox account.', WDFMInstance(self::PLUGIN)->prefix)
102
- ),
103
- 'gdrive_integration' => array(
104
- 'pro' => WDFMInstance(self::PLUGIN)->is_free,
105
- 'dir' => 'form-maker-gdrive-integration/fm_gdrive_integration.php',
106
- 'name' => 'Google Drive Integration',
107
- 'url' => 'https://web-dorado.com/products/wordpress-form/add-ons/google-drive.html',
108
- 'icon' => WDFMInstance(self::PLUGIN)->plugin_url . '/images/addons/gdrive_integration.svg',
109
- 'name' => __('Google Drive Integration', WDFMInstance(self::PLUGIN)->prefix),
110
- 'description' => __('The Google Drive Integration add-on integrates Form Maker with Google Drive and allows you to send the file uploads to the Google Drive', WDFMInstance(self::PLUGIN)->prefix)
111
- ),
112
- 'pdf_integration' => array(
113
- 'pro' => (WDFMInstance(self::PLUGIN)->is_free == 2),
114
- 'dir' => 'form-maker-pdf-integration/fm_pdf_integration.php',
115
- 'url' => 'https://web-dorado.com/products/wordpress-form/add-ons/pdf.html',
116
- 'icon' => WDFMInstance(self::PLUGIN)->plugin_url . '/images/addons/pdf_integration.svg',
117
- 'name' => __('PDF Integration', WDFMInstance(self::PLUGIN)->prefix),
118
- 'description' => __('The Form Maker PDF Integration add-on allows sending submitted forms in PDF format.', WDFMInstance(self::PLUGIN)->prefix)
119
- ),
120
- 'pushover' => array(
121
- 'pro' => (WDFMInstance(self::PLUGIN)->is_free == 2),
122
- 'dir' => 'form-maker-pushover/fm_pushover.php',
123
- 'url' => 'https://web-dorado.com/products/wordpress-form/add-ons/pushover.html',
124
- 'icon' => WDFMInstance(self::PLUGIN)->plugin_url . '/images/addons/pushover.svg',
125
- 'name' => __('Pushover', WDFMInstance(self::PLUGIN)->prefix),
126
- 'description' => __('Form Maker Pushover integration allows to receive real-time notifications when a user submits a new form. This means messages can be pushed to Android and Apple devices, as well as desktop notification board.', WDFMInstance(self::PLUGIN)->prefix)
127
- ),
128
- 'form-maker-save-progress' => array(
129
- 'pro' => (WDFMInstance(self::PLUGIN)->is_free == 2),
130
- 'dir' => 'form-maker-save-progress/fm_save.php',
131
- 'url' => 'https://web-dorado.com/products/wordpress-form/add-ons/save-progress.html',
132
- 'icon' => WDFMInstance(self::PLUGIN)->plugin_url . '/images/addons/save_progress.svg',
133
- 'name' => __('Save Progress', WDFMInstance(self::PLUGIN)->prefix),
134
- 'description' => __('The add-on allows to save filled in forms as draft and continue editing them subsequently.', WDFMInstance(self::PLUGIN)->prefix)
135
- ),
136
- 'stripe' => array(
137
- 'pro' => WDFMInstance(self::PLUGIN)->is_free,
138
- 'dir' => 'form-maker-stripe/fm_stripe.php',
139
- 'url' => 'https://web-dorado.com/products/wordpress-form/add-ons/stripe.html',
140
- 'icon' => WDFMInstance(self::PLUGIN)->plugin_url . '/images/addons/stripe.svg',
141
- 'name' => __('Stripe', WDFMInstance(self::PLUGIN)->prefix),
142
- 'description' => __('Form Maker Stripe Integration Add-on allows to accept direct payments made by Credit Cards. Users will remain on your website during the entire process.', WDFMInstance(self::PLUGIN)->prefix)
143
- ),
144
- 'calculator' => array(
145
- 'pro' => (WDFMInstance(self::PLUGIN)->is_free == 2),
146
- 'dir' => 'form-maker-calculator/fm_calculator.php',
147
- 'url' => 'https://web-dorado.com/products/wordpress-form/add-ons/calculator.html',
148
- 'icon' => WDFMInstance(self::PLUGIN)->plugin_url . '/images/addons/calculator.svg',
149
- 'name' => __('Calculator', WDFMInstance(self::PLUGIN)->prefix),
150
- 'description' => __('The Form Maker Calculator add-on allows creating forms with dynamically calculated fields.', WDFMInstance(self::PLUGIN)->prefix)
151
- )
152
- )
153
- );
154
- $this->view->display( $params );
155
- }
156
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/controllers/Manage_fm.php CHANGED
@@ -188,7 +188,7 @@ class FMControllerManage_fm extends FMAdminController {
188
  $arr = implode(',', $arr);
189
  update_option('contact_form_forms', $arr);
190
  }
191
- // To delete DB rows with form ids from add-ons.
192
  if (WDFMInstance(self::PLUGIN)->is_free != 2) {
193
  do_action('fm_delete_addon_init', $id);
194
  }
@@ -320,7 +320,7 @@ class FMControllerManage_fm extends FMAdminController {
320
  update_option('contact_form_forms', ((get_option('contact_form_forms')) ? (get_option('contact_form_forms')) . ',' . $new_id : $new_id));
321
  }
322
  else {
323
- // Duplicate add-ons data.
324
  do_action('fm_duplicate_form', $id, $new_id);
325
  }
326
  if ( $inserted !== FALSE ) {
@@ -349,7 +349,7 @@ class FMControllerManage_fm extends FMAdminController {
349
  $params['id'] = $backup_id;
350
  $params['row'] = $this->model->get_row_data_new($backup_id);
351
  $params['page_url'] = $this->page_url;
352
- // Check if Stripe add-on is active.
353
  $stripe_addon = array('enable' => 0);
354
  $addon_stripe = $this->get_stripe_addon(0);
355
  if( !empty($addon_stripe['html']) ) {
@@ -431,7 +431,7 @@ class FMControllerManage_fm extends FMAdminController {
431
  WDW_FM_Library(self::PLUGIN)->fm_redirect( add_query_arg( array('page' => $this->page, 'task' => 'display'), admin_url('admin.php') ) );
432
  }
433
 
434
- // Check stripe add-on is active.
435
  $stripe_addon = array( 'enable' => 0 );
436
  $addon_stripe = $this->get_stripe_addon($id);
437
  if ( !empty($addon_stripe['html']) ) {
188
  $arr = implode(',', $arr);
189
  update_option('contact_form_forms', $arr);
190
  }
191
+ // To delete DB rows with form ids from extensions.
192
  if (WDFMInstance(self::PLUGIN)->is_free != 2) {
193
  do_action('fm_delete_addon_init', $id);
194
  }
320
  update_option('contact_form_forms', ((get_option('contact_form_forms')) ? (get_option('contact_form_forms')) . ',' . $new_id : $new_id));
321
  }
322
  else {
323
+ // Duplicate extensions data.
324
  do_action('fm_duplicate_form', $id, $new_id);
325
  }
326
  if ( $inserted !== FALSE ) {
349
  $params['id'] = $backup_id;
350
  $params['row'] = $this->model->get_row_data_new($backup_id);
351
  $params['page_url'] = $this->page_url;
352
+ // Check if Stripe extension is active.
353
  $stripe_addon = array('enable' => 0);
354
  $addon_stripe = $this->get_stripe_addon(0);
355
  if( !empty($addon_stripe['html']) ) {
431
  WDW_FM_Library(self::PLUGIN)->fm_redirect( add_query_arg( array('page' => $this->page, 'task' => 'display'), admin_url('admin.php') ) );
432
  }
433
 
434
+ // Check stripe extension is active.
435
  $stripe_addon = array( 'enable' => 0 );
436
  $addon_stripe = $this->get_stripe_addon($id);
437
  if ( !empty($addon_stripe['html']) ) {
admin/controllers/Pricing_fm.php DELETED
@@ -1,54 +0,0 @@
1
- <?php
2
- /**
3
- * Class FMControllerPricing_fm
4
- */
5
- class FMControllerPricing_fm extends FMAdminController {
6
- /**
7
- * @var $model
8
- */
9
- private $model;
10
- /**
11
- * @var $view
12
- */
13
- private $view;
14
- /**
15
- * @var string $page
16
- */
17
- private $page;
18
-
19
- public function __construct() {
20
- $this->page = WDW_FM_Library(self::PLUGIN)->get('page');
21
- $this->page_url = add_query_arg( array (
22
- 'page' => $this->page,
23
- WDFMInstance(self::PLUGIN)->nonce => wp_create_nonce(WDFMInstance(self::PLUGIN)->nonce),
24
- ), admin_url('admin.php')
25
- );
26
- require_once WDFMInstance(self::PLUGIN)->plugin_dir . "/admin/views/Pricing_fm.php";
27
- $this->view = new FMViewpricing_fm();
28
- }
29
-
30
- /**
31
- * Execute.
32
- */
33
- public function execute() {
34
- $task = WDW_FM_Library(self::PLUGIN)->get('task');
35
- $id = (int) WDW_FM_Library(self::PLUGIN)->get('current_id', 0);
36
- if (method_exists($this, $task)) {
37
- $this->$task($id);
38
- }
39
- else {
40
- $this->display();
41
- }
42
- }
43
-
44
- /**
45
- * Display.
46
- */
47
- public function display() {
48
- // Set params for view.
49
- $params = array();
50
- $params['page'] = $this->page;
51
- $params['page_url'] = $this->page_url;
52
- $this->view->display( $params );
53
- }
54
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/controllers/Submissions_fm.php CHANGED
@@ -280,7 +280,7 @@ class FMControllerSubmissions_fm extends FMAdminController {
280
  $option_key = (WDFMInstance(self::PLUGIN)->is_free == 2 ? 'fmc_settings' : 'fm_settings');
281
  $params['fm_settings'] = get_option($option_key);
282
 
283
- // Check is active pdf-integration add-on.
284
  $params['pdf_data'] = array();
285
  if ( defined('WD_FM_PDF') && is_plugin_active(constant('WD_FM_PDF')) ) {
286
  require_once(WD_FM_PDF_DIR . '/model.php');
280
  $option_key = (WDFMInstance(self::PLUGIN)->is_free == 2 ? 'fmc_settings' : 'fm_settings');
281
  $params['fm_settings'] = get_option($option_key);
282
 
283
+ // Check is active pdf-integration extension.
284
  $params['pdf_data'] = array();
285
  if ( defined('WD_FM_PDF') && is_plugin_active(constant('WD_FM_PDF')) ) {
286
  require_once(WD_FM_PDF_DIR . '/model.php');
admin/controllers/Uninstall_fm.php CHANGED
@@ -54,7 +54,7 @@ class FMControllerUninstall_fm extends FMAdminController {
54
  global $wpdb;
55
  foreach ( $params['addons'] as $addon => $addon_name ) {
56
  if ( is_array($addon_name) ) {
57
- // If there are more than one db tables in an add-on.
58
  foreach ( $addon_name as $ad_name ) {
59
  array_push($params['tables'], $wpdb->prefix . 'formmaker_' . $ad_name);
60
  }
@@ -93,7 +93,7 @@ class FMControllerUninstall_fm extends FMAdminController {
93
  $params['tables'] = $this->get_tables();
94
  $this->model->delete_db_tables();
95
 
96
- // Deactivate all add-ons and form maker.
97
  WDW_FM_Library(self::PLUGIN)->deactivate_all_addons(WDFMInstance(self::PLUGIN)->main_file);
98
 
99
  wp_redirect(admin_url('plugins.php'));
54
  global $wpdb;
55
  foreach ( $params['addons'] as $addon => $addon_name ) {
56
  if ( is_array($addon_name) ) {
57
+ // If there are more than one db tables in an extension.
58
  foreach ( $addon_name as $ad_name ) {
59
  array_push($params['tables'], $wpdb->prefix . 'formmaker_' . $ad_name);
60
  }
93
  $params['tables'] = $this->get_tables();
94
  $this->model->delete_db_tables();
95
 
96
+ // Deactivate all extensions and form maker.
97
  WDW_FM_Library(self::PLUGIN)->deactivate_all_addons(WDFMInstance(self::PLUGIN)->main_file);
98
 
99
  wp_redirect(admin_url('plugins.php'));
admin/models/Manage_fm.php CHANGED
@@ -31,6 +31,9 @@ class FMModelManage_fm extends FMAdminModel {
31
  $rows = $wpdb->get_results($query);
32
  if ( !empty($rows) ) {
33
  foreach ( $rows as $row ) {
 
 
 
34
  $query = "SELECT count(DISTINCT group_id) FROM " . $wpdb->prefix . "formmaker_submits WHERE form_id=" . (int) $row->id . "";
35
  $row->submission_count = $wpdb->get_var($query);
36
  }
31
  $rows = $wpdb->get_results($query);
32
  if ( !empty($rows) ) {
33
  foreach ( $rows as $row ) {
34
+ if ( !isset($row->header_hide) ) {
35
+ $row->header_hide = 1;
36
+ }
37
  $query = "SELECT count(DISTINCT group_id) FROM " . $wpdb->prefix . "formmaker_submits WHERE form_id=" . (int) $row->id . "";
38
  $row->submission_count = $wpdb->get_var($query);
39
  }
admin/views/Addons_fm.php DELETED
@@ -1,89 +0,0 @@
1
- <?php
2
- /**
3
- * Class FMViewAddons_fm
4
- */
5
- class FMViewAddons_fm extends FMAdminView {
6
- /**
7
- * FMViewAddons_fm constructor.
8
- */
9
- public function __construct() {
10
- wp_enqueue_style(WDFMInstance(self::PLUGIN)->handle_prefix . '-tables');
11
- wp_enqueue_style(WDFMInstance(self::PLUGIN)->handle_prefix . '-pricing');
12
- wp_enqueue_script(WDFMInstance(self::PLUGIN)->handle_prefix . '-admin');
13
- }
14
-
15
- /**
16
- * Display.
17
- *
18
- * @param array $params
19
- */
20
- public function display( $params = array() ) {
21
- $page = $params['page'];
22
- $page_url = $params['page_url'];
23
- ob_start();
24
- echo $this->body($params);
25
- // Pass the content to form.
26
- $form_attr = array(
27
- 'id' => WDFMInstance(self::PLUGIN)->prefix . '_addons',
28
- 'name' => WDFMInstance(self::PLUGIN)->prefix . '_addons',
29
- 'class' => WDFMInstance(self::PLUGIN)->prefix . '_addons wd-form',
30
- 'action' => add_query_arg( array('page' => $page, 'task' => 'display'), $page_url),
31
- );
32
- echo $this->form(ob_get_clean(), $form_attr);
33
- }
34
-
35
- /**
36
- * Generate page body.
37
- *
38
- * @param array $params
39
- * @return string Body html.
40
- */
41
- public function body( $params = array() ) {
42
- $addons = $params['addons'];
43
- echo '<div class="fm-add-ons">';
44
- if ( $addons ) {
45
- foreach ($addons as $value) {
46
- foreach ( $value as $addon ) {
47
- $activated = false;
48
- if ( is_plugin_active( $addon['dir'] ) ) {
49
- $activated = true;
50
- }
51
- $premium_version = ( WDFMInstance(self::PLUGIN)->is_free && $addon['pro'] ) ? true : false;
52
- ?>
53
- <div class="fm-add-on<?php echo (!$premium_version) ? ' fm-not-premium-version' : ''; echo ( $activated ) ? ' fm-add-on-activated': ''?>">
54
- <div class="fm-add-on-img">
55
- <?php if ( $activated ) { ?><a href="<?php echo $addon['url'] ?>" target="_blank"><?php } ?>
56
- <img src="<?php echo $addon['icon'] ?>" alt="<?php echo $addon['name'] ?>"/>
57
- <?php if ( $activated ) { ?></a><?php } ?>
58
- </div>
59
- <h2 class="fm-add-on-name">
60
- <?php if ( $activated ) { ?>
61
- <a href="<?php echo $addon['url'] ?>" target="_blank"><?php echo $addon['name'] ?></a>
62
- <?php }
63
- else { echo $addon['name']; } ?>
64
- </h2>
65
- <p class="fm-add-on-premium-version">
66
- <?php echo $premium_version ? __('Compatible with Premium version only', WDFMInstance(self::PLUGIN)->prefix) : '&nbsp;'; ?>
67
- </p>
68
- <div class="fm-add-on-desc-more-wrap">
69
- <div class="fm-add-on-desc">
70
- <?php echo ( strlen($addon['description']) > 83 ) ? mb_substr($addon['description'], 0, 83, "utf-8") .' ...' : $addon['description']; ?>
71
- </div>
72
- <?php if ( strlen($addon['description']) > 83 ) { ?>
73
- <div class="fm-add-on-desc-more"><?php echo $addon['description']; ?></div>
74
- <?php } ?>
75
- </div>
76
- <?php if ( $activated ) { ?>
77
- <span class="fm-add-on-buy" target="_blank"><?php _e('Activated', WDFMInstance(self::PLUGIN)->prefix); ?></span>
78
- <?php } else { ?>
79
- <a href="<?php echo $addon['url'] ?>" class="fm-add-on-buy" target="_blank"><?php _e('Get this add on', WDFMInstance(self::PLUGIN)->prefix); ?></a>
80
- <?php } ?>
81
- <a href="<?php echo $addon['url'] ?>" target="_blank" class="fm-add-on-learn-more"><?php _e('Learn More', WDFMInstance(self::PLUGIN)->prefix); ?></a>
82
- </div>
83
- <?php
84
- }
85
- }
86
- }
87
- echo '</div>';
88
- }
89
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/views/Manage_fm.php CHANGED
@@ -264,7 +264,7 @@ class FMViewManage_fm extends FMAdminView {
264
 
265
  wp_enqueue_script(WDFMInstance(self::PLUGIN)->handle_prefix . '-form-advanced-layout');
266
 
267
- // enqueue add-ons style/scripts
268
  do_action('fm_admin_print_scripts');
269
 
270
  $id = $params['id'];
@@ -1152,15 +1152,15 @@ class FMViewManage_fm extends FMAdminView {
1152
  $stripe_addon = $params['stripe_addon'];
1153
  if ( $stripe_addon['enable'] ) {
1154
  if (WDFMInstance(self::PLUGIN)->is_free) {
1155
- echo $this->free_message(__('STRIPE add-on compatible with Premium version only', WDFMInstance(self::PLUGIN)->prefix), '', '', 'stripe_message');
1156
  }
1157
  }
1158
  else {
1159
  if (WDFMInstance(self::PLUGIN)->is_free) {
1160
- echo $this->promo_box(__('This feature is available only in the Premium version', WDFMInstance(self::PLUGIN)->prefix), __('Requires STRIPE add-on.', WDFMInstance(self::PLUGIN)->prefix), 'https://web-dorado.com/products/wordpress-form/add-ons/stripe.html', 'stripe_message');
1161
  }
1162
  else {
1163
- echo $this->free_message(__('This feature requires STRIPE add-on', WDFMInstance(self::PLUGIN)->prefix), 'https://web-dorado.com/products/wordpress-form/add-ons/stripe.html', __( 'Buy', WDFMInstance(self::PLUGIN)->prefix ), 'stripe_message');
1164
  }
1165
  }
1166
  ?>
@@ -1546,7 +1546,7 @@ class FMViewManage_fm extends FMAdminView {
1546
  <?php
1547
  if ( $stripe_addon['enable'] && !empty($stripe_addon['html']) ) {
1548
  if (WDFMInstance(self::PLUGIN)->is_free) {
1549
- echo $this->free_message(__('STRIPE add-on compatible with Premium version only', WDFMInstance(self::PLUGIN)->prefix));
1550
  }
1551
  else {
1552
  echo $stripe_addon[ 'html' ];
@@ -1554,10 +1554,10 @@ class FMViewManage_fm extends FMAdminView {
1554
  }
1555
  else {
1556
  if (WDFMInstance(self::PLUGIN)->is_free) {
1557
- echo $this->promo_box(__('This feature is available only in the Premium version', WDFMInstance(self::PLUGIN)->prefix), __('Requires STRIPE add-on.', WDFMInstance(self::PLUGIN)->prefix), 'https://web-dorado.com/products/wordpress-form/add-ons/stripe.html');
1558
  }
1559
  else {
1560
- echo $this->free_message(__('This feature requires STRIPE add-on', WDFMInstance(self::PLUGIN)->prefix), 'https://web-dorado.com/products/wordpress-form/add-ons/stripe.html', __( 'Buy', WDFMInstance(self::PLUGIN)->prefix ));
1561
  }
1562
  }
1563
  ?>
264
 
265
  wp_enqueue_script(WDFMInstance(self::PLUGIN)->handle_prefix . '-form-advanced-layout');
266
 
267
+ // enqueue extensions style/scripts
268
  do_action('fm_admin_print_scripts');
269
 
270
  $id = $params['id'];
1152
  $stripe_addon = $params['stripe_addon'];
1153
  if ( $stripe_addon['enable'] ) {
1154
  if (WDFMInstance(self::PLUGIN)->is_free) {
1155
+ echo $this->free_message(__('STRIPE extension compatible with Premium version only', WDFMInstance(self::PLUGIN)->prefix), '', '', 'stripe_message');
1156
  }
1157
  }
1158
  else {
1159
  if (WDFMInstance(self::PLUGIN)->is_free) {
1160
+ echo $this->promo_box(__('This feature is available only in the Premium version', WDFMInstance(self::PLUGIN)->prefix), __('Requires STRIPE extension.', WDFMInstance(self::PLUGIN)->prefix), 'https://10web.io/plugins/wordpress-form-maker/#plugin_extensions', 'stripe_message');
1161
  }
1162
  else {
1163
+ echo $this->free_message(__('This feature requires STRIPE extension', WDFMInstance(self::PLUGIN)->prefix), 'https://10web.io/plugins/wordpress-form-maker/#plugin_extensions', __( 'Buy', WDFMInstance(self::PLUGIN)->prefix ), 'stripe_message');
1164
  }
1165
  }
1166
  ?>
1546
  <?php
1547
  if ( $stripe_addon['enable'] && !empty($stripe_addon['html']) ) {
1548
  if (WDFMInstance(self::PLUGIN)->is_free) {
1549
+ echo $this->free_message(__('STRIPE extension compatible with Premium version only', WDFMInstance(self::PLUGIN)->prefix));
1550
  }
1551
  else {
1552
  echo $stripe_addon[ 'html' ];
1554
  }
1555
  else {
1556
  if (WDFMInstance(self::PLUGIN)->is_free) {
1557
+ echo $this->promo_box(__('This feature is available only in the Premium version', WDFMInstance(self::PLUGIN)->prefix), __('Requires STRIPE extension.', WDFMInstance(self::PLUGIN)->prefix), 'https://10web.io/plugins/wordpress-form-maker/#plugin_extensions');
1558
  }
1559
  else {
1560
+ echo $this->free_message(__('This feature requires STRIPE extension', WDFMInstance(self::PLUGIN)->prefix), 'https://10web.io/plugins/wordpress-form-maker/#plugin_extensions', __( 'Buy', WDFMInstance(self::PLUGIN)->prefix ));
1561
  }
1562
  }
1563
  ?>
admin/views/Pricing_fm.php DELETED
@@ -1,180 +0,0 @@
1
- <?php
2
-
3
- /**
4
- * Class FMViewPricing_fm
5
- */
6
- class FMViewPricing_fm extends FMAdminView {
7
-
8
- /**
9
- * FMViewpricing_fm constructor.
10
- */
11
- public function __construct() {
12
- wp_enqueue_style(WDFMInstance(self::PLUGIN)->handle_prefix . '-tables');
13
- wp_enqueue_style(WDFMInstance(self::PLUGIN)->handle_prefix . '-pricing');
14
- wp_enqueue_script(WDFMInstance(self::PLUGIN)->handle_prefix . '-admin');
15
- }
16
-
17
- /**
18
- * Display page.
19
- *
20
- * @param array $params
21
- */
22
- public function display ( $params = array() ) {
23
- $page = $params['page'];
24
- $page_url = $params['page_url'];
25
- ob_start();
26
- echo $this->body($params);
27
- // Pass the content to form.
28
- $form_attr = array(
29
- 'id' => WDFMInstance(self::PLUGIN)->prefix . '_pricing',
30
- 'name' => WDFMInstance(self::PLUGIN)->prefix . '_pricing',
31
- 'class' => WDFMInstance(self::PLUGIN)->prefix . '_pricing wd-form',
32
- 'action' => add_query_arg( array('page' => $page, 'task' => 'display'), $page_url),
33
- );
34
- echo $this->form(ob_get_clean(), $form_attr);
35
- }
36
-
37
- /**
38
- * Generate page body.
39
- *
40
- * @return string Body html.
41
- */
42
- public function body( $params = array() ) {
43
- ?>
44
- <div class="fm-pricestable-container">
45
- <div class="fm-pricestable">
46
- <div class="ptFree">
47
- <span class="price product_info"><span>$</span>30</span>
48
- <p><?php _e('Personal', WDFMInstance(self::PLUGIN)->prefix); ?></p>
49
- <span class="supp">
50
- <strong><?php _e('6 Months', WDFMInstance(self::PLUGIN)->prefix); ?></strong>
51
- <span class="desc_span"><?php _e('You’ll have access to new releases during this period and update plugin to include new features without additional charges.', WDFMInstance(self::PLUGIN)->prefix); ?></span><br>
52
- <?php _e('Access to Updates', WDFMInstance(self::PLUGIN)->prefix); ?>
53
- </span>
54
- <span class="supp">
55
- <strong><?php _e('6 Months', WDFMInstance(self::PLUGIN)->prefix); ?></strong>
56
- <span class="desc_span"><?php _e('Get quick answers to all product related questions from our support team.', WDFMInstance(self::PLUGIN)->prefix); ?></span><br>
57
- <?php _e('Premium Support', WDFMInstance(self::PLUGIN)->prefix); ?>
58
- </span>
59
- <span class="supp product_info">
60
- <strong><?php _e('1 Domain', WDFMInstance(self::PLUGIN)->prefix); ?></strong><br>
61
- <?php _e('Support', WDFMInstance(self::PLUGIN)->prefix); ?>
62
- </span>
63
- <ul class="circles">
64
- <li><div></div></li>
65
- <li><div></div></li>
66
- <li><div></div></li>
67
- </ul>
68
- <span class="supp product_info"><?php _e('Unlimited Forms/Fields', WDFMInstance(self::PLUGIN)->prefix); ?></span>
69
- <span class="supp product_info"><?php _e('40+ Field Types', WDFMInstance(self::PLUGIN)->prefix); ?></span>
70
- <span class="supp product_info"><?php _e('Multi-Page Forms', WDFMInstance(self::PLUGIN)->prefix); ?></span>
71
- <span class="supp product_info"><?php _e('Paypal Integration', WDFMInstance(self::PLUGIN)->prefix); ?></span>
72
- <span class="supp product_info"><?php _e('File Upload field', WDFMInstance(self::PLUGIN)->prefix); ?></span>
73
- <span class="supp product_info"><?php _e('Fully Customizable Themes', WDFMInstance(self::PLUGIN)->prefix); ?></span>
74
- <span>
75
- <a href="https://web-dorado.com/index.php?option=com_wdsubscriptions&view=checkoutpage&tmpl=component&id=69&offerId=117" target="_blank"><?php _e('Buy now', WDFMInstance(self::PLUGIN)->prefix); ?></a>
76
- </span>
77
- </div>
78
- <div class="ptPersonal">
79
- <span class="price product_info"><span>$</span>45</span>
80
- <p><?php _e('Business', WDFMInstance(self::PLUGIN)->prefix); ?></p>
81
- <span class="supp">
82
- <strong><?php _e('1 Year', WDFMInstance(self::PLUGIN)->prefix); ?></strong>
83
- <span class="desc_span"><?php _e('You’ll have access to new releases during this period and update plugin to include new features without additional charges.', WDFMInstance(self::PLUGIN)->prefix); ?></span><br>
84
- <?php _e('Access to Updates', WDFMInstance(self::PLUGIN)->prefix); ?>
85
- </span>
86
- <span class="supp">
87
- <strong><?php _e('1 Year', WDFMInstance(self::PLUGIN)->prefix); ?></strong>
88
- <span class="desc_span"><?php _e('Get quick answers to all product related questions from our support team.', WDFMInstance(self::PLUGIN)->prefix); ?></span><br>
89
- <?php _e('Premium Support', WDFMInstance(self::PLUGIN)->prefix); ?>
90
- </span>
91
- <span class="supp product_info">
92
- <strong><?php _e('3 Domains', WDFMInstance(self::PLUGIN)->prefix); ?></strong><br>
93
- <?php _e('Support', WDFMInstance(self::PLUGIN)->prefix); ?>
94
- </span>
95
- <ul class="circles">
96
- <li><div></div></li>
97
- <li><div></div></li>
98
- <li><div></div></li>
99
- </ul>
100
- <span class="supp product_info"><?php _e('Unlimited Forms/Fields', WDFMInstance(self::PLUGIN)->prefix); ?></span>
101
- <span class="supp product_info"><?php _e('40+ Field Types', WDFMInstance(self::PLUGIN)->prefix); ?></span>
102
- <span class="supp product_info"><?php _e('Multi-Page Forms', WDFMInstance(self::PLUGIN)->prefix); ?></span>
103
- <span class="supp product_info"><?php _e('Paypal Integration', WDFMInstance(self::PLUGIN)->prefix); ?></span>
104
- <span class="supp product_info"><?php _e('File Upload field', WDFMInstance(self::PLUGIN)->prefix); ?></span>
105
- <span class="supp product_info"><?php _e('Fully Customizable Themes', WDFMInstance(self::PLUGIN)->prefix); ?></span>
106
- <span>
107
- <a href="https://web-dorado.com/index.php?option=com_wdsubscriptions&view=checkoutpage&tmpl=component&id=70&offerId=117" target="_blank"><?php _e('Buy now', WDFMInstance(self::PLUGIN)->prefix); ?></a>
108
- </span>
109
- </div>
110
- <div class="ptBusiness">
111
- <span class="price product_info"><span>$</span>60</span>
112
- <p><?php _e('Developer', WDFMInstance(self::PLUGIN)->prefix); ?></p>
113
- <span class="supp">
114
- <strong><?php _e('1 Year', WDFMInstance(self::PLUGIN)->prefix); ?></strong>
115
- <span class="desc_span"><?php _e('You’ll have access to new releases during this period and update plugin to include new features without additional charges.', WDFMInstance(self::PLUGIN)->prefix); ?></span><br>
116
- <?php _e('Access to Updates', WDFMInstance(self::PLUGIN)->prefix); ?>
117
- </span>
118
- <span class="supp"><strong><?php _e('1 Year', WDFMInstance(self::PLUGIN)->prefix); ?></strong>
119
- <span class="desc_span"><?php _e('Get quick answers to all product related questions from our support team.', WDFMInstance(self::PLUGIN)->prefix); ?></span><br>
120
- <?php _e('Premium Support', WDFMInstance(self::PLUGIN)->prefix); ?>
121
- </span>
122
- <span class="supp product_info">
123
- <strong><?php _e('Unlimited Domains', WDFMInstance(self::PLUGIN)->prefix); ?></strong><br>
124
- <?php _e('Support', WDFMInstance(self::PLUGIN)->prefix); ?>
125
- </span>
126
- <ul class="circles">
127
- <li><div></div></li>
128
- <li><div></div></li>
129
- <li><div></div></li>
130
- </ul>
131
- <span class="supp product_info"><?php _e('Unlimited Forms/Fields', WDFMInstance(self::PLUGIN)->prefix); ?></span>
132
- <span class="supp product_info"><?php _e('40+ Field Types', WDFMInstance(self::PLUGIN)->prefix); ?></span>
133
- <span class="supp product_info"><?php _e('Multi-Page Forms', WDFMInstance(self::PLUGIN)->prefix); ?></span>
134
- <span class="supp product_info"><?php _e('Paypal Integration', WDFMInstance(self::PLUGIN)->prefix); ?></span>
135
- <span class="supp product_info"><?php _e('File Upload field', WDFMInstance(self::PLUGIN)->prefix); ?></span>
136
- <span class="supp product_info"><?php _e('Fully Customizable Themes', WDFMInstance(self::PLUGIN)->prefix); ?></span>
137
- <span>
138
- <a href="https://web-dorado.com/index.php?option=com_wdsubscriptions&view=checkoutpage&tmpl=component&id=71&offerId=117" target="_blank"><?php _e('Buy now', WDFMInstance(self::PLUGIN)->prefix); ?></a>
139
- </span>
140
- </div>
141
- <div class="ptDeveloper">
142
- <span class="special_offer"><?php _e('Special offer', WDFMInstance(self::PLUGIN)->prefix); ?></span>
143
- <span class="price product_info"><span>$</span>99</span>
144
- <p class="save_money"><span><?php _e('Save', WDFMInstance(self::PLUGIN)->prefix); ?> $735</span></p>
145
- <p><?php _e('Form Maker Premium', WDFMInstance(self::PLUGIN)->prefix); ?></p>
146
- <span class="supp">
147
- <strong><?php _e('+12 Add-ons', WDFMInstance(self::PLUGIN)->prefix); ?></strong>
148
- <span class="desc_span"><?php _e('Tune up Form Maker with powerful add-ons: PDF Integration, Mailchimp, Export/Import, Conditional Emails, Registration,etc.', WDFMInstance(self::PLUGIN)->prefix); ?></span>
149
- </span>
150
- <span class="supp product_info">
151
- <strong><?php _e('+ All Our 50 WordPress Premium Plugins', WDFMInstance(self::PLUGIN)->prefix); ?></strong>
152
- </span>
153
- <span class="supp product_info"><?php _e('Photo Gallery, Slider, Event Calendar &amp; etc.', WDFMInstance(self::PLUGIN)->prefix); ?></span>
154
- <ul class="circles">
155
- <li><div></div></li>
156
- <li><div></div></li>
157
- <li><div></div></li>
158
- </ul>
159
- <span class="supp">
160
- <?php _e('6 Months Access to Updates', WDFMInstance(self::PLUGIN)->prefix); ?>
161
- <span class="desc_span"><?php _e('You’ll have access to new releases during this period and update plugins to include new features without additional charges.', WDFMInstance(self::PLUGIN)->prefix); ?></span>
162
- </span>
163
- <span class="supp"><?php _e('6 Months Premium Support', WDFMInstance(self::PLUGIN)->prefix); ?>
164
- <span class="desc_span"><?php _e('Get quick answers to all product related questions from our support team.', WDFMInstance(self::PLUGIN)->prefix); ?></span>
165
- </span>
166
- <span class="supp product_info"><?php _e('Unlimited Domains Support', WDFMInstance(self::PLUGIN)->prefix); ?></span>
167
- <span>
168
- <a href="https://web-dorado.com/index.php?option=com_wdsubscriptions&task=buy&id=117&from_id=71&wd_button_clicks=insert_into" target="_blank"><?php _e('Buy now', WDFMInstance(self::PLUGIN)->prefix); ?></a>
169
- </span>
170
- </div>
171
- </div>
172
- <div class="fm-prices-more">
173
- <div>
174
- <?php _e('Learn more about Form Maker plugin.', WDFMInstance(self::PLUGIN)->prefix); ?> <a href="https://web-dorado.com/files/fromFormMaker.php" target="_blank"><?php _e('Learn More', WDFMInstance(self::PLUGIN)->prefix); ?></a>
175
- </div>
176
- </div>
177
- </div>
178
- <?php
179
- }
180
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/views/Submissions_fm.php CHANGED
@@ -93,7 +93,7 @@ class FMViewSubmissions_fm extends FMAdminView {
93
  $asc_or_desc = $params['asc_or_desc'];
94
  $pagination_url_args = $params['pagination_url_args'];
95
  ob_start();
96
- $unexpected_error_message = sprintf( __('An unexpected error occurred while exporting data. %s Please contact Web-Dorado (10Web) Customer Care. %s', WDFMInstance(self::PLUGIN)->prefix), '<a href="https://web-dorado.com/support/contact-us.html" target="_blank">','</a>');
97
  echo '<div class="fm-unexpected_error_message fm-hide">' . WDW_FM_Library(self::PLUGIN)->message_id('', $unexpected_error_message, 'error') . '</div>';
98
  echo $this->body($params);
99
  // Pass the content to form.
93
  $asc_or_desc = $params['asc_or_desc'];
94
  $pagination_url_args = $params['pagination_url_args'];
95
  ob_start();
96
+ $unexpected_error_message = sprintf( __('An unexpected error occurred while exporting data. %s Please contact 10Web Customer Care. %s', WDFMInstance(self::PLUGIN)->prefix), '<a href="https://help.10web.io/hc/en-us/requests/new" target="_blank">','</a>');
97
  echo '<div class="fm-unexpected_error_message fm-hide">' . WDW_FM_Library(self::PLUGIN)->message_id('', $unexpected_error_message, 'error') . '</div>';
98
  echo $this->body($params);
99
  // Pass the content to form.
admin/views/Uninstall_fm.php CHANGED
@@ -45,8 +45,8 @@ class FMViewUninstall_fm extends FMAdminView {
45
  ?>
46
  <div class="goodbye-text">
47
  <?php
48
- $support_team = '<a href="https://web-dorado.com/support/contact-us.html" target="_blank">' . __('support team', WDFMInstance(self::PLUGIN)->prefix) . '</a>';
49
- $contact_us = '<a href="https://web-dorado.com/support/contact-us.html" target="_blank">' . __('Contact us', WDFMInstance(self::PLUGIN)->prefix) . '</a>';
50
  echo sprintf(__("Before uninstalling the plugin, please Contact our %s. We'll do our best to help you out with your issue. We value each and every user and value what's right for our users in everything we do.<br />
51
  However, if anyway you have made a decision to uninstall the plugin, please take a minute to %s and tell what you didn't like for our plugins further improvement and development. Thank you !!!", WDFMInstance(self::PLUGIN)->prefix), $support_team, $contact_us); ?>
52
  </div>
45
  ?>
46
  <div class="goodbye-text">
47
  <?php
48
+ $support_team = '<a href="https://help.10web.io/hc/en-us/requests/new" target="_blank">' . __('support team', WDFMInstance(self::PLUGIN)->prefix) . '</a>';
49
+ $contact_us = '<a href="https://help.10web.io/hc/en-us/requests/new" target="_blank">' . __('Contact us', WDFMInstance(self::PLUGIN)->prefix) . '</a>';
50
  echo sprintf(__("Before uninstalling the plugin, please Contact our %s. We'll do our best to help you out with your issue. We value each and every user and value what's right for our users in everything we do.<br />
51
  However, if anyway you have made a decision to uninstall the plugin, please take a minute to %s and tell what you didn't like for our plugins further improvement and development. Thank you !!!", WDFMInstance(self::PLUGIN)->prefix), $support_team, $contact_us); ?>
52
  </div>
admin/views/view.php CHANGED
@@ -10,7 +10,7 @@ class FMAdminView {
10
  */
11
  const PLUGIN = 1;
12
 
13
- private $premium_link = 'https://web-dorado.com/files/fromFormMaker.php';
14
 
15
  /**
16
  * Generate form.
@@ -305,24 +305,24 @@ class FMAdminView {
305
  $page = isset($_GET['page']) ? esc_html($_GET['page']) : '';
306
  $page = str_replace(WDFMInstance(self::PLUGIN)->menu_postfix, '', $page);
307
  $task = isset($_REQUEST['task']) ? esc_html($_REQUEST['task']) : '';
308
- $user_guide_link = 'https://web-dorado.com/wordpress-form-maker/';
309
  $show_content = true;
310
  $show_guide_link = true;
311
  $show_head = false;
312
  switch ($page) {
313
  case 'blocked_ips': {
314
- $user_guide_link .= 'submissions.html';
315
  break;
316
  }
317
  case 'options': {
318
- $user_guide_link .= 'themes-and-options.html';
319
  break;
320
  }
321
  case 'pricing': {
322
  $show_content = false;
323
  $show_guide_link = false;
324
  $show_head = true;
325
- $user_guide_link .= '';
326
  break;
327
  }
328
  case 'manage': {
@@ -330,20 +330,20 @@ class FMAdminView {
330
  case 'add':
331
  case 'edit':
332
  case 'edit_old': {
333
- $user_guide_link .= 'form-fields/basic-fields.html';
334
  break;
335
  }
336
  case 'form_options':
337
  case 'form_options_old': {
338
- $user_guide_link .= 'form-options/general-options.html';
339
  break;
340
  }
341
  case 'display_options': {
342
- $user_guide_link .= 'display-options-publishing/configuring-display-options.html';
343
  break;
344
  }
345
  default: {
346
- $user_guide_link .= 'creating-form.html';
347
  $show_content = false;
348
  $show_head = true;
349
  }
@@ -351,17 +351,17 @@ class FMAdminView {
351
  break;
352
  }
353
  case 'submissions': {
354
- $user_guide_link .= 'submissions.html';
355
  break;
356
  }
357
  case 'themes': {
358
- $user_guide_link .= 'themes-and-options.html';
359
  break;
360
  }
361
  case 'addons': {
362
  $show_content = false;
363
  $show_head = true;
364
- $user_guide_link .= '';
365
  break;
366
  }
367
  default: {
@@ -427,14 +427,17 @@ class FMAdminView {
427
  $menus = array(
428
  'manage' => array(
429
  'href' => add_query_arg( array('page' => 'manage' . WDFMInstance(self::PLUGIN)->menu_postfix ), admin_url('admin.php')),
 
430
  'name' => __('Forms', WDFMInstance(self::PLUGIN)->prefix)
431
  ),
432
  'addons' => array(
433
- 'href' => add_query_arg( array('page' => 'addons' . WDFMInstance(self::PLUGIN)->menu_postfix ), admin_url('admin.php')),
434
- 'name' => __('Add-ons', WDFMInstance(self::PLUGIN)->prefix)
 
435
  ),
436
  'pricing' => array(
437
- 'href' => add_query_arg( array('page' => 'pricing' . WDFMInstance(self::PLUGIN)->menu_postfix ), admin_url('admin.php')),
 
438
  'name' => __('Premium Version', WDFMInstance(self::PLUGIN)->prefix) .' <span class="fm-upgrade">' . __('Upgrade', WDFMInstance(self::PLUGIN)->prefix) . '</span>'
439
  ),
440
  );
@@ -450,7 +453,7 @@ class FMAdminView {
450
  }
451
  ?>
452
  <li class="fm-breadcrumb-item">
453
- <a class="fm-breadcrumb-item-link<?php echo ( $key == $page ) ? ' fm-breadcrumb-item-link-active' : ''; ?>" href="<?php echo $item['href']; ?>"><?php echo $item['name']; ?></a>
454
  </li>
455
  <?php
456
  }
10
  */
11
  const PLUGIN = 1;
12
 
13
+ private $premium_link = 'https://10web.io/plugins/wordpress-form-maker/?utm_source=form_maker&utm_medium=free_plugin';
14
 
15
  /**
16
  * Generate form.
305
  $page = isset($_GET['page']) ? esc_html($_GET['page']) : '';
306
  $page = str_replace(WDFMInstance(self::PLUGIN)->menu_postfix, '', $page);
307
  $task = isset($_REQUEST['task']) ? esc_html($_REQUEST['task']) : '';
308
+ $user_guide_link = 'https://help.10web.io/hc/en-us/sections/360002133951-Form-Maker-Documentation';
309
  $show_content = true;
310
  $show_guide_link = true;
311
  $show_head = false;
312
  switch ($page) {
313
  case 'blocked_ips': {
314
+ $user_guide_link = 'https://help.10web.io/hc/en-us/articles/360015499752-Eliminating-Spam-Submissions';
315
  break;
316
  }
317
  case 'options': {
318
+ $user_guide_link = 'https://help.10web.io/hc/en-us/articles/360016112771-General-Options';
319
  break;
320
  }
321
  case 'pricing': {
322
  $show_content = false;
323
  $show_guide_link = false;
324
  $show_head = true;
325
+ $user_guide_link = 'https://10web.io/plugins/wordpress-form-maker/?utm_source=form_maker&utm_medium=free_plugin';
326
  break;
327
  }
328
  case 'manage': {
330
  case 'add':
331
  case 'edit':
332
  case 'edit_old': {
333
+ $user_guide_link = 'https://help.10web.io/hc/en-us/articles/360015244232-Creating-a-Form';
334
  break;
335
  }
336
  case 'form_options':
337
  case 'form_options_old': {
338
+ $user_guide_link = 'https://help.10web.io/hc/en-us/articles/360015862812-Form-Options-General';
339
  break;
340
  }
341
  case 'display_options': {
342
+ $user_guide_link = 'https://help.10web.io/hc/en-us/articles/360015862692-Display-Options-and-Publishing';
343
  break;
344
  }
345
  default: {
346
+ $user_guide_link = 'https://help.10web.io/hc/en-us/articles/360015435831-Introduction';
347
  $show_content = false;
348
  $show_head = true;
349
  }
351
  break;
352
  }
353
  case 'submissions': {
354
+ $user_guide_link = 'https://help.10web.io/hc/en-us/articles/360015863292-Managing-Form-Submissions';
355
  break;
356
  }
357
  case 'themes': {
358
+ $user_guide_link = 'https://help.10web.io/hc/en-us/articles/360016083071-Configuring-Form-Maker-Themes';
359
  break;
360
  }
361
  case 'addons': {
362
  $show_content = false;
363
  $show_head = true;
364
+ $user_guide_link = 'https://10web.io/plugins/wordpress-form-maker/#plugin_extensions';
365
  break;
366
  }
367
  default: {
427
  $menus = array(
428
  'manage' => array(
429
  'href' => add_query_arg( array('page' => 'manage' . WDFMInstance(self::PLUGIN)->menu_postfix ), admin_url('admin.php')),
430
+ 'target' => '_self',
431
  'name' => __('Forms', WDFMInstance(self::PLUGIN)->prefix)
432
  ),
433
  'addons' => array(
434
+ 'href' => 'https://10web.io/plugins/wordpress-form-maker/#plugin_extensions',
435
+ 'target' => '_blanck',
436
+ 'name' => __('Extensions', WDFMInstance(self::PLUGIN)->prefix)
437
  ),
438
  'pricing' => array(
439
+ 'href' => 'https://10web.io/plugins/wordpress-form-maker/?utm_source=form_maker&utm_medium=free_plugin',
440
+ 'target' => '_blanck',
441
  'name' => __('Premium Version', WDFMInstance(self::PLUGIN)->prefix) .' <span class="fm-upgrade">' . __('Upgrade', WDFMInstance(self::PLUGIN)->prefix) . '</span>'
442
  ),
443
  );
453
  }
454
  ?>
455
  <li class="fm-breadcrumb-item">
456
+ <a class="fm-breadcrumb-item-link<?php echo ( $key == $page ) ? ' fm-breadcrumb-item-link-active' : ''; ?>" href="<?php echo $item['href']; ?>" target="<?php echo $item['target']; ?>"><?php echo $item['name']; ?></a>
457
  </li>
458
  <?php
459
  }
css/pricing.css CHANGED
@@ -733,7 +733,7 @@
733
  line-height: 26px;
734
  }
735
  /* Limitations alert end */
736
- /* Add-ons start */
737
  .fm-add-ons {
738
  display: flex;
739
  flex-wrap: wrap;
@@ -857,4 +857,4 @@
857
  .fm-add-ons .fm-add-on .fm-add-on-learn-more:hover {
858
  color: rgba(0, 115, 170, 0.8);
859
  }
860
- /* Add-ons end */
733
  line-height: 26px;
734
  }
735
  /* Limitations alert end */
736
+ /* Extensions start */
737
  .fm-add-ons {
738
  display: flex;
739
  flex-wrap: wrap;
857
  .fm-add-ons .fm-add-on .fm-add-on-learn-more:hover {
858
  color: rgba(0, 115, 170, 0.8);
859
  }
860
+ /* Extensions end */
form-maker.php CHANGED
@@ -1,11 +1,11 @@
1
  <?php
2
  /**
3
  * Plugin Name: Form Maker
4
- * Plugin URI: https://web-dorado.com/products/form-maker-wordpress.html
5
  * Description: This plugin is a modern and advanced tool for easy and fast creating of a WordPress Form. The backend interface is intuitive and user friendly which allows users far from scripting and programming to create WordPress Forms.
6
- * Version: 1.13.1
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
10
  */
11
 
@@ -95,8 +95,8 @@ final class WDFM {
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.13.1';
99
- $this->db_version = '2.13.1';
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;
@@ -198,7 +198,7 @@ final class WDFM {
198
  // Set per_page option for submissions.
199
  add_filter('set-screen-option', array($this, 'set_option_submissions'), 10, 3);
200
 
201
- // Check add-ons versions.
202
  if ( $this->is_free != 2 && isset( $_GET[ 'page' ] ) && strpos( esc_html( $_GET[ 'page' ] ), '_' . $this->handle_prefix ) !== FALSE ) {
203
  add_action('admin_notices', array($this, 'fm_check_addons_compatibility'));
204
  }
@@ -393,7 +393,7 @@ final class WDFM {
393
  require_once($this->plugin_dir . '/WDFM.php');
394
  }
395
 
396
- // Initialize add-ons.
397
  if ($this->is_free != 2) {
398
  do_action('fm_init_addons');
399
  }
@@ -417,11 +417,7 @@ final class WDFM {
417
  add_submenu_page(null, __('Blocked IPs', $this->prefix), __('Blocked IPs', $this->prefix), 'manage_options', 'blocked_ips' . $this->menu_postfix, array($this, 'form_maker'));
418
  add_submenu_page($parent_slug, __('Themes', $this->prefix), __('Themes', $this->prefix), 'manage_options', 'themes' . $this->menu_postfix, array($this, 'form_maker'));
419
  add_submenu_page($parent_slug, __('Options', $this->prefix), __('Options', $this->prefix), 'manage_options', 'options' . $this->menu_postfix, array($this, 'form_maker'));
420
- if ( $this->is_free ) {
421
- add_submenu_page($parent_slug, __('Premium Version', $this->prefix), __('Premium Version', $this->prefix), 'manage_options', 'pricing' . $this->menu_postfix, array($this, 'form_maker'));
422
- }
423
  add_submenu_page(null, __('Uninstall', $this->prefix), __('Uninstall', $this->prefix), 'manage_options', 'uninstall' . $this->menu_postfix, array($this, 'form_maker'));
424
- add_submenu_page($parent_slug, __('Add-ons', $this->prefix), __('Add-ons', $this->prefix), 'manage_options', 'addons' . $this->menu_postfix, array($this , 'form_maker'));
425
  }
426
 
427
  /**
@@ -504,7 +500,7 @@ final class WDFM {
504
  die('Access Denied');
505
  }
506
  $page = WDW_FM_Library(self::PLUGIN)->get('page');
507
- if (($page != '') && (($page == 'manage' . $this->menu_postfix) || ($page == 'options' . $this->menu_postfix) || ($page == 'submissions' . $this->menu_postfix) || ($page == 'blocked_ips' . $this->menu_postfix) || ($page == 'themes' . $this->menu_postfix) || ($page == 'uninstall' . $this->menu_postfix) || ($page == 'addons' . $this->menu_postfix) || ($this->is_free && $page == 'pricing' . $this->menu_postfix))) {
508
  $page = ucfirst(substr($page, 0, strlen($page) - strlen($this->menu_postfix)));
509
  echo '<div id="fm_loading"></div>';
510
  echo '<div id="fm_admin_container" class="fm-form-container" style="display: none;">';
@@ -673,7 +669,7 @@ final class WDFM {
673
  "prefix" => "fm" ,
674
  "deactivate_class" => 'fm_deactivate_link',
675
  "email" => $admin_data->data->user_email,
676
- "plugin_wd_url" => "https://web-dorado.com/files/fromFormMaker.php",
677
  ));
678
  }
679
  wp_register_style($this->handle_prefix . '-pricing', $this->plugin_url . '/css/pricing.css', array(), $this->plugin_version);
@@ -1042,7 +1038,7 @@ final class WDFM {
1042
  if (!$version) {
1043
  if ($wpdb->get_var("SHOW TABLES LIKE '" . $wpdb->prefix . "formmaker'") == $wpdb->prefix . "formmaker") {
1044
  deactivate_plugins($this->main_file);
1045
- wp_die(__("Oops! Seems like you installed the update over a quite old version of Form Maker. Unfortunately, this version is deprecated.<br />Please contact Web-Dorado support team at support@web-dorado.com. We will take care of this issue as soon as possible.", $this->prefix));
1046
  }
1047
  else {
1048
  add_option("wd_form_maker_version", $new_version, '', 'no');
@@ -1106,13 +1102,15 @@ final class WDFM {
1106
  */
1107
  public function fm_overview() {
1108
  if (is_admin() && !isset($_REQUEST['ajax'])) {
1109
- if (!class_exists("DoradoWeb")) {
1110
- require_once($this->plugin_dir . '/wd/start.php');
 
1111
  }
1112
  global $fm_options;
1113
  $fm_options = array(
1114
  "prefix" => ($this->is_free == 2 ? 'cfm' : 'fm'),
1115
  "wd_plugin_id" => ($this->is_free == 2 ? 183 : 31),
 
1116
  "plugin_title" => ($this->is_free == 2 ? 'Contact Form Maker' : 'Form Maker'),
1117
  "plugin_wordpress_slug" => ($this->is_free == 2 ? 'contact-form-maker' : 'form-maker'),
1118
  "plugin_dir" => $this->plugin_dir,
@@ -1190,10 +1188,11 @@ final class WDFM {
1190
  ),
1191
  ),
1192
  "video_youtube_id" => "tN3_c6MhqFk", // e.g. https://www.youtube.com/watch?v=acaexefeP7o youtube id is the acaexefeP7o
1193
- "plugin_wd_url" => "https://web-dorado.com/files/fromFormMaker.php",
1194
- "plugin_wd_demo_link" => "http://wpdemo.web-dorado.com",
1195
- "plugin_wd_addons_link" => "https://web-dorado.com/products/wordpress-form/add-ons.html",
1196
- "after_subscribe" => admin_url('admin.php?page=overview_' . ($this->is_free == 2 ? 'cfm' : 'fm')), // this can be plagin overview page or set up page
 
1197
  "plugin_wizard_link" => '',
1198
  "plugin_menu_title" => $this->nicename,
1199
  "plugin_menu_icon" => $this->plugin_url . '/images/FormMakerLogo-16.png',
@@ -1201,9 +1200,10 @@ final class WDFM {
1201
  "subscribe" => ($this->is_free ? true : false),
1202
  "custom_post" => 'manage' . $this->menu_postfix,
1203
  "menu_position" => null,
 
1204
  );
1205
 
1206
- dorado_web_init($fm_options);
1207
  }
1208
  }
1209
 
@@ -1237,11 +1237,11 @@ final class WDFM {
1237
 
1238
 
1239
  /**
1240
- * Check add-ones version compatibility with FM.
1241
  *
1242
  */
1243
  function fm_check_addons_compatibility() {
1244
- // Add-on last version(version which is compatible with current version of form maker).
1245
  $add_ons = array(
1246
  'form-maker-calculator' => array('version' => '1.1.2', 'file' => 'fm_calculator.php'),
1247
  'form-maker-conditional-emails' => array('version' => '1.1.6', 'file' => 'fm_conditional_emails.php'),
@@ -1284,8 +1284,8 @@ final class WDFM {
1284
  function fm_addons_compatibility_notice($add_ons_notice) {
1285
  $addon_names = implode($add_ons_notice, ', ');
1286
  $count = count($add_ons_notice);
1287
- $single = __('The current version of %s add-on is not compatible with Form Maker. Some functions may not work correctly. Please update the add-on to fully use its features.', $this->prefix);
1288
- $plural = __('The current version of %s add-ons are not compatible with Form Maker. Some functions may not work correctly. Please update the add-ons to fully use its features.', $this->prefix);
1289
  echo '<div class="error"><p>' . sprintf( _n($single, $plural, $count, $this->prefix), $addon_names ) .'</p></div>';
1290
  }
1291
 
1
  <?php
2
  /**
3
  * Plugin Name: Form Maker
4
+ * Plugin URI: https://10web.io/plugins/wordpress-form-maker/
5
  * Description: This plugin is a modern and advanced tool for easy and fast creating of a WordPress Form. The backend interface is intuitive and user friendly which allows users far from scripting and programming to create WordPress Forms.
6
+ * Version: 1.13.2
7
+ * Author: Form Builder Team
8
+ * Author URI: https://10web.io/pricing/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
10
  */
11
 
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.13.2';
99
+ $this->db_version = '2.13.2';
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;
198
  // Set per_page option for submissions.
199
  add_filter('set-screen-option', array($this, 'set_option_submissions'), 10, 3);
200
 
201
+ // Check extensions versions.
202
  if ( $this->is_free != 2 && isset( $_GET[ 'page' ] ) && strpos( esc_html( $_GET[ 'page' ] ), '_' . $this->handle_prefix ) !== FALSE ) {
203
  add_action('admin_notices', array($this, 'fm_check_addons_compatibility'));
204
  }
393
  require_once($this->plugin_dir . '/WDFM.php');
394
  }
395
 
396
+ // Initialize extensions.
397
  if ($this->is_free != 2) {
398
  do_action('fm_init_addons');
399
  }
417
  add_submenu_page(null, __('Blocked IPs', $this->prefix), __('Blocked IPs', $this->prefix), 'manage_options', 'blocked_ips' . $this->menu_postfix, array($this, 'form_maker'));
418
  add_submenu_page($parent_slug, __('Themes', $this->prefix), __('Themes', $this->prefix), 'manage_options', 'themes' . $this->menu_postfix, array($this, 'form_maker'));
419
  add_submenu_page($parent_slug, __('Options', $this->prefix), __('Options', $this->prefix), 'manage_options', 'options' . $this->menu_postfix, array($this, 'form_maker'));
 
 
 
420
  add_submenu_page(null, __('Uninstall', $this->prefix), __('Uninstall', $this->prefix), 'manage_options', 'uninstall' . $this->menu_postfix, array($this, 'form_maker'));
 
421
  }
422
 
423
  /**
500
  die('Access Denied');
501
  }
502
  $page = WDW_FM_Library(self::PLUGIN)->get('page');
503
+ if (($page != '') && (($page == 'manage' . $this->menu_postfix) || ($page == 'options' . $this->menu_postfix) || ($page == 'submissions' . $this->menu_postfix) || ($page == 'blocked_ips' . $this->menu_postfix) || ($page == 'themes' . $this->menu_postfix) || ($page == 'uninstall' . $this->menu_postfix))) {
504
  $page = ucfirst(substr($page, 0, strlen($page) - strlen($this->menu_postfix)));
505
  echo '<div id="fm_loading"></div>';
506
  echo '<div id="fm_admin_container" class="fm-form-container" style="display: none;">';
669
  "prefix" => "fm" ,
670
  "deactivate_class" => 'fm_deactivate_link',
671
  "email" => $admin_data->data->user_email,
672
+ "plugin_wd_url" => "https://10web.io/plugins/wordpress-form-maker/?utm_source=form_maker&utm_medium=free_plugin",
673
  ));
674
  }
675
  wp_register_style($this->handle_prefix . '-pricing', $this->plugin_url . '/css/pricing.css', array(), $this->plugin_version);
1038
  if (!$version) {
1039
  if ($wpdb->get_var("SHOW TABLES LIKE '" . $wpdb->prefix . "formmaker'") == $wpdb->prefix . "formmaker") {
1040
  deactivate_plugins($this->main_file);
1041
+ wp_die(__("Oops! Seems like you installed the update over a quite old version of Form Maker. Unfortunately, this version is deprecated.<br />Please contact 10Web support team at support@10web.io. We will take care of this issue as soon as possible.", $this->prefix));
1042
  }
1043
  else {
1044
  add_option("wd_form_maker_version", $new_version, '', 'no');
1102
  */
1103
  public function fm_overview() {
1104
  if (is_admin() && !isset($_REQUEST['ajax'])) {
1105
+ if (!class_exists("TenWebLib")) {
1106
+ $plugin_dir = apply_filters('tenweb_free_users_lib_path', array('version' => '1.1.1', 'path' => $this->plugin_dir));
1107
+ require_once($plugin_dir['path'] . '/wd/start.php');
1108
  }
1109
  global $fm_options;
1110
  $fm_options = array(
1111
  "prefix" => ($this->is_free == 2 ? 'cfm' : 'fm'),
1112
  "wd_plugin_id" => ($this->is_free == 2 ? 183 : 31),
1113
+ "plugin_id" => ($this->is_free == 2 ? 95 : 95),
1114
  "plugin_title" => ($this->is_free == 2 ? 'Contact Form Maker' : 'Form Maker'),
1115
  "plugin_wordpress_slug" => ($this->is_free == 2 ? 'contact-form-maker' : 'form-maker'),
1116
  "plugin_dir" => $this->plugin_dir,
1188
  ),
1189
  ),
1190
  "video_youtube_id" => "tN3_c6MhqFk", // e.g. https://www.youtube.com/watch?v=acaexefeP7o youtube id is the acaexefeP7o
1191
+ "plugin_wd_url" => "https://10web.io/plugins/wordpress-form-maker/?utm_source=form_maker&utm_medium=free_plugin",
1192
+ "plugin_wd_demo_link" => "https://demo.10web.io/form-maker",
1193
+ "plugin_wd_addons_link" => "https://demo.10web.io/form-maker#plugin_extensions",
1194
+ "plugin_wd_docs_link" => "https://help.10web.io/hc/en-us/sections/360002133951-Form-Maker-Documentation/",
1195
+ "after_subscribe" => admin_url('admin.php?page=manage_' . ($this->is_free == 2 ? 'cfm' : 'fm')), // this can be plagin overview page or set up page
1196
  "plugin_wizard_link" => '',
1197
  "plugin_menu_title" => $this->nicename,
1198
  "plugin_menu_icon" => $this->plugin_url . '/images/FormMakerLogo-16.png',
1200
  "subscribe" => ($this->is_free ? true : false),
1201
  "custom_post" => 'manage' . $this->menu_postfix,
1202
  "menu_position" => null,
1203
+ "display_overview" => false,
1204
  );
1205
 
1206
+ ten_web_lib_init($fm_options);
1207
  }
1208
  }
1209
 
1237
 
1238
 
1239
  /**
1240
+ * Check extensions version compatibility with FM.
1241
  *
1242
  */
1243
  function fm_check_addons_compatibility() {
1244
+ // Extension last version(version which is compatible with current version of form maker).
1245
  $add_ons = array(
1246
  'form-maker-calculator' => array('version' => '1.1.2', 'file' => 'fm_calculator.php'),
1247
  'form-maker-conditional-emails' => array('version' => '1.1.6', 'file' => 'fm_conditional_emails.php'),
1284
  function fm_addons_compatibility_notice($add_ons_notice) {
1285
  $addon_names = implode($add_ons_notice, ', ');
1286
  $count = count($add_ons_notice);
1287
+ $single = __('The current version of %s extension is not compatible with Form Maker. Some functions may not work correctly. Please update the extension to fully use its features.', $this->prefix);
1288
+ $plural = __('The current version of %s extensions are not compatible with Form Maker. Some functions may not work correctly. Please update the extensions to fully use its features.', $this->prefix);
1289
  echo '<div class="error"><p>' . sprintf( _n($single, $plural, $count, $this->prefix), $addon_names ) .'</p></div>';
1290
  }
1291
 
form_maker_update.php CHANGED
@@ -260,7 +260,7 @@ class WDFMUpdate {
260
  $wpdb->query("ALTER TABLE `" . $wpdb->prefix . "formmaker_backup` ADD `privacy` longtext NOT NULL DEFAULT ''");
261
  }
262
 
263
- if (version_compare($version, '2.12.39') == -1) {
264
  $wpdb->query("ALTER TABLE `" . $wpdb->prefix . "formmaker` ADD `header_hide` tinyint(4) NOT NULL DEFAULT '1'");
265
  $wpdb->query("ALTER TABLE `" . $wpdb->prefix . "formmaker_backup` ADD `header_hide` tinyint(4) NOT NULL DEFAULT '1'");
266
  $wpdb->query("ALTER TABLE `" . $wpdb->prefix . "formmaker_backup` ADD `date` int(10) NOT NULL");
260
  $wpdb->query("ALTER TABLE `" . $wpdb->prefix . "formmaker_backup` ADD `privacy` longtext NOT NULL DEFAULT ''");
261
  }
262
 
263
+ if (version_compare($version, '2.13.0') == -1) {
264
  $wpdb->query("ALTER TABLE `" . $wpdb->prefix . "formmaker` ADD `header_hide` tinyint(4) NOT NULL DEFAULT '1'");
265
  $wpdb->query("ALTER TABLE `" . $wpdb->prefix . "formmaker_backup` ADD `header_hide` tinyint(4) NOT NULL DEFAULT '1'");
266
  $wpdb->query("ALTER TABLE `" . $wpdb->prefix . "formmaker_backup` ADD `date` int(10) NOT NULL");
frontend/models/form_maker.php CHANGED
@@ -1219,7 +1219,7 @@ class FMModelForm_maker {
1219
  }
1220
  else {
1221
  $result_temp = $this->save_db( $id_for_old );
1222
- // Enqueue any message from an add-on to display.
1223
  if ( isset( $result_temp[ 'message' ] ) ) {
1224
  $_SESSION['massage_after_submit' . $id] = $result_temp['message'];
1225
  $_SESSION['error_or_no' . $id ] = 0;
@@ -2414,13 +2414,13 @@ class FMModelForm_maker {
2414
  do_action( 'fm_addon_frontend_init', $frontend_parmas );
2415
  }
2416
  $return_value = array( 'group_id' => $group_id, 'all_files' => $all_files, 'redirect_url' => $str );
2417
- // Get output from add-ons.
2418
  $return_value = $this->get_output_from_add_ons( $return_value );
2419
  return $return_value;
2420
  }
2421
 
2422
  /**
2423
- * Get output from add-ons.
2424
  *
2425
  * @param array $params
2426
  * @return array $$outputs
@@ -3231,7 +3231,7 @@ class FMModelForm_maker {
3231
  $header_arr['cc'] = $row->mail_cc_user;
3232
  $header_arr['bcc'] = $row->mail_bcc_user;
3233
 
3234
- // PDF output for add-on.
3235
  $pdf_data = array('attach_to_admin' => 0, 'attach_to_user' => 0, 'pdf_url' => '');
3236
  if ( WDFMInstance(self::PLUGIN)->is_free != 2 ) {
3237
  $pdf_data = apply_filters( 'fm_pdf_data_frontend', $pdf_data, array( 'custom_fields' => $this->custom_fields, 'form_id' => $id ) );
@@ -3411,7 +3411,7 @@ class FMModelForm_maker {
3411
  }
3412
  }
3413
 
3414
- // Add-on conditional email.
3415
  if ( has_action('fm_set_params_frontend_init') && WDFMInstance(self::PLUGIN)->is_free != 2 ) {
3416
  $fm_email_params = $row->sendemail ? array(
3417
  'admin_body' => $admin_body,
@@ -3456,7 +3456,7 @@ class FMModelForm_maker {
3456
  }
3457
 
3458
  if ( $row->submit_text_type != 4 || $row->url == '' ) {
3459
- // This ensures that no message is enqueued by an add-on.
3460
  if ( !isset($_SESSION[ 'massage_after_submit' . $id ]) || !$_SESSION[ 'massage_after_submit' . $id ] ) {
3461
  $_SESSION[ 'massage_after_submit' . $id ] = $msg;
3462
  }
1219
  }
1220
  else {
1221
  $result_temp = $this->save_db( $id_for_old );
1222
+ // Enqueue any message from an extension to display.
1223
  if ( isset( $result_temp[ 'message' ] ) ) {
1224
  $_SESSION['massage_after_submit' . $id] = $result_temp['message'];
1225
  $_SESSION['error_or_no' . $id ] = 0;
2414
  do_action( 'fm_addon_frontend_init', $frontend_parmas );
2415
  }
2416
  $return_value = array( 'group_id' => $group_id, 'all_files' => $all_files, 'redirect_url' => $str );
2417
+ // Get output from extensions.
2418
  $return_value = $this->get_output_from_add_ons( $return_value );
2419
  return $return_value;
2420
  }
2421
 
2422
  /**
2423
+ * Get output from extensions.
2424
  *
2425
  * @param array $params
2426
  * @return array $$outputs
3231
  $header_arr['cc'] = $row->mail_cc_user;
3232
  $header_arr['bcc'] = $row->mail_bcc_user;
3233
 
3234
+ // PDF output for extension.
3235
  $pdf_data = array('attach_to_admin' => 0, 'attach_to_user' => 0, 'pdf_url' => '');
3236
  if ( WDFMInstance(self::PLUGIN)->is_free != 2 ) {
3237
  $pdf_data = apply_filters( 'fm_pdf_data_frontend', $pdf_data, array( 'custom_fields' => $this->custom_fields, 'form_id' => $id ) );
3411
  }
3412
  }
3413
 
3414
+ // Extension conditional email.
3415
  if ( has_action('fm_set_params_frontend_init') && WDFMInstance(self::PLUGIN)->is_free != 2 ) {
3416
  $fm_email_params = $row->sendemail ? array(
3417
  'admin_body' => $admin_body,
3456
  }
3457
 
3458
  if ( $row->submit_text_type != 4 || $row->url == '' ) {
3459
+ // This ensures that no message is enqueued by an extension.
3460
  if ( !isset($_SESSION[ 'massage_after_submit' . $id ]) || !$_SESSION[ 'massage_after_submit' . $id ] ) {
3461
  $_SESSION[ 'massage_after_submit' . $id ] = $msg;
3462
  }
frontend/views/form_maker.php CHANGED
@@ -47,6 +47,9 @@ class FMViewForm_maker {
47
  $current_url = htmlentities($_SERVER['REQUEST_URI']);
48
 
49
  $row = $result[0];
 
 
 
50
  $form_theme = $result[4];
51
 
52
  $theme_id = WDW_FM_Library(self::PLUGIN)->get('test_theme', $row->theme);
@@ -196,7 +199,7 @@ class FMViewForm_maker {
196
  $symbol_begin = array();
197
  $symbol_end = array();
198
 
199
- // Get Add-on Calculator data.
200
  $calculator_data = array();
201
  if (WDFMInstance(self::PLUGIN)->is_free != 2) {
202
  $calculator_data = apply_filters('fm_calculator_get_data_init', $calculator_data, $form_id);
@@ -1648,7 +1651,7 @@ class FMViewForm_maker {
1648
  break;
1649
  }
1650
  case 'type_stripe': {
1651
- /* get stripe add-on form */
1652
  $stripe_data = array('form_view' => $this, 'form' => $row, 'attributes' => $params, 'input_index' => $id1, 'form_id' => $form_id, 'html' => '');
1653
  if ( WDFMInstance(self::PLUGIN)->is_free != 2 && $row->paypal_mode == 2 ) {
1654
  $stripe_data = apply_filters('fm_addon_stripe_form_init', $stripe_data);
47
  $current_url = htmlentities($_SERVER['REQUEST_URI']);
48
 
49
  $row = $result[0];
50
+ if ( !isset($row->header_hide) ) {
51
+ $row->header_hide = 1;
52
+ }
53
  $form_theme = $result[4];
54
 
55
  $theme_id = WDW_FM_Library(self::PLUGIN)->get('test_theme', $row->theme);
199
  $symbol_begin = array();
200
  $symbol_end = array();
201
 
202
+ // Get extension Calculator data.
203
  $calculator_data = array();
204
  if (WDFMInstance(self::PLUGIN)->is_free != 2) {
205
  $calculator_data = apply_filters('fm_calculator_get_data_init', $calculator_data, $form_id);
1651
  break;
1652
  }
1653
  case 'type_stripe': {
1654
+ /* get stripe extension form */
1655
  $stripe_data = array('form_view' => $this, 'form' => $row, 'attributes' => $params, 'input_index' => $id1, 'form_id' => $form_id, 'html' => '');
1656
  if ( WDFMInstance(self::PLUGIN)->is_free != 2 && $row->paypal_mode == 2 ) {
1657
  $stripe_data = apply_filters('fm_addon_stripe_form_init', $stripe_data);
languages/form_maker-ca.po CHANGED
@@ -1836,7 +1836,7 @@ msgstr ""
1836
 
1837
  #: form-maker.php:1050
1838
  #, php-format
1839
- msgid "Please update the %s add-ons to start using."
1840
  msgstr ""
1841
 
1842
  #: form-maker.php:1110
1836
 
1837
  #: form-maker.php:1050
1838
  #, php-format
1839
+ msgid "Please update the %s extensions to start using."
1840
  msgstr ""
1841
 
1842
  #: form-maker.php:1110
languages/form_maker-da_DK.po CHANGED
@@ -1065,7 +1065,7 @@ msgid ""
1065
  msgstr ""
1066
 
1067
  #: admin/views/view.php:424 form-maker.php:253
1068
- msgid "Add-ons"
1069
  msgstr ""
1070
 
1071
  #: admin/views/view.php:428 form-maker.php:250
@@ -1836,7 +1836,7 @@ msgstr ""
1836
 
1837
  #: form-maker.php:1050
1838
  #, php-format
1839
- msgid "Please update the %s add-ons to start using."
1840
  msgstr ""
1841
 
1842
  #: form-maker.php:1110
1065
  msgstr ""
1066
 
1067
  #: admin/views/view.php:424 form-maker.php:253
1068
+ msgid "Extensions"
1069
  msgstr ""
1070
 
1071
  #: admin/views/view.php:428 form-maker.php:250
1836
 
1837
  #: form-maker.php:1050
1838
  #, php-format
1839
+ msgid "Please update the %s extensions to start using."
1840
  msgstr ""
1841
 
1842
  #: form-maker.php:1110
languages/form_maker-fa_IR.po CHANGED
@@ -1065,7 +1065,7 @@ msgid ""
1065
  msgstr ""
1066
 
1067
  #: admin/views/view.php:424 form-maker.php:253
1068
- msgid "Add-ons"
1069
  msgstr ""
1070
 
1071
  #: admin/views/view.php:428 form-maker.php:250
@@ -1836,7 +1836,7 @@ msgstr ""
1836
 
1837
  #: form-maker.php:1050
1838
  #, php-format
1839
- msgid "Please update the %s add-ons to start using."
1840
  msgstr ""
1841
 
1842
  #: form-maker.php:1110
1065
  msgstr ""
1066
 
1067
  #: admin/views/view.php:424 form-maker.php:253
1068
+ msgid "Extensions"
1069
  msgstr ""
1070
 
1071
  #: admin/views/view.php:428 form-maker.php:250
1836
 
1837
  #: form-maker.php:1050
1838
  #, php-format
1839
+ msgid "Please update the %s extensions to start using."
1840
  msgstr ""
1841
 
1842
  #: form-maker.php:1110
languages/form_maker-hr.po CHANGED
@@ -2534,7 +2534,7 @@ msgid "Support Forum"
2534
  msgstr ""
2535
 
2536
  #: admin/views/view.php:424 form-maker.php:253
2537
- msgid "Add-ons"
2538
  msgstr ""
2539
 
2540
  #: admin/views/view.php:428 form-maker.php:250
@@ -3338,7 +3338,7 @@ msgstr ""
3338
 
3339
  #: form-maker.php:1050
3340
  #, php-format
3341
- msgid "Please update the %s add-ons to start using."
3342
  msgstr ""
3343
 
3344
  #: form-maker.php:1110
2534
  msgstr ""
2535
 
2536
  #: admin/views/view.php:424 form-maker.php:253
2537
+ msgid "Extensions"
2538
  msgstr ""
2539
 
2540
  #: admin/views/view.php:428 form-maker.php:250
3338
 
3339
  #: form-maker.php:1050
3340
  #, php-format
3341
+ msgid "Please update the %s extensions to start using."
3342
  msgstr ""
3343
 
3344
  #: form-maker.php:1110
languages/form_maker-it_IT.po CHANGED
@@ -31,7 +31,7 @@ msgstr ""
31
 
32
  #: admin/controllers/Addons_fm.php:68
33
  msgid ""
34
- "This add-on is an integration of the Form Maker with MailChimp which allows "
35
  "to add contacts to your subscription lists just from submitted forms."
36
  msgstr ""
37
 
@@ -43,7 +43,7 @@ msgstr "Paginazione"
43
 
44
  #: admin/controllers/Addons_fm.php:76
45
  msgid ""
46
- "User Registration add-on integrates with Form maker forms allowing users to "
47
  "create accounts at your website."
48
  msgstr ""
49
 
@@ -59,7 +59,7 @@ msgstr ""
59
 
60
  #: admin/controllers/Addons_fm.php:92
61
  msgid ""
62
- "Conditional Emails add-on allows to send emails to different recipients "
63
  "depending on the submitted data ."
64
  msgstr ""
65
 
@@ -82,7 +82,7 @@ msgstr "Integrazione con moduli Maker Stripe"
82
 
83
  #: admin/controllers/Addons_fm.php:109
84
  msgid ""
85
- "The Google Drive Integration add-on integrates Form Maker with Google Drive "
86
  "and allows you to send the file uploads to the Google Drive"
87
  msgstr ""
88
 
@@ -92,7 +92,7 @@ msgstr ""
92
 
93
  #: admin/controllers/Addons_fm.php:117
94
  msgid ""
95
- "The Form Maker PDF Integration add-on allows sending submitted forms in PDF "
96
  "format."
97
  msgstr ""
98
 
@@ -115,7 +115,7 @@ msgstr "In corso"
115
 
116
  #: admin/controllers/Addons_fm.php:133
117
  msgid ""
118
- "The add-on allows to save filled in forms as draft and continue editing them "
119
  "subsequently."
120
  msgstr ""
121
 
@@ -125,7 +125,7 @@ msgstr "Strisce"
125
 
126
  #: admin/controllers/Addons_fm.php:141
127
  msgid ""
128
- "Form Maker Stripe Integration Add-on allows to accept direct payments made "
129
  "by Credit Cards. Users will remain on your website during the entire process."
130
  msgstr ""
131
 
@@ -135,7 +135,7 @@ msgstr ""
135
 
136
  #: admin/controllers/Addons_fm.php:149
137
  msgid ""
138
- "The Form Maker Calculator add-on allows creating forms with dynamically "
139
  "calculated fields."
140
  msgstr ""
141
 
@@ -987,7 +987,7 @@ msgid "This field type is available in Premium version"
987
  msgstr "Questo tipo di campo è disabilitato nella versione gratuita."
988
 
989
  #: admin/views/Manage_fm.php:636 admin/views/Manage_fm.php:1448
990
- msgid "STRIPE add-on compatible with Premium version only"
991
  msgstr ""
992
 
993
  #: admin/views/Manage_fm.php:641 admin/views/Manage_fm.php:1456
@@ -997,11 +997,11 @@ msgid "This feature is available only in the Premium version"
997
  msgstr "Questo tipo di campo è disabilitato nella versione gratuita."
998
 
999
  #: admin/views/Manage_fm.php:641 admin/views/Manage_fm.php:1456
1000
- msgid "Requires STRIPE add-on."
1001
  msgstr ""
1002
 
1003
  #: admin/views/Manage_fm.php:644 admin/views/Manage_fm.php:1459
1004
- msgid "This feature requires STRIPE add-on"
1005
  msgstr ""
1006
 
1007
  #: admin/views/Manage_fm.php:644 admin/views/Manage_fm.php:1459
@@ -1873,7 +1873,7 @@ msgstr "Pubblicando gli invii"
1873
 
1874
  #: form-maker.php:1049
1875
  #, php-format
1876
- msgid "Please update the %s add-on to start using."
1877
  msgstr ""
1878
  "Si prega di aggiornare il componente aggiuntivo%s per iniziare a utilizzare."
1879
 
@@ -3676,8 +3676,8 @@ msgstr "Anteprima"
3676
  #~ msgid "Please install "
3677
  #~ msgstr "Perfavore installa "
3678
 
3679
- #~ msgid " add-on to use this feature."
3680
- #~ msgstr "add-on per usare questa funzione."
3681
 
3682
  #~ msgid "This section allows you to %s."
3683
  #~ msgstr "Questa sezione consente di%s."
@@ -3685,8 +3685,8 @@ msgstr "Anteprima"
3685
  #~ msgid "Upgrade to paid version"
3686
  #~ msgstr "Perfavore fai l'upgrade alla versione a pagamento"
3687
 
3688
- #~ msgid "Please install %s add-on to use this feature."
3689
- #~ msgstr "Installa%s add-on per utilizzare questa funzione."
3690
 
3691
  #~ msgid "Address line 1"
3692
  #~ msgstr "Indirizzo riga 1"
@@ -3714,7 +3714,7 @@ msgstr "Anteprima"
3714
 
3715
  #~ msgid ""
3716
  #~ "Please install Form Maker plugin version %s and higher to start using "
3717
- #~ "Stripe add-on."
3718
  #~ msgstr ""
3719
  #~ "installa la versione del plug-in di Form Maker % s e successiva per "
3720
  #~ "iniziare a utilizzare il componente aggiuntivo Stripe."
31
 
32
  #: admin/controllers/Addons_fm.php:68
33
  msgid ""
34
+ "This extension is an integration of the Form Maker with MailChimp which allows "
35
  "to add contacts to your subscription lists just from submitted forms."
36
  msgstr ""
37
 
43
 
44
  #: admin/controllers/Addons_fm.php:76
45
  msgid ""
46
+ "User Registration extension integrates with Form maker forms allowing users to "
47
  "create accounts at your website."
48
  msgstr ""
49
 
59
 
60
  #: admin/controllers/Addons_fm.php:92
61
  msgid ""
62
+ "Conditional Emails extension allows to send emails to different recipients "
63
  "depending on the submitted data ."
64
  msgstr ""
65
 
82
 
83
  #: admin/controllers/Addons_fm.php:109
84
  msgid ""
85
+ "The Google Drive Integration extension integrates Form Maker with Google Drive "
86
  "and allows you to send the file uploads to the Google Drive"
87
  msgstr ""
88
 
92
 
93
  #: admin/controllers/Addons_fm.php:117
94
  msgid ""
95
+ "The Form Maker PDF Integration extension allows sending submitted forms in PDF "
96
  "format."
97
  msgstr ""
98
 
115
 
116
  #: admin/controllers/Addons_fm.php:133
117
  msgid ""
118
+ "The extension allows to save filled in forms as draft and continue editing them "
119
  "subsequently."
120
  msgstr ""
121
 
125
 
126
  #: admin/controllers/Addons_fm.php:141
127
  msgid ""
128
+ "Form Maker Stripe Integration extension allows to accept direct payments made "
129
  "by Credit Cards. Users will remain on your website during the entire process."
130
  msgstr ""
131
 
135
 
136
  #: admin/controllers/Addons_fm.php:149
137
  msgid ""
138
+ "The Form Maker Calculator extension allows creating forms with dynamically "
139
  "calculated fields."
140
  msgstr ""
141
 
987
  msgstr "Questo tipo di campo è disabilitato nella versione gratuita."
988
 
989
  #: admin/views/Manage_fm.php:636 admin/views/Manage_fm.php:1448
990
+ msgid "STRIPE extension compatible with Premium version only"
991
  msgstr ""
992
 
993
  #: admin/views/Manage_fm.php:641 admin/views/Manage_fm.php:1456
997
  msgstr "Questo tipo di campo è disabilitato nella versione gratuita."
998
 
999
  #: admin/views/Manage_fm.php:641 admin/views/Manage_fm.php:1456
1000
+ msgid "Requires STRIPE extension."
1001
  msgstr ""
1002
 
1003
  #: admin/views/Manage_fm.php:644 admin/views/Manage_fm.php:1459
1004
+ msgid "This feature requires STRIPE extension"
1005
  msgstr ""
1006
 
1007
  #: admin/views/Manage_fm.php:644 admin/views/Manage_fm.php:1459
1873
 
1874
  #: form-maker.php:1049
1875
  #, php-format
1876
+ msgid "Please update the %s extension to start using."
1877
  msgstr ""
1878
  "Si prega di aggiornare il componente aggiuntivo%s per iniziare a utilizzare."
1879
 
3676
  #~ msgid "Please install "
3677
  #~ msgstr "Perfavore installa "
3678
 
3679
+ #~ msgid " extension to use this feature."
3680
+ #~ msgstr "extension per usare questa funzione."
3681
 
3682
  #~ msgid "This section allows you to %s."
3683
  #~ msgstr "Questa sezione consente di%s."
3685
  #~ msgid "Upgrade to paid version"
3686
  #~ msgstr "Perfavore fai l'upgrade alla versione a pagamento"
3687
 
3688
+ #~ msgid "Please install %s extension to use this feature."
3689
+ #~ msgstr "Installa%s extension per utilizzare questa funzione."
3690
 
3691
  #~ msgid "Address line 1"
3692
  #~ msgstr "Indirizzo riga 1"
3714
 
3715
  #~ msgid ""
3716
  #~ "Please install Form Maker plugin version %s and higher to start using "
3717
+ #~ "Stripe extension."
3718
  #~ msgstr ""
3719
  #~ "installa la versione del plug-in di Form Maker % s e successiva per "
3720
  #~ "iniziare a utilizzare il componente aggiuntivo Stripe."
languages/form_maker-ko_KR.po CHANGED
@@ -1065,7 +1065,7 @@ msgid ""
1065
  msgstr ""
1066
 
1067
  #: admin/views/view.php:424 form-maker.php:253
1068
- msgid "Add-ons"
1069
  msgstr ""
1070
 
1071
  #: admin/views/view.php:428 form-maker.php:250
@@ -1836,7 +1836,7 @@ msgstr ""
1836
 
1837
  #: form-maker.php:1050
1838
  #, php-format
1839
- msgid "Please update the %s add-ons to start using."
1840
  msgstr ""
1841
 
1842
  #: form-maker.php:1110
1065
  msgstr ""
1066
 
1067
  #: admin/views/view.php:424 form-maker.php:253
1068
+ msgid "Extensions"
1069
  msgstr ""
1070
 
1071
  #: admin/views/view.php:428 form-maker.php:250
1836
 
1837
  #: form-maker.php:1050
1838
  #, php-format
1839
+ msgid "Please update the %s extensions to start using."
1840
  msgstr ""
1841
 
1842
  #: form-maker.php:1110
languages/form_maker-mk_MK.po CHANGED
@@ -1065,7 +1065,7 @@ msgid ""
1065
  msgstr ""
1066
 
1067
  #: admin/views/view.php:424 form-maker.php:253
1068
- msgid "Add-ons"
1069
  msgstr ""
1070
 
1071
  #: admin/views/view.php:428 form-maker.php:250
1065
  msgstr ""
1066
 
1067
  #: admin/views/view.php:424 form-maker.php:253
1068
+ msgid "Extensions"
1069
  msgstr ""
1070
 
1071
  #: admin/views/view.php:428 form-maker.php:250
languages/form_maker-nb_NO.po CHANGED
@@ -31,7 +31,7 @@ msgstr ""
31
 
32
  #: admin/controllers/Addons_fm.php:68
33
  msgid ""
34
- "This add-on is an integration of the Form Maker with MailChimp which allows "
35
  "to add contacts to your subscription lists just from submitted forms."
36
  msgstr ""
37
 
@@ -41,7 +41,7 @@ msgstr ""
41
 
42
  #: admin/controllers/Addons_fm.php:76
43
  msgid ""
44
- "User Registration add-on integrates with Form maker forms allowing users to "
45
  "create accounts at your website."
46
  msgstr ""
47
 
31
 
32
  #: admin/controllers/Addons_fm.php:68
33
  msgid ""
34
+ "This extension is an integration of the Form Maker with MailChimp which allows "
35
  "to add contacts to your subscription lists just from submitted forms."
36
  msgstr ""
37
 
41
 
42
  #: admin/controllers/Addons_fm.php:76
43
  msgid ""
44
+ "User Registration extension integrates with Form maker forms allowing users to "
45
  "create accounts at your website."
46
  msgstr ""
47
 
readme.txt CHANGED
@@ -1,112 +1,182 @@
1
- === Form Maker by WD - responsive drag & drop Contact Form Builder ===
2
  Contributors: webdorado,10web,wdsupport,formmakersupport
3
  Tags: form, forms, form builder, contact form, feedback, custom form, contact, web contact form, captcha, email, form manager, survey
4
  Requires at least: 4.6
5
- Tested up to: 5.0
6
- Stable tag: 1.13.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
10
- Form Maker is a user-friendly contact form builder that allows to create forms for any purpose, from a simple contact form to a multi page survey
11
 
12
  == Description ==
13
 
14
- https://www.youtube.com/watch?v=tN3_c6MhqFk
15
 
16
  = Useful Links: =
17
- [Special Offer for all Premium Plugins](https://web-dorado.com/wordpress-plugins-bundle.html)
 
 
 
 
18
 
19
 
20
- [WordPress Form Maker](https://web-dorado.com/products/wordpress-form.html)
21
- [Demo](http://wpdemo.web-dorado.com/)
22
- [Demo Admin](http://wpdemo.web-dorado.com/wp-admin/admin.php?page=Form_maker)
23
- [User Guide](https://web-dorado.com/wordpress-form-maker-guide-1.html)
24
- [Frequently Asked Questions](https://web-dorado.com/blog/wordpress-themes-and-plugins/wordpress-form-maker-plugin-faq/)
 
25
 
26
 
 
27
 
 
28
 
29
- Form Maker is a power-packed yet user-friendly form builder plugin. With an intuitive drag and drop interface, this plugin is the ultimate solution to help you create responsive WordPress Forms easily and in a timely manner. Add modern and functional questionnaires to your website with a few clicks. Using the plugin you can create forms for pretty much any purpose, from simple contact form to multi-page application, registration survey and questionnaire with conditional fields, captcha protection, multiple choice questions and more. It will take you just a few clicks to create them and a couple of minutes to customize with the available themes, styling and display options. This plugin can be a good addition to any website, so go ahead and give it a try.
30
 
31
- **Benefits**
32
 
33
- * **Better communication between your visitors and you** - Contact forms serve as a communication tool between you and your site visitors, and make it easy to get/receive orders, requests, and inquiries. If you offer memberships, courses or trainings on your website, forms are an easy way to order, apply or register online.
34
- * **Valuable User/Customer Feedback** - You are what your user/customer thinks of you! The plugin lets you put together surveys and questionnaires and get feedback from your users/customers.
35
- * **One plugin, different purposes** - Whether you want to have a single form on the contact us page, or multiple, on different pages on your website, that&#39;s absolutely doable with this plugin. You can create unlimited number of different forms and display them using one of the available display options. Please note, that free version is limited to 7 form fields.
36
- * **Save time** - Plugin uses an intuitive drag and drop interface, which makes it easy to create contact forms and add/remove form fields.
37
- * **Add to the overall website design** - A well designed contact form can contribute to your website&#39;s overall look and feel. Customize its style and have it match with your website design.
38
- * **Improve accessibility** - Plugin provides four different display options, which make your contact forms easily accessible. Whether you want to embed the form into a post or a page, or have it follow the visitors as they scroll up and down, you have the option to do that.
39
- * **Awesome Support** - The team behind this plugin provides timely and effective support to all its users. We keep standards high and response time low.
40
 
 
 
41
 
42
- **What&#39;s in it**
 
43
 
44
- **MULTIPLE FORM FIELDS**
45
- Plugin comes with a myriad of field options to let you create high performing forms. The fields you can add include: text input, multiple and single choice fields, select box, submit and reset buttons, custom HTML, 3 types of captcha protection and many more. In addition to these fields, the Premium version of the plugin offers file upload, Google Maps, and payment fields with automatic PayPal integration or Stripe integration with an add on.
46
 
47
- **FOUR FORM DISPLAY OPTIONS**
48
- There are four display options in the plugin: Embedded, Pop-Up, Scroll-box, and Top-bar. Each of the display options has its own set of settings you can customize.
49
 
50
- **DRAG &amp; DROP**
51
- The intuitive drag-and-drop interface of the plugin makes it the most user-friendly form plugin for WordPress. Easily re-order the sequence of the fields or move them between columns, sections and pages, organizing your forms in no time.
52
 
53
- **15 CUSTOMIZABLE THEMES**
54
- Plugin comes with 15 fully customizable themes that you can apply to your forms. Under the theme options you can configure pretty much any setting of the theme, personalizing options for header, content, pagination, buttons and more. You can also create your own themes with your personal styling and features.
55
 
56
- **CUSTOM CSS EDITOR**
57
- You can use the custom CSS editor to give additional styling features to the forms.
58
 
59
- **CUSTOMIZABLE EMAILS**
60
- Send customized emails to your users as well as website administrators upon submission for any given form.
61
 
62
- **MANAGED SUBMISSIONS**
63
- View and manage the submissions for each form. See number of entries, number of views, the conversion rate and more.
64
 
65
- **CONDITIONAL FIELDS**
66
- Conditional fields feature of the plugin lets you display/hide specific fields based on the user input. This is a great way to make your forms shorter and avoid receiving irrelevant information.
67
 
68
- **PRE-BUILD TEMPLATES**
69
- The plugin comes with 5 pre-built templates, which you can use as they are or customize to better fit your needs.
70
 
71
- **ADD-ONs**
72
- Form Maker supports 12 premium add-ons to power up your forms even further. Whether you want to integrate them with Mailchimp service, send out conditional emails, or give your visitors an additional payment method like Stripe. Find the full list of add-ons bellow.
73
 
74
- * [Export/Import](https://web-dorado.com/products/wordpress-form/add-ons/export-import.html)
75
- * [PDF Integration](https://web-dorado.com/products/wordpress-form/add-ons/pdf.html)
76
- * [Save Progress](https://web-dorado.com/products/wordpress-form/add-ons/save-progress.html)
77
- * [Stripe Integration](https://web-dorado.com/products/wordpress-form/add-ons/stripe.html)
78
- * [Conditional Emails](https://web-dorado.com/products/wordpress-form/add-ons/conditional-emails.html)
79
- * [WordPress Registration](https://web-dorado.com/products/wordpress-form/add-ons/registration.html)
80
- * [Post Generation](https://web-dorado.com/products/wordpress-form/add-ons/post-generation.html)
81
- * [Mailchimp Integration](https://web-dorado.com/products/wordpress-form/add-ons/mailchimp.html)
82
- * [Dropbox Integration](https://web-dorado.com/products/wordpress-form/add-ons/dropbox.html)
83
- * [Google Drive Integration](https://web-dorado.com/products/wordpress-form/add-ons/google-drive.html)
84
- * [Pushover Integration](https://web-dorado.com/products/wordpress-form/add-ons/pushover.html)
85
- * [Calculator](https://web-dorado.com/products/wordpress-form/add-ons/calculator.html)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
86
 
87
- **SETTINGS/CUSTOMIZATION**
88
  _\*Some customizations described here are available in Premium version. Please refer to feature summary for additional info._
89
 
90
- Form Maker plugin provides a full range of options and features you can tailor to your needs. Each of the entries you create will have its own set of options and display settings. Under the options you can choose a theme for each form, adjust email options, choose what happens after the user submits, set conditional logic, and choose one of the available payment options, such as PayPal and Stripe (add-on). Under the display settings you can adjust the options for each form display type.
91
 
92
  The available themes are fully configurable, allowing you make the necessary adjustments to the header, content, input box, buttons, choices, pagination, and add custom CSS. You can change the header background color, adjust the parameters for title, description and header image,customize the parameters for buttons, adjust the settings for single and multiple choice questions, and many more. The changes you make to the settings will immediately be displayed in the form preview next to the settings box.
93
 
94
  With conditional fields option you can set to hide/show specific fields based on the selections your visitors make. You just choose the field you want to show or hide, then set the conditions based on which the field will appear or will be hidden. The plugin features a user-friendly interface, which makes it easy to create, style and customize the forms.
95
 
96
 
97
- **[Premium version adds](https://web-dorado.com/products/wordpress-form.html)**
98
 
99
- * Unlimited fields in one form
100
- * File Upload field
101
- * PayPal Integration
102
- * Stripe Integration with add on
103
- * Google Maps API Integration
104
- * Front-End Submissions
105
 
106
-
107
- = Privacy Notices =
108
-
109
- Form Maker plugin does not collect and store any data of your users on Web-Dorado’s end. All data submitted by your website visitors is stored in your website database. With every form submission Form Maker plugin collects users’ IP address and WordPress user ID for logged in users. From this perspective, you may be subject to GDPR compliance.
110
 
111
  Form Maker forms imply interaction between website visitors and website owner. As such you may publish forms that require input of Private data. You need to get explicit consent from your users to comply with GDPR. Under GDPR your users may request access and/or erasure of their entry data at any time. Here you can find how to export and/or delete submissions.
112
 
@@ -180,7 +250,7 @@ This dynamic contact form builder lets you have a nice header section on your fo
180
 
181
  You can also have an image on your form header and set it to appear with an animation effect. Press **Add Image** button to upload and select a picture from **WordPress Media Library.** Then choose the animation effect using Image Animation option.
182
 
183
- In case you dont want the **Header Image** of your forms to appear on smartphones and tablets, mark **Hide Image on Mobile** option as checked.
184
 
185
  Make sure to **Publish/Update** the form to save the change you made.
186
 
@@ -196,7 +266,7 @@ Go to **Form Options** of your form, then click **Conditional Fields** tab to st
196
 
197
  Click the little **Plus (+)** icon to add the statement of your form condition.
198
 
199
- For example, lets assume there is a **Single Choice** field on your form titled **Inquiry type.** And you wish to show **Message** field in case users choose **Support Request** as the type of their inquiry. The condition you configure needs to have the following logic:
200
 
201
  *Show [Message] if [all] of the following match:*
202
  *[Inquiry type] is [Support request]*
@@ -264,7 +334,7 @@ Note: You need to set up **Form Options > Payment Options** of your form in orde
264
 
265
  Configuring Payment Options, you can use Form Maker as an order form generator and let users make payments through your form. Default payment gateway of Form Maker is **PayPal.** Select **PayPal** as **Payment Method** from Form **Options &gt; Payment Options** tab and configure corresponding options.
266
 
267
- Also, you can easily integrate the forms builder plugin with Stripe using its [Stripe Integration add-on](https://web-dorado.com/products/wordpress-form/add-ons/stripe.html).
268
 
269
  **Payment Currency.** Choose the currency to be used for the payments made through your form. Note, that the selected currency symbol will only display on the front-end of the published form.
270
 
@@ -282,7 +352,7 @@ Also, you can easily integrate the forms builder plugin with Stripe using its [S
282
 
283
  **Export to CSV / Export to XML.** You are able to download all submissions of each contact form in **CSV** or **XML** format by clicking on these buttons.
284
 
285
- **Show Filters.** Form Maker lets you filter form submissions by values provided by user, e.g. submitters email address, name and more. Press **Show Filters** button on form submissions, write the values you wish to search with, then press **Search.** Click **Reset** button to clear the filters.
286
 
287
  **Add/Remove Columns.** This button will help you customize the columns which display in submissions of the selected contact form. Click on the button and unmark the columns you wish to hide.
288
 
@@ -310,7 +380,7 @@ Form Maker uses modern verification methods, such as ReCaptcha and invisible ReC
310
 
311
  = Can I use Form Maker to create a registration form? =
312
 
313
- You can register users on your website with the help of Form Maker [WordPress Registration add-on](https://web-dorado.com/products/wordpress-form/add-ons/registration.html). Install the add on and use it alongside the free version of Form Maker plugin.
314
 
315
  You are able to ask users to provide username, email address and password for their account. The registration of users is done upon completing the form created by this visual form builder plugin.
316
 
@@ -412,7 +482,7 @@ This might be a problem related to the hosting configurations of your website. Y
412
 
413
  Please install [WP SMTP](https://wordpress.org/plugins/wp-smtp/) plugin and go to **Settings > WP SMTP** page. Scroll down to the bottom and send a test mail to your email address.
414
 
415
- If the test email will be sent, then the issue is triggered by Form Maker plugin. Please contact Web-Dorado Customer Care at support@web-dorado.com. Our developers will have a closer look.
416
 
417
  But if the test mail fails, the problem is on the server of your website. Please contact your hosting provider in this case, and ask them to enable mail functions on your site.
418
 
@@ -427,7 +497,7 @@ Connect to your website files via FTP connection and open the following two dire
427
 
428
  Please make sure all **.css** and **.js** files in these folders have their permissions set to **777.**
429
 
430
- If the permissions are correct, please do not hesitate to contact Web-Dorado Customer Care at support@web-dorado.com.
431
 
432
  = Is it possible to pass parameters from the page URL to form fields? =
433
 
@@ -452,6 +522,9 @@ Where **{{field_id}}** is the ID of the field you wish to prefill. Also, **{{par
452
 
453
  == Changelog ==
454
 
 
 
 
455
  = 1.13.1 =
456
  * Fixed: Bug on checking if Address field is required.
457
 
1
+ === Form Maker by 10Web - Mobile-Friendly Drag & Drop Contact Form Builder ===
2
  Contributors: webdorado,10web,wdsupport,formmakersupport
3
  Tags: form, forms, form builder, contact form, feedback, custom form, contact, web contact form, captcha, email, form manager, survey
4
  Requires at least: 4.6
5
+ Tested up to: 5.1
6
+ Stable tag: 1.13.2
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
10
+ Form Maker is the leading drag & drop plugin for building forms of any complexity in just a few clicks.
11
 
12
  == Description ==
13
 
14
+ Form Maker is the leading drag & drop plugin for building forms of any complexity in just a few clicks.
15
 
16
  = Useful Links: =
17
+
18
+ [Live Demo](https://demo.10web.io/form-maker/)
19
+
20
+
21
+ [Demo Admin](https://admindemo.10web.io/?product_name=form-maker)
22
 
23
 
24
+ [Premium Form Maker by 10Web](https://10web.io/plugins/wordpress-form-maker/)
25
+
26
+
27
+ [Special Offer for all Premium Plugins](https://10web.io/plugins-bundle-pricing/)
28
+
29
+ https://www.youtube.com/watch?v=7rVCPlBZ-Sg
30
 
31
 
32
+ Looking for the perfect form plugin that’ll save you time and effort?
33
 
34
+ Is matching your website design with your forms difficult?
35
 
36
+ Finding it hard to build lengthy and advanced forms?
37
 
 
38
 
39
+ == Form Maker Features ==
 
 
 
 
 
 
40
 
41
+ **Intuitive Interface**
42
+ Drag and drop to build complex forms with just a few clicks.
43
 
44
+ **Mobile-Friendly and Responsive**
45
+ Your forms will look great on all resolutions and devices: mobile, tablet, and desktop.
46
 
47
+ **Field Types**
48
+ 43 different form field types to help you create just the form you need.
49
 
50
+ **Embed Easily**
51
+ Display your forms as popups, top bars or scroll boxes or embed them into blog posts.
52
 
53
+ **Pre-built Templates**
54
+ Pick from five form template options to save time.
55
 
56
+ **Fully Customizable Themes**
57
+ Use one of our fifteen beautiful themes to make your forms match website design.
58
 
59
+ **Manage Submissions**
60
+ Set automatic email replies, track and export all your entries, and more.
61
 
62
+ **Protection from Spam**
63
+ Block IPs and set captchas to avoid spam.
64
 
65
+ **Receive Payments\***
66
+ Get payments and donations using integrated PayPal and Stripe gateways.
67
 
68
+ **Conditional Logic**
69
+ Build forms with complex conditional logic.
70
 
71
+ **Multi-Page Forms**
72
+ Divide up lengthy forms into pages to provide better user experience.
73
 
74
+ **File Upload\***
75
+ Your users can upload files to your forms.
76
 
77
+ _\* Premium version only_
78
+
79
+ == Form Maker Extensions ==
80
+ _[Available in Plugins Bundle](https://10web.io/plugins/wordpress-form-maker/#product_pricing)_
81
+
82
+ **Save Form Progress**
83
+ Your users can save unfinished entries and continue anytime.
84
+
85
+ **Conditional Mailing**
86
+ Send out emails to user groups based on submitted forms.
87
+
88
+ **Export/Import**
89
+ Export form entries and forms in the XML format and import them into another site afterwards.
90
+
91
+ **Pushover**
92
+ Get a notification on your phone whenever there is an entry submission.
93
+
94
+ **Mailchimp Integration**
95
+ Create Mailchimp signup forms and expand your lead list.
96
+
97
+ **WordPress Registration**
98
+ Build WP user registration forms and expand the user base of your site.
99
+
100
+ **Post Generation**
101
+ Use a form to invite your users to submit guest posts.
102
+
103
+ **Dropbox Integration**
104
+ Store attachments received from form entries in your Dropbox.
105
+
106
+ **Google Drive Integration**
107
+ Upload received form attachments straight to your Google Drive.
108
+
109
+ **PDF Integration**
110
+ Use content from submitted entries to create PDFs.
111
+
112
+ **Stripe**
113
+ Your users can make credit card payments via Stripe, and we’ll transfer them to your bank account automatically.
114
+
115
+ **Calculator**
116
+ Build forms that contain automatically calculated fields.
117
+
118
+
119
+ == World Class Customer Support ==
120
+ * Low response time
121
+ We always respond within a few hours.
122
+ * Quick issue resolution
123
+ Resolving an issue never takes more than 24 hours.
124
+
125
+
126
+ == Just ask our users ==
127
+
128
+ > I had tried several form plugins but I was always searching for a better one.
129
+ > Then I stumbled Formmaker just by chance and thought to give a try.
130
+ > I was thrilled to see its features. It has more than everything I expected. Very customizable and easy to use.
131
+ > Now I don’t search for form plugin anymore
132
+ > Lots of thanks to the developers of this plugin.
133
+ > **by [@mayank0522](https://wordpress.org/support/topic/a-must-have-plugin-223/)**
134
+
135
+
136
+ > If I could give this plugin more than 5 stars I would!
137
+ > The level of control is extremely nice – even with the free version – though I quickly purchased the PRO version!
138
+ > And the level of customer service in troubleshooting forum questions is incredible!
139
+ > Very impressed with the plugin – but even more so with the way they interact with and help users get to what they need!
140
+ > Great job guys!!
141
+ > **by [@JonathanWilson99](https://wordpress.org/support/topic/amazing-form-plugin/)**
142
+
143
+
144
+ > This is the best plugin for creating functional forms and very user friendly even for the none technical users.
145
+ > Absolutely recommend everyone to use this one.
146
+ > Thanks a lot guys!!!
147
+ > **by [@denisecox](https://wordpress.org/support/topic/wonderful-form-builder-plugin/)**
148
+
149
+ == Steps for creating a website form ==
150
+ 1. Install Form Maker by 10Web.
151
+ 2. Create a form in a few clicks.
152
+ 3. Publish your form.
153
+
154
+
155
+ > **[Premium version adds](https://10web.io/plugins/wordpress-form-maker/)**
156
+ >
157
+ > * Unlimited fields in one form
158
+ > * File Upload field
159
+ > * PayPal Integration
160
+ > * Stripe Integration with Extension
161
+ > * Google Maps API Integration
162
+ > * Front-End Submissions
163
+
164
+
165
+ == SETTINGS/CUSTOMIZATION ==
166
 
 
167
  _\*Some customizations described here are available in Premium version. Please refer to feature summary for additional info._
168
 
169
+ Form Maker plugin provides a full range of options and features you can tailor to your needs. Each of the entries you create will have its own set of options and display settings. Under the options you can choose a theme for each form, adjust email options, choose what happens after the user submits, set conditional logic, and choose one of the available payment options, such as PayPal and Stripe (Extension). Under the display settings you can adjust the options for each form display type.
170
 
171
  The available themes are fully configurable, allowing you make the necessary adjustments to the header, content, input box, buttons, choices, pagination, and add custom CSS. You can change the header background color, adjust the parameters for title, description and header image,customize the parameters for buttons, adjust the settings for single and multiple choice questions, and many more. The changes you make to the settings will immediately be displayed in the form preview next to the settings box.
172
 
173
  With conditional fields option you can set to hide/show specific fields based on the selections your visitors make. You just choose the field you want to show or hide, then set the conditions based on which the field will appear or will be hidden. The plugin features a user-friendly interface, which makes it easy to create, style and customize the forms.
174
 
175
 
 
176
 
177
+ == Privacy Notices ==
 
 
 
 
 
178
 
179
+ Form Maker plugin does not collect and store any data of your users on 10Web's end. All data submitted by your website visitors is stored in your website database. With every form submission Form Maker plugin collects users' IP address and WordPress user ID for logged in users. From this perspective, you may be subject to GDPR compliance.
 
 
 
180
 
181
  Form Maker forms imply interaction between website visitors and website owner. As such you may publish forms that require input of Private data. You need to get explicit consent from your users to comply with GDPR. Under GDPR your users may request access and/or erasure of their entry data at any time. Here you can find how to export and/or delete submissions.
182
 
250
 
251
  You can also have an image on your form header and set it to appear with an animation effect. Press **Add Image** button to upload and select a picture from **WordPress Media Library.** Then choose the animation effect using Image Animation option.
252
 
253
+ In case you don't want the **Header Image** of your forms to appear on smartphones and tablets, mark **Hide Image on Mobile** option as checked.
254
 
255
  Make sure to **Publish/Update** the form to save the change you made.
256
 
266
 
267
  Click the little **Plus (+)** icon to add the statement of your form condition.
268
 
269
+ For example, let's assume there is a **Single Choice** field on your form titled **Inquiry type.** And you wish to show **Message** field in case users choose **Support Request** as the type of their inquiry. The condition you configure needs to have the following logic:
270
 
271
  *Show [Message] if [all] of the following match:*
272
  *[Inquiry type] is [Support request]*
334
 
335
  Configuring Payment Options, you can use Form Maker as an order form generator and let users make payments through your form. Default payment gateway of Form Maker is **PayPal.** Select **PayPal** as **Payment Method** from Form **Options &gt; Payment Options** tab and configure corresponding options.
336
 
337
+ Also, you can easily integrate the forms builder plugin with Stripe using its Stripe Integration extension ( [Available in Plugins Bundle](https://10web.io/plugins/wordpress-form-maker/#product_pricing) ).
338
 
339
  **Payment Currency.** Choose the currency to be used for the payments made through your form. Note, that the selected currency symbol will only display on the front-end of the published form.
340
 
352
 
353
  **Export to CSV / Export to XML.** You are able to download all submissions of each contact form in **CSV** or **XML** format by clicking on these buttons.
354
 
355
+ **Show Filters.** Form Maker lets you filter form submissions by values provided by user, e.g. submitter's email address, name and more. Press **Show Filters** button on form submissions, write the values you wish to search with, then press **Search.** Click **Reset** button to clear the filters.
356
 
357
  **Add/Remove Columns.** This button will help you customize the columns which display in submissions of the selected contact form. Click on the button and unmark the columns you wish to hide.
358
 
380
 
381
  = Can I use Form Maker to create a registration form? =
382
 
383
+ You can register users on your website with the help of Form Maker WordPress Registration Extension ( [Available in Plugins Bundle](https://10web.io/plugins/wordpress-form-maker/#product_pricing) ). Install the Extension and use it alongside the free version of Form Maker plugin.
384
 
385
  You are able to ask users to provide username, email address and password for their account. The registration of users is done upon completing the form created by this visual form builder plugin.
386
 
482
 
483
  Please install [WP SMTP](https://wordpress.org/plugins/wp-smtp/) plugin and go to **Settings > WP SMTP** page. Scroll down to the bottom and send a test mail to your email address.
484
 
485
+ If the test email will be sent, then the issue is triggered by Form Maker plugin. Please contact [10Web Customer Care at WordPress.org Support Forums](https://wordpress.org/support/plugin/form-maker/). Our developers will have a closer look.
486
 
487
  But if the test mail fails, the problem is on the server of your website. Please contact your hosting provider in this case, and ask them to enable mail functions on your site.
488
 
497
 
498
  Please make sure all **.css** and **.js** files in these folders have their permissions set to **777.**
499
 
500
+ If the permissions are correct, please do not hesitate to contact [10Web Customer Care at WordPress.org Support Forums](https://wordpress.org/support/plugin/form-maker/).
501
 
502
  = Is it possible to pass parameters from the page URL to form fields? =
503
 
522
 
523
  == Changelog ==
524
 
525
+ = 1.13.2 =
526
+ * Changed: Links to 10Web.io.
527
+
528
  = 1.13.1 =
529
  * Fixed: Bug on checking if Address field is required.
530
 
wd/README.md CHANGED
@@ -1,14 +1,30 @@
1
- Version: 1.0.15
2
 
3
 
4
 
5
  Usage:
6
 
7
  Copy and paste wd library into your plugin folder.
8
- In your plugin main file check if library main DoradoWeb class doesn't exist, include it
9
- if( !class_exists("DoradoWeb") ){
10
- require_once(PATH_TO_YOUR_PLUGIN_DIR . '/wd/start.php');
11
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
 
13
  Then call dorado_web_init($options) function.
14
  $options = array (
@@ -31,22 +47,8 @@ $options = array (
31
  ),
32
  ...
33
  ),
34
- "user_guide" => array(
35
- 0 => array(
36
- "main_title" => "user guide step 1",
37
- "url" => "link to step 1",
38
- "titles" => array(
39
- array(
40
- "title" => "step 1 sub title",
41
- "url" => "link to step 1 sub"
42
- )
43
- )
44
- ),
45
- ...
46
- ),
47
- "overview_welcome_image" => null,
48
  "video_youtube_id" => "your plugin youtube video id", // e.g. https://www.youtube.com/watch?v=acaexefeP7o youtube id is the acaexefeP7o
49
- "plugin_wd_url" => "https://web-dorado.com/products/your plugin",
50
  "plugin_wd_demo_link" => "http://wpdemo.web-dorado.com/your plugin",
51
  "plugin_wd_addons_link" => "https://web-dorado.com/products/your plugin addons",
52
  "after_subscribe" => "after subsribe page", // this can be plagin overview page or set up page admin.php?page=overview_YOUR_PREFIX
@@ -85,25 +87,6 @@ array(
85
  ....
86
  )
87
 
88
- user_guide - (type array) plugin user guide links from web-dorado.com
89
- e.g. (for google maps plugin)
90
- array(
91
- 0 => array(
92
- "main_title" => __("Installation Wizard/ Options Menu", "gmwd"),
93
- "url" => "https://web-dorado.com/wordpress-google-maps/installation-wizard-options-menu.html",
94
- "titles" => array(
95
- array(
96
- "title" => __("Configuring Map API Key", "gmwd"),
97
- "url" => "https://web-dorado.com/wordpress-google-maps/installation-wizard-options-menu/configuring-api-key.html"
98
- )
99
- )
100
- ),
101
- 1 => array(
102
- "main_title" => __("Creating Map", "gmwd"),
103
- "url" => "https://web-dorado.com/wordpress-google-maps/creating-map.html",
104
- "titles" => array()
105
- ),
106
- )
107
 
108
  video_youtube_id - (type string) if your plugin has video, video's id, else null
109
  ( e.g. for https://www.youtube.com/watch?v=acaexefeP7o , youtube id is the 'acaexefeP7o' )
1
+ Version: 1.0.13
2
 
3
 
4
 
5
  Usage:
6
 
7
  Copy and paste wd library into your plugin folder.
8
+ add_action('init', array($this, 'init_free_users_lib'), 8);
9
+ public function init_free_users_lib() {
10
+ add_filter('tenweb_free_users_lib_path', array($this, 'tenweb_lib_path'));
11
+ }
12
+
13
+ public function tenweb_lib_path($path) {
14
+ // The version of WD Lib
15
+ $version = '1.1.0';
16
+ if (!isset($path['version']) || version_compare($path['version'], $version) === -1) {
17
+ $path['version'] = $version;
18
+ $path['path'] = $this->plugin_dir;
19
+ }
20
+ return $path;
21
+ }
22
+
23
+ In your plugin main file check if library main TenWebLib class doesn't exist, include it
24
+ if (!class_exists("TenWebLib")) {
25
+ $plugin_dir = apply_filters('tenweb_free_users_lib_path', array('version' => '1.1.0', 'path' => $this->plugin_dir));
26
+ require_once($plugin_dir['path'] . '/wd/start.php');
27
+ }
28
 
29
  Then call dorado_web_init($options) function.
30
  $options = array (
47
  ),
48
  ...
49
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
50
  "video_youtube_id" => "your plugin youtube video id", // e.g. https://www.youtube.com/watch?v=acaexefeP7o youtube id is the acaexefeP7o
51
+ "plugin_wd_url" => "https://10web.io/plugins/your plugin",
52
  "plugin_wd_demo_link" => "http://wpdemo.web-dorado.com/your plugin",
53
  "plugin_wd_addons_link" => "https://web-dorado.com/products/your plugin addons",
54
  "after_subscribe" => "after subsribe page", // this can be plagin overview page or set up page admin.php?page=overview_YOUR_PREFIX
87
  ....
88
  )
89
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
90
 
91
  video_youtube_id - (type string) if your plugin has video, video's id, else null
92
  ( e.g. for https://www.youtube.com/watch?v=acaexefeP7o , youtube id is the 'acaexefeP7o' )
wd/assets/css/deactivate_popup.css CHANGED
@@ -1,8 +1,4 @@
1
- .wd-bwg-reasons:nth-child(3) {
2
- display: none;
3
- }
4
-
5
- .wd-opacity{
6
  position: fixed;
7
  top: 0px;
8
  bottom: 0px;
@@ -14,7 +10,7 @@
14
  display: none;
15
  }
16
 
17
- .wd-deactivate-popup{
18
  position: fixed;
19
  top: 0px;
20
  bottom: 0px;
@@ -30,24 +26,24 @@
30
  }
31
 
32
 
33
- .wd-deactivate-popup-header{
34
  border-bottom: 1px solid #ccc;
35
  padding: 18px 40px;
36
  font-size: 16px;
37
  background: rgba(221, 221, 221, 0.14);
38
  }
39
- .wd-deactivate-popup-body{
40
  padding: 20px 40px;
41
  border-bottom: 1px solid #ccc;
42
  }
43
- .wd-deactivate-popup-body input[type=text]{
44
  width: 220px;
45
  }
46
- .wd-deactivate-popup-body textarea{
47
  width: 100%;
48
  }
49
 
50
- .wd-btns{
51
  position: absolute;
52
  bottom: 19px;
53
  right: 19px
@@ -57,27 +53,23 @@
57
  margin-top: 20px;
58
  }
59
 
60
- .wd-additional-active{
61
  background: rgba(204, 204, 204, 0.18);
62
  padding: 15px;
63
  margin: 14px 0px 5px;
64
  }
65
- .wd-popup-active1{
66
  height: 583px !important;
67
  }
68
 
69
- .wd-popup-active2{
70
  height: 426px !important
71
  }
72
 
73
- .wd-popup-active3{
74
- height: 479px !important
75
- }
76
-
77
- .wd-popup-active4{
78
  height: 340px !important
79
  }
80
- .wd-deactivate-popup-opacity{
81
  width: 100%;
82
  height: 100%;
83
  background: #D9D9D9;
@@ -87,7 +79,7 @@
87
  display: none;
88
  }
89
 
90
- .wd-deactivate-popup-opacity .wd-img-loader{
91
  position: absolute;
92
  top: 0;
93
  left: 0;
@@ -97,7 +89,7 @@
97
  z-index: 63;
98
  }
99
 
100
- .wd-deactivate-popup-close-btn{
101
  background-image: url(img/close.svg);
102
  background-repeat: no-repeat;
103
  background-size: 16px;
1
+ .tenweb-opacity{
 
 
 
 
2
  position: fixed;
3
  top: 0px;
4
  bottom: 0px;
10
  display: none;
11
  }
12
 
13
+ .tenweb-deactivate-popup{
14
  position: fixed;
15
  top: 0px;
16
  bottom: 0px;
26
  }
27
 
28
 
29
+ .tenweb-deactivate-popup-header{
30
  border-bottom: 1px solid #ccc;
31
  padding: 18px 40px;
32
  font-size: 16px;
33
  background: rgba(221, 221, 221, 0.14);
34
  }
35
+ .tenweb-deactivate-popup-body{
36
  padding: 20px 40px;
37
  border-bottom: 1px solid #ccc;
38
  }
39
+ .tenweb-deactivate-popup-body input[type=text]{
40
  width: 220px;
41
  }
42
+ .tenweb-deactivate-popup-body textarea{
43
  width: 100%;
44
  }
45
 
46
+ .tenweb-btns{
47
  position: absolute;
48
  bottom: 19px;
49
  right: 19px
53
  margin-top: 20px;
54
  }
55
 
56
+ .tenweb-additional-active{
57
  background: rgba(204, 204, 204, 0.18);
58
  padding: 15px;
59
  margin: 14px 0px 5px;
60
  }
61
+ .tenweb-popup-active1{
62
  height: 583px !important;
63
  }
64
 
65
+ .tenweb-popup-active2{
66
  height: 426px !important
67
  }
68
 
69
+ .tenweb-popup-active4{
 
 
 
 
70
  height: 340px !important
71
  }
72
+ .tenweb-deactivate-popup-opacity{
73
  width: 100%;
74
  height: 100%;
75
  background: #D9D9D9;
79
  display: none;
80
  }
81
 
82
+ .tenweb-deactivate-popup-opacity .tenweb-img-loader{
83
  position: absolute;
84
  top: 0;
85
  left: 0;
89
  z-index: 63;
90
  }
91
 
92
+ .tenweb-deactivate-popup-close-btn{
93
  background-image: url(img/close.svg);
94
  background-repeat: no-repeat;
95
  background-size: 16px;
wd/assets/css/overview.css CHANGED
@@ -1,462 +1,472 @@
1
- /* general */
2
- .wd-table{
3
- display: table;
4
- width: 100%;
5
- }
6
- .wd-cell{
7
- display: table-cell;
8
- }
9
- .wd-valign-top{
10
- vertical-align: top;
11
- }
12
- .wd-valign-middle{
13
- vertical-align: middle;
14
- }
15
- .wd-valign-bottom{
16
- vertical-align: bottom;
17
- }
18
- .wd-text-right{
19
- text-align: right;
20
- }
21
- .wd-text-center{
22
- text-align: center;
23
- }
24
- .hide{
25
  display: none;
26
  }
27
- a:focus{
28
- border: none !important;
29
- outline: none !important;
30
- box-shadow: none !important;
31
- }
32
-
33
- /*end general */
34
- .wd-video_container{
35
- text-align: center;
36
- }
37
- .overview_welcome{
38
- background: url(img/welcome_bg.png) no-repeat;
39
- margin: 21px 0px;
40
- background-size: 100% 100%;
41
- line-height: 28px;
42
- }
43
- .overview_welcome .wd-cell{
44
- padding: 15px;
45
  }
46
- .overview_welcome .wd-cell:first-child{
47
- position: relative;
48
  }
49
 
50
- .overview_welcome h2{
51
- text-transform: uppercase;
52
- font-size: 26px;
53
- margin-top: 0;
54
- margin-bottom: 15px;
55
- color: #424141;
56
- }
57
- .overview_welcome img{
58
- width: 120px;
59
- padding-right: 100px;
60
- padding-left: 25px;
61
- }
62
- .overview_wrap{
63
- width: 935px;
64
- background: #fff;
65
- }
66
- .overview_welcome .overview_welcome_text{
67
- font-size: 15px;
68
- color: #424141;
69
- }
70
- .overview_tabs:after, .deals_content:after, .deal_desc_footer:after{
71
- content: "";
72
- display: table;
73
- clear: both;
74
- }
75
- .overview_tabs li{
76
- float: left;
77
- width: 16.666%;
78
- }
79
-
80
- .overview_tabs li a{
81
- text-decoration: none !important;
82
- color: #000;
83
- background: #D6D6D6;
84
- background: -webkit-linear-gradient(#D6D6D6, #D7D7D7, #D6D6D6); /* For Safari 5.1 to 6.0 */
85
- background: -o-linear-gradient(#D6D6D6, #D7D7D7, #D6D6D6); /* For Opera 11.1 to 12.0 */
86
- background: -moz-linear-gradient(#D6D6D6, #D7D7D7, #D6D6D6); /* For Firefox 3.6 to 15 */
87
- background: linear-gradient(#D6D6D6, #D7D7D7, #D6D6D6); /* Standard syntax */
88
- text-transform: uppercase;
89
- display: block;
90
- padding: 7px 10px;
91
- text-align: center;
92
- font-weight: bold;
93
- border-top: 4px solid #F1F1F1;
94
- position: relative;
95
- top: -4px;
96
- }
97
- .overview_tabs li a:hover,.overview_tabs li a:active, .overview_tabs li a:focus, .overview_tab_active{
98
- background: #fff !important;
99
- border-top: 4px solid #2A495F !important;
100
-
101
- }
102
- #welcome, #user_guide, #support, .deals_content{
103
- padding: 15px 10px;
104
- background: #fff;
105
- }
106
- .plugin_feature_title{
107
- font-size: 19px;
108
- }
109
- .more_features_wrap{
110
- margin-top: 25px;
111
- text-align: right;
112
- }
113
- .more_features, .more_features:hover, .more_features:focus{
114
- color: #fff;
115
- background: #00384F;
116
- padding: 3px 15px;
117
- text-decoration: none;
118
- }
119
- .user_guide_item{
120
- margin-bottom: 19px;
121
  }
122
- .user_guide_title, .user_guide_title:hover, .user_guide_title:focus{
123
- font-size: 16px;
124
- color: #192D3B;
125
- font-weight: bold;
126
- margin-bottom: 5px;
127
- text-decoration: none;
128
- }
129
- .user_guide_titles, .user_guide_titles:hover, .user_guide_titles:focus{
130
- color: #192D3B;
131
- text-decoration: none;
132
- }
133
- .user_guide_demo, .user_guide_plugin, .user_guide_support_forum, .user_guide_addons, .user_guide_faq,
134
- .user_guide_demo:hover, .user_guide_plugin:hover, .user_guide_support_forum:hover, .user_guide_addons:hover, .user_guide_faq:hover{
135
- background-color: #F5F5F5;
136
  background-repeat: no-repeat;
137
- background-position: right -4px center;
138
- border-top-left-radius: 25px;
139
- border-bottom-left-radius: 25px;
140
- padding: 3px 23px 3px 16px;
141
- width: 144px;
142
- font-weight: bold;
143
- text-transform: uppercase;
144
- color: #192D3B;
145
- margin-bottom: 7px;
146
- display: block;
147
- text-decoration: none;
148
  }
149
- .user_guide_demo{
150
- background-image: url(img/ug-icon-1.png);
151
  }
152
- .user_guide_plugin{
153
- background-image: url(img/ug-icon-2.png);
 
154
  }
155
- .user_guide_support_forum{
156
- background-image: url(img/ug-icon-3.png);
 
157
  }
158
- .user_guide_addons{
159
- background-image: url(img/ug-icon-4.png);
160
  }
161
- .user_guide_faq{
162
- background-image: url(img/ug-icon-5.png);
 
 
163
  }
164
-
165
- #support .wd-support-main{
166
- width: 800px;
167
- margin: 0 auto;
168
- font-size: 16px;
169
- text-align: center;
170
- margin-bottom: 15px;
171
-
172
- }
173
- .wd-overview-site-deatils{
174
- width: 800px;
175
- background: #FBFBFB;
176
- padding: 10px;
177
- margin: 0 auto;
178
- }
179
- .wd-overview-site-deatils h2, .wd-overview-site-deatils p{
180
- text-align: center;
181
- }
182
- .wd-overview-site-deatils p{
183
- font-size: 16px;
184
- }
185
- .contact_us, .contact_us:hover, .contact_us:focus{
186
- display: block;
187
- background: #27475D;
188
- color: #fff;
189
- text-decoration: none;
190
- width: 173px;
191
- padding: 8px 0px;
192
- text-align: center;
193
- margin-bottom: 5px;
194
- font-size: 16px;
195
- margin-left: 8px;
196
- border: 1px solid #B7B7B7;
197
  text-transform: uppercase;
 
 
 
 
 
198
  }
199
-
200
- .support_email{
201
- color: #F47A31;
202
- }
203
- .wd-site-deatils{
204
- padding: 23px;
205
- background: #f1f1f1;
206
- box-sizing: border-box;
207
  }
208
- .wd-site-deatils textarea{
209
- width: 100%;
210
- }
211
- .contact_us{
212
- margin-left: auto !important;
213
- margin-right: auto;
214
- margin-top: 10px;
215
- }
216
- #wd-copy{
217
- display: block;
218
- background: #27475D;
219
- color: #fff;
220
- padding: 5px 8px;
221
- text-align: center;
222
- margin-bottom: 5px;
223
- font-size: 14px;
224
- border: 1px solid #B7B7B7;
225
- cursor: pointer;
226
- }
227
- #plugins{
228
- padding-bottom: 15px;
229
- background: #fff;
230
  }
231
 
232
- .deals_header_plugins{
233
- background: url(img/plugins_header_bg.png) #fff no-repeat;
234
- }
235
- .deals_header_themes{
236
- background: url(img/themes_headrer_bg.png) #fff no-repeat;
 
 
 
 
 
 
 
 
 
 
 
237
  }
238
- .deals_header{
239
- background-size: cover;
240
- height: 241px;
241
  }
242
- .deals_header .wd-table .wd-cell{
243
- position: relative;
 
 
 
 
 
244
  }
245
- .deals_header_plugins .wd-table .wd-cell{
246
- padding: 27px 10px 10px;
247
  }
248
- .deals_header_themes .wd-table .wd-cell{
249
- padding: 0px 10px 10px;
250
  }
251
- .deals_header_plugins .wd-table .wd-cell:first-child{
252
- padding-left: 23px;
253
- width: 30%;
 
254
  }
255
- .deals_header_themes .wd-table .wd-cell:first-child{
256
- padding-left: 23px;
257
- width: 36%;
 
 
 
 
 
258
  }
259
- .deals_header_themes .wd-table{
260
- height: 100%
261
  }
262
-
263
- .titles_wrap{
264
  display: inline-block;
 
265
  }
266
- .deals_main_title, .deals_secondary_title{
267
- color: #00425A;
268
- font-weight: bold;
269
- line-height: 55px;
270
- text-align: center;
271
  text-transform: uppercase;
 
272
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
273
 
274
- .deals_main_title{
275
- font-size: 39px;
276
- }
277
- .deals_secondary_title{
278
- font-size: 30px;
279
  }
 
 
 
280
 
281
- .higlight{
282
- color: #E5682E;
 
283
  }
 
 
 
284
 
285
- .deals_save{
286
- position: absolute;
287
- right: 87px;
288
- -webkit-transform: rotate(-27deg);
289
- transform: rotate(-30deg);
290
- font-weight: bold;
291
- font-size: 39px;
292
- color: #E5682E;
293
- text-transform: uppercase;
294
- }
295
- .deals_header_plugins .deals_save{
296
- bottom: 37px;
297
- }
298
- .deals_header_themes .deals_save{
299
- bottom: 76px;
300
- }
301
- .deal_block{
302
- width: 31.2%;
303
- display: inline-block;
304
- vertical-align: top;
305
- margin: 5px;
306
- }
307
- .deal_title{
308
- text-align: center;
309
- text-transform: uppercase;
310
- font-size: 20px;
311
- background: #FAFAFA;
312
- padding: 10px 5px;
313
- line-height: 23px;
314
  }
315
- .deal_title a, .deal_title a:hover, .deal_title a:focus{
316
- text-decoration: none !important;
317
- color: #000 !important;
318
- }
319
- .deal_desc{
320
- background: #F5F5F5;
321
- padding: 10px 5px;
322
- }
323
- .deal_desc p{
324
- margin-bottom: 15px;
325
  }
 
 
 
326
 
327
- .deal_desc_footer .downloads{
328
- float: left;
 
329
  }
330
- .deal_desc_footer .download_btn{
331
- /*float: right;*/
332
- margin-top: 10px;
333
- text-align: center;
 
 
 
334
  }
335
- .deal_desc_footer .downloads .spans span:first-child{
336
- background: #26455A;
337
- color: #fff;
338
  text-transform: uppercase;
339
- padding: 5px;
 
 
 
 
340
  display: inline-block;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
341
  }
342
- .deal_desc_footer .downloads .spans span:last-child{
343
- background: #fff;
344
- padding: 5px;
345
- border-top-right-radius: 25px;
346
- border-bottom-right-radius: 25px;
347
- margin-left: -3px;
348
  }
349
-
350
- .download_btn a, .download_btn a:hover, .download_btn a:focus{
351
- color: #fff !important;
352
- background: #E97025;
353
- text-decoration: none;
354
- padding: 4px 16px;
355
- display: inline-block;
356
- margin-top: 10px;
357
- border-radius: 13px;
358
- text-transform: uppercase;
359
  }
360
 
361
- .stars-container {
362
- position: relative;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
363
  display: inline-block;
364
- color: transparent;
365
- font-size: 21px;
366
- }
367
-
368
- .stars-container:before {
369
- position: absolute;
370
- top: 0;
371
- left: 0;
372
- content: '★★★★★';
373
- color: #F4AB7F;
374
- }
375
-
376
- .stars-container:after {
377
- position: absolute;
378
- top: 0;
379
- left: 0;
380
- content: '★★★★★';
381
- color: #F4762A;
382
- overflow: hidden;
383
  }
384
 
385
- .get_all_deals{
386
- margin: 15px 0px;
387
- text-align: center;
388
- }
389
- .get_all_deals a, .get_all_deals a:hover, .get_all_deals a:active, .get_all_deals a:focus {
390
- color: #fff !important;
391
- background: #E97025;
392
- text-decoration: none;
393
- padding: 8px 21px;
394
- display: inline-block;
395
- margin-top: 10px;
396
  text-transform: uppercase;
397
- border: 2px solid #D2631E;
398
- font-size: 21px;
399
- }
400
-
401
- #themes{
402
- border-top: 35px solid #F1F1F1;
403
- padding-bottom: 15px;
404
- }
405
-
406
- .theme_block{
407
- width: 48%;
408
- margin: 5px;
409
- border: 1px solid #ECE9E9;
410
- float: left;
411
  }
412
- .theme_block a, .theme_block a:hover, .theme_block a:focus{
413
- display: block;
414
- text-decoration: none !important;
415
- background: #F7F7F7;
416
- color: #000 !important;
417
- padding: 5px;
 
 
 
418
  }
419
-
420
- /* noteices */
421
- .notice_wrap{
422
- padding: 15px;
423
- border: 1px solid #C4C4C4;
424
- width: 98%;
425
- margin: 10px auto;
426
- box-sizing: border-box;
427
-
428
  }
429
- .notice_wrap .notice_title, .notice_wrap .notice_title:hover, .notice_wrap .notice_title:focus{
430
- color: #E5682E !important;
431
- text-decoration: none;
432
- margin-bottom: 17px;
433
- font-size: 20px;
434
- display: block;
435
  }
436
-
437
- .notice_wrap .notice_txt{
438
- font-size: 15px;
439
  }
440
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
441
 
442
- .wd-tour{
443
- text-align: right;
444
- }
445
- .wd-tour-btn, .wd-tour-btn:hover, .wd-tour-btn:focus{
446
- background: #F47629;
447
- color: #fff;
448
- text-decoration: none;
449
- padding: 5px;
450
- display: inline-block;
451
- font-size: 16px;
452
- }
453
-
454
- .wd-start-using-button .button{
455
- margin-left: 7px;
456
- margin-top: 7px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
457
  }
458
-
459
- .wd-start-using-button{
460
- margin-right:10px;
461
- float: right;
462
- }
1
+ #wpfooter {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  display: none;
3
  }
4
+ #wpbody-content > div:not(.tenweb_overview){
5
+ display:none;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  }
7
+ #wpbody-content {
8
+ padding-bottom: 0;
9
  }
10
 
11
+ .tenweb_overview .tenweb_header{
12
+ background:url(../img/slide-1366.jpg);
13
+ background-size: cover;
14
+ background-repeat: no-repeat;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  }
16
+ .tenweb_overview .tenweb_footer.without_demo,
17
+ .tenweb_overview .tenweb_how_it_works{
18
+ background:url(../img/how_it_works.png);
19
+ background-size: cover;
 
 
 
 
 
 
 
 
 
 
20
  background-repeat: no-repeat;
 
 
 
 
 
 
 
 
 
 
 
21
  }
22
+ .tenweb_overview {
23
+ margin-left: -20px;
24
  }
25
+ .tenweb_overview .tenweb_plugin_features,
26
+ .tenweb_overview .tenweb_footer{
27
+ background:#ffffff;
28
  }
29
+ .tenweb_overview .tenweb_plugin_features *,
30
+ .tenweb_overview .tenweb_footer *{
31
+ color:#2c3144;
32
  }
33
+ .tenweb_overview .tenweb_how_it_works .container{
34
+ padding:60px 0 52px;
35
  }
36
+ .tenweb_overview .tenweb_footer.without_demo *,
37
+ .tenweb_overview .tenweb_how_it_works *,
38
+ .tenweb_overview .tenweb_header *{
39
+ color:#fff;
40
  }
41
+ .tenweb_overview h2 {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
42
  text-transform: uppercase;
43
+ font-size: 24px;
44
+ letter-spacing: 1px;
45
+ margin:0;
46
+ padding: 0 0 20px;
47
+ line-height: 1.4em;
48
  }
49
+ h3.more_features {
50
+ font-size: 21px;
51
+ text-transform: uppercase;
 
 
 
 
 
52
  }
53
+ img.plugin_logo {
54
+ margin-bottom: 18px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
55
  }
56
 
57
+ .tenweb_overview .and {
58
+ font-size: 50px;
59
+ margin: 17px 14px 19px;
60
+ line-height: 1;
61
+ font-weight: lighter;
62
+ }
63
+ .tenweb_overview .and.circle {
64
+ font-size: 50px;
65
+ margin: 15px 14px;
66
+ line-height: 1.3;
67
+ font-weight: lighter;
68
+ display: inline-block;
69
+ width: 70px;
70
+ height: 70px;
71
+ box-shadow: 0 0 8px rgba(0,0,0,.2);
72
+ border-radius: 35px;
73
  }
74
+ .tenweb_plugin_features .container {
75
+ padding: 30px 0;
 
76
  }
77
+ .tenweb_overview a.more {
78
+ text-transform: uppercase;
79
+ letter-spacing: 1px;
80
+ font-size: 16px;
81
+ line-height: 1;
82
+ display: inline-block;
83
+ text-decoration: none;
84
  }
85
+ .tenweb_overview a.more:not(.blue) {
86
+ margin-top: 23px;
87
  }
88
+ .tenweb_overview a.more.blue {
89
+ color:#397cf1;
90
  }
91
+ .tenweb_clear:after{
92
+ content:"";
93
+ display:table;
94
+ clear:both;
95
  }
96
+ .tenweb_overview .container{
97
+ width:1190px;
98
+ max-width:100%;
99
+ margin:0 auto;
100
+ text-align:center;
101
+ box-sizing: border-box;
102
+ -webkit-box-sizing: border-box;
103
+ -moz-box-sizing: border-box;
104
  }
105
+ .plan_features.tenweb_clear {
106
+ font-size: 0;
107
  }
108
+ .tenweb_overview .plan_feature {
109
+ width: 24%;
110
  display: inline-block;
111
+ margin: 0 .5% 30px;
112
  }
113
+ .tenweb_overview .plan_feature h3 {
114
+ font-size: 17px;
 
 
 
115
  text-transform: uppercase;
116
+ margin: 18px 0;
117
  }
118
+ .tenweb_overview .plan_feature p {
119
+ font-size: 15px;
120
+ overflow: hidden;
121
+ display: -webkit-box;
122
+ -webkit-line-clamp: 3;
123
+ -webkit-box-orient: vertical;
124
+ text-overflow: ellipsis;
125
+ line-height: 1.4em;
126
+ }
127
+ .tenweb_overview .plan_feature .logo {
128
+ background: url(../img/header.svg);
129
+ margin:0 auto;
130
+ }
131
+ .tenweb_overview .plan_feature.image_optimizer .logo {
132
+ background-size: 191px;
133
+ background-position: 0px -55px;
134
+ width: 68px;
135
+ height: 51px;
136
+ margin: 0 auto 35px;
137
+ }
138
+ .tenweb_overview .plan_feature.pro_plugins .logo {
139
+ background-size: 194px;
140
+ background-position: 0px -118px;
141
+ width: 55px;
142
+ height: 68px;
143
+ }
144
+ .tenweb_overview .plan_feature.dashboard .logo {
145
+ background-size: 195px;
146
+ background-position: 0px -196px;
147
 
148
+ width: 68px;
149
+ height: 56px;
150
+ margin: 0 auto 30px;
 
 
151
  }
152
+ .tenweb_overview .plan_feature.pro_themes .logo {
153
+ background-size: 190px;
154
+ background-position: 0px -254px;
155
 
156
+ width: 57px;
157
+ height: 58px;
158
+ margin: 0 auto 28px;
159
  }
160
+ .tenweb_overview .plan_feature.seo .logo {
161
+ background-size: 200px;
162
+ background-position: 0px -338px;
163
 
164
+ width: 61px;
165
+ height: 63px;
166
+ margin: 0 auto 23px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
167
  }
168
+ .tenweb_overview .plan_feature.security .logo {
169
+ background-size: 194px;
170
+ background-position: 0px -398px;
171
+
172
+ width: 55px;
173
+ height: 62px;
174
+ margin: 0 auto 24px;
 
 
 
175
  }
176
+ .tenweb_overview .plan_feature.backup .logo {
177
+ background-size: 250px;
178
+ background-position: 0px -602px;
179
 
180
+ width: 100px;
181
+ height: 60px;
182
+ margin: 0 auto 26px;
183
  }
184
+ .tenweb_overview .plan_feature.hosting .logo {
185
+ background-size: 196px;
186
+ background-position: 0px -527px;
187
+
188
+ width: 64px;
189
+ height: 64px;
190
+ margin: 0 auto 22px;
191
  }
192
+ .tenweb_overview a.button {
193
+ background: #367bf2;
194
+ color: #ffffff;
195
  text-transform: uppercase;
196
+ letter-spacing: 1px;
197
+ font-size: 16px;
198
+ padding: 16px 30px;
199
+ line-height: 1;
200
+ border-radius: 2px;
201
  display: inline-block;
202
+ border: 0 !important;
203
+ box-shadow: none;
204
+ height: auto;
205
+ }
206
+ .tenweb_overview a.button.transparent {
207
+ background: transparent !important;
208
+ color: #ffffff;
209
+ border: 1px solid #ffffff !important;
210
+ width: 160px;
211
+ margin: 0 5px;
212
+ }
213
+ .tenweb_overview a.button:hover {
214
+ background: #367bf2;
215
+ color: #ffffff;
216
+ box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
217
+ }
218
+ .tenweb_overview .tenweb_header .container_top a.button {
219
+ font-size: 18px;
220
+ padding: 13px 30px;
221
+ display:table-cell;
222
+ }
223
+ .tenweb_overview .tenweb_logo {
224
+ float: left;
225
+ width: 197px;
226
  }
227
+ .tenweb_overview .tenweb_logo a div {
228
+ background: url(../img/header.svg);
229
+ height: 53px;
230
+ background-size: 196px;
231
+ background-position: 0 0;
232
+ background-repeat: no-repeat;
233
  }
234
+ .tenweb_overview .tenweb_header_right {
235
+ float: right;
236
+ text-align: right;
237
+ display: table;
 
 
 
 
 
 
238
  }
239
 
240
+ .tenweb_overview .inline-block.header_text {
241
+ text-transform: uppercase;
242
+ font-size: 15px;
243
+ line-height: 1.5;
244
+ padding-right: 10px;
245
+ letter-spacing: 0;
246
+ margin-top: 2px;
247
+ width: calc(100% - 180px);
248
+ display:table-cell;
249
+ vertical-align:middle;
250
+ }
251
+ .tenweb_overview .tenweb_header_divider {
252
+ height:18px;
253
+ background:#fff;
254
+ }
255
+ .tenweb_overview .container_top {
256
+ padding:24px 15px;
257
+ }
258
+ .tenweb_overview .container_bottom {
259
+ padding: 50px 0 40px;
260
+ }
261
+ .tenweb_overview .plugin_features.tenweb_clear {
262
+ margin-top: 40px;
263
+ }
264
+ .plugin_features .plugin_feature_logo{
265
+ height:54px;
266
+ }
267
+ .plugin_features .plugin_feature{
268
+ width: 31%;
269
+ margin: 0 1% 20px;
270
+ /*float: left;*/
271
  display: inline-block;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
272
  }
273
 
274
+ .plugin_features .plugin_feature h3 {
275
+ font-size: 18px;
 
 
 
 
 
 
 
 
 
276
  text-transform: uppercase;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
277
  }
278
+ .plugin_features .plugin_feature p {
279
+ font-size: 15px;
280
+ overflow: hidden;
281
+ display: -webkit-box;
282
+ -webkit-line-clamp: 3;
283
+ -webkit-box-orient: vertical;
284
+ text-overflow: ellipsis;
285
+ line-height: 1.4em;
286
+ min-height: 63px;
287
  }
288
+ .tenweb_how_it_works a.button {
289
+ margin-top: 12px;
 
 
 
 
 
 
 
290
  }
291
+ .plugin_features .plugin_feature img{
292
+ width:54px;
293
+ max-height: 100%;
 
 
 
294
  }
295
+ .tenweb_footer {
296
+ padding: 70px 0 80px;
 
297
  }
298
 
299
+ .tenweb_footer p {
300
+ font-size: 22px;
301
+ font-weight: lighter;
302
+ margin: 8px 0 20px;
303
+ }
304
+ .tenweb_footer h2 {
305
+ font-size: 31px;
306
+ }
307
+ .tenweb_overview img.plugin_logo {
308
+ width: 100px;
309
+ }
310
+ @media only screen and (min-width: 1620px){
311
+ .plugin_features .plugin_feature p {
312
+ font-size: 17px;
313
+ }
314
+ .tenweb_overview img.plugin_logo {
315
+ width: 130px;
316
+ }
317
+ .tenweb_overview .container{
318
+ width:1600px;
319
+ }
320
+ .tenweb_overview .inline-block.header_text{
321
+ font-size: 19px;
322
+ line-height: 1.2;
323
+ padding-right: 18px;
324
+ letter-spacing: .8px;
325
+ width: calc(100% - 193px);
326
+ margin-top: 0;
327
+ }
328
+ .tenweb_overview h2 {
329
+ font-size: 28px;
330
+ padding: 10px 0 20px;
331
+ }
332
+ .tenweb_overview .and {
333
+ font-size: 60px;
334
+ margin: 18px 14px;
335
+ }
336
+ .tenweb_overview .and.circle {
337
+ font-size: 60px;
338
+ margin: 20px 14px;
339
+ line-height: 1.4;
340
+ width: 90px;
341
+ height: 90px;
342
+ border-radius: 45px;
343
+ }
344
+ .tenweb_overview .plan_feature {
345
+ width: 23%;
346
+ display:inline-block;
347
+ margin: 0 1% 40px;
348
+ }
349
+ .tenweb_overview .plan_feature h3 {
350
+ font-size:20px;
351
+ }
352
+ .tenweb_overview .plan_feature p {
353
+ height: 72px;
354
+ font-size:16px;
355
+ }
356
+ .plugin_features .plugin_feature p{
357
+ font-size:18px;
358
+ height: 75px;
359
+ }
360
+ .plugin_features .plugin_feature h3{
361
+ font-size:20px;
362
+ }
363
+ .tenweb_footer h2{
364
+ font-size:37px;
365
+ }
366
+ .tenweb_footer p {
367
+ font-size: 24px;
368
+ }
369
+ .tenweb_overview .container_top {
370
+ padding: 29px 0;
371
+ }
372
+ }
373
+ @media only screen and (max-width: 1320px){
374
+ .plugin_features .plugin_feature,
375
+ .tenweb_overview .plan_feature {
376
+ width: 46%;
377
+ display: inline-block;
378
+ margin: 0 1.5% 10px;
379
+ }
380
+ .tenweb_footer h2 {
381
+ font-size: 26px;
382
+ }
383
+ .tenweb_footer p {
384
+ font-size: 20px;
385
+ line-height: 1.4em;
386
+ }
387
+ .tenweb_overview .container {
388
+ width: 99%;
389
+ }
390
+ .tenweb_overview .inline-block.header_text {
391
+ text-transform: uppercase;
392
+ font-size: 13px;
393
+ }
394
+ }
395
+ @media only screen and (max-width: 1200px){
396
 
397
+ .tenweb_overview .tenweb_header_right {
398
+ float: right;
399
+ text-align: right;
400
+ display: table;
401
+ width: calc(100% - 267px);
402
+ }
403
+ }
404
+ @media only screen and (max-width: 840px){
405
+ .tenweb_overview .inline-block.header_text {
406
+ display:block;
407
+ padding-right: 0;
408
+ margin-top: 10px;
409
+ width: 100%;
410
+ clear:both;
411
+ }
412
+ .tenweb_overview .tenweb_header .container_top a.button {
413
+ display:inline-block;
414
+ }
415
+ .tenweb_overview .tenweb_logo a div {
416
+ height: 37px;
417
+ background-size: 145px;
418
+ background-position: 0 0px;
419
+ }
420
+ .tenweb_overview .tenweb_logo {
421
+ float: left;
422
+ width: 150px;
423
+ }
424
+ .tenweb_overview {
425
+ margin-left: -10px;
426
+ }
427
+ .plugin_features .plugin_feature,
428
+ .tenweb_overview .plan_feature {
429
+ width: 88%;
430
+ margin: 0 auto 10px;
431
+ float: none;
432
+ }
433
+ .tenweb_overview .plan_feature p,
434
+ .plugin_features .plugin_feature p {
435
+ overflow: visible;
436
+ -webkit-line-clamp: none;
437
+ height: auto;
438
+ }
439
+ .tenweb_footer h2 {
440
+ font-size: 23px;
441
+ }
442
+ .tenweb_footer p {
443
+ font-size: 18px;
444
+ line-height: 1.4em;
445
+ }
446
+ .tenweb_overview .plugin_features.tenweb_clear {
447
+ margin-top: 20px;
448
+ }
449
+ .tenweb_footer {
450
+ padding: 50px 0 60px;
451
+ }
452
+ .tenweb_overview .tenweb_logo {
453
+ float: none;
454
+ width: 150px;
455
+ margin: 0 auto 10px;
456
+ }
457
+ .tenweb_overview .tenweb_header_right {
458
+ float: none;
459
+ width: 100%;
460
+ text-align: center;
461
+ }
462
+ .tenweb_overview .tenweb_header_right a.button {
463
+ float: none;
464
+ }
465
+ .tenweb_overview .inline-block.header_text {
466
+ float: none;
467
+ margin-top: 10px;
468
+ }
469
+ .tenweb_overview h2 {
470
+ font-size: 21px;
471
+ }
472
  }
 
 
 
 
 
wd/assets/css/subscribe.css CHANGED
@@ -1,114 +1,210 @@
1
- body {
2
- color: #444;
3
- font-family: "Open Sans",sans-serif;
4
- line-height: 1.4em;
5
- min-width: 600px;
6
  }
7
-
8
- .wd-subscribe{
9
- background: #fff;
10
- border: 2px solid #E2E5EC;
11
- width: 55%;
12
- margin-top: 40px;
13
- }
14
- .wd-subscribe-content{
15
- padding: 30px 92px;
16
  }
17
- .imgs{
18
- text-align: center;
19
  }
20
- .imgs img{
21
- vertical-align: middle;
22
- width: 125px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
  }
24
- .imgs span {
25
- color: #21759B;
26
- font-weight: bold;
27
- font-size: 52px;
28
- padding: 0px 28px;
29
  }
30
- .texts{
31
- margin-top: 10px;
32
- margin-bottom: 25px;
 
 
33
  }
34
 
35
- .btns .allow_and_continue, .btns .allow_and_continue:hover, .btns .allow_and_continue:focus{
36
- display: inline-block;
37
- background: url(img/allow&continue.png) no-repeat;
38
- width: 279px;
39
- height: 61px;
40
- border: none;
 
 
 
 
41
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
42
  }
43
- .btns .skip, .btns .skip:hover, .btns .skip:focus{
44
- margin-left: 66px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
45
  display: inline-block;
46
- background: url(img/skip.png) no-repeat;
47
- width: 76px;
48
- height: 59px;
49
  }
50
- .permissions{
51
- color: #525252 !important;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
52
  }
53
- .list{
54
- margin-top: 15px;
 
 
 
 
 
 
 
 
 
55
  display:none;
56
  }
57
- .list_item{
58
- display: table;
59
- margin-bottom: 15px;
60
  }
61
- .list_item:after{
62
- content: "";
63
- clear: both;
64
- display: table;
65
  }
66
- .list_img_wrap{
67
- float: left;
 
68
  }
69
- .list_img_wrap img{
70
- width: 27px;
 
 
 
71
  }
72
- .list_text_wrap{
73
- margin-left: 33px;
74
- float: right;
75
  }
76
- .list_title, .list_text{
77
- color: #525252;
78
- font-size: 13px;
79
  }
80
- .wd_loader{
81
- vertical-align: top;
82
- width: 30px;
83
- margin-top: 11px;
84
- visibility: hidden;
85
  }
86
- .wd-subscribe-footer{
87
- text-align: center;
88
- padding: 4px 0px;
89
- border-top: 1px solid rgba(204, 204, 204, 0.52);
90
- }
91
- .wd-footer-menu {
92
- display: inline-block;
93
- list-style-type: none;
94
- padding: 0;
95
- margin: 0;
96
- }
97
- .wd-footer-menu li{
98
- float: left;
99
- }
100
- .wd-footer-menu li, .wd-footer-menu li a{
101
- color: rgba(62, 60, 60, 0.57) !important;
102
- text-decoration: none;
103
- font-size: 12px;
104
- padding: 2px;
105
- font-weight: bold;
106
- display: inline-block;
107
- vertical-align: middle;
108
  }
109
 
110
-
111
- .wd-footer-menu li a:hover{
112
- color: rgba(62, 60, 60, 0.57) !important;
113
- text-decoration: underline;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
114
  }
1
+ #wpfooter {
2
+ display: none;
 
 
 
3
  }
4
+ #wpbody-content > div:not(.tenweb_subscribe){
5
+ display:none;
 
 
 
 
 
 
 
6
  }
7
+ #wpbody-content {
8
+ padding-bottom: 0;
9
  }
10
+
11
+
12
+ .tenweb_clear:after{
13
+ content:"";
14
+ display:table;
15
+ clear:both;
16
+ }
17
+ .tenweb_subscribe a.button {
18
+ background: #367bf2;
19
+ color: #ffffff;
20
+ text-transform: uppercase;
21
+ letter-spacing: 1px;
22
+ font-size: 16px;
23
+ padding: 16px 30px;
24
+ line-height: 1;
25
+ border-radius: 2px;
26
+ display: inline-block;
27
+ border: 0 !important;
28
+ box-shadow: none;
29
+ height: auto;
30
  }
31
+ .tenweb_subscribe a:focus {
32
+ box-shadow:none;
 
 
 
33
  }
34
+ .tenweb_subscribe a.button:active,
35
+ .tenweb_subscribe a.button:hover {
36
+ background: #367bf2;
37
+ color: #ffffff;
38
+ box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
39
  }
40
 
41
+ .tenweb_subscribe a.more {
42
+ text-transform: uppercase;
43
+ letter-spacing: 1px;
44
+ font-size: 14px;
45
+ line-height: 1;
46
+ display: block;
47
+ text-decoration: none;
48
+ color: #4e4e4e;
49
+ margin-top: 9px;
50
+ }
51
 
52
+ .wd_loader{
53
+ vertical-align: top;
54
+ width: 30px;
55
+ margin-top: 11px;
56
+ display: none;
57
+ }
58
+ .tenweb_subscribe {
59
+ background: #ffffff;
60
+ box-shadow: 0 0 10px rgba(0,0,0,0.2);
61
+ width: calc(100% - 20px);
62
+ padding: 105px 20px 0;
63
+ margin: 20px 0 0 0;
64
+ box-sizing: border-box;
65
+ -webkit-box-sizing: border-box;
66
+ -moz-box-sizing: border-box;
67
+ text-align: center;
68
  }
69
+ .tenweb_subscribe .texts h2 {
70
+ font-size:28px;
71
+ text-transform: uppercase;
72
+ margin: 26px 0 16px;
73
+ }
74
+ .tenweb_subscribe .texts h5 {
75
+ font-size:18px;
76
+ text-transform: uppercase;
77
+ margin: 6px 0;
78
+ line-height: 1.4em;
79
+ }
80
+ .tenweb_subscribe .texts p {
81
+ font-size:16px;
82
+ }
83
+ .tenweb_subscribe .texts .hi_there {
84
+ width:66px;
85
+ height:103px;
86
+ background: url(../img/allow-and-continue.png) no-repeat;
87
+ margin: 0 auto;
88
+ }
89
+ .tenweb_subscribe-content{
90
+ width: 960px;
91
+ max-width: 100%;
92
+ margin: 0 auto;
93
+ }
94
+ .tenweb_subscribe .permissions {
95
+ font-size: 16px;
96
+ cursor: pointer;
97
+ margin: 10px 0 30px;
98
+ position: relative;
99
  display: inline-block;
 
 
 
100
  }
101
+ .tenweb_subscribe .permissions:after {
102
+ content: "";
103
+ position: absolute;
104
+ width: 13px;
105
+ height: 13px;
106
+ background: url(../img/allow-and-continue.png) no-repeat;
107
+ background-position: 1px -237px;
108
+ right: -19px;
109
+ top: 2px;
110
+ transition:transform .2s;
111
+ }
112
+ .tenweb_subscribe .permissions.active:after {
113
+ content: "";
114
+ transform: rotateZ(-180deg);
115
+ -webkit-transform: rotateZ(-180deg);
116
+ -moz-transform: rotateZ(-180deg);
117
+ top: 3px;
118
  }
119
+ .tenweb_subscribe .list_item {
120
+ width: 31%;
121
+ float: left;
122
+ box-shadow: 0 0 10px rgba(0,0,0,0.2);
123
+ margin-right: 3%;
124
+ padding: 20px 0;
125
+ box-sizing: border-box;
126
+ -webkit-box-sizing: border-box;
127
+ -moz-box-sizing: border-box;
128
+ }
129
+ .tenweb_subscribe .list{
130
  display:none;
131
  }
132
+ .tenweb_subscribe .list_item:last-child {
133
+ margin-right: 0;
 
134
  }
135
+ .tenweb_subscribe .list.tenweb_clear {
136
+ max-width: 100%;
137
+ width: 580px;
138
+ margin: 0 auto 28px;
139
  }
140
+ .tenweb_subscribe .list_text_wrap {
141
+ font-size: 12px;
142
+ font-weight: bold;
143
  }
144
+ .tenweb_subscribe .list_logo {
145
+ width: 36px;
146
+ height:33px;
147
+ background: url(../img/allow-and-continue.png) no-repeat;
148
+ margin:0 auto 20px;
149
  }
150
+ .tenweb_subscribe .user_info .list_logo {
151
+ background-position: 3px -110px;
 
152
  }
153
+ .tenweb_subscribe .wp_info .list_logo {
154
+ background-position: 2px -153px;
 
155
  }
156
+ .tenweb_subscribe .plugins_info .list_logo {
157
+ background-position: 6px -196px;
 
 
 
158
  }
159
+ .tenweb_subscribe-footer * {
160
+ color: #afafaf;
161
+ }
162
+ .tenweb_footer-menu a {
163
+ font-size: 12px;
164
+ text-transform: uppercase;
165
+ letter-spacing: 1px;
166
+ text-decoration: none;
167
+ }
168
+ .tenweb_footer-menu li{
169
+ display:inline-block;
170
+ margin: 0 10px;
171
+ }
172
+ ul.tenweb_footer-menu.tenweb_clear {
173
+ padding: 18px 0 15px;
174
+ line-height: 1;
175
+ border-top: 1px solid #ececec;
176
+ margin: 16px 0 0;
 
 
 
 
177
  }
178
 
179
+ .tenweb_subscribe-top-footer {
180
+ font-size: 13px;
181
+ color: #afafaf;
182
+ margin-top: 112px;
183
+ }
184
+ @media only screen and (min-width: 1620px){
185
+ .tenweb_subscribe-top-footer {
186
+ margin-top: 130px;
187
+ }
188
+ .tenweb_subscribe {
189
+ padding: 150px 20px 0;
190
+ }
191
+ }
192
+ @media only screen and (max-width: 768px){
193
+ .tenweb_subscribe {
194
+ width: calc(100% - 10px);
195
+ padding: 60px 20px 0;
196
+ }
197
+ .tenweb_subscribe-top-footer {
198
+ margin-top: 60px;
199
+ }
200
+ .tenweb_subscribe .list_item {
201
+ width: 100%;
202
+ float: none;
203
+ margin-right: 0;
204
+ padding: 20px 10px;
205
+ margin-bottom: 10px;
206
+ }
207
+ .tenweb_subscribe .list.tenweb_clear {
208
+ margin: 0 auto 15px;
209
+ }
210
  }
wd/assets/img/allow-and-continue.png ADDED
Binary file
wd/assets/img/fmc_main_plugin.png ADDED
Binary file
wd/assets/img/header.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="190.51" height="655.4" viewBox="0 0 190.51 655.4"><defs><style>.cls-1{fill:#fff;}</style></defs><title>ICONS SPRITE</title><path class="cls-1" d="M35.4,147.3a20.82,20.82,0,0,1,9,2c-1-1-2-1.9-3.1-2.9.2-.2.4-.3.5-.4l10.3-10.3a2.85,2.85,0,0,0,.8-1.4,2.35,2.35,0,0,0-1.2-2.6,2.31,2.31,0,0,0-2.9.5l-9.9,9.9a7,7,0,0,0-.8,1c-3.8-3.8-7.4-7.4-11.2-11.1.1-.1.3-.2.4-.3l10.5-10.5a2.41,2.41,0,1,0-3.4-3.4l-6.3,6.3c-1.5,1.5-3,3.1-4.7,4.7-1.3-1.3-2.5-2.6-3.8-3.9l-.4.4c-2,2-4.1,4-6.1,6.1a17.89,17.89,0,0,0-4.9,17.8,47.31,47.31,0,0,0,2,5L0,164.4l5.3,5.4,10.3-10.3A22.47,22.47,0,0,1,35.4,147.3Z" transform="translate(0 -0.7)"/><path class="cls-1" d="M34.5,149.8A16.5,16.5,0,1,0,51,166.3,16.52,16.52,0,0,0,34.5,149.8Zm0,31.6a15.1,15.1,0,1,1,15.1-15.1A15.15,15.15,0,0,1,34.5,181.4Z" transform="translate(0 -0.7)"/><path class="cls-1" d="M29.6,165.9a2.65,2.65,0,0,0-1.9-.9,2.47,2.47,0,0,0-2.1.7,4.42,4.42,0,0,0-.8.9v-.7a5.39,5.39,0,0,1,.5-2.1,3,3,0,0,1,1.3-1.2,5.57,5.57,0,0,1,3-.3v-1h-1a4.67,4.67,0,0,0-3.7,1.4,7.11,7.11,0,0,0-1.2,4.5,6.05,6.05,0,0,0,.4,2.4,3.33,3.33,0,0,0,1.2,1.4,3.45,3.45,0,0,0,1.8.5,3.1,3.1,0,0,0,3.3-3.3A4,4,0,0,0,29.6,165.9Zm-1.1,3.9a1.68,1.68,0,0,1-1.4.6,1.9,1.9,0,0,1-1.5-.8,2.62,2.62,0,0,1-.5-1.7,1.61,1.61,0,0,1,.6-1.3,2,2,0,0,1,1.5-.6,1.68,1.68,0,0,1,1.4.6,2.46,2.46,0,0,1,.5,1.5A4.71,4.71,0,0,1,28.5,169.8Z" transform="translate(0 -0.7)"/><path class="cls-1" d="M33,170.2a2.91,2.91,0,0,0,2.5,1.2,2.79,2.79,0,0,0,2.5-1.2,6.68,6.68,0,0,0,.8-3.9,7,7,0,0,0-.9-3.9,3.2,3.2,0,0,0-5,0,6.68,6.68,0,0,0-.8,3.9A6.59,6.59,0,0,0,33,170.2Zm.9-6.8a1.57,1.57,0,0,1,3,0,7.39,7.39,0,0,1,.4,3,7.7,7.7,0,0,1-.4,3,1.58,1.58,0,0,1-1.5,1.1,1.5,1.5,0,0,1-1.5-1.1,11.45,11.45,0,0,1,0-6Z" transform="translate(0 -0.7)"/><polygon class="cls-1" points="47.2 165.4 44.4 165.4 44.4 162.5 43.6 162.5 43.6 165.4 40.8 165.4 40.8 166.1 43.6 166.1 43.6 168.9 44.4 168.9 44.4 166.1 47.2 166.1 47.2 165.4"/><path class="cls-1" d="M33.3,247.9H10a2.89,2.89,0,0,1-2.4-1.1A32.6,32.6,0,0,1,.3,224a33.05,33.05,0,0,1,62.3-13.3A33.07,33.07,0,0,1,58.7,247a2.74,2.74,0,0,1-2.2.9Zm0-4.5H55.2a1.43,1.43,0,0,0,1.2-.6A28.53,28.53,0,0,0,27.8,198,28.58,28.58,0,0,0,5,223.4a27.78,27.78,0,0,0,5.3,19.3,1.51,1.51,0,0,0,1.4.7C18.8,243.3,26.1,243.4,33.3,243.4Z" transform="translate(0 -0.7)"/><path class="cls-1" d="M29,233.2a3.14,3.14,0,0,0,2.9,2h0a3.17,3.17,0,0,0,2.5-1.2l.2-.3c.1-.1.2-.3.3-.4l3.1-3.8c2.1-2.5,4.2-5.1,6.3-7.6a1.57,1.57,0,0,0,0-2.2,1.61,1.61,0,0,0-1.1-.5,1.5,1.5,0,0,0-1.1.4L29.8,229.8A3.07,3.07,0,0,0,29,233.2Z" transform="translate(0 -0.7)"/><path class="cls-1" d="M18.8,211.2a2.84,2.84,0,0,1-.9,1,1.72,1.72,0,0,1-1.4-.1,19.86,19.86,0,0,1-2.1-2,1.24,1.24,0,0,1,.1-1.7c.5-.5,1.1-.7,1.6-.3.8.7,1.6,1.5,2.4,2.3C18.7,210.6,18.7,210.8,18.8,211.2Z" transform="translate(0 -0.7)"/><path class="cls-1" d="M52.8,209.1c-.1,1-2.4,3.3-3.3,3.2a2.1,2.1,0,0,1-1.1-.7,1.72,1.72,0,0,1,.1-1.4,9.47,9.47,0,0,1,2-2,1.69,1.69,0,0,1,1.4-.1C52.3,208.3,52.5,208.8,52.8,209.1Z" transform="translate(0 -0.7)"/><path class="cls-1" d="M56.2,227.6H54.9a1.24,1.24,0,0,1-1.3-1.2,1.4,1.4,0,0,1,1.2-1.4,13.1,13.1,0,0,1,2.8,0,1.19,1.19,0,0,1,1.1,1.4,1.16,1.16,0,0,1-1.2,1.2Z" transform="translate(0 -0.7)"/><path class="cls-1" d="M10.3,227.6H9.1a1.26,1.26,0,0,1-1.3-1.3A1.24,1.24,0,0,1,9,225h2.5a1.34,1.34,0,0,1,1.3,1.4,1.4,1.4,0,0,1-1.3,1.3A4.48,4.48,0,0,0,10.3,227.6Z" transform="translate(0 -0.7)"/><path class="cls-1" d="M35,202.8V204a1.21,1.21,0,0,1-1.4,1.2,1.32,1.32,0,0,1-1.3-1.3v-2.4a1.3,1.3,0,1,1,2.6,0,6.15,6.15,0,0,1,.1,1.3Z" transform="translate(0 -0.7)"/><path class="cls-1" d="M44.2,298.1a5.51,5.51,0,0,0-2-2.7c-.3-.3-.4-.5,0-.9a45.34,45.34,0,0,0,5-5.7,11.88,11.88,0,0,0,1.3-2.5,1.7,1.7,0,0,0-1.8-2.3,5.63,5.63,0,0,0-3,1.2l-1.2.9c-.1.1-.3.3-.5.1s0-.3.1-.4a8.23,8.23,0,0,0,1.2-2.5,3,3,0,0,0-.2-2.6,1.8,1.8,0,0,0-1.6-.9,8.09,8.09,0,0,0-3.7,1.2,13.25,13.25,0,0,0-2.5,1.6c-.2.1-.4.4-.6.1s0-.4.2-.6a10.53,10.53,0,0,0,1.7-2.9c1.2-2.9-.6-5.1-3.7-4.7a4.33,4.33,0,0,0-.5.1c-.2,0-.4.2-.5-.1s.1-.4.2-.5a5.37,5.37,0,0,0,1-1.6,2.5,2.5,0,0,0-.3-2.5,1.9,1.9,0,0,0-2.2-.8,8.79,8.79,0,0,0-3.4,1.9c-.1.1-.2.2-.3.2s-.3.3-.5.1,0-.3.1-.4c.2-.4.5-.7.7-1.1a1.2,1.2,0,0,0,0-1.5,1.1,1.1,0,0,0-1.4-.3,10.31,10.31,0,0,0-2.8,1.8,35.83,35.83,0,0,0-2.9,2.6c-.3.3-.4.2-.7,0a6.69,6.69,0,0,0-2.8-2.1l.5-.5L27.9,259a2,2,0,0,1,3.2,0l24.6,24.6a2,2,0,0,1,0,3.2L44.9,297.6A1.16,1.16,0,0,0,44.2,298.1Z" transform="translate(0 -0.7)"/><path class="cls-1" d="M26.5,288c-4.5-4.5-9-9-13.5-13.4-.4-.4-.4-.6,0-.9a9.43,9.43,0,0,0,1-1,2,2,0,0,1,2.7,0l.3.3,24.4,24.4c1.2,1.2,1.2,2.2,0,3.3-.4.4-.7,1-1.1,1s-.8-.6-1.2-1C35,296.5,30.8,292.2,26.5,288Z" transform="translate(0 -0.7)"/><path class="cls-1" d="M9.8,276.9a3.92,3.92,0,0,0,0,5.5c.6.7,1.3,1.3,1.9,2a12.28,12.28,0,0,1,2.3,4,4.7,4.7,0,0,1-1.3,5,18.51,18.51,0,0,1-4.8,3.5,15.92,15.92,0,0,0-6.1,4.8,6.64,6.64,0,0,0-.6,7.6,10.49,10.49,0,0,0,3,3.3,6.61,6.61,0,0,0,8.1.3,14.14,14.14,0,0,0,4.9-5.7,22.64,22.64,0,0,1,2.6-4.2c2.5-3.1,5.1-3.6,8.5-1.4a18.46,18.46,0,0,1,3.7,3.1,3.92,3.92,0,0,0,4.9.5,11.37,11.37,0,0,0,1.6-1.5c.4-.3.4-.5,0-.9L25.1,289.4,12.6,276.9c-.5-.5-.9-1.3-1.4-1.2S10.3,276.4,9.8,276.9Zm1.5,26.3a4,4,0,0,1,0,5.6,3.92,3.92,0,1,1,0-5.6Z" transform="translate(0 -0.7)"/><path class="cls-1" d="M42,361.9a23.36,23.36,0,1,0-18.3,8.9,22.77,22.77,0,0,0,12.9-3.9L54,384.2l5.2-5.2Zm.3-14.4a18.6,18.6,0,1,1-18.6-18.6A18.69,18.69,0,0,1,42.3,347.5Z" transform="translate(0 -0.7)"/><path class="cls-1" d="M1,403.6l-.7.1v.7C.3,417.3,3,428,8.7,437.2a46.22,46.22,0,0,0,16.2,16.1,4,4,0,0,0,2.1.7,3.68,3.68,0,0,0,2.1-.8c.6-.5,1.4-1,2-1.5.8-.6,1.6-1.1,2.4-1.8a53.31,53.31,0,0,0,17.7-27.4,62.88,62.88,0,0,0,2.3-18.2v-.7l-.7-.1c-7.8-1.4-14.9-4.9-21.8-8.4l-.1-.1c-2.7-1.4-5.8-1.2-8.9.4C14.6,399.4,8.1,402.3,1,403.6Zm29.4-4.3a80.16,80.16,0,0,0,18.4,7.5c.2.1.6.5.6.6h0c-.4,13.4-4.2,24.1-11.6,32.8a51.71,51.71,0,0,1-6.4,6c-1.1.9-2.2,1.9-3.3,2.8a1.76,1.76,0,0,1-1.3.6,2.69,2.69,0,0,1-1.6-.7A46.11,46.11,0,0,1,6.5,422.2a94.78,94.78,0,0,1-2.3-14.3c0-1.1.2-1.2.9-1.4a71.15,71.15,0,0,0,18.2-7.4A7.45,7.45,0,0,1,30.4,399.3Z" transform="translate(0 -0.7)"/><polygon class="cls-1" points="35.7 410.4 25.6 426 18.6 419.8 15.9 422.6 26.4 432.1 39 412.6 35.7 410.4"/><path class="cls-1" d="M48.5,501.7H15.1a11.9,11.9,0,1,1,0-23.8,12.22,12.22,0,0,1,5.6,1.4l1.4.8.5-1.5A17.49,17.49,0,0,1,39,467.1a17.3,17.3,0,0,1,17,13.6,24.58,24.58,0,0,1,2.8-.2A20.52,20.52,0,0,0,53.1,470,20.06,20.06,0,0,0,39,464.3a20.46,20.46,0,0,0-18.5,12A14.69,14.69,0,1,0,15,504.6H51.3C49.6,503.7,48.5,502.8,48.5,501.7Z" transform="translate(0 -0.7)"/><path class="cls-1" d="M51.7,504.5H15.1a14.8,14.8,0,1,1,0-29.6,14,14,0,0,1,5.4,1,20.3,20.3,0,0,1,18.5-12,20.06,20.06,0,0,1,14.1,5.7,19.74,19.74,0,0,1,5.7,10.6v.1h-.1a24.58,24.58,0,0,0-2.8.2h-.1v-.1a17.3,17.3,0,0,0-33.2-2.1l-.6,1.6-1.5-.8A11.88,11.88,0,1,0,15,501.5H48.5v.1c0,1,1,2,2.7,2.7ZM15.1,475.1a14.6,14.6,0,0,0,0,29.2H50.9c-1.6-.7-2.5-1.7-2.5-2.6H15.1a12,12,0,1,1,5.6-22.6l1.3.7.5-1.4A17.61,17.61,0,0,1,39,466.8a17.18,17.18,0,0,1,17,13.6,24.52,24.52,0,0,1,2.7-.2A20.22,20.22,0,0,0,53,469.8a20,20,0,0,0-14-5.7A20.23,20.23,0,0,0,20.6,476v.1h-.1A16.16,16.16,0,0,0,15.1,475.1Z" transform="translate(0 -0.7)"/><path class="cls-1" d="M69.7,485.9a2.84,2.84,0,0,0-.7-1.7c-1.6-1.7-5.5-2.6-9.4-2.6h-.7a24.52,24.52,0,0,0-2.7.2c-3.7.5-6.7,1.9-6.7,4v13.8a2.2,2.2,0,0,0,.6,1.5c1.3,1.6,4.6,2.5,8.1,2.7h1.5c3.9,0,7.9-.9,9.4-2.6a2.19,2.19,0,0,0,.7-1.7V486.1C69.7,486.2,69.7,486,69.7,485.9ZM59.5,497.4a19.3,19.3,0,0,1-6.2-.9c-1.5-.5-2.1-1.1-2.1-1.4v-2a17.82,17.82,0,0,0,8.2,1.7,23.1,23.1,0,0,0,6.1-.8,6.67,6.67,0,0,0,2.1-.9v2c0,.3-.5.9-2.1,1.4l-.9.3A18.28,18.28,0,0,1,59.5,497.4Zm8.3-7.9v1c0,.3-.5.9-2.1,1.4h-.1a18.25,18.25,0,0,1-6.1.9,19.3,19.3,0,0,1-6.2-.9c-1.5-.5-2.1-1.1-2.1-1.4v-2a17.82,17.82,0,0,0,8.2,1.7,22.65,22.65,0,0,0,5.3-.6,10,10,0,0,0,2.6-.9c.1-.1.2-.1.3-.2v1Zm-14.5-5a17.65,17.65,0,0,1,2.9-.7,32.51,32.51,0,0,1,3.3-.2,19.83,19.83,0,0,1,3.5.3,17.63,17.63,0,0,1,2.7.7c1.5.5,2.1,1.1,2.1,1.4s-.4.7-1.3,1.1a6.88,6.88,0,0,1-.8.3,11.7,11.7,0,0,1-2,.5,27.22,27.22,0,0,1-4.2.4,19.3,19.3,0,0,1-6.2-.9c-1.5-.5-2.1-1.1-2.1-1.4S51.8,485,53.3,484.5Zm14.5,15.2c0,.3-.5.9-2.1,1.4-.4.1-.8.3-1.3.4a23.84,23.84,0,0,1-4.9.5,21.79,21.79,0,0,1-6-.8c-.1,0-.2,0-.2-.1-1.5-.5-2.1-1.1-2.1-1.4v-2a17.82,17.82,0,0,0,8.2,1.7c1.2,0,2.4-.1,3.5-.2a12.23,12.23,0,0,0,4.2-1.2c.2-.1.3-.2.5-.3v2Z" transform="translate(0 -0.7)"/><path class="cls-1" d="M59.5,504.1H58c-3.9-.2-7-1.3-8.2-2.8a2.45,2.45,0,0,1-.6-1.6V485.9c0-2,2.6-3.6,6.9-4.2a24.52,24.52,0,0,1,2.7-.2h.7c4.3,0,8.1,1,9.5,2.6a2.5,2.5,0,0,1,.8,1.8v13.8a2.9,2.9,0,0,1-.8,1.8C67.6,503.1,63.8,504.1,59.5,504.1Zm0-22.3h-.7a24.52,24.52,0,0,0-2.7.2c-4.1.6-6.6,2-6.6,3.9v.4h0v4.5h0v4.5h0v4.1a2.39,2.39,0,0,0,.5,1.4c1.1,1.4,4.2,2.4,8,2.6h1.5c4.2,0,7.9-1,9.3-2.5a2.57,2.57,0,0,0,.7-1.6v-4.1h0v-4.5h0v-4.5h0v-.4a2.13,2.13,0,0,0-.7-1.6C67.4,482.8,63.8,481.8,59.5,481.8Zm0,20.4a21.26,21.26,0,0,1-6-.8.35.35,0,0,1-.2-.1c-1.5-.5-2.2-1.2-2.2-1.6v-2.3l.2.1a18.34,18.34,0,0,0,8.2,1.6c1.2,0,2.4-.1,3.5-.2a15.08,15.08,0,0,0,4.2-1.1c.2-.1.3-.2.5-.2l.2-.1v2.3c0,.4-.7,1-2.2,1.6-.4.1-.8.3-1.3.4A34.67,34.67,0,0,1,59.5,502.2Zm-8.1-4.3v1.8c0,.2.5.8,2,1.3.1,0,.1,0,.2.1a20.53,20.53,0,0,0,5.9.8,24.61,24.61,0,0,0,4.9-.5,5,5,0,0,0,1.3-.4c1.5-.5,2-1.1,2-1.3v-1.8c-.1,0-.2.1-.3.1a18.69,18.69,0,0,1-4.3,1.2,20,20,0,0,1-3.5.2A17.42,17.42,0,0,1,51.4,497.9Zm8.1-.3a18.46,18.46,0,0,1-6.2-.9c-1.5-.5-2.2-1.2-2.2-1.6v-2.3l.2.1a18.34,18.34,0,0,0,8.2,1.6,22.54,22.54,0,0,0,6.1-.8,6.67,6.67,0,0,0,2.1-.9l.2-.1V495c0,.4-.7,1-2.2,1.6l-.9.3A17,17,0,0,1,59.5,497.6Zm-8.1-4.3v1.8c0,.2.5.8,2,1.3a18.25,18.25,0,0,0,6.1.9,20.64,20.64,0,0,0,5.2-.6l.9-.3c1.5-.5,2-1.1,2-1.3v-1.8a18.19,18.19,0,0,1-1.9.8,22.76,22.76,0,0,1-6.2.8A18.49,18.49,0,0,1,51.4,493.3Zm8.1-.3a18.46,18.46,0,0,1-6.2-.9c-1.5-.5-2.2-1.2-2.2-1.6v-2.3l.2.1a18.34,18.34,0,0,0,8.2,1.6,22,22,0,0,0,5.3-.6,8.15,8.15,0,0,0,2.5-.9c.1-.1.2-.1.3-.2l.2-.1v2.3c0,.4-.7,1-2.2,1.6h-.1A15.06,15.06,0,0,1,59.5,493Zm-8.1-4.3v1.8c0,.2.5.8,2,1.3a18.25,18.25,0,0,0,6.1.9,17.63,17.63,0,0,0,6-.9h.1c1.5-.5,2-1.1,2-1.3v-1.8a.1.1,0,0,0-.1.1,8.81,8.81,0,0,1-2.6.9,22.65,22.65,0,0,1-5.3.6A18.65,18.65,0,0,1,51.4,488.7Zm8.1-.3a18.46,18.46,0,0,1-6.2-.9c-1.5-.5-2.2-1.2-2.2-1.6s.7-1,2.2-1.6h0a19.06,19.06,0,0,1,3-.7,32.51,32.51,0,0,1,3.3-.2,19.83,19.83,0,0,1,3.5.3,15,15,0,0,1,2.7.7c1.5.5,2.2,1.2,2.2,1.6s-.5.8-1.4,1.2a6.88,6.88,0,0,1-.8.3,11.7,11.7,0,0,1-2,.5A20.24,20.24,0,0,1,59.5,488.4Zm-6.1-3.8c-1.5.5-2,1.1-2,1.3s.5.8,2,1.3a18.25,18.25,0,0,0,6.1.9,17.28,17.28,0,0,0,4.1-.4,11.7,11.7,0,0,0,2-.5,4.88,4.88,0,0,0,.7-.3c.9-.4,1.2-.8,1.2-1s-.5-.8-2-1.3a10.71,10.71,0,0,0-2.7-.6,18.84,18.84,0,0,0-3.4-.2c-1.1,0-2.2.1-3.2.2a11.54,11.54,0,0,0-2.8.6Z" transform="translate(0 -0.7)"/><path class="cls-1" d="M56.4,560.1H51.3a5.42,5.42,0,0,0-5.5,5.5v.8H39.2a5.78,5.78,0,0,0-1.6-4.6,6.19,6.19,0,0,0-4.7-1.7v-6.6H45c1.6,0,3.5,0,5.3-.1a13.08,13.08,0,0,0,11.3-15.8c-1.3-5.9-5.8-9.7-12-10.1-.3,0-.3,0-.4-.3a18.89,18.89,0,0,0-20.5-12.3,18.8,18.8,0,0,0-15.6,12.4c-.1.3-.1.3-.3.3a11,11,0,0,0-1.8.2,12.55,12.55,0,0,0-8.2,5.1,13.16,13.16,0,0,0,11,20.7H29.4v6.6a5.79,5.79,0,0,0-4.7,1.6,5.57,5.57,0,0,0-1.6,4.6H16.5v-.7a5.48,5.48,0,0,0-5.5-5.5H5.9a5.48,5.48,0,0,0-5.5,5.5v5.1a5.42,5.42,0,0,0,5.5,5.5h5a5.4,5.4,0,0,0,5.4-4.5,8.08,8.08,0,0,0,.1-1.6V570H23v.8a5.6,5.6,0,0,0,5.5,5.4h5.2a5.47,5.47,0,0,0,5.4-4.5,7.57,7.57,0,0,0,.1-1.5V570h6.6v.8a5.48,5.48,0,0,0,5.5,5.5h5a5.42,5.42,0,0,0,5.5-5.5h0v-5.1A5.42,5.42,0,0,0,56.4,560.1Zm2,7.2v3.2a2.1,2.1,0,0,1-2.2,2.2h-5a2,2,0,0,1-2.1-2v-5.1a2.11,2.11,0,0,1,2.1-2.1h5.1a2,2,0,0,1,2.1,2.1Zm-29.8,5.4a2,2,0,0,1-2.1-2.2v-5a1.94,1.94,0,0,1,2.1-2.1h5a1.94,1.94,0,0,1,2.1,2.1v5.1a2,2,0,0,1-2.1,2C31.9,572.7,30.2,572.7,28.6,572.7ZM31,550H13.5a9.6,9.6,0,0,1-8.1-4.1,9.35,9.35,0,0,1-.9-9.4,9.43,9.43,0,0,1,7.7-5.6,5.74,5.74,0,0,1,1.2-.1h.2c1.3,0,1.8-.3,2.2-1.5a15.17,15.17,0,0,1,6.7-8.6,15.58,15.58,0,0,1,13.9-1.5,16.11,16.11,0,0,1,9.8,10.1c.4,1.3.8,1.6,2.2,1.6a9.73,9.73,0,0,1,10,9.5,9.19,9.19,0,0,1-2.7,6.8,9.76,9.76,0,0,1-7,3H36.2ZM9.4,572.7H6a2.1,2.1,0,0,1-2.2-2.2v-4.8a2.07,2.07,0,0,1,2.1-2.2h4.9a2,2,0,0,1,2.1,2.2v4.8a2,2,0,0,1-2.2,2.2Z" transform="translate(0 -0.7)"/><path class="cls-1" d="M27.4,42.8l-3.9,3.9L.3,23.6l2.9-2.9a1.52,1.52,0,0,1,2,0Z" transform="translate(0 -0.7)"/><path class="cls-1" d="M33.5,23.9l-3.9,3.9-9.4-9.4a1.52,1.52,0,0,1,0-2l1.9-1.9a1.52,1.52,0,0,1,2,0Z" transform="translate(0 -0.7)"/><path class="cls-1" d="M21,23.5l-2.9,2.9a1.52,1.52,0,0,1-2,0l-1.9-1.9a1.52,1.52,0,0,1,0-2l1.9-1.9a1.52,1.52,0,0,1,2,0Z" transform="translate(0 -0.7)"/><path class="cls-1" d="M46.3,23.9l-2.9,2.9a1.52,1.52,0,0,1-2,0L19.2,4.6,23.1.7Z" transform="translate(0 -0.7)"/><path class="cls-1" d="M23.5,46.7l-3.9-3.9L35,27.4a1.52,1.52,0,0,1,2,0l2.9,2.9Z" transform="translate(0 -0.7)"/><path class="cls-1" d="M22.5,32.9l-2-1.9a1.52,1.52,0,0,1,0-2l9-9,3.9,3.9-9,9A1.23,1.23,0,0,1,22.5,32.9Z" transform="translate(0 -0.7)"/><path class="cls-1" d="M9.6,20.1,6.7,17.2,23.1.7,27,4.6,11.6,20.1A1.52,1.52,0,0,1,9.6,20.1Z" transform="translate(0 -0.7)"/><polygon class="cls-1" points="60.8 12.7 62 15.8 66.6 14.5 66.6 35.4 70.4 35.4 70.4 10.5 67.8 10.5 60.8 12.7"/><path class="cls-1" d="M86.5,10.9c-6.7,0-11.7,5.5-11.7,12.8v.1c0,7.4,4.9,12.7,11.7,12.7S98.2,31,98.2,23.7v-.1C98.2,16.3,93.3,10.9,86.5,10.9ZM78.7,23.6c0-4.5,2.7-9.3,7.7-9.3s7.8,4.8,7.8,9.3v.1c0,4.5-2.7,9.3-7.7,9.3s-7.8-4.7-7.8-9.4Z" transform="translate(0 -0.7)"/><polygon class="cls-1" points="128.4 29.3 121.5 10.6 121.5 10.6 118.7 10.6 111.7 29.3 104.3 10.7 104.3 10.6 100 10.6 110.2 35.5 110.2 35.6 113.1 35.6 120 17.4 126.9 35.5 126.9 35.6 129.8 35.6 140 10.6 135.9 10.6 128.4 29.3"/><polygon class="cls-1" points="147.1 24.6 162 24.6 162 21.2 147.1 21.2 147.1 14.1 163.7 14.1 163.7 10.6 143.3 10.6 143.3 35.4 163.8 35.4 163.8 31.9 147.1 31.9 147.1 24.6"/><path class="cls-1" d="M186.3,23.2a6,6,0,0,0,2.8-5.2v-.1a5.5,5.5,0,0,0-2-4.3,11.1,11.1,0,0,0-7.4-2.3H168V36.1h12.3c6.2,0,10.2-2.8,10.2-7.2v-.1C190.6,27.1,189.8,24.7,186.3,23.2Zm.4,5.6h0c0,2.4-2.4,3.8-6.3,3.8h-8.5V25.3h7.8C182.4,25.3,186.7,25.8,186.7,28.8Zm-1.4-10.7c0,2.8-3,3.8-5.7,3.8H172V14.8h7.8c3.4,0,5.5,1.2,5.5,3.3Z" transform="translate(0 -0.7)"/><path class="cls-1" d="M63.3,622.2a6.9,6.9,0,0,0-3.5-5.9,10.79,10.79,0,0,0-6.5-8.2h.6a21.5,21.5,0,1,0-43-.3c-3.5,1.5-6.5,4.7-7.1,8.5a6.58,6.58,0,0,0-3.5,5.9,6.77,6.77,0,0,0,3.5,5.9,11,11,0,0,0,10.9,9.1,2.58,2.58,0,0,0,2.6-2.6v-25a2.58,2.58,0,0,0-2.6-2.6h-.3a18,18,0,0,1,36,.3H48.9a2.58,2.58,0,0,0-2.6,2.6v24.7a2.58,2.58,0,0,0,2.6,2.6,6.61,6.61,0,0,0,2.4-.3v5.9a6.38,6.38,0,0,1-5.9,6.2H39.2a5.55,5.55,0,0,0-10.9,1.5,5.79,5.79,0,0,0,5.6,5.6,5.49,5.49,0,0,0,5.3-4.1h6.1a9.6,9.6,0,0,0,9.1-9.4v-7.4a12.13,12.13,0,0,0,5.3-7.7C62.1,626.9,63.3,624.5,63.3,622.2Z" transform="translate(0 -0.7)"/><circle class="cls-1" cx="23.59" cy="70.7" r="4.24"/><path class="cls-1" d="M34.32,101.8H3.56v-8l7.1-6.53,4.32-4,1.34,1.08,1.84,1.49c.83.67,3.06,2.51,8.8,7.3L29.2,95,31.45,93,36,89.1l3-2.57,9.39-8.12.17.14,1.75,1.51,1.07.92,1,.85.91.78,4.35,3.75L61,89.28h0a25.74,25.74,0,0,1,4.58,5.28q0-1.73.07-3.47.27-15.35,0-30.3a4.72,4.72,0,0,0-1.53-3,4.66,4.66,0,0,0-2.57-1.13H4.1A4.1,4.1,0,0,0,0,60.8v41a4.1,4.1,0,0,0,4.1,4.1H34.79a15.3,15.3,0,0,1-.48-3.8C34.31,102,34.32,101.9,34.32,101.8ZM3.56,60.8H61q0,12.34,0,24.68l-3.37-2.9-4.35-3.75-4.71-4.06-.17-.14L39,82.73l-9.77,8.45h0L18.26,82.09,15,79.44,8.59,85.36,3.56,90Z" transform="translate(0 -0.7)"/><path class="cls-1" d="M66.25,102.8H62.58a11.83,11.83,0,0,1-.63,3.11h3.87a14.93,14.93,0,0,0,.49-3.11Z" transform="translate(0 -0.7)"/><path class="cls-1" d="M49.73,100a2.45,2.45,0,0,0-1.24,1.84,2.42,2.42,0,0,0,0,.29,2.45,2.45,0,0,0,4.63,1.12h0l.78-1.41,3.7-6.67L49.72,100Z" transform="translate(0 -0.7)"/><path class="cls-1" d="M51.34,86.61v3.73A10.57,10.57,0,0,1,58.08,93l2.73-2.63A15.59,15.59,0,0,0,51.34,86.61Z" transform="translate(0 -0.7)"/><path class="cls-1" d="M49.48,90.33V86.61a15.44,15.44,0,0,0-14.4,15.21c0,.1,0,.19,0,.29a15.3,15.3,0,0,0,.48,3.8h3.89a11.42,11.42,0,0,1-.66-3.82c0-.09,0-.18,0-.27A12.05,12.05,0,0,1,49.48,90.33Z" transform="translate(0 -0.7)"/><path class="cls-1" d="M66.29,100.94a15,15,0,0,0-4-9.26l-.6.6-2,2a11.91,11.91,0,0,1,2,3.31,11.71,11.71,0,0,1,.83,3.33Z" transform="translate(0 -0.7)"/></svg>
wd/assets/img/how_it_works.png ADDED
Binary file
wd/assets/img/slide-1366.jpg ADDED
Binary file
wd/assets/js/deactivate_popup.js CHANGED
@@ -19,17 +19,17 @@ var btnVal = 3;
19
  ////////////////////////////////////////////////////////////////////////////////////////
20
  // Public Methods //
21
  ////////////////////////////////////////////////////////////////////////////////////////
22
- function wdReady( prefix ) {
23
 
24
  var agree_with_pp = false;
25
  reset_popup();
26
  jQuery( document ).on( "click", "." + window[prefix + "WDDeactivateVars"].deactivate_class, function () {
27
  agree_with_pp = false;
28
- if ( !jQuery( '#wd-' + prefix + '-submit-and-deactivate' ).hasClass( 'button-primary-disabled' ) ) {
29
- jQuery( '#wd-' + prefix + '-submit-and-deactivate' ).addClass( 'button-primary-disabled' )
30
  }
31
- jQuery( ".wd-" + prefix + "-opacity" ).show();
32
- jQuery( ".wd-" + prefix + "-deactivate-popup" ).show();
33
  if ( jQuery( this ).attr( "data-uninstall" ) == "1" ) {
34
  btnVal = 2;
35
  }
@@ -41,67 +41,59 @@ function wdReady( prefix ) {
41
  var disabled_class = ( agree_with_pp === false ) ? "button-primary-disabled" : "";
42
 
43
  jQuery( "." + prefix + "_additional_details_wrap" ).html( "" );
44
- jQuery( ".wd-" + prefix + "-deactivate-popup" ).removeClass( "wd-popup-active1 wd-popup-active2 wd-popup-active3 wd-popup-active4" );
45
  if ( jQuery( this ).val() == "reason_plugin_is_hard_to_use_technical_problems" ) {
46
 
47
- additionalInfo = '<div class="wd-additional-active"><div><strong>Please describe your issue.</strong></div><br>' +
48
  '<textarea name="' + prefix + '_additional_details" rows = "4"></textarea><br>' +
49
  '<div>Our support will contact <input type="text" name="' + prefix + '_email" value="' + window[prefix + "WDDeactivateVars"].email + '"> shortly.</div>' +
50
- '<br><div><button class="button button-primary ' + disabled_class + ' wd-' + prefix + '-deactivate" data-val="' + btnVal + '">Submit support ticket</button></div></div>';
51
  jQuery( "." + prefix + "_additional_details_wrap" ).append( additionalInfo );
52
- jQuery( ".wd-" + prefix + "-deactivate-popup" ).addClass( "wd-popup-active1" );
53
 
54
  }
55
  else if ( jQuery( this ).val() == "reason_free_version_limited" ) {
56
- additionalInfo = '<div class="wd-additional-active">' +
57
  '<div><strong>We believe our premium version will fit your needs.</strong></div>' +
58
  '<div><a href="' + window[prefix + "WDDeactivateVars"].plugin_wd_url + '" target="_blank">Try with 30 day money back guarantee.</a></div>';
59
 
60
  jQuery( "." + prefix + "_additional_details_wrap" ).append( additionalInfo );
61
- jQuery( ".wd-" + prefix + "-deactivate-popup" ).addClass( "wd-popup-active2" );
62
  }
63
- else if ( jQuery( this ).val() == "reason_premium_expensive" ) {
64
- additionalInfo = '<div class="wd-additional-active">' +
65
- '<div><strong>We have a special offer for you.</strong></div>' +
66
- '<div>Submit this form to get the offer to <input type="text" name="' + prefix + '_email" value="' + window[prefix + "WDDeactivateVars"].email + '"></div>' +
67
- '<br><div><button class="button button-primary ' + disabled_class + ' wd-' + prefix + '-deactivate" data-val="' + btnVal + '">Submit</button></div></div>';
68
-
69
- jQuery( "." + prefix + "_additional_details_wrap" ).append( additionalInfo );
70
- jQuery( ".wd-" + prefix + "-deactivate-popup" ).addClass( "wd-popup-active3" );
71
- } else {
72
- jQuery( ".wd-" + prefix + "-deactivate-popup" ).addClass( "wd-popup-active4" );
73
  }
74
 
75
  var checked = ( agree_with_pp === true ) ? "checked" : "";
76
  var agree_checkbox =
77
  "<div style='margin-top: 5px;'>" +
78
  "<input type='checkbox' " + checked + " name='" + prefix + "_agree_with_pp" + "' id='" + prefix + "_agree_with_pp" + "'/>" +
79
- "By submitting this form your email and website URL will be sent to Web-Dorado. Click the checkbox if you consent to usage of mentioned data by Web-Dorado in accordance with our <a target='_blank' href='https://web-dorado.com/web-dorado-privacy-statement.html'>Privacy Policy</a>."+
80
  "</div>";
81
  jQuery( "." + prefix + "_additional_details_wrap" ).prepend( agree_checkbox );
82
 
83
- jQuery( "#wd-" + prefix + "-submit-and-deactivate" ).show();
84
  } );
85
  jQuery( document ).on( "keyup", "[name=" + prefix + "_additional_details]", function () {
86
  if ( jQuery( this ).val().trim() || jQuery( "[name=" + prefix + "_reasons]:checked" ).length > 0 ) {
87
- jQuery( "#wd-" + prefix + "-submit-and-deactivate" ).show();
88
  }
89
  else {
90
- jQuery( "#wd-" + prefix + "-submit-and-deactivate" ).hide();
91
  }
92
  } );
93
 
94
  jQuery( document ).on( "change", "[name=" + prefix + "_agree_with_pp]", function () {
95
  if ( jQuery( this ).prop( 'checked' ) ) {
96
- jQuery( ".wd-" + prefix + "-deactivate" ).removeClass( 'button-primary-disabled' );
97
  agree_with_pp = true;
98
  } else {
99
- jQuery( ".wd-" + prefix + "-deactivate" ).addClass( 'button-primary-disabled' );
100
  agree_with_pp = false;
101
  }
102
  } );
103
 
104
- jQuery( document ).on( "click", ".wd-" + prefix + "-deactivate", function ( e ) {
105
  var data_val = jQuery( this ).data( 'val' );
106
  var checkbox = jQuery( "#" + prefix + "_agree_with_pp" );
107
 
@@ -109,18 +101,18 @@ function wdReady( prefix ) {
109
  return false;
110
  }
111
 
112
- jQuery( ".wd-deactivate-popup-opacity-" + prefix ).show();
113
- if ( jQuery( this ).hasClass( "wd-clicked" ) == false ) {
114
- jQuery( this ).addClass( "wd-clicked" );
115
  jQuery( "[name=" + prefix + "_submit_and_deactivate]" ).val( jQuery( this ).attr( "data-val" ) );
116
  jQuery( "#" + prefix + "_deactivate_form" ).submit();
117
  }
118
  return false;
119
  } );
120
 
121
- jQuery( document ).on( "click", ".wd-" + prefix + "-cancel, .wd-opacity, .wd-deactivate-popup-close-btn", function () {
122
- jQuery( ".wd-" + prefix + "-opacity" ).hide();
123
- jQuery( ".wd-" + prefix + "-deactivate-popup" ).hide();
124
  reset_popup();
125
 
126
  return false;
@@ -128,9 +120,9 @@ function wdReady( prefix ) {
128
 
129
  function reset_popup() {
130
  jQuery( "." + prefix + "_additional_details_wrap" ).html( "" );
131
- jQuery( ".wd-" + prefix + "-deactivate-popup" ).removeClass( "wd-popup-active1 wd-popup-active2 wd-popup-active3 wd-popup-active4" );
132
 
133
- jQuery( "#wd-" + prefix + "-submit-and-deactivate" ).hide();
134
  jQuery( '#' + prefix + '_deactivate_form input[name="' + prefix + '_reasons' + '"]' ).prop( 'checked', false );
135
  }
136
 
19
  ////////////////////////////////////////////////////////////////////////////////////////
20
  // Public Methods //
21
  ////////////////////////////////////////////////////////////////////////////////////////
22
+ function tenwebReady( prefix ) {
23
 
24
  var agree_with_pp = false;
25
  reset_popup();
26
  jQuery( document ).on( "click", "." + window[prefix + "WDDeactivateVars"].deactivate_class, function () {
27
  agree_with_pp = false;
28
+ if ( !jQuery( '#tenweb-' + prefix + '-submit-and-deactivate' ).hasClass( 'button-primary-disabled' ) ) {
29
+ jQuery( '#tenweb-' + prefix + '-submit-and-deactivate' ).addClass( 'button-primary-disabled' )
30
  }
31
+ jQuery( ".tenweb-" + prefix + "-opacity" ).show();
32
+ jQuery( ".tenweb-" + prefix + "-deactivate-popup" ).show();
33
  if ( jQuery( this ).attr( "data-uninstall" ) == "1" ) {
34
  btnVal = 2;
35
  }
41
  var disabled_class = ( agree_with_pp === false ) ? "button-primary-disabled" : "";
42
 
43
  jQuery( "." + prefix + "_additional_details_wrap" ).html( "" );
44
+ jQuery( ".tenweb-" + prefix + "-deactivate-popup" ).removeClass( "tenweb-popup-active1 tenweb-popup-active2 tenweb-popup-active4" );
45
  if ( jQuery( this ).val() == "reason_plugin_is_hard_to_use_technical_problems" ) {
46
 
47
+ additionalInfo = '<div class="tenweb-additional-active"><div><strong>Please describe your issue.</strong></div><br>' +
48
  '<textarea name="' + prefix + '_additional_details" rows = "4"></textarea><br>' +
49
  '<div>Our support will contact <input type="text" name="' + prefix + '_email" value="' + window[prefix + "WDDeactivateVars"].email + '"> shortly.</div>' +
50
+ '<br><div><button class="button button-primary ' + disabled_class + ' tenweb-' + prefix + '-deactivate" data-val="' + btnVal + '">Submit support ticket</button></div></div>';
51
  jQuery( "." + prefix + "_additional_details_wrap" ).append( additionalInfo );
52
+ jQuery( ".tenweb-" + prefix + "-deactivate-popup" ).addClass( "tenweb-popup-active1" );
53
 
54
  }
55
  else if ( jQuery( this ).val() == "reason_free_version_limited" ) {
56
+ additionalInfo = '<div class="tenweb-additional-active">' +
57
  '<div><strong>We believe our premium version will fit your needs.</strong></div>' +
58
  '<div><a href="' + window[prefix + "WDDeactivateVars"].plugin_wd_url + '" target="_blank">Try with 30 day money back guarantee.</a></div>';
59
 
60
  jQuery( "." + prefix + "_additional_details_wrap" ).append( additionalInfo );
61
+ jQuery( ".tenweb-" + prefix + "-deactivate-popup" ).addClass( "tenweb-popup-active2" );
62
  }
63
+ else {
64
+ jQuery( ".tenweb-" + prefix + "-deactivate-popup" ).addClass( "tenweb-popup-active4" );
 
 
 
 
 
 
 
 
65
  }
66
 
67
  var checked = ( agree_with_pp === true ) ? "checked" : "";
68
  var agree_checkbox =
69
  "<div style='margin-top: 5px;'>" +
70
  "<input type='checkbox' " + checked + " name='" + prefix + "_agree_with_pp" + "' id='" + prefix + "_agree_with_pp" + "'/>" +
71
+ "By submitting this form your email and website URL will be sent to 10Web. Click the checkbox if you consent to usage of mentioned data by 10Web in accordance with our <a target='_blank' href='https://10web.io/privacy-policy/'>Privacy Policy</a>." +
72
  "</div>";
73
  jQuery( "." + prefix + "_additional_details_wrap" ).prepend( agree_checkbox );
74
 
75
+ jQuery( "#tenweb-" + prefix + "-submit-and-deactivate" ).show();
76
  } );
77
  jQuery( document ).on( "keyup", "[name=" + prefix + "_additional_details]", function () {
78
  if ( jQuery( this ).val().trim() || jQuery( "[name=" + prefix + "_reasons]:checked" ).length > 0 ) {
79
+ jQuery( "#tenweb-" + prefix + "-submit-and-deactivate" ).show();
80
  }
81
  else {
82
+ jQuery( "#tenweb-" + prefix + "-submit-and-deactivate" ).hide();
83
  }
84
  } );
85
 
86
  jQuery( document ).on( "change", "[name=" + prefix + "_agree_with_pp]", function () {
87
  if ( jQuery( this ).prop( 'checked' ) ) {
88
+ jQuery( ".tenweb-" + prefix + "-deactivate" ).removeClass( 'button-primary-disabled' );
89
  agree_with_pp = true;
90
  } else {
91
+ jQuery( ".tenweb-" + prefix + "-deactivate" ).addClass( 'button-primary-disabled' );
92
  agree_with_pp = false;
93
  }
94
  } );
95
 
96
+ jQuery( document ).on( "click", ".tenweb-" + prefix + "-deactivate", function ( e ) {
97
  var data_val = jQuery( this ).data( 'val' );
98
  var checkbox = jQuery( "#" + prefix + "_agree_with_pp" );
99
 
101
  return false;
102
  }
103
 
104
+ jQuery( ".tenweb-deactivate-popup-opacity-" + prefix ).show();
105
+ if ( jQuery( this ).hasClass( "tenweb-clicked" ) == false ) {
106
+ jQuery( this ).addClass( "tenweb-clicked" );
107
  jQuery( "[name=" + prefix + "_submit_and_deactivate]" ).val( jQuery( this ).attr( "data-val" ) );
108
  jQuery( "#" + prefix + "_deactivate_form" ).submit();
109
  }
110
  return false;
111
  } );
112
 
113
+ jQuery( document ).on( "click", ".tenweb-" + prefix + "-cancel, .tenweb-opacity, .tenweb-deactivate-popup-close-btn", function () {
114
+ jQuery( ".tenweb-" + prefix + "-opacity" ).hide();
115
+ jQuery( ".tenweb-" + prefix + "-deactivate-popup" ).hide();
116
  reset_popup();
117
 
118
  return false;
120
 
121
  function reset_popup() {
122
  jQuery( "." + prefix + "_additional_details_wrap" ).html( "" );
123
+ jQuery( ".tenweb-" + prefix + "-deactivate-popup" ).removeClass( "tenweb-popup-active1 tenweb-popup-active2 tenweb-popup-active4" );
124
 
125
+ jQuery( "#tenweb-" + prefix + "-submit-and-deactivate" ).hide();
126
  jQuery( '#' + prefix + '_deactivate_form input[name="' + prefix + '_reasons' + '"]' ).prop( 'checked', false );
127
  }
128
 
wd/assets/js/overview.js CHANGED
@@ -1,56 +1,16 @@
1
- ////////////////////////////////////////////////////////////////////////////////////////
2
- // Events //
3
- ////////////////////////////////////////////////////////////////////////////////////////
4
- ////////////////////////////////////////////////////////////////////////////////////////
5
- // Constants //
6
- ////////////////////////////////////////////////////////////////////////////////////////
7
- ////////////////////////////////////////////////////////////////////////////////////////
8
- // Variables //
9
- ////////////////////////////////////////////////////////////////////////////////////////
10
- ////////////////////////////////////////////////////////////////////////////////////////
11
- // Constructor & Destructor //
12
- ////////////////////////////////////////////////////////////////////////////////////////
13
  jQuery(document).ready(function () {
14
- jQuery(".overview_content > div:not(#welcome)").hide();
15
- jQuery(".overview_tabs li a:not(.not_tab)").on("click", function(){
16
- jQuery(".overview_tabs li a").removeClass("overview_tab_active");
17
- jQuery(this).addClass("overview_tab_active");
18
- jQuery(".overview_content > div").hide();
19
- var id = jQuery(this).attr("href");
20
- jQuery(id).show();
21
- return false;
22
- });
23
-
24
- // rating
25
- // jQuery(".rating").each(function(){
26
- // var rate = jQuery(this).attr("data-rating");
27
- // jQuery("<span class='stars-container'>")
28
- // .addClass("stars-" + rate.toString())
29
- // .text("★★★★★")
30
- // .appendTo(jQuery(this));
31
- // jQuery("body").append('<style>.stars-' + rate.toString() + ':after{width:' + rate + '%;}</style>');
32
- // });
33
-
34
- jQuery("#wd-copy").on("click", function(){
35
- var selector = document.querySelector('#wd-site-deatils-textarea');
36
- selector.select();
37
- document.execCommand('copy');
38
-
39
- return false;
40
-
41
- });
42
-
43
  });
44
 
45
- ////////////////////////////////////////////////////////////////////////////////////////
46
- // Public Methods //
47
- ////////////////////////////////////////////////////////////////////////////////////////
48
- ////////////////////////////////////////////////////////////////////////////////////////
49
- // Getters & Setters //
50
- ////////////////////////////////////////////////////////////////////////////////////////
51
- ////////////////////////////////////////////////////////////////////////////////////////
52
- // Private Methods //
53
- ////////////////////////////////////////////////////////////////////////////////////////
54
- ////////////////////////////////////////////////////////////////////////////////////////
55
- // Listeners //
56
- ////////////////////////////////////////////////////////////////////////////////////////
1
+ jQuery(window).resize(function () {
2
+ tenWebOverviewResize();
3
+ });
 
 
 
 
 
 
 
 
 
4
  jQuery(document).ready(function () {
5
+ tenWebOverviewResize();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  });
7
 
8
+ function tenWebOverviewResize(){
9
+ if(jQuery(".tenweb_header_right").length){
10
+ if (matchMedia('only screen and (max-width: 840px)').matches) {
11
+ jQuery(".tenweb_header_right").after(jQuery(".tenweb_header_right .header_text"));
12
+ } else{
13
+ jQuery(".tenweb_header_right .button").before(jQuery(".tenweb_overview .inline-block.header_text"));
14
+ }
15
+ }
16
+ }
 
 
 
wd/config.php CHANGED
@@ -3,19 +3,18 @@
3
  exit;
4
  }
5
 
6
- class DoradoWebConfig {
7
  public static $instance;
8
 
9
  public $prefix = null;
10
- public $wd_plugin_id = null;
11
- public $plugin_title = null;
 
12
  public $plugin_wordpress_slug = null;
13
  public $plugin_dir = null;
14
  public $plugin_main_file = null;
15
  public $description = null;
16
  public $plugin_features = null;
17
- public $user_guide = null;
18
- public $overview_welcome_image = null;
19
  public $video_youtube_id = null;
20
  public $plugin_wd_url = null;
21
  public $plugin_wd_demo_link = null;
@@ -36,13 +35,17 @@
36
  public $custom_post = null;
37
  public $menu_capability = null;
38
  public $menu_position = null;
39
- public $start_using_url = null;
 
40
 
41
  public function set_options( $options ){
42
 
43
  if(isset( $options["prefix"] )) {
44
  $this->prefix = $options["prefix"];
45
  }
 
 
 
46
  if(isset( $options["wd_plugin_id"] )) {
47
  $this->wd_plugin_id = $options["wd_plugin_id"];
48
  }
@@ -65,23 +68,20 @@
65
  if(isset( $options["plugin_features"] )) {
66
  $this->plugin_features = $options["plugin_features"];
67
  }
68
- if(isset( $options["user_guide"] )) {
69
- $this->user_guide = $options["user_guide"];
70
- }
71
  if(isset( $options["video_youtube_id"] )) {
72
  $this->video_youtube_id = $options["video_youtube_id"];
73
  }
74
- if(isset( $options["overview_welcome_image"] )) {
75
- $this->overview_welcome_image = $options["overview_welcome_image"];
76
- }
77
  if(isset( $options["plugin_wd_url"] )) {
78
  $this->plugin_wd_url = $options["plugin_wd_url"];
79
  }
80
  if(isset( $options["plugin_wd_demo_link"] )) {
81
  $this->plugin_wd_demo_link = $options["plugin_wd_demo_link"];
82
- }
83
- if(isset( $options["plugin_wd_addons_link"] )) {
84
- $this->plugin_wd_addons_link = $options["plugin_wd_addons_link"];
 
 
 
85
  }
86
  if(isset( $options["plugin_wizard_link"] )) {
87
  $this->plugin_wizard_link = $options["plugin_wizard_link"];
@@ -110,10 +110,12 @@
110
  if(isset( $options["menu_position"] )) {
111
  $this->menu_position = $options["menu_position"];
112
  }
113
- if(isset( $options["start_using_url"] )) {
114
- $this->start_using_url = $options["start_using_url"];
 
 
 
115
  }
116
-
117
  // directories
118
  $this->wd_dir = dirname( $this->plugin_main_file ) . '/wd';
119
  $this->wd_dir_includes = $this->wd_dir . '/includes';
3
  exit;
4
  }
5
 
6
+ class TenWebLibConfig {
7
  public static $instance;
8
 
9
  public $prefix = null;
10
+ public $plugin_id = null;
11
+ public $wd_plugin_id = null;
12
+ public $plugin_title = null;
13
  public $plugin_wordpress_slug = null;
14
  public $plugin_dir = null;
15
  public $plugin_main_file = null;
16
  public $description = null;
17
  public $plugin_features = null;
 
 
18
  public $video_youtube_id = null;
19
  public $plugin_wd_url = null;
20
  public $plugin_wd_demo_link = null;
35
  public $custom_post = null;
36
  public $menu_capability = null;
37
  public $menu_position = null;
38
+ public $overview_welcome_image = null;
39
+ public $display_overview = true;
40
 
41
  public function set_options( $options ){
42
 
43
  if(isset( $options["prefix"] )) {
44
  $this->prefix = $options["prefix"];
45
  }
46
+ if(isset( $options["plugin_id"] )) {
47
+ $this->plugin_id = $options["plugin_id"];
48
+ }
49
  if(isset( $options["wd_plugin_id"] )) {
50
  $this->wd_plugin_id = $options["wd_plugin_id"];
51
  }
68
  if(isset( $options["plugin_features"] )) {
69
  $this->plugin_features = $options["plugin_features"];
70
  }
 
 
 
71
  if(isset( $options["video_youtube_id"] )) {
72
  $this->video_youtube_id = $options["video_youtube_id"];
73
  }
 
 
 
74
  if(isset( $options["plugin_wd_url"] )) {
75
  $this->plugin_wd_url = $options["plugin_wd_url"];
76
  }
77
  if(isset( $options["plugin_wd_demo_link"] )) {
78
  $this->plugin_wd_demo_link = $options["plugin_wd_demo_link"];
79
+ }
80
+ if(isset( $options["plugin_wd_demo_link"] )) {
81
+ $this->plugin_wd_demo_link = $options["plugin_wd_demo_link"];
82
+ }
83
+ if(isset( $options["plugin_wd_docs_link"] )) {
84
+ $this->plugin_wd_docs_link = $options["plugin_wd_docs_link"];
85
  }
86
  if(isset( $options["plugin_wizard_link"] )) {
87
  $this->plugin_wizard_link = $options["plugin_wizard_link"];
110
  if(isset( $options["menu_position"] )) {
111
  $this->menu_position = $options["menu_position"];
112
  }
113
+ if(isset( $options["overview_welcome_image"] )) {
114
+ $this->overview_welcome_image = $options["overview_welcome_image"];
115
+ }
116
+ if(isset( $options["display_overview"] )) {
117
+ $this->display_overview = $options["display_overview"];
118
  }
 
119
  // directories
120
  $this->wd_dir = dirname( $this->plugin_main_file ) . '/wd';
121
  $this->wd_dir_includes = $this->wd_dir . '/includes';
wd/includes/api.php CHANGED
@@ -3,7 +3,7 @@
3
  exit;
4
  }
5
 
6
- class DoradoWebApi{
7
  ////////////////////////////////////////////////////////////////////////////////////////
8
  // Events //
9
  ////////////////////////////////////////////////////////////////////////////////////////
@@ -31,7 +31,7 @@
31
 
32
 
33
  public function get_remote_data( $id ) {
34
- $remote_data_path = DORADO_WEB_API_PLUGIN_DATA_PATH . '/' . $this->userhash;
35
  $request = wp_remote_get( ( str_replace( '_id_', $id, $remote_data_path ) ) );
36
 
37
  if ( !is_wp_error($request) || wp_remote_retrieve_response_code($request) === 200 ) {
3
  exit;
4
  }
5
 
6
+ class TenWebLibApi{
7
  ////////////////////////////////////////////////////////////////////////////////////////
8
  // Events //
9
  ////////////////////////////////////////////////////////////////////////////////////////
31
 
32
 
33
  public function get_remote_data( $id ) {
34
+ $remote_data_path = TEN_WEB_LIB_API_PLUGIN_DATA_PATH . '/' . $this->userhash;
35
  $request = wp_remote_get( ( str_replace( '_id_', $id, $remote_data_path ) ) );
36
 
37
  if ( !is_wp_error($request) || wp_remote_retrieve_response_code($request) === 200 ) {
wd/includes/deactivate.php CHANGED
@@ -1,179 +1,178 @@
1
  <?php
2
- if ( ! defined( 'ABSPATH' ) ) {
3
- exit;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  }
 
 
 
 
 
 
 
5
 
6
- class DoradoWebDeactivate{
7
- ////////////////////////////////////////////////////////////////////////////////////////
8
- // Events //
9
- ////////////////////////////////////////////////////////////////////////////////////////
10
- ////////////////////////////////////////////////////////////////////////////////////////
11
- // Constants //
12
- ////////////////////////////////////////////////////////////////////////////////////////
13
- ////////////////////////////////////////////////////////////////////////////////////////
14
- // Variables //
15
- ////////////////////////////////////////////////////////////////////////////////////////
16
- public $deactivate_reasons = array();
17
- public $config;
18
- // Reason IDs
19
- const REASON_PLUGIN_IS_HARD_TO_USE_TECHNICAL_PROBLEMS = "reason_plugin_is_hard_to_use_technical_problems";
20
- const REASON_FREE_VERSION_IS_LIMITED = "reason_free_version_limited";
21
- const REASON_PRO_EXPENSIVE = "reason_premium_expensive";
22
- const REASON_UPGRADING_TO_PAID_VERSION = "reason_upgrading_to_paid_version";
23
- const REASON_TEMPORARY_DEACTIVATION = "reason_temporary_deactivation";
24
-
25
- ////////////////////////////////////////////////////////////////////////////////////////
26
- // Constructor & Destructor //
27
- ////////////////////////////////////////////////////////////////////////////////////////
28
- public function __construct( $config = array() ) {
29
- $this->config = $config;
30
- $wd_options = $this->config;
31
-
32
- $this->deactivate_reasons = array(
33
- 1 => array(
34
- 'id' => self::REASON_PLUGIN_IS_HARD_TO_USE_TECHNICAL_PROBLEMS,
35
- 'text' => __( 'Technical problems / hard to use', $wd_options->prefix ),
36
- ),
37
- 2 => array(
38
- 'id' => self::REASON_FREE_VERSION_IS_LIMITED,
39
- 'text' => __( 'Free version is limited', $wd_options->prefix ),
40
- ),
41
- 3 => array(
42
- 'id' => self::REASON_PRO_EXPENSIVE,
43
- 'text' => __( 'Premium is expensive', $wd_options->prefix ),
44
- ),
45
- 4 => array(
46
- 'id' => self::REASON_UPGRADING_TO_PAID_VERSION,
47
- 'text' => __( 'Upgrading to paid version', $wd_options->prefix ),
48
- ),
49
- 5 => array(
50
- 'id' => self::REASON_TEMPORARY_DEACTIVATION,
51
- 'text' => __( 'Temporary deactivation', $wd_options->prefix ),
52
- ),
53
- );
54
-
55
- add_action( 'admin_footer', array( $this, 'add_deactivation_feedback_dialog_box' ) );
56
- add_action( 'admin_init', array( $this, 'submit_and_deactivate' ) );
57
-
58
-
59
- add_action( 'admin_enqueue_scripts', array( $this, 'scripts' ) );
60
-
61
-
62
-
63
 
64
- }
65
- ////////////////////////////////////////////////////////////////////////////////////////
66
- // Public Methods //
67
- ////////////////////////////////////////////////////////////////////////////////////////
68
- public function add_deactivation_feedback_dialog_box(){
69
- $deactivate_reasons = $this->deactivate_reasons;
70
- $wd_options = $this->config;
71
-
72
- ?>
73
- <script>
74
- jQuery(document).ready(function () {
75
- wdReady("<?php echo $wd_options->prefix; ?>");
76
- });
77
- </script>
78
- <?php
79
-
80
- $deactivate_url =
81
- add_query_arg(
82
- array(
83
- 'action' => 'deactivate',
84
- 'plugin' => plugin_basename( $wd_options->plugin_main_file ),
85
- '_wpnonce' => wp_create_nonce( 'deactivate-plugin_' . plugin_basename( $wd_options->plugin_main_file ) )
86
- ),
87
- admin_url( 'plugins.php' )
88
- );
89
-
90
- require ( $wd_options->wd_dir_templates . '/display_deactivation_popup.php' );
91
- }
92
-
93
-
94
-
95
- public function scripts(){
96
- $wd_options = $this->config;
97
- wp_enqueue_style( 'wd-deactivate-popup', $wd_options->wd_url_css . '/deactivate_popup.css', array(), get_option($wd_options->prefix . "_version" ) );
98
- wp_enqueue_script( 'wd-deactivate-popup', $wd_options->wd_url_js . '/deactivate_popup.js', array(), get_option($wd_options->prefix . "_version" ));
99
-
100
- $admin_data = wp_get_current_user();
101
- wp_localize_script( 'wd-deactivate-popup', $wd_options->prefix . 'WDDeactivateVars' , array(
102
- "prefix" => $wd_options->prefix ,
103
- "deactivate_class" => $wd_options->prefix . '_deactivate_link',
104
- "email" => $admin_data->data->user_email,
105
- "plugin_wd_url" => $wd_options->plugin_wd_url,
106
- ));
107
-
108
-
109
- }
110
- public function submit_and_deactivate(){
111
- $wd_options = $this->config;
112
- if( isset( $_POST[$wd_options->prefix . "_submit_and_deactivate"] ) ){
113
-
114
- if( $_POST[$wd_options->prefix . "_submit_and_deactivate"] == 2 || $_POST[$wd_options->prefix . "_submit_and_deactivate"] == 3 ){
115
- $api = new DoradoWebApi( $wd_options );
116
- $hash = $api->get_hash();
117
- if($hash != null){
118
- $data = array();
119
-
120
- $data["reason"] = isset($_POST[$wd_options->prefix . "_reasons"]) ? $_POST[$wd_options->prefix . "_reasons"] : "";
121
- $data["site_url"] = site_url();
122
- $data["plugin_id"] = $wd_options->wd_plugin_id;
123
-
124
- $data["additional_details"] = isset($_POST[$wd_options->prefix . "_additional_details"]) ? $_POST[$wd_options->prefix . "_additional_details"] : "";
125
- $admin_data = wp_get_current_user();
126
- $data["email"] = isset($_POST[$wd_options->prefix . "_email"]) ? $_POST[$wd_options->prefix . "_email"] : $admin_data->data->user_email;
127
- $user_first_name = get_user_meta( $admin_data->ID, "first_name", true );
128
- $user_last_name = get_user_meta( $admin_data->ID, "last_name", true );
129
-
130
- $data["name"] = $user_first_name || $user_last_name ? $user_first_name . " " . $user_last_name : $admin_data->data->user_login;
131
- $data["hash"] = $hash;
132
- $response = wp_remote_post( "https://api.web-dorado.com/deactivatereasons", array(
133
- 'method' => 'POST',
134
- 'timeout' => 45,
135
- 'redirection' => 5,
136
- 'httpversion' => '1.0',
137
- 'blocking' => true,
138
- 'headers' => array(),
139
- 'body' => json_encode($data),
140
- 'cookies' => array()
141
- )
142
- );
143
-
144
- $response_body = (!is_wp_error($response) && isset( $response["body"] )) ? json_decode( $response["body"], true ) : null;
145
- if( is_array( $response_body ) && $response_body["body"]["msg"] == "Access" ) {
146
-
147
- }
148
- }
149
- }
150
- if($_POST[$wd_options->prefix . "_submit_and_deactivate"] == 2 || $_POST[$wd_options->prefix . "_submit_and_deactivate"] == 1 ){
151
- $deactivate_url =
152
- add_query_arg(
153
- array(
154
- 'action' => 'deactivate',
155
- 'plugin' => plugin_basename( $wd_options->plugin_main_file ),
156
- '_wpnonce' => wp_create_nonce( 'deactivate-plugin_' . plugin_basename( $wd_options->plugin_main_file ) )
157
- ),
158
- admin_url( 'plugins.php' )
159
- );
160
- echo '<script>window.location.href="' . $deactivate_url . '";</script>';
161
- }
162
-
163
- }
164
- }
165
-
166
- ////////////////////////////////////////////////////////////////////////////////////////
167
- // Getters & Setters //
168
- ////////////////////////////////////////////////////////////////////////////////////////
169
- ////////////////////////////////////////////////////////////////////////////////////////
170
- // Private Methods //
171
- ////////////////////////////////////////////////////////////////////////////////////////
172
-
173
- ////////////////////////////////////////////////////////////////////////////////////////
174
- // Listeners //
175
- ////////////////////////////////////////////////////////////////////////////////////////
176
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
177
  }
178
 
 
 
 
 
 
 
 
 
 
 
 
 
 
179
 
1
  <?php
2
+ if (!defined('ABSPATH')) {
3
+ exit;
4
+ }
5
+
6
+ class TenWebLibDeactivate
7
+ {
8
+ ////////////////////////////////////////////////////////////////////////////////////////
9
+ // Events //
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ ////////////////////////////////////////////////////////////////////////////////////////
12
+ // Constants //
13
+ ////////////////////////////////////////////////////////////////////////////////////////
14
+ ////////////////////////////////////////////////////////////////////////////////////////
15
+ // Variables //
16
+ ////////////////////////////////////////////////////////////////////////////////////////
17
+ public $deactivate_reasons = array();
18
+ public $config;
19
+ // Reason IDs
20
+ const REASON_PLUGIN_IS_HARD_TO_USE_TECHNICAL_PROBLEMS = "reason_plugin_is_hard_to_use_technical_problems";
21
+ const REASON_FREE_VERSION_IS_LIMITED = "reason_free_version_limited";
22
+ const REASON_PRO_EXPENSIVE = "reason_premium_expensive";
23
+ const REASON_UPGRADING_TO_PAID_VERSION = "reason_upgrading_to_paid_version";
24
+ const REASON_TEMPORARY_DEACTIVATION = "reason_temporary_deactivation";
25
+
26
+ ////////////////////////////////////////////////////////////////////////////////////////
27
+ // Constructor & Destructor //
28
+ ////////////////////////////////////////////////////////////////////////////////////////
29
+ public function __construct($config = array())
30
+ {
31
+ $this->config = $config;
32
+ $wd_options = $this->config;
33
+
34
+ $this->deactivate_reasons = array(
35
+ 1 => array(
36
+ 'id' => self::REASON_PLUGIN_IS_HARD_TO_USE_TECHNICAL_PROBLEMS,
37
+ 'text' => __('Technical problems / hard to use', $wd_options->prefix),
38
+ ),
39
+ 2 => array(
40
+ 'id' => self::REASON_FREE_VERSION_IS_LIMITED,
41
+ 'text' => __('Free version is limited', $wd_options->prefix),
42
+ ),
43
+ 3 => array(
44
+ 'id' => self::REASON_UPGRADING_TO_PAID_VERSION,
45
+ 'text' => __('Upgrading to paid version', $wd_options->prefix),
46
+ ),
47
+ 4 => array(
48
+ 'id' => self::REASON_TEMPORARY_DEACTIVATION,
49
+ 'text' => __('Temporary deactivation', $wd_options->prefix),
50
+ ),
51
+ );
52
+
53
+ add_action('admin_footer', array($this, 'add_deactivation_feedback_dialog_box'));
54
+ add_action('admin_init', array($this, 'submit_and_deactivate'));
55
+
56
+
57
+ // add_action('admin_enqueue_scripts', array($this, 'scripts'));
58
+ // Just enqueue styles/scripts and they will be in the footer.
59
+ $this->scripts();
60
+
61
  }
62
+ ////////////////////////////////////////////////////////////////////////////////////////
63
+ // Public Methods //
64
+ ////////////////////////////////////////////////////////////////////////////////////////
65
+ public function add_deactivation_feedback_dialog_box()
66
+ {
67
+ $deactivate_reasons = $this->deactivate_reasons;
68
+ $wd_options = $this->config;
69
 
70
+ ?>
71
+ <script>
72
+ jQuery(document).ready(function () {
73
+ tenwebReady("<?php echo $wd_options->prefix; ?>");
74
+ });
75
+ </script>
76
+ <?php
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
77
 
78
+ $deactivate_url =
79
+ add_query_arg(
80
+ array(
81
+ 'action' => 'deactivate',
82
+ 'plugin' => plugin_basename($wd_options->plugin_main_file),
83
+ '_wpnonce' => wp_create_nonce('deactivate-plugin_' . plugin_basename($wd_options->plugin_main_file))
84
+ ),
85
+ admin_url('plugins.php')
86
+ );
87
+
88
+ require($wd_options->wd_dir_templates . '/display_deactivation_popup.php');
89
+ }
90
+
91
+
92
+ public function scripts()
93
+ {
94
+ $wd_options = $this->config;
95
+ wp_enqueue_style('tenweb-deactivate-popup', $wd_options->wd_url_css . '/deactivate_popup.css', array(), get_option($wd_options->prefix . "_version"));
96
+ wp_enqueue_script('tenweb-deactivate-popup', $wd_options->wd_url_js . '/deactivate_popup.js', array(), get_option($wd_options->prefix . "_version"));
97
+
98
+ $admin_data = wp_get_current_user();
99
+ wp_localize_script('tenweb-deactivate-popup', $wd_options->prefix . 'WDDeactivateVars', array(
100
+ "prefix" => $wd_options->prefix,
101
+ "deactivate_class" => $wd_options->prefix . '_deactivate_link',
102
+ "email" => $admin_data->data->user_email,
103
+ "plugin_wd_url" => $wd_options->plugin_wd_url,
104
+ ));
105
+
106
+
107
+ }
108
+
109
+ public function submit_and_deactivate()
110
+ {
111
+ $wd_options = $this->config;
112
+ if (isset($_POST[$wd_options->prefix . "_submit_and_deactivate"])) {
113
+
114
+ if ($_POST[$wd_options->prefix . "_submit_and_deactivate"] == 2 || $_POST[$wd_options->prefix . "_submit_and_deactivate"] == 3) {
115
+ //$api = new TenWebLibApi( $wd_options );
116
+
117
+ $data = array();
118
+
119
+ $data["reason"] = isset($_POST[$wd_options->prefix . "_reasons"]) ? $_POST[$wd_options->prefix . "_reasons"] : "";
120
+ $data["site_url"] = site_url();
121
+ $data["product_id"] = $wd_options->plugin_id;
122
+
123
+ $data["additional_details"] = isset($_POST[$wd_options->prefix . "_additional_details"]) ? $_POST[$wd_options->prefix . "_additional_details"] : "";
124
+ $admin_data = wp_get_current_user();
125
+ $data["email"] = isset($_POST[$wd_options->prefix . "_email"]) ? $_POST[$wd_options->prefix . "_email"] : $admin_data->data->user_email;
126
+ $user_first_name = get_user_meta($admin_data->ID, "first_name", true);
127
+ $user_last_name = get_user_meta($admin_data->ID, "last_name", true);
128
+
129
+ $data["name"] = $user_first_name || $user_last_name ? $user_first_name . " " . $user_last_name : $admin_data->data->user_login;
130
+
131
+ $response = wp_remote_post(TEN_WEB_LIB_DEACTIVATION_URL, array(
132
+ 'method' => 'POST',
133
+ 'timeout' => 45,
134
+ 'redirection' => 5,
135
+ 'httpversion' => '1.0',
136
+ 'blocking' => true,
137
+ 'headers' => array("Accept" => "application/x.10webcore.v1+json"),
138
+ 'body' => $data,
139
+ 'cookies' => array()
140
+ )
141
+ );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
142
 
143
+ $response_body = (!is_wp_error($response) && isset($response["body"])) ? json_decode($response["body"], true) : null;
144
+ /*if (is_array($response_body) && $response_body["body"]["msg"] == "Access") {
145
+
146
+ }*/
147
+
148
+ }
149
+ if ($_POST[$wd_options->prefix . "_submit_and_deactivate"] == 2 || $_POST[$wd_options->prefix . "_submit_and_deactivate"] == 1) {
150
+ $deactivate_url =
151
+ add_query_arg(
152
+ array(
153
+ 'action' => 'deactivate',
154
+ 'plugin' => plugin_basename($wd_options->plugin_main_file),
155
+ '_wpnonce' => wp_create_nonce('deactivate-plugin_' . plugin_basename($wd_options->plugin_main_file))
156
+ ),
157
+ admin_url('plugins.php')
158
+ );
159
+ echo '<script>window.location.href="' . $deactivate_url . '";</script>';
160
+ }
161
+
162
+ }
163
  }
164
 
165
+ ////////////////////////////////////////////////////////////////////////////////////////
166
+ // Getters & Setters //
167
+ ////////////////////////////////////////////////////////////////////////////////////////
168
+ ////////////////////////////////////////////////////////////////////////////////////////
169
+ // Private Methods //
170
+ ////////////////////////////////////////////////////////////////////////////////////////
171
+
172
+ ////////////////////////////////////////////////////////////////////////////////////////
173
+ // Listeners //
174
+ ////////////////////////////////////////////////////////////////////////////////////////
175
+
176
+ }
177
+
178
 
wd/includes/notices.php CHANGED
@@ -3,7 +3,7 @@ if ( !defined( 'ABSPATH' ) ) {
3
  exit;
4
  }
5
 
6
- class DoradoWebNotices {
7
 
8
  protected $promo_link = '';
9
 
3
  exit;
4
  }
5
 
6
+ class TenWebLibNotices {
7
 
8
  protected $promo_link = '';
9
 
wd/includes/overview.php CHANGED
@@ -3,7 +3,7 @@
3
  exit;
4
  }
5
 
6
- class DoradoWebOverview{
7
  ////////////////////////////////////////////////////////////////////////////////////////
8
  // Events //
9
  ////////////////////////////////////////////////////////////////////////////////////////
@@ -14,50 +14,19 @@
14
  // Variables //
15
  ////////////////////////////////////////////////////////////////////////////////////////
16
  public $config ;
17
- private $tabs = array();
18
 
19
  ////////////////////////////////////////////////////////////////////////////////////////
20
  // Constructor & Destructor //
21
  ////////////////////////////////////////////////////////////////////////////////////////
22
  public function __construct( $config = array() ) {
23
  $this->config = $config;
24
- $wd_options = $this->config;
25
- $this->tabs = array(
26
- 'welcome' => array(
27
- 'name' => __( "Welcome", $wd_options->prefix ),
28
- 'view' => array( $this, 'wd_overview_welcome' )
29
- ),
30
- 'user_guide' => array(
31
- 'name' => __( "User Guide", $wd_options->prefix ),
32
- 'view' => array( $this, 'wd_overview_user_guide' )
33
- ),
34
- 'deals' => array(
35
- 'name' => __( 'Deals', $wd_options->prefix ),
36
- 'view' => array( $this, 'wd_overview_deals' )
37
- ),
38
- 'support' => array(
39
- 'name' => __( "Support", $wd_options->prefix ),
40
- 'view' => array( $this, 'wd_overview_support' )
41
- ),
42
- 'https://web-dorado.com/support/submit-your-idea.html' => array(
43
- 'name' => __( "Submit Your Idea", $wd_options->prefix ),
44
- 'view' => false
45
- ),
46
- 'https://wordpress.org/support/plugin/' . $wd_options->plugin_wordpress_slug => array(
47
- 'name' => __( "Forum", $wd_options->prefix ),
48
- 'view' => false
49
- )
50
- );
51
-
52
-
53
-
54
  }
55
  ////////////////////////////////////////////////////////////////////////////////////////
56
  // Public Methods //
57
  ////////////////////////////////////////////////////////////////////////////////////////
58
  public function display_overview_page(){
59
  $wd_options = $this->config;
60
- $tabs = $this->tabs;
61
  $start_using_url = "";
62
  if(!empty($this->config->custom_post)) {
63
  if (strpos($this->config->custom_post, 'post_type', 0) !== false) {
@@ -66,209 +35,9 @@
66
  $start_using_url = menu_page_url($this->config->custom_post, false);
67
  }
68
  }
69
- if(!empty($this->config->start_using_url)){
70
- $start_using_url = $this->config->start_using_url;
71
- }
72
  require_once( $wd_options->wd_dir_templates . "/display_overview.php" );
73
  }
74
- public function wd_overview_welcome(){
75
- $wd_options = $this->config;
76
- //http://api.wordpress.org/plugins/info/1.0/wd-google-maps
77
- require_once( $wd_options->wd_dir_templates . "/display_overview_welcome.php" );
78
- }
79
- public function wd_overview_user_guide(){
80
- $wd_options = $this->config;
81
- $user_guide = $wd_options->user_guide;
82
- require_once( $wd_options->wd_dir_templates . "/display_overview_user_guide.php" );
83
- }
84
- public function wd_overview_deals(){
85
-
86
- $wd_options = $this->config;
87
- $plugins = array(
88
- "form-maker" => array(
89
- 'title' => 'Form Maker',
90
- 'text' => __( 'Wordpress form builder plugin', $wd_options->prefix ),
91
- 'content' => __( 'Form Maker is a modern and advanced tool for creating WordPress forms easily and fast.', $wd_options->prefix ),
92
- 'href' => 'https://web-dorado.com/files/fromFormMaker.php'
93
- ),
94
- "photo-gallery" => array(
95
- 'title' => 'Photo Gallery',
96
- 'text' => __( 'WordPress Photo Gallery plugin', $wd_options->prefix ),
97
- 'content' => __( 'Photo Gallery is a fully responsive WordPress Gallery plugin with advanced functionality.', $wd_options->prefix ),
98
- 'href' => 'https://web-dorado.com/products/wordpress-photo-gallery-plugin.html'
99
- ),
100
- "event-calendar-wd" => array(
101
- 'title' => 'Event Calendar WD',
102
- 'text' => __( 'WordPress calendar plugin', $wd_options->prefix ),
103
- 'content' => __( 'Organize and publish your events in an easy and elegant way using Event Calendar WD.', $wd_options->prefix ),
104
- 'href' => 'https://web-dorado.com/products/wordpress-event-calendar-wd.html'
105
- ),
106
- "wd-google-maps" => array(
107
- 'title' => 'WD Google Maps',
108
- 'text' => __( 'WD Google Maps plugin', $wd_options->prefix ),
109
- 'content' => __( 'Google Maps WD is an intuitive tool for creating Google maps with advanced markers, custom layers and overlays for your website.', $wd_options->prefix ),
110
- 'href' => 'https://web-dorado.com/products/wordpress-google-maps-plugin.html'
111
- ),
112
- "slider-wd" => array(
113
- 'title' => 'Slider WD',
114
- 'text' => __( 'WordPress slider plugin', $wd_options->prefix ),
115
- 'content' => __( 'Create responsive, highly configurable sliders with various effects for your WordPress site.', $wd_options->prefix ),
116
- 'href' => 'https://web-dorado.com/products/wordpress-slider-plugin.html'
117
- ),
118
- "spider-event-calendar" => array(
119
- 'title' => 'Spider Calendar',
120
- 'text' => __( 'WordPress event calendar plugin', $wd_options->prefix ),
121
- 'content' => __( 'Spider Event Calendar is a highly configurable product which allows you to have multiple organized events.', $wd_options->prefix ),
122
- 'href' => 'https://web-dorado.com/products/wordpress-calendar.html'
123
- ),
124
- "wd-instagram-feed" => array(
125
- 'title' => 'Instagram Feed WD',
126
- 'text' => __( 'WordPress Instagram Feed plugin', $wd_options->prefix ),
127
- 'content' => __( 'WD Instagram Feed is a user-friendly tool for displaying user or hashtag-based feeds on your website.', $wd_options->prefix ),
128
- 'href' => 'https://web-dorado.com/products/wordpress-instagram-feed-wd.html'
129
- ),
130
- );
131
- unset($plugins[$wd_options->plugin_wordpress_slug]) ;
132
-
133
- // foreach ( $plugins as $wp_slug => &$plugin ){
134
- // $wp_data = $this->
135
- //remote_get($wp_slug);
136
- // $plugin["downloaded"] = $wp_data["downloaded"];
137
- // $plugin["rating"] = $wp_data["rating"];
138
- // }
139
-
140
- $themes = array(
141
- "business_elite" => array(
142
- 'title' => 'Business Elite Theme',
143
- 'href' => 'https://web-dorado.com/wordpress-themes/business-elite.html'
144
- ),
145
- "portfolio_gallery" => array(
146
- 'title' => 'Portfolio Gallery Theme',
147
- 'href' => 'https://web-dorado.com/wordpress-themes/portfolio-gallery.html'
148
- ),
149
- "sauron" => array(
150
- 'title' => 'Sauron Theme',
151
- 'href' => 'https://web-dorado.com/wordpress-themes/sauron.html'
152
- ),
153
- "business_world" => array(
154
- 'title' => 'Business World Theme',
155
- 'href' => 'https://web-dorado.com/wordpress-themes/business-world.html'
156
- ),
157
- );
158
-
159
- require_once( $wd_options->wd_dir_templates . "/display_overview_deals.php" );
160
- }
161
- public function wd_overview_support(){
162
- $wd_options = $this->config;
163
- global $wpdb;
164
- $server_info = array();
165
-
166
- // Get PHP Version
167
- $server_info["Operating System"] = PHP_OS . " (" . ( PHP_INT_SIZE * 8 ) . ")";
168
- $server_info["PHP Version"] = PHP_VERSION;
169
- $server_info["Server"] = $_SERVER["SERVER_SOFTWARE"];
170
-
171
- // Get MYSQL Version
172
- $sql_version = $wpdb->get_var( "SELECT VERSION() AS version" );
173
- $server_info["MySQL Version"] = $sql_version;
174
-
175
- // GET SQL Mode
176
- $mysqlinfo = $wpdb->get_results( "SHOW VARIABLES LIKE 'sql_mode'" );
177
- if ( is_array( $mysqlinfo ) )
178
- $sql_mode = $mysqlinfo[0]->Value;
179
- if ( empty( $sql_mode ) )
180
- $sql_mode = __( 'Not set', $wd_options->prefix );
181
- $server_info["SQL Mode"] = $sql_mode;
182
-
183
- // Get PHP allow_url_fopen
184
- if( ini_get( 'allow_url_fopen' ) )
185
- $allow_url_fopen = __( 'On', $wd_options->prefix );
186
- else
187
- $allow_url_fopen = __( 'Off', $wd_options->prefix );
188
- $server_info["PHP Allow URL fopen"] = $allow_url_fopen;
189
-
190
- // Get PHP Max Upload Size
191
- if (function_exists('wp_max_upload_size'))
192
- $upload_max = strval(round((int) wp_max_upload_size() / (1024 * 1024))) . 'M';
193
- else if(ini_get('upload_max_filesize'))
194
- $upload_max = ini_get('upload_max_filesize');
195
- else
196
- $upload_max = __('N/A', $wd_options->prefix);
197
-
198
- $server_info["PHP Max Upload Size"] = $upload_max;
199
-
200
- // Get PHP Output buffer Size
201
- if( ini_get( 'pcre.backtrack_limit' ) )
202
- $backtrack_limit = ini_get( 'pcre.backtrack_limit' );
203
- else
204
- $backtrack_limit = __( 'N/A', $wd_options->prefix );
205
- $server_info["PCRE Backtracking Limit"] = $backtrack_limit;
206
-
207
- // Get PHP Max Post Size
208
- if( ini_get( 'post_max_size' ) )
209
- $post_max = ini_get( 'post_max_size' );
210
- else
211
- $post_max = __( 'N/A', $wd_options->prefix );
212
- $server_info["PHP Max Post Size"] = $post_max;
213
-
214
- // Get PHP Max execution time
215
- if( ini_get( 'max_execution_time' ) )
216
- $max_execute = ini_get( 'max_execution_time' );
217
- else
218
- $max_execute = __( 'N/A', $wd_options->prefix );
219
- $server_info["PHP Max Script Execute Time"] = $max_execute;
220
-
221
-
222
- // Get PHP Memory Limit
223
- if( ini_get( 'memory_limit' ) )
224
- $memory_limit = ini_get( 'memory_limit' );
225
- else
226
- $memory_limit = __( 'N/A', $wd_options->prefix );
227
- $server_info["PHP Memory Limit"] = $memory_limit;
228
-
229
- // Get actual memory_get_usage
230
- if ( function_exists( 'memory_get_usage' ) )
231
- $memory_usage = round( memory_get_usage() / 1024 / 1024, 2 ) . __( ' MByte', $wd_options->prefix );
232
- else
233
- $memory_usage = __( 'N/A', $wd_options->prefix );
234
- $server_info["Memory usage"] = $memory_usage;
235
-
236
- // required for EXIF read
237
- if ( is_callable( 'exif_read_data' ) )
238
- $exif = __( 'Yes', $wd_options->prefix ). " (V" . substr( phpversion( 'exif' ), 0, 4 ) . ")" ;
239
- else
240
- $exif = __( 'No', $wd_options->prefix );
241
- $server_info["PHP Exif support"] = $exif;
242
-
243
- // required for meta data
244
- if ( is_callable( 'iptcparse' ) )
245
- $iptc = __( 'Yes', $wd_options->prefix );
246
- else
247
- $iptc = __( 'No', $wd_options->prefix );
248
- $server_info["PHP IPTC support"] = $iptc;
249
-
250
- // required for meta data
251
- if ( is_callable( 'xml_parser_create' ) )
252
- $xml = __( 'Yes', $wd_options->prefix );
253
- else
254
- $xml = __( 'No', $wd_options->prefix );
255
- $server_info["PHP XML support"] = $xml;
256
-
257
- $gd_info = array( "GD support" => __( 'No', $wd_options->prefix ) );
258
- if( function_exists( "gd_info" ) ){
259
- $gd_info = array();
260
- foreach( gd_info() as $key => $val ){
261
- if( is_bool($val) ){
262
- $gd_info[$key] = $val ? __( 'Yes', $wd_options->prefix ) : __( 'No', $wd_options->prefix );
263
- }
264
- else{
265
- $gd_info[$key] = $val;
266
- }
267
- }
268
- }
269
-
270
- require_once( $wd_options->wd_dir_templates . "/display_overview_support.php" );
271
- }
272
 
273
  public function overview_styles() {
274
  $wd_options = $this->config;
3
  exit;
4
  }
5
 
6
+ class TenWebLibOverview{
7
  ////////////////////////////////////////////////////////////////////////////////////////
8
  // Events //
9
  ////////////////////////////////////////////////////////////////////////////////////////
14
  // Variables //
15
  ////////////////////////////////////////////////////////////////////////////////////////
16
  public $config ;
 
17
 
18
  ////////////////////////////////////////////////////////////////////////////////////////
19
  // Constructor & Destructor //
20
  ////////////////////////////////////////////////////////////////////////////////////////
21
  public function __construct( $config = array() ) {
22
  $this->config = $config;
23
+ $wd_options = $this->config;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  }
25
  ////////////////////////////////////////////////////////////////////////////////////////
26
  // Public Methods //
27
  ////////////////////////////////////////////////////////////////////////////////////////
28
  public function display_overview_page(){
29
  $wd_options = $this->config;
 
30
  $start_using_url = "";
31
  if(!empty($this->config->custom_post)) {
32
  if (strpos($this->config->custom_post, 'post_type', 0) !== false) {
35
  $start_using_url = menu_page_url($this->config->custom_post, false);
36
  }
37
  }
 
 
 
38
  require_once( $wd_options->wd_dir_templates . "/display_overview.php" );
39
  }
40
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
41
 
42
  public function overview_styles() {
43
  $wd_options = $this->config;
wd/includes/subscribe.php CHANGED
@@ -1,127 +1,124 @@
1
  <?php
2
- if ( ! defined( 'ABSPATH' ) ) { exit; }
3
- class DoradoWebSubscribe {
4
-
5
- public $config;
6
-
7
- public function __construct( $config = array() ){
8
- $this->config = $config;
9
- add_action( 'admin_init', array( $this, 'after_subscribe' ) );
10
- }
11
-
12
- public function subscribe_scripts() {
13
- $wd_options = $this->config;
14
- wp_register_script ( 'subscribe_js', $wd_options->wd_url_js . '/subsribe.js' );
15
- wp_enqueue_script ( 'subscribe_js' );
16
- }
17
-
18
- public function subscribe_styles() {
19
- $wd_options = $this->config;
20
- wp_enqueue_style( $wd_options->prefix . 'subscribe', $wd_options->wd_url_css . '/subscribe.css' );
21
- }
22
-
23
- public function subscribe_display_page() {
24
- $wd_options = $this->config;
25
- $list = array(
26
- 0 => array(
27
- "title" => __( "Your name &", $wd_options->prefix ),
28
- "small_text" => __( "Email address", $wd_options->prefix ),
29
- "img" => $wd_options->wd_url_img . '/sub_1.png',
30
- ),
31
- 1 => array(
32
- "title" => __( "Site URL", $wd_options->prefix ),
33
- "small_text" => __( "Wordpress version", $wd_options->prefix ),
34
- "img" => $wd_options->wd_url_img . '/sub_2.png',
35
- ),
36
- 2 => array(
37
- "title" => __( "List of plugins", $wd_options->prefix ),
38
- "small_text" => "",
39
- "img" => $wd_options->wd_url_img . '/sub_4.png',
40
- )
41
- );
42
-
43
- require_once ( $wd_options->wd_dir_templates . "/display_subscribe.php" );
44
- }
45
-
46
- public function after_subscribe() {
47
- $wd_options = $this->config;
48
- if ( isset( $_GET[ $wd_options->prefix . "_sub_action"] ) ) {
49
- if ( $_GET[$wd_options->prefix . "_sub_action"] == "allow" ) {
50
- try {
51
- $api = new DoradoWebApi($wd_options);
52
- if ( empty($api) ) {
53
- throw new Exception('Error: Not Dorado Web Api');
54
- }
55
-
56
- $hash = $api->get_hash();
57
-
58
- if ( empty($hash) ) {
59
- throw new Exception('Error: Not get hash method');
60
- }
61
-
62
- if ( !empty($hash) ) {
63
- $all_plugins = array();
64
- $plugins = get_plugins();
65
- foreach ( $plugins as $slug => $data ) {
66
- $plugin = array(
67
- "Name" => $data["Name"],
68
- "PluginURI" => $data["PluginURI"],
69
- "Author" => $data["Author"],
70
- "AuthorURI" => $data["AuthorURI"]
71
- );
72
- $all_plugins[$slug] = $plugin;
73
- }
74
-
75
- $data = array();
76
- $data["site_url"] = site_url();
77
-
78
- $admin_data = wp_get_current_user();
79
-
80
- $user_first_name = get_user_meta( $admin_data->ID, "first_name", true );
81
- $user_last_name = get_user_meta( $admin_data->ID, "last_name", true );
82
-
83
- $data["name"] = $user_first_name || $user_last_name ? $user_first_name . " " . $user_last_name : $admin_data->data->user_login;
84
- $data["email"] = $admin_data->data->user_email;
85
- $data["wp_version"] = get_bloginfo( 'version' );
86
- $data["plugin_id"] = $wd_options->wd_plugin_id;
87
- $data["hash"] = $hash;
88
- $data["all_plugins"] = $all_plugins;
89
-
90
- $response = wp_remote_post( "https://api.web-dorado.com/collectuserdata", array(
91
- 'method' => 'POST',
92
- 'timeout' => 45,
93
- 'redirection' => 5,
94
- 'httpversion' => '1.0',
95
- 'blocking' => true,
96
- 'headers' => array(),
97
- 'body' => json_encode($data),
98
- 'cookies' => array()
99
- )
100
- );
101
-
102
- $response_body = (!is_wp_error($response) && isset( $response["body"] )) ? json_decode( $response["body"], true ) : null;
103
-
104
- if ( $response_body == null ) {
105
- throw new Exception('Error: Not remote post');
106
- }
107
-
108
- if( is_array( $response_body ) && $response_body["body"]["msg"] == "Access" ) {
109
- // code
110
- }
111
- }
112
- }
113
- catch (Error $e) {
114
- update_option( $wd_options->prefix . "_subscribe_done", 1 );
115
- wp_safe_redirect($wd_options->after_subscribe);
116
- }
117
- catch (Exception $e) {
118
- update_option( $wd_options->prefix . "_subscribe_done", 1 );
119
- wp_safe_redirect($wd_options->after_subscribe);
120
- }
121
- }
122
-
123
- update_option( $wd_options->prefix . "_subscribe_done", 1 );
124
- wp_safe_redirect( $wd_options->after_subscribe );
125
- }
126
- }
127
  }
1
  <?php
2
+ if (!defined('ABSPATH')) {
3
+ exit;
4
+ }
5
+
6
+ class TenWebLibSubscribe
7
+ {
8
+ // //////////////////////////////////////////////////////////////////////////////////////
9
+ // Events //
10
+ // //////////////////////////////////////////////////////////////////////////////////////
11
+ // //////////////////////////////////////////////////////////////////////////////////////
12
+ // Constants //
13
+ // //////////////////////////////////////////////////////////////////////////////////////
14
+ // //////////////////////////////////////////////////////////////////////////////////////
15
+ // Variables //
16
+ // //////////////////////////////////////////////////////////////////////////////////////
17
+ public $config;
18
+ // //////////////////////////////////////////////////////////////////////////////////////
19
+ // Constructor & Destructor //
20
+ // //////////////////////////////////////////////////////////////////////////////////////
21
+ public function __construct($config = array())
22
+ {
23
+ $this->config = $config;
24
+ add_action('admin_init', array($this, 'after_subscribe'));
25
+ }
26
+ // //////////////////////////////////////////////////////////////////////////////////////
27
+ // Public Methods //
28
+ // //////////////////////////////////////////////////////////////////////////////////////
29
+
30
+ public function subscribe_scripts()
31
+ {
32
+ $wd_options = $this->config;
33
+ wp_register_script('subscribe_js', $wd_options->wd_url_js . '/subsribe.js');
34
+ wp_enqueue_script('subscribe_js');
35
+
36
+ }
37
+
38
+ public function subscribe_styles()
39
+ {
40
+ $wd_options = $this->config;
41
+ wp_enqueue_style($wd_options->prefix . 'subscribe', $wd_options->wd_url_css . '/subscribe.css');
42
+
43
+ }
44
+
45
+ public function subscribe_display_page()
46
+ {
47
+ $wd_options = $this->config;
48
+ require_once($wd_options->wd_dir_templates . "/display_subscribe.php");
49
+ }
50
+
51
+ public function after_subscribe()
52
+ {
53
+ $wd_options = $this->config;
54
+ if (isset($_GET[$wd_options->prefix . "_sub_action"])) {
55
+
56
+ if ($_GET[$wd_options->prefix . "_sub_action"] == "allow") {
57
+ //$api = new TenWebLibApi($wd_options);
58
+ $all_plugins = array();
59
+ $plugins = get_plugins();
60
+ foreach ($plugins as $slug => $data) {
61
+ $plugin = array(
62
+ "Name" => $data["Name"],
63
+ "PluginURI" => $data["PluginURI"],
64
+ "Author" => $data["Author"],
65
+ "AuthorURI" => $data["AuthorURI"]
66
+ );
67
+ $all_plugins[$slug] = $plugin;
68
+ }
69
+
70
+ $data = array();
71
+ $data["wp_site_url"] = site_url();
72
+
73
+ $admin_data = wp_get_current_user();
74
+
75
+ $user_first_name = get_user_meta($admin_data->ID, "first_name", true);
76
+ $user_last_name = get_user_meta($admin_data->ID, "last_name", true);
77
+
78
+ $data["name"] = $user_first_name || $user_last_name ? $user_first_name . " " . $user_last_name : $admin_data->data->user_login;
79
+
80
+ $data["email"] = $admin_data->data->user_email;
81
+ $data["wp_version"] = get_bloginfo('version');
82
+ $data["product_id"] = $wd_options->plugin_id;
83
+ $data["all_plugins"] = json_encode($all_plugins);
84
+
85
+
86
+ $response = wp_remote_post(TEN_WEB_LIB_SUBSCRIBE_URL, array(
87
+ 'method' => 'POST',
88
+ 'timeout' => 45,
89
+ 'redirection' => 5,
90
+ 'httpversion' => '1.0',
91
+ 'blocking' => true,
92
+ 'headers' => array("Accept" => "application/x.10webcore.v1+json"),
93
+ 'body' => $data,
94
+ 'cookies' => array()
95
+ )
96
+ );
97
+
98
+ $response_body = (!is_wp_error($response) && isset($response["body"])) ? json_decode($response["body"], true) : null;
99
+
100
+ if (is_array($response_body) && $response_body["body"]["msg"] == "ok") {
101
+
102
+ }
103
+
104
+ }
105
+ if (get_option($wd_options->prefix . "_subscribe_done") != 1) {
106
+ update_option($wd_options->prefix . "_subscribe_done", 1);
107
+ } else {
108
+ add_option($wd_options->prefix . "_subscribe_done", "1", '', 'no');
109
+ }
110
+
111
+ wp_safe_redirect($wd_options->after_subscribe);
112
+ }
113
+
114
+ }
115
+ // //////////////////////////////////////////////////////////////////////////////////////
116
+ // Getters & Setters //
117
+ // //////////////////////////////////////////////////////////////////////////////////////
118
+ // //////////////////////////////////////////////////////////////////////////////////////
119
+ // Private Methods //
120
+ // //////////////////////////////////////////////////////////////////////////////////////
121
+ // //////////////////////////////////////////////////////////////////////////////////////
122
+ // Listeners //
123
+ // //////////////////////////////////////////////////////////////////////////////////////
 
 
 
124
  }
wd/start.php CHANGED
@@ -2,7 +2,10 @@
2
  if ( ! defined( 'ABSPATH' ) ) {
3
  exit;
4
  }
5
- define( 'DORADO_WEB_API_PLUGIN_DATA_PATH', 'https://api.web-dorado.com/v2/_id_/plugindata' );
 
 
 
6
  require_once dirname( __FILE__ ) . '/config.php';
7
 
8
  /**
@@ -14,7 +17,6 @@
14
  * plugin_main_file;
15
  * description;
16
  * plugin_features;
17
- * user_guide;
18
  * video_youtube_id;
19
  * plugin_wd_url;
20
  * plugin_wd_demo_link;
@@ -26,12 +28,12 @@
26
  * custom_post;
27
  */
28
 
29
- function dorado_web_init( $options ) {
30
 
31
  // load files
32
  require_once dirname( __FILE__ ) . '/wd.php';
33
 
34
- $wd = new DoradoWeb();
35
  $wd->wd_init( $options );
36
 
37
  }
2
  if ( ! defined( 'ABSPATH' ) ) {
3
  exit;
4
  }
5
+ define( 'TEN_WEB_LIB_API_PLUGIN_DATA_PATH', 'https://api.web-dorado.com/v2/_id_/plugindata' );
6
+ define( 'TEN_WEB_LIB_SUBSCRIBE_URL', 'https://core.10web.io/api/wp-subscribe' );
7
+ define( 'TEN_WEB_LIB_DEACTIVATION_URL', 'https://core.10web.io/api/deactivation_reasons' );
8
+
9
  require_once dirname( __FILE__ ) . '/config.php';
10
 
11
  /**
17
  * plugin_main_file;
18
  * description;
19
  * plugin_features;
 
20
  * video_youtube_id;
21
  * plugin_wd_url;
22
  * plugin_wd_demo_link;
28
  * custom_post;
29
  */
30
 
31
+ function ten_web_lib_init( $options ) {
32
 
33
  // load files
34
  require_once dirname( __FILE__ ) . '/wd.php';
35
 
36
+ $wd = new TenWebLib();
37
  $wd->wd_init( $options );
38
 
39
  }
wd/templates/display_deactivation_popup.php CHANGED
@@ -1,26 +1,26 @@
1
- <div class="wd-opacity wd-<?php echo $wd_options->prefix; ?>-opacity"></div>
2
- <div class="wd-deactivate-popup wd-<?php echo $wd_options->prefix; ?>-deactivate-popup">
3
- <div class="wd-deactivate-popup-opacity wd-deactivate-popup-opacity-<?php echo $wd_options->prefix; ?>">
4
- <img src="<?php echo $wd_options->wd_url_img . '/spinner.gif'; ?>" class="wd-img-loader" >
5
  </div>
6
  <form method="post" id="<?php echo $wd_options->prefix; ?>_deactivate_form">
7
- <div class="wd-deactivate-popup-header">
8
  <?php _e( "Please let us know why you are deactivating. Your answer will help us to provide you support or sometimes offer discounts. (Optional)", $wd_options->prefix ); ?>:
9
- <span class="wd-deactivate-popup-close-btn"></span>
10
  </div>
11
 
12
- <div class="wd-deactivate-popup-body">
13
  <?php foreach( $deactivate_reasons as $deactivate_reason_slug => $deactivate_reason ) { ?>
14
- <div class="wd-<?php echo $wd_options->prefix; ?>-reasons">
15
  <input type="radio" value="<?php echo $deactivate_reason["id"];?>" id="<?php echo $wd_options->prefix . "-" .$deactivate_reason["id"]; ?>" name="<?php echo $wd_options->prefix; ?>_reasons" >
16
  <label for="<?php echo $wd_options->prefix . "-" . $deactivate_reason["id"]; ?>"><?php echo $deactivate_reason["text"];?></label>
17
  </div>
18
  <?php } ?>
19
  <div class="<?php echo $wd_options->prefix; ?>_additional_details_wrap"></div>
20
  </div>
21
- <div class="wd-btns">
22
- <a href="<?php echo $deactivate_url; ?>" data-val="1" class="button button-secondary button-close" id="wd-<?php echo $wd_options->prefix; ?>-deactivate"><?php _e( "Skip and Deactivate" , $wd_options->prefix ); ?></a>
23
- <a href="<?php echo $deactivate_url; ?>" data-val="2" class="button button-primary button-primary-disabled button-close wd-<?php echo $wd_options->prefix; ?>-deactivate" id="wd-<?php echo $wd_options->prefix; ?>-submit-and-deactivate"><?php _e( "Submit and Deactivate" , $wd_options->prefix ); ?></a>
24
  </div>
25
  <input type="hidden" name="<?php echo $wd_options->prefix . "_submit_and_deactivate"; ?>" value="" >
26
  <?php wp_nonce_field( $wd_options->prefix . '_save_form', $wd_options->prefix . '_save_form_fild'); ?>
1
+ <div class="tenweb-opacity tenweb-<?php echo $wd_options->prefix; ?>-opacity"></div>
2
+ <div class="tenweb-deactivate-popup tenweb-<?php echo $wd_options->prefix; ?>-deactivate-popup">
3
+ <div class="tenweb-deactivate-popup-opacity tenweb-deactivate-popup-opacity-<?php echo $wd_options->prefix; ?>">
4
+ <img src="<?php echo $wd_options->wd_url_img . '/spinner.gif'; ?>" class="tenweb-img-loader" >
5
  </div>
6
  <form method="post" id="<?php echo $wd_options->prefix; ?>_deactivate_form">
7
+ <div class="tenweb-deactivate-popup-header">
8
  <?php _e( "Please let us know why you are deactivating. Your answer will help us to provide you support or sometimes offer discounts. (Optional)", $wd_options->prefix ); ?>:
9
+ <span class="tenweb-deactivate-popup-close-btn"></span>
10
  </div>
11
 
12
+ <div class="tenweb-deactivate-popup-body">
13
  <?php foreach( $deactivate_reasons as $deactivate_reason_slug => $deactivate_reason ) { ?>
14
+ <div class="tenweb-<?php echo $wd_options->prefix; ?>-reasons">
15
  <input type="radio" value="<?php echo $deactivate_reason["id"];?>" id="<?php echo $wd_options->prefix . "-" .$deactivate_reason["id"]; ?>" name="<?php echo $wd_options->prefix; ?>_reasons" >
16
  <label for="<?php echo $wd_options->prefix . "-" . $deactivate_reason["id"]; ?>"><?php echo $deactivate_reason["text"];?></label>
17
  </div>
18
  <?php } ?>
19
  <div class="<?php echo $wd_options->prefix; ?>_additional_details_wrap"></div>
20
  </div>
21
+ <div class="tenweb-btns">
22
+ <a href="<?php echo $deactivate_url; ?>" data-val="1" class="button button-secondary button-close" id="tenweb-<?php echo $wd_options->prefix; ?>-deactivate"><?php _e( "Skip and Deactivate" , $wd_options->prefix ); ?></a>
23
+ <a href="<?php echo $deactivate_url; ?>" data-val="2" class="button button-primary button-primary-disabled button-close tenweb-<?php echo $wd_options->prefix; ?>-deactivate" id="tenweb-<?php echo $wd_options->prefix; ?>-submit-and-deactivate"><?php _e( "Submit and Deactivate" , $wd_options->prefix ); ?></a>
24
  </div>
25
  <input type="hidden" name="<?php echo $wd_options->prefix . "_submit_and_deactivate"; ?>" value="" >
26
  <?php wp_nonce_field( $wd_options->prefix . '_save_form', $wd_options->prefix . '_save_form_fild'); ?>
wd/templates/display_overview.php CHANGED
@@ -1,43 +1,124 @@
1
- <div class="overview_welcome">
2
- <div class="wd-cell wd-valign-middle">
3
- <a href="<?php echo $wd_options->plugin_wd_url; ?>" target="_blank"><img
4
- src="<?php echo $wd_options->wd_url_img . '/' . $wd_options->prefix . '_main_plugin.png'; ?>"></a>
5
- </div>
6
- <div class="wd-cell wd-valign-middle">
7
-
8
- <h2><?php echo sprintf(__("Welcome to %s", $wd_options->prefix), $wd_options->plugin_title); ?> <?php if (!empty($start_using_url)) { ?>
9
- <div class="wd-start-using-button">
10
- <a href="<?php echo $start_using_url; ?>" class="button button-primary button-large">Start using</a>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  </div>
12
- <?php } ?></h2>
13
-
14
- <div class="overview_welcome_text">
15
-
16
- <div><?php echo sprintf(__("CONGRATS! You've successfully installed %s WordPress plugin.", $wd_options->prefix), $wd_options->plugin_title); ?></div>
17
- <div><?php echo $wd_options->description; ?></div>
18
  </div>
19
- </div>
20
- </div>
21
- <div class="overview_wrap">
22
- <ul class="overview_tabs">
23
- <?php
24
- foreach ($tabs as $tab_key => $tab) {
25
- $href = $tab['view'] !== false ? "#" . $tab_key : $tab_key;
26
- $target = $tab['view'] == false ? 'target="_blank" class="not_tab"' : '';
27
- $overview_tab_active_class = $tab_key == 'welcome' ? 'class="overview_tab_active"' : ''
28
- ?>
29
- <li class=""><a
30
- href="<?php echo $href; ?>" <?php echo $overview_tab_active_class; ?> <?php echo $target; ?>><?php echo esc_html($tab['name']); ?></a>
31
- </li>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
  <?php } ?>
33
- </ul>
34
- <div class="overview_content">
35
- <?php
36
- foreach ($tabs as $tab_key => $tab) {
37
- if ($tab['view'] !== false) {
38
- echo call_user_func($tab['view']);
39
- }
40
- }
41
- ?>
42
- </div>
43
  </div>
1
+ <div class="tenweb_overview">
2
+ <div class="tenweb_header">
3
+ <div class="container tenweb_clear container_top">
4
+ <div class="tenweb_logo">
5
+ <a href="https://10web.io/" target="_blank">
6
+ <div></div>
7
+ </a>
8
+ </div>
9
+ <div class="tenweb_header_right tenweb_clear">
10
+ <div class="inline-block header_text"><?php echo sprintf(__("Get Premium %s and Other Solutions Essential for Your WordPress Site.", $wd_options->prefix), $wd_options->plugin_title); ?>
11
+ </div>
12
+ <a href="https://my.10web.io/checkout/" target="_blank"
13
+ class="button"><?php _e("Try Free", $wd_options->prefix); ?></a>
14
+ </div>
15
+ </div>
16
+ <div class="tenweb_header_divider">
17
+ </div>
18
+ <div class="container container_bottom">
19
+ <div class="plugin_info">
20
+ <img src="<?php echo $wd_options->overview_welcome_image; ?>" class="plugin_logo">
21
+ <h2><?php _e("Premium ", $wd_options->prefix); ?><?php echo $wd_options->plugin_title; ?></h2>
22
+ <div class="and"> & </div>
23
+ </div>
24
+ <div class="plan_features tenweb_clear">
25
+ <div class="plan_feature pro_plugins">
26
+ <div class="logo"></div>
27
+ <h3><?php _e("60+ pro plugins/Extensions", $wd_options->prefix); ?></h3>
28
+ <p><?php _e("Access 60+ plugins and extensions, including key plugins, such as gallery, form, slider, social plugins and more.", $wd_options->prefix); ?></p>
29
+ </div>
30
+ <div class="plan_feature dashboard">
31
+ <div class="logo"></div>
32
+ <h3><?php _e("Unified dashboard", $wd_options->prefix); ?></h3>
33
+ <p><?php _e("Manage your WordPress websites all in one place within a single dashboard. No need to switch between sites.", $wd_options->prefix); ?></p>
34
+ </div>
35
+ <div class="plan_feature pro_themes">
36
+ <div class="logo"></div>
37
+ <h3><?php _e("Premium WordPress themes", $wd_options->prefix); ?></h3>
38
+ <p><?php _e("Professionally designed, responsive themes for your website. Build fully-functional, elegant websites effortlessly.", $wd_options->prefix); ?></p>
39
+ </div>
40
+ <?php if ($wd_options->plugin_wordpress_slug != "backup-wd") { ?>
41
+ <div class="plan_feature backup">
42
+ <div class="logo"></div>
43
+ <h3><?php _e("Backup", $wd_options->prefix); ?></h3>
44
+ <p><?php _e("10Web cloud storage space. Easily and securely backup your website in our storage.", $wd_options->prefix); ?></p>
45
+ </div>
46
+ <?php } ?>
47
+ <?php if ($wd_options->plugin_wordpress_slug != "seo-by-10web") { ?>
48
+ <div class="plan_feature seo">
49
+ <div class="logo"></div>
50
+ <h3><?php _e("SEO", $wd_options->prefix); ?></h3>
51
+ <p><?php _e("Improve search rankings of your WordPress site with a comprehensive search engine optimization solution.", $wd_options->prefix); ?></p>
52
+ </div>
53
+ <?php } ?>
54
+ <div class="plan_feature security">
55
+ <div class="logo"></div>
56
+ <h3><?php _e("Security", $wd_options->prefix); ?></h3>
57
+ <p><?php _e("Protect your WordPress site from security issues and threats with a powerful security service coming soon to 10Web.", $wd_options->prefix); ?></p>
58
+ </div>
59
+ <?php if ($wd_options->plugin_wordpress_slug != "image-optimizer-wd") { ?>
60
+ <div class="plan_feature image_optimizer">
61
+ <div class="logo"></div>
62
+ <h3><?php _e("Image optimization", $wd_options->prefix); ?></h3>
63
+ <p><?php _e("Automatically resize and compress all images on your website to save space and improve site speed.", $wd_options->prefix); ?></p>
64
+ </div>
65
+ <?php } ?>
66
+ <div class="plan_feature hosting">
67
+ <div class="logo"></div>
68
+ <h3><?php _e("Hosting", $wd_options->prefix); ?></h3>
69
+ <p><?php _e("We’ll soon be offering affordable hosting solution with WordPress-friendly features and great customer support.", $wd_options->prefix); ?></p>
70
+ </div>
71
+ </div>
72
+ <a href="https://my.10web.io/checkout/" target="_blank"
73
+ class="button"><?php _e("Get free for 14 days", $wd_options->prefix); ?></a>
74
+ <div><a href="https://10web.io/" target="_blank"
75
+ class="more white"><?php _e("Learn More", $wd_options->prefix); ?></a></div>
76
  </div>
 
 
 
 
 
 
77
  </div>
78
+ <?php if (count($wd_options->plugin_features)) { ?>
79
+ <div class="tenweb_plugin_features">
80
+ <div class="container">
81
+ <h2><?php _e("Premium ", $wd_options->prefix); ?><?php echo $wd_options->plugin_title; ?><?php _e(" features you get!", $wd_options->prefix); ?></h2>
82
+ <div class="plugin_features tenweb_clear">
83
+ <?php foreach ($wd_options->plugin_features as $features) { ?>
84
+ <div class="plugin_feature">
85
+ <div class="plugin_feature_logo">
86
+ <img src="<?php echo $features['logo']; ?>">
87
+ </div>
88
+ <h3><?php echo $features['title']; ?></h3>
89
+ <p><?php echo $features['description']; ?></p>
90
+ </div>
91
+ <?php } ?>
92
+ </div>
93
+ <div class="and circle"> & </div>
94
+ <h3 class="more_features"><?php _e("More great features of the plugin", $wd_options->prefix); ?></h3>
95
+ <a href="<?php echo $wd_options->plugin_wd_url; ?>" target="_blank"
96
+ class="more blue"><?php _e("Learn More", $wd_options->prefix); ?></a>
97
+ </div>
98
+ </div>
99
+ <?php }
100
+ if(trim($wd_options->plugin_wd_demo_link) != "" || trim($wd_options->plugin_wd_docs_link) != ""){ ?>
101
+ <div class="tenweb_how_it_works">
102
+ <div class="container">
103
+ <h2><?php _e("Checkout how it works", $wd_options->prefix); ?></h2>
104
+ <?php
105
+ if(trim($wd_options->plugin_wd_demo_link) != ""){ ?>
106
+ <a href="<?php echo $wd_options->plugin_wd_demo_link; ?>" target="_blank"
107
+ class="button transparent"><?php _e("Demo", $wd_options->prefix); ?></a>
108
+ <?php }
109
+ if(trim($wd_options->plugin_wd_docs_link) != ""){ ?>
110
+ <a href="<?php echo $wd_options->plugin_wd_docs_link; ?>" target="_blank"
111
+ class="button transparent"><?php _e("User Guide", $wd_options->prefix); ?></a>
112
+ <?php } ?>
113
+ </div>
114
+ </div>
115
  <?php } ?>
116
+ <div class="tenweb_footer <?php echo trim($wd_options->plugin_wd_demo_link) == "" ? "without_demo" : ""; ?>">
117
+ <div class="container">
118
+ <h2><?php echo $wd_options->description; ?></h2>
119
+ <p><?php echo sprintf(__("Get Premium %s and Other Solutions Essential for Your WordPress Site.", $wd_options->prefix), $wd_options->plugin_title); ?></p>
120
+ <a href="https://my.10web.io/checkout/" target="_blank"
121
+ class="button"><?php _e("Get free for 14 days", $wd_options->prefix); ?></a>
122
+ </div>
123
+ </div>
 
 
124
  </div>
wd/templates/display_subscribe.php CHANGED
@@ -1,47 +1,47 @@
1
- <div class="wd-subscribe">
2
- <div class="wd-subscribe-content">
3
- <div class="imgs">
4
- <img src="<?php echo $wd_options->wd_url_img . '/wp_logo.png'; ?>">
5
- <span>+</span>
6
- <img src="<?php echo $wd_options->wd_url_img . '/' . $wd_options->prefix . '_main_plugin.png'; ?>">
7
- </div>
8
  <div class="texts">
9
- <p><?php _e( "Hi there", $wd_options->prefix ); ?>,</p>
 
 
10
  <p>
11
- <?php
12
- $pp_text = "<a target='_blank' href='https://web-dorado.com/web-dorado-privacy-statement.html'>" . __("Privacy Policy", $wd_options->prefix) . "</a>";
13
- echo sprintf(__("Allow %s to collect some usage data, to be able to provide you more out of your plugin experience - awesome customer support and more. Check how we handle your personal data in our %s. You can always customize your preferences from the emails your receive from us. You can choose to skip this step, %s will still work just fine.", $wd_options->prefix), '<strong>Web-Dorado</strong>', $pp_text, $wd_options->plugin_title);
14
- ?>
15
  </p>
16
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  <div class="btns">
18
- <a href="<?php echo "admin.php?page=" . $wd_options->prefix . "_subscribe&". $wd_options->prefix . "_sub_action=allow" ;?>" class="allow_and_continue"></a>
19
  <img src="<?php echo $wd_options->wd_url_img . '/loader.gif';?>" class="wd_loader">
20
- <a href="<?php echo "admin.php?page=" . $wd_options->prefix . "_subscribe&" . $wd_options->prefix . "_sub_action=skip" ;?>" class="skip" ></a>
21
- </div>
22
- <a href="#" class="permissions"><?php _e( "What data is being collected?" , $wd_options->prefix ); ?></a>
23
- <div class="list">
24
- <?php foreach( $list as $list_item ) { ?>
25
- <div class="list_item">
26
- <div class="list_img_wrap"><img src="<?php echo $list_item["img"]; ?>"></div>
27
- <div class="list_text_wrap">
28
- <div class="list_title"><?php echo $list_item["title"]; ?></div>
29
- <div class="list_text"><?php echo $list_item["small_text"]; ?></div>
30
- </div>
31
- </div>
32
- <?php } ?>
33
  </div>
34
  </div>
35
- <div class="wd-subscribe-footer">
36
- <ul class="wd-footer-menu">
 
 
 
37
  <li>
38
- <a href="https://web-dorado.com/web-dorado-privacy-statement.html" target="_blank">
39
  <?php _e( "Privacy Policy", $wd_options->prefix ); ?>
40
  </a>
41
- <span>.</span>
42
  </li>
 
43
  <li>
44
- <a href="https://web-dorado.com/terms-of-service.html" target="_blank">
45
  <?php _e( "Terms of Use", $wd_options->prefix ); ?>
46
  </a>
47
  </li>
1
+ <div class="tenweb_subscribe">
2
+ <div class="tenweb_subscribe-content">
 
 
 
 
 
3
  <div class="texts">
4
+ <div class="hi_there"></div>
5
+ <h2><?php _e( "Hi there!", $wd_options->prefix ); ?></h2>
6
+ <h5><?php _e( "Allow 10Web to collect some usage data", $wd_options->prefix ); ?></h5>
7
  <p>
8
+ <?php echo sprintf( __( "This will allow you to get more out of your plugin experience - get awesome customer support, receive exclusive deals and discounts on premium products and more. You can choose to skip this step, %s will still work just fine.", $wd_options->prefix ), $wd_options->plugin_title ); ?>
 
 
 
9
  </p>
10
  </div>
11
+ <div class="permissions"><?php _e( "What data is being collected?" , $wd_options->prefix ); ?></div>
12
+ <div class="list tenweb_clear">
13
+ <div class="list_item user_info">
14
+ <div class="list_logo"></div>
15
+ <div class="list_text_wrap"> <?php _e( "Your name & Email address", $wd_options->prefix ); ?></div>
16
+ </div>
17
+ <div class="list_item wp_info">
18
+ <div class="list_logo"></div>
19
+ <div class="list_text_wrap"> <?php _e( "Site URL, Wordpress version", $wd_options->prefix ); ?></div>
20
+ </div>
21
+ <div class="list_item plugins_info">
22
+ <div class="list_logo"></div>
23
+ <div class="list_text_wrap"> <?php _e( "List of plugins", $wd_options->prefix ); ?></div>
24
+ </div>
25
+ </div>
26
  <div class="btns">
27
+ <a href="<?php echo "admin.php?page=" . $wd_options->prefix . "_subscribe&". $wd_options->prefix . "_sub_action=allow" ;?>" class="allow_and_continue button"><?php _e( "Allow & Continue", $wd_options->prefix ); ?></a>
28
  <img src="<?php echo $wd_options->wd_url_img . '/loader.gif';?>" class="wd_loader">
29
+ <a href="<?php echo "admin.php?page=" . $wd_options->prefix . "_subscribe&" . $wd_options->prefix . "_sub_action=skip" ;?>" class="skip more" ><?php _e( "Skip", $wd_options->prefix ); ?></a>
 
 
 
 
 
 
 
 
 
 
 
 
30
  </div>
31
  </div>
32
+ <div class="tenweb_subscribe-top-footer">
33
+ <?php _e( "We will not sell, share, or distribute your personal information to third parties.", $wd_options->prefix ); ?>
34
+ </div>
35
+ <div class="tenweb_subscribe-footer">
36
+ <ul class="tenweb_footer-menu tenweb_clear">
37
  <li>
38
+ <a href="https://10web.io/privacy-policy/" target="_blank">
39
  <?php _e( "Privacy Policy", $wd_options->prefix ); ?>
40
  </a>
 
41
  </li>
42
+ <li>| </li>
43
  <li>
44
+ <a href="https://10web.io/terms-of-services/" target="_blank">
45
  <?php _e( "Terms of Use", $wd_options->prefix ); ?>
46
  </a>
47
  </li>
wd/wd.php CHANGED
@@ -1,118 +1,161 @@
1
  <?php
2
- if ( ! defined( 'ABSPATH' ) ) { exit; }
3
-
4
- class DoradoWeb {
 
 
 
 
 
 
 
 
 
 
 
5
  public static $instance;
6
  public $overview_instance;
7
  public $subscribe_instance;
8
  public $config;
9
- private $version = "1.0.15";
10
 
 
 
 
11
  public function __construct() {
12
  // Add menu for Overview page
13
  add_action( 'admin_menu', array( $this, 'wd_overview_menu_page' ), 10 );
 
14
  }
 
 
 
15
 
16
  // Init plugin data
17
  public function wd_init( $options ) {
18
 
19
- if ( !is_array($options) ) {
20
  return false;
21
  }
22
-
23
- $config = new DoradoWebConfig();
24
  $config->set_options( $options );
25
  $this->config = $config;
26
- if ( !class_exists("DoradoWebApi") ) {
27
  $this->wd_includes();
28
  }
29
 
30
  $this->init_classes();
31
  $this->register_hooks();
 
32
  }
33
 
34
  // Create overview menu page
35
  public function wd_overview_menu_page() {
36
  $wd_options = $this->config;
37
-
38
  $capability = $wd_options->menu_capability ? $wd_options->menu_capability : "manage_options";
39
  if( get_option( $wd_options->prefix . "_subscribe_done" ) == 1 || $wd_options->subscribe === false ){
40
- $parent_slug = $wd_options->custom_post;
41
  }
42
  else{
43
 
44
  $subscribe_page = add_menu_page( $wd_options->plugin_menu_title, $wd_options->plugin_menu_title, "manage_options", $wd_options->prefix . '_subscribe' , array( $this, 'display_subscribew_page' ), $wd_options->plugin_menu_icon, $wd_options->menu_position );
45
 
46
- $subscribe_instance = new DoradoWebSubscribe($this->config);
47
  $this->subscribe_instance = $subscribe_instance;
48
  add_action( 'admin_print_styles-' . $subscribe_page, array( $subscribe_instance, 'subscribe_styles' ) );
49
  add_action( 'admin_print_scripts-' . $subscribe_page, array( $subscribe_instance, 'subscribe_scripts' ) );
50
 
51
- $parent_slug = null;
52
- }
53
-
54
- $overview_page = add_submenu_page( $parent_slug, __( 'Overview', $wd_options->prefix ), __( 'Overview', $wd_options->prefix ), $capability, 'overview_' . $wd_options->prefix, array( $this, 'display_overview_page' ));
55
-
56
- $overview_instance = new DoradoWebOverview($this->config);
57
- $this->overview_instance = $overview_instance;
58
- add_action( 'admin_print_styles-' . $overview_page, array( $overview_instance, 'overview_styles' ) );
59
- add_action( 'admin_print_scripts-' . $overview_page, array( $overview_instance, 'overview_scripts' ) );
 
 
 
 
 
 
60
  }
61
-
62
  public function display_subscribew_page(){
63
  $this->subscribe_instance->subscribe_display_page();
64
  }
65
-
66
  // Display overview page
67
  public function display_overview_page() {
68
  $this->overview_instance->display_overview_page();
69
  }
70
 
71
- // Includs
72
- public function wd_includes(){
73
- $wd_options = $this->config;
74
-
75
- require_once $wd_options->wd_dir_includes . '/deactivate.php' ;
76
- // notices
77
- require_once $wd_options->wd_dir_includes . '/api.php';
78
- require_once $wd_options->wd_dir_includes . '/notices.php';
79
- require_once $wd_options->wd_dir_includes . "/overview.php";
80
- require_once $wd_options->wd_dir_includes . "/subscribe.php";
81
- }
82
-
83
- public function init_classes(){
84
- $wd_options = $this->config;
85
-
86
- $current_url = $_SERVER['REQUEST_URI'];
87
- if( $wd_options->deactivate === true ){
88
- if(strpos( $current_url, "plugins.php" ) !== false ){
89
- new DoradoWebDeactivate( $this->config );
90
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
91
  }
92
 
93
- new DoradoWebNotices( $this->config );
94
- }
95
 
96
- public function register_hooks() {
97
- $wd_options = $this->config;
98
- if ( $wd_options->deactivate === true ) {
99
- add_filter( 'plugin_action_links_' . plugin_basename( $wd_options->plugin_main_file ), array( $this, 'change_deactivation_link' ) );
 
 
 
 
 
 
 
 
 
 
100
  }
101
- }
102
-
103
- public function change_deactivation_link ( $links ) {
104
- $wd_options = $this->config;
105
- $deactivate_url = add_query_arg(
106
- array(
107
- 'action' => 'deactivate',
108
- 'plugin' => plugin_basename( $wd_options->plugin_main_file ),
109
- '_wpnonce' => wp_create_nonce( 'deactivate-plugin_' . plugin_basename( $wd_options->plugin_main_file ) )
110
- ),
111
- admin_url( 'plugins.php' )
112
- );
113
-
114
- $links["deactivate"] = '<a href="'.$deactivate_url.'" class="' . $wd_options->prefix . '_deactivate_link">Deactivate</a>';
115
-
116
- return $links;
117
- }
118
- }
1
  <?php
2
+ if ( ! defined( 'ABSPATH' ) ) {
3
+ exit;
4
+ }
5
+
6
+ class TenWebLib {
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Events //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Constants //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ ////////////////////////////////////////////////////////////////////////////////////////
14
+ // Variables //
15
+ ////////////////////////////////////////////////////////////////////////////////////////
16
  public static $instance;
17
  public $overview_instance;
18
  public $subscribe_instance;
19
  public $config;
20
+ private $version = "1.1.1";
21
 
22
+ ////////////////////////////////////////////////////////////////////////////////////////
23
+ // Constructor & Destructor //
24
+ ////////////////////////////////////////////////////////////////////////////////////////
25
  public function __construct() {
26
  // Add menu for Overview page
27
  add_action( 'admin_menu', array( $this, 'wd_overview_menu_page' ), 10 );
28
+
29
  }
30
+ ////////////////////////////////////////////////////////////////////////////////////////
31
+ // Public Methods //
32
+ ////////////////////////////////////////////////////////////////////////////////////////
33
 
34
  // Init plugin data
35
  public function wd_init( $options ) {
36
 
37
+ if(!is_array($options)){
38
  return false;
39
  }
40
+ $config = new TenWebLibConfig();
 
41
  $config->set_options( $options );
42
  $this->config = $config;
43
+ if( !class_exists("TenWebLibApi") ){
44
  $this->wd_includes();
45
  }
46
 
47
  $this->init_classes();
48
  $this->register_hooks();
49
+
50
  }
51
 
52
  // Create overview menu page
53
  public function wd_overview_menu_page() {
54
  $wd_options = $this->config;
55
+
56
  $capability = $wd_options->menu_capability ? $wd_options->menu_capability : "manage_options";
57
  if( get_option( $wd_options->prefix . "_subscribe_done" ) == 1 || $wd_options->subscribe === false ){
58
+ $parent_slug = $wd_options->custom_post;
59
  }
60
  else{
61
 
62
  $subscribe_page = add_menu_page( $wd_options->plugin_menu_title, $wd_options->plugin_menu_title, "manage_options", $wd_options->prefix . '_subscribe' , array( $this, 'display_subscribew_page' ), $wd_options->plugin_menu_icon, $wd_options->menu_position );
63
 
64
+ $subscribe_instance = new TenWebLibSubscribe($this->config);
65
  $this->subscribe_instance = $subscribe_instance;
66
  add_action( 'admin_print_styles-' . $subscribe_page, array( $subscribe_instance, 'subscribe_styles' ) );
67
  add_action( 'admin_print_scripts-' . $subscribe_page, array( $subscribe_instance, 'subscribe_scripts' ) );
68
 
69
+ $parent_slug = null;
70
+ }
71
+ if ($wd_options->display_overview) {
72
+ $title = __( 'Premium', $wd_options->prefix );
73
+ if ( FALSE && !get_transient( $wd_options->prefix . '_overview_visited' ) ) {
74
+ $title .= ' <span class="update-plugins count-2" > <span class="plugin-count">1</span></span>';
75
+ }
76
+ $overview_page = add_submenu_page( $parent_slug, __( 'Premium', $wd_options->prefix ), '<span style="color:#4481ea;">' . $title . '</span>', $capability, 'overview_' . $wd_options->prefix, array( $this, 'display_overview_page' ) );
77
+
78
+
79
+ $overview_instance = new TenWebLibOverview( $this->config );
80
+ $this->overview_instance = $overview_instance;
81
+ add_action( 'admin_print_styles-' . $overview_page, array( $overview_instance, 'overview_styles' ) );
82
+ add_action( 'admin_print_scripts-' . $overview_page, array( $overview_instance, 'overview_scripts' ) );
83
+ }
84
  }
85
+
86
  public function display_subscribew_page(){
87
  $this->subscribe_instance->subscribe_display_page();
88
  }
89
+
90
  // Display overview page
91
  public function display_overview_page() {
92
  $this->overview_instance->display_overview_page();
93
  }
94
 
95
+
96
+ // Includs
97
+ public function wd_includes(){
98
+ $wd_options = $this->config;
99
+
100
+ require_once $wd_options->wd_dir_includes . '/deactivate.php' ;
101
+ // notices
102
+ require_once $wd_options->wd_dir_includes . '/api.php';
103
+ require_once $wd_options->wd_dir_includes . '/notices.php';
104
+ require_once $wd_options->wd_dir_includes . "/overview.php";
105
+ require_once $wd_options->wd_dir_includes . "/subscribe.php";
106
+
107
+ }
108
+ public function init_classes(){
109
+ $wd_options = $this->config;
110
+
111
+ $current_url = $_SERVER['REQUEST_URI'];
112
+ if( $wd_options->deactivate === true ){
113
+ if(strpos( $current_url, "plugins.php" ) !== false ){
114
+ new TenWebLibDeactivate( $this->config );
115
+ }
116
+ }
117
+
118
+ new TenWebLibNotices( $this->config );
119
+
120
+ }
121
+
122
+ public function register_hooks(){
123
+ $wd_options = $this->config;
124
+ if( $wd_options->deactivate === true ){
125
+ add_filter( 'plugin_action_links_' . plugin_basename( $wd_options->plugin_main_file ), array( $this, 'change_deactivation_link' ) );
126
+ }
127
+
128
  }
129
 
 
 
130
 
131
+ public function change_deactivation_link ( $links ) {
132
+ $wd_options = $this->config;
133
+ $deactivate_url =
134
+ add_query_arg(
135
+ array(
136
+ 'action' => 'deactivate',
137
+ 'plugin' => plugin_basename( $wd_options->plugin_main_file ),
138
+ '_wpnonce' => wp_create_nonce( 'deactivate-plugin_' . plugin_basename( $wd_options->plugin_main_file ) )
139
+ ),
140
+ admin_url( 'plugins.php' )
141
+ );
142
+
143
+ $links["deactivate"] = '<a href="'.$deactivate_url.'" class="' . $wd_options->prefix . '_deactivate_link">Deactivate</a>';
144
+ return $links;
145
  }
146
+
147
+ ////////////////////////////////////////////////////////////////////////////////////////
148
+ // Getters & Setters //
149
+ ////////////////////////////////////////////////////////////////////////////////////////
150
+ ////////////////////////////////////////////////////////////////////////////////////////
151
+ // Private Methods //
152
+ ////////////////////////////////////////////////////////////////////////////////////////
153
+
154
+ ////////////////////////////////////////////////////////////////////////////////////////
155
+ // Listeners //
156
+ ////////////////////////////////////////////////////////////////////////////////////////
157
+
158
+ }
159
+
160
+
161
+