WP User Frontend – Membership, Profile, Registration & Post Submission Plugin for WordPress - Version 2.8.10

Version Description

Download this release

Release Info

Developer rabbii
Plugin Icon 128x128 WP User Frontend – Membership, Profile, Registration & Post Submission Plugin for WordPress
Version 2.8.10
Comparing to
See all releases

Code changes from version 2.8.9 to 2.8.10

Files changed (100) hide show
  1. admin/form-builder/views/form-builder.php +2 -0
  2. admin/form.php +1 -1
  3. admin/html/form-settings-display.php +1 -1
  4. admin/html/form-settings-post.php +2 -2
  5. admin/html/modal.php +4 -2
  6. admin/html/whats-new.php +41 -0
  7. admin/installer.php +4 -0
  8. admin/posting.php +0 -0
  9. admin/settings-options.php +16 -1
  10. admin/template-post.php +0 -0
  11. admin/template.php +0 -0
  12. admin/tools.php +0 -0
  13. assets/css/admin.css +4 -0
  14. assets/css/chosen/chosen-sprite.png +0 -0
  15. assets/css/chosen/chosen-sprite@2x.png +0 -0
  16. assets/css/chosen/chosen.css +0 -0
  17. assets/css/frontend-forms.css +44 -5
  18. assets/css/images/ui-bg_diagonals-small_75_cccccc_40x40.png +0 -0
  19. assets/css/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  20. assets/css/images/ui-bg_flat_0_ffffff_40x100.png +0 -0
  21. assets/css/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  22. assets/css/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  23. assets/css/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  24. assets/css/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  25. assets/css/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  26. assets/css/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  27. assets/css/images/ui-icons_222222_256x240.png +0 -0
  28. assets/css/images/ui-icons_2e83ff_256x240.png +0 -0
  29. assets/css/images/ui-icons_454545_256x240.png +0 -0
  30. assets/css/images/ui-icons_888888_256x240.png +0 -0
  31. assets/css/images/ui-icons_cd0a0a_256x240.png +0 -0
  32. assets/css/jquery-ui-1.9.1.custom.css +0 -0
  33. assets/css/jquery.smallipop.css +0 -0
  34. assets/css/wpuf-form-builder.css +1 -1
  35. assets/css/wpuf.css +0 -0
  36. assets/images/add.png +0 -0
  37. assets/images/arrow-move.png +0 -0
  38. assets/images/arrows.png +0 -0
  39. assets/images/completed.png +0 -0
  40. assets/images/cross.png +0 -0
  41. assets/images/del.png +0 -0
  42. assets/images/delete.png +0 -0
  43. assets/images/edit.png +0 -0
  44. assets/images/help.png +0 -0
  45. assets/images/help/bugs.svg +0 -0
  46. assets/images/help/customization.svg +0 -0
  47. assets/images/help/docs.svg +0 -0
  48. assets/images/help/like.svg +0 -0
  49. assets/images/help/support.svg +0 -0
  50. assets/images/icon-128x128.png +0 -0
  51. assets/images/move-img.png +0 -0
  52. assets/images/no-image.png +0 -0
  53. assets/images/paypal.png +0 -0
  54. assets/images/processing.png +0 -0
  55. assets/images/remove.png +0 -0
  56. assets/images/tick.png +0 -0
  57. assets/images/wpspin_light.gif +0 -0
  58. assets/js-templates/form-components.php +61 -61
  59. assets/js/chosen.jquery.js +0 -0
  60. assets/js/conditional.js +0 -0
  61. assets/js/frontend-form.js +9 -1
  62. assets/js/frontend-form.min.js +1 -1
  63. assets/js/jquery-ui-timepicker-addon.js +0 -0
  64. assets/js/jquery.smallipop-0.4.0.min.js +0 -0
  65. assets/js/jquery.validate.min.js +0 -0
  66. assets/js/subscriptions.js +0 -0
  67. assets/js/upload.js +16 -5
  68. assets/js/upload.min.js +1 -1
  69. assets/js/wpuf-form-builder-components.js +45 -43
  70. assets/js/wpuf-form-builder-mixins.js +5 -5
  71. assets/less/admin.less +666 -0
  72. assets/less/frontend-forms.less +1595 -0
  73. assets/less/help.less +278 -0
  74. assets/less/metabox-tabs.less +76 -0
  75. assets/less/whats-new.less +116 -0
  76. assets/vendor/sweetalert2/package.json +178 -0
  77. class/frontend-dashboard.php +11 -1
  78. class/frontend-form-post.php +0 -0
  79. class/payment.php +6 -6
  80. class/render-form.php +9 -18
  81. class/subscription.php +20 -2
  82. class/upload.php +5 -2
  83. includes/class-privacy.php +95 -88
  84. includes/free/class-login.php +90 -5
  85. includes/setup-wizard.php +2 -1
  86. languages/readme.txt +0 -0
  87. languages/wp-user-frontend.pot +450 -334
  88. lib/class-wedevs-insights.php +1 -1
  89. lib/class.settings-api.php +0 -0
  90. lib/gateway/bank.php +0 -0
  91. lib/recaptchalib.php +0 -0
  92. readme.txt +16 -1
  93. templates/dashboard.php +1 -1
  94. templates/dashboard/edit-profile.php +12 -1
  95. templates/logged-in.php +0 -0
  96. templates/login-form.php +9 -0
  97. templates/lost-pass-form.php +0 -0
  98. templates/reset-pass-form.php +0 -0
  99. wpuf-functions.php +77 -8
  100. wpuf.php +10 -6
admin/form-builder/views/form-builder.php CHANGED
@@ -12,6 +12,8 @@
12
  <?php do_action( "wpuf-form-builder-tabs-{$form_type}" ); ?>
13
 
14
  <span class="pull-right">
 
 
15
  <button v-if="!is_form_saving" type="button" class="button button-primary" @click="save_form_builder">
16
  <?php _e( 'Save Form', 'wp-user-frontend' ); ?>
17
  </button>
12
  <?php do_action( "wpuf-form-builder-tabs-{$form_type}" ); ?>
13
 
14
  <span class="pull-right">
15
+ <a :href="'<?php echo site_url( '/' ); ?>?wpuf_preview=1&form_id=' + post.ID" target="_blank" class="button"><span class="dashicons dashicons-visibility" style="padding-top: 3px;"></span> <?php _e( 'Preview', 'wp-user-frontend' ); ?></a>
16
+
17
  <button v-if="!is_form_saving" type="button" class="button button-primary" @click="save_form_builder">
18
  <?php _e( 'Save Form', 'wp-user-frontend' ); ?>
19
  </button>
admin/form.php CHANGED
@@ -291,7 +291,7 @@ class WPUF_Admin_Form {
291
  $subscriptions = WPUF_Subscription::init()->get_subscriptions();
292
 
293
  if ( ! $subscriptions ) {
294
- printf( '<option>%s</option>', __( '- Select -', 'wp-user-frontend' ), 'wpuf' );
295
  return;
296
  }
297
 
291
  $subscriptions = WPUF_Subscription::init()->get_subscriptions();
292
 
293
  if ( ! $subscriptions ) {
294
+ printf( '<option>%s</option>', __( '- Select -', 'wp-user-frontend' ) );
295
  return;
296
  }
297
 
admin/html/form-settings-display.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  $label_position = isset( $form_settings['label_position'] ) ? $form_settings['label_position'] : 'left';
4
  $form_layout = isset( $form_settings['form_layout'] ) ? $form_settings['form_layout'] : 'layout1';
5
- $theme_css = isset( $form_settings['use_theme_css'] ) ? $form_settings['use_theme_css'] : 'wpuf-style';
6
  ?>
7
 
8
  <table class="form-table">
2
 
3
  $label_position = isset( $form_settings['label_position'] ) ? $form_settings['label_position'] : 'left';
4
  $form_layout = isset( $form_settings['form_layout'] ) ? $form_settings['form_layout'] : 'layout1';
5
+ $theme_css = isset( $form_settings['use_theme_css'] ) ? $form_settings['use_theme_css'] : 'wpuf-theme-style';
6
  ?>
7
 
8
  <table class="form-table">
admin/html/form-settings-post.php CHANGED
@@ -9,7 +9,7 @@ $restrict_message = __( "This page is restricted. Please Log in / Register
9
  $post_type_selected = isset( $form_settings['post_type'] ) ? $form_settings['post_type'] : 'post';
10
 
11
  $post_format_selected = isset( $form_settings['post_format'] ) ? $form_settings['post_format'] : 0;
12
- $default_cat = isset( $form_settings['default_cat'] ) ? $form_settings['default_cat'] : array();
13
 
14
  $redirect_to = isset( $form_settings['redirect_to'] ) ? $form_settings['redirect_to'] : 'post';
15
  $message = isset( $form_settings['message'] ) ? $form_settings['message'] : __( 'Post saved', 'wp-user-frontend' );
@@ -115,7 +115,7 @@ $draft_post = isset( $form_settings['draft_post'] ) ? $form_settings[
115
 
116
  foreach ( $categories as $category ) {
117
  $selected = '';
118
- if ( in_array( $category->name, $default_cat ) ) {
119
  $selected = 'selected ';
120
  }
121
  echo '<option ' . $selected . 'value="' . $category->term_id . '">' . $category->name . '</option>';
9
  $post_type_selected = isset( $form_settings['post_type'] ) ? $form_settings['post_type'] : 'post';
10
 
11
  $post_format_selected = isset( $form_settings['post_format'] ) ? $form_settings['post_format'] : 0;
12
+ $default_cat = !empty( $form_settings['default_cat'] ) ? $form_settings['default_cat'] : array();
13
 
14
  $redirect_to = isset( $form_settings['redirect_to'] ) ? $form_settings['redirect_to'] : 'post';
15
  $message = isset( $form_settings['message'] ) ? $form_settings['message'] : __( 'Post saved', 'wp-user-frontend' );
115
 
116
  foreach ( $categories as $category ) {
117
  $selected = '';
118
+ if ( in_array( $category->term_id, $default_cat ) ) {
119
  $selected = 'selected ';
120
  }
121
  echo '<option ' . $selected . 'value="' . $category->term_id . '">' . $category->name . '</option>';
admin/html/modal.php CHANGED
@@ -41,6 +41,7 @@
41
  $class = 'template-active';
42
  $title = $template->title;
43
  $image = $template->image ? $template->image : '';
 
44
 
45
  $url = esc_url( add_query_arg( array(
46
  'action' => $action_name,
@@ -52,6 +53,7 @@
52
  $url = '#';
53
  $class = 'template-inactive';
54
  $title = __( 'This integration is not installed.', 'wp-user-frontend' );
 
55
  }
56
  ?>
57
 
@@ -60,10 +62,10 @@
60
  <?php if ( $image ) { printf( '<img src="%s" alt="%s">', $image, $title ); } ?>
61
 
62
  <div class="form-create-overlay">
63
- <div class="title"><?php echo $template->get_title(); ?></div>
64
  <div class="description"><?php echo $template->get_description(); ?></div>
65
  <br>
66
- <a href="<?php echo $url; ?>" class="button button-primary" title="<?php echo $template->get_title(); ?>">
67
  <?php _e('Create Form', 'wp-user-frontend' ); ?>
68
  </a>
69
  </div>
41
  $class = 'template-active';
42
  $title = $template->title;
43
  $image = $template->image ? $template->image : '';
44
+ $disabled = '';
45
 
46
  $url = esc_url( add_query_arg( array(
47
  'action' => $action_name,
53
  $url = '#';
54
  $class = 'template-inactive';
55
  $title = __( 'This integration is not installed.', 'wp-user-frontend' );
56
+ $disabled = 'disabled';
57
  }
58
  ?>
59
 
62
  <?php if ( $image ) { printf( '<img src="%s" alt="%s">', $image, $title ); } ?>
63
 
64
  <div class="form-create-overlay">
65
+ <div class="title"><?php echo $title; ?></div>
66
  <div class="description"><?php echo $template->get_description(); ?></div>
67
  <br>
68
+ <a href="<?php echo $url; ?>" class="button button-primary" title="<?php echo $template->get_title(); ?>" <?php echo $disabled ?>>
69
  <?php _e('Create Form', 'wp-user-frontend' ); ?>
70
  </a>
71
  </div>
admin/html/whats-new.php CHANGED
@@ -1,5 +1,46 @@
1
  <?php
2
  $changelog = array(
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  array(
4
  'version' => 'Version 2.8.9',
5
  'released' => '2018-06-06',
1
  <?php
2
  $changelog = array(
3
+ array(
4
+ 'version' => 'Version 2.8.10',
5
+ 'released' => '2018-07-17',
6
+ 'changes' => array(
7
+ array(
8
+ 'title' => __( 'Added drag and drop image ordering on image upload', 'wp-user-frontend' ),
9
+ 'type' => 'New',
10
+ 'description' => __( 'Now frontend users can drag & drop the images/files to change the order while uploading.', 'wp-user-frontend' )
11
+ ),
12
+ array(
13
+ 'title' => __( 'Added reCAPTCHA field in login form', 'wp-user-frontend' ),
14
+ 'type' => 'New',
15
+ 'description' => __( 'Admin has the option to show reCAPTCHA field in login form. Check the related settings from <strong>User Frontend > Settings > Login/Registration</strong>', 'wp-user-frontend' )
16
+ ),
17
+ array(
18
+ 'title' => __( 'Added preview option in forms', 'wp-user-frontend' ),
19
+ 'type' => 'New',
20
+ 'description' => __( 'You can see a nice <strong>Preview</strong> button with <strong>Save Form</strong> button, admin can take a quick look of the form without using shortcode', 'wp-user-frontend' )
21
+ ),
22
+ array(
23
+ 'title' => __( 'Fixed hiding “Select Image” button while uploading multiple images.', 'wp-user-frontend' ),
24
+ 'type' => 'Fix',
25
+ 'description' => __( 'The upload button will not be hidden until the user selects max number of files ', 'wp-user-frontend' )
26
+ ),
27
+ array(
28
+ 'title' => __( 'Added form limit notice before form submission', 'wp-user-frontend' ),
29
+ 'type' => 'Improvement',
30
+ 'description' => __( 'Limit notice message was showing after submission, now it is showing when rendering the form', 'wp-user-frontend' )
31
+ ),
32
+ array(
33
+ 'title' => __( 'Fixed: default post category not saving', 'wp-user-frontend' ),
34
+ 'type' => 'Fix',
35
+ 'description' => __( 'From the form <strong>Settings > Post Settings</strong>, default post category options were not saving. Now, it\'s fixed.', 'wp-user-frontend' )
36
+ ),
37
+ array(
38
+ 'title' => __( 'WPUF dashboard shortcode with form_id attribute was not showing posts properly', 'wp-user-frontend' ),
39
+ 'type' => 'Fix',
40
+ 'description' => __( 'Now you can list posts on the frontend by using <strong>form_id<strong/> attribute with <strong>[wpuf_dashboard]</strong> shortcode', 'wp-user-frontend' )
41
+ ),
42
+ )
43
+ ),
44
  array(
45
  'version' => 'Version 2.8.9',
46
  'released' => '2018-06-06',
admin/installer.php CHANGED
@@ -56,6 +56,10 @@ class WPUF_Admin_Installer {
56
  $this->init_pages();
57
  }
58
 
 
 
 
 
59
  if ( isset( $_GET['wpuf_hide_page_nag'] ) && $_GET['wpuf_hide_page_nag'] == '1' ) {
60
  update_option( '_wpuf_page_created', '1' );
61
  }
56
  $this->init_pages();
57
  }
58
 
59
+ if ( isset( $_POST['install_wpuf_pages'] ) && $_POST['install_wpuf_pages'] == '1' ) {
60
+ $this->init_pages();
61
+ }
62
+
63
  if ( isset( $_GET['wpuf_hide_page_nag'] ) && $_GET['wpuf_hide_page_nag'] == '1' ) {
64
  update_option( '_wpuf_page_created', '1' );
65
  }
admin/posting.php CHANGED
File without changes
admin/settings-options.php CHANGED
@@ -340,6 +340,13 @@ function wpuf_settings_fields() {
340
  'type' => 'checkbox',
341
  'default' => 'off'
342
  ),
 
 
 
 
 
 
 
343
 
344
  ) ),
345
  'wpuf_payment' => apply_filters( 'wpuf_options_payment', array(
@@ -458,7 +465,15 @@ function wpuf_settings_fields() {
458
  'name' => 'guest_email_body',
459
  'label' => __( 'Guest mail body', 'wp-user-frontend' ),
460
  'desc' => __( "This sets the body of the emails sent to guest users. Please DON'T edit the <code>{activation_link}</code> part, you can use {sitename} too.", 'wp-user-frontend' ),
461
- 'default' => "Hey There, \r\n\r\nWe just received your guest post and now we want you to confirm your email so that we can verify the content and move on to the publishing process.\r\n\r\nPlease click the link below to verify: \r\n\r\n{activation_link}\r\n\r\nRegards,\r\n{sitename}",
 
 
 
 
 
 
 
 
462
  'type' => 'wysiwyg',
463
  'class' => 'guest-email-setting-option',
464
  ),
340
  'type' => 'checkbox',
341
  'default' => 'off'
342
  ),
343
+ array(
344
+ 'name' => 'login_form_recaptcha',
345
+ 'label' => __( 'reCAPTCHA in Login Form', 'wp-user-frontend' ),
346
+ 'desc' => __( 'If enabled, users have to verify reCAPTCHA in login page. Also, make sure that reCAPTCHA is configured properly from <b>General Options</b>', 'wp-user-frontend' ),
347
+ 'type' => 'checkbox',
348
+ 'default' => 'off'
349
+ ),
350
 
351
  ) ),
352
  'wpuf_payment' => apply_filters( 'wpuf_options_payment', array(
465
  'name' => 'guest_email_body',
466
  'label' => __( 'Guest mail body', 'wp-user-frontend' ),
467
  'desc' => __( "This sets the body of the emails sent to guest users. Please DON'T edit the <code>{activation_link}</code> part, you can use {sitename} too.", 'wp-user-frontend' ),
468
+ 'default' => "Hey There,
469
+
470
+ We just received your guest post and now we want you to confirm your email so that we can verify the content and move on to the publishing process.
471
+
472
+ Please click the link below to verify:
473
+ {activation_link}
474
+
475
+ Regards,
476
+ {sitename}",
477
  'type' => 'wysiwyg',
478
  'class' => 'guest-email-setting-option',
479
  ),
admin/template-post.php CHANGED
File without changes
admin/template.php CHANGED
File without changes
admin/tools.php CHANGED
File without changes
assets/css/admin.css CHANGED
@@ -507,6 +507,10 @@ ul.wpuf-form .wpuf-submit input[type=submit] {
507
  text-decoration: none;
508
  text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799;
509
  }
 
 
 
 
510
  .wpuf-help-tabbed {
511
  display: flex;
512
  width: 100%;
507
  text-decoration: none;
508
  text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799;
509
  }
510
+ div#form-preview ul.wpuf-form li.wpuf_hidden_field {
511
+ display: block;
512
+ opacity: 0.3;
513
+ }
514
  .wpuf-help-tabbed {
515
  display: flex;
516
  width: 100%;
assets/css/chosen/chosen-sprite.png CHANGED
File without changes
assets/css/chosen/chosen-sprite@2x.png CHANGED
File without changes
assets/css/chosen/chosen.css CHANGED
File without changes
assets/css/frontend-forms.css CHANGED
@@ -343,6 +343,7 @@ ul.wpuf-form li .wpuf-fields ul.wpuf-attachment-list li .wpuf-file-input-wrap te
343
  }
344
  ul.wpuf-form li .wpuf-fields ul.wpuf-attachment-list li .attachment-name {
345
  text-align: center;
 
346
  }
347
  ul.wpuf-form li .wpuf-fields .progress {
348
  background: -moz-linear-gradient(center bottom, #FFFFFF 0%, #F7F7F7 100%) repeat scroll 0 0 #FFFFFF;
@@ -1278,9 +1279,11 @@ table#wpuf-address-country-state td {
1278
  }
1279
  .wpuf-image-wrap .attachment-name img {
1280
  width: 100%;
1281
- height: 100%;
1282
  transition: .3s;
1283
  border-radius: 4px;
 
 
1284
  }
1285
  .wpuf-image-wrap :not(.attachment-name img) {
1286
  position: absolute;
@@ -1293,23 +1296,59 @@ li.wpuf-image-wrap.thumbnail {
1293
  li.wpuf-image-wrap.thumbnail .caption {
1294
  position: absolute;
1295
  left: 50%;
1296
- margin-left: -10px;
1297
  top: 50%;
1298
  margin-top: -10px;
1299
  display: none;
1300
- width: 16px;
 
 
 
 
 
1301
  }
1302
  li.wpuf-image-wrap.thumbnail:hover .caption {
1303
  display: block;
1304
  }
1305
  @media (min-width: 480px) {
1306
- .row {
1307
  width: 100%;
1308
  display: table;
1309
  table-layout: auto;
1310
  }
1311
- .col {
1312
  width: 50%;
1313
  display: table-cell;
1314
  }
1315
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
343
  }
344
  ul.wpuf-form li .wpuf-fields ul.wpuf-attachment-list li .attachment-name {
345
  text-align: center;
346
+ line-height: 0;
347
  }
348
  ul.wpuf-form li .wpuf-fields .progress {
349
  background: -moz-linear-gradient(center bottom, #FFFFFF 0%, #F7F7F7 100%) repeat scroll 0 0 #FFFFFF;
1279
  }
1280
  .wpuf-image-wrap .attachment-name img {
1281
  width: 100%;
1282
+ max-height: 150px;
1283
  transition: .3s;
1284
  border-radius: 4px;
1285
+ box-shadow: none;
1286
+ -webkit-box-shadow: none;
1287
  }
1288
  .wpuf-image-wrap :not(.attachment-name img) {
1289
  position: absolute;
1296
  li.wpuf-image-wrap.thumbnail .caption {
1297
  position: absolute;
1298
  left: 50%;
1299
+ margin-left: -40px;
1300
  top: 50%;
1301
  margin-top: -10px;
1302
  display: none;
1303
+ width: 80px;
1304
+ background: #23282d;
1305
+ text-align: center;
1306
+ padding: 0;
1307
+ border-radius: 3px;
1308
+ line-height: 0;
1309
  }
1310
  li.wpuf-image-wrap.thumbnail:hover .caption {
1311
  display: block;
1312
  }
1313
  @media (min-width: 480px) {
1314
+ .wpuf-pay-row {
1315
  width: 100%;
1316
  display: table;
1317
  table-layout: auto;
1318
  }
1319
+ .wpuf-pay-col {
1320
  width: 50%;
1321
  display: table-cell;
1322
  }
1323
  }
1324
+ ul.wpuf-form li .wpuf-fields ul.wpuf-attachment-list {
1325
+ overflow: auto;
1326
+ }
1327
+ ul.wpuf-form li .wpuf-fields ul.wpuf-attachment-list li.highlight {
1328
+ margin-bottom: 0;
1329
+ height: 150px;
1330
+ padding-top: 0;
1331
+ padding-bottom: 0;
1332
+ }
1333
+ ul.wpuf-form .ui-state-default.wpuf-image-wrap:hover {
1334
+ cursor: move;
1335
+ }
1336
+ ul.wpuf-form .ui-state-default.wpuf-image-wrap .caption a,
1337
+ ul.wpuf-form .ui-state-default.wpuf-image-wrap .caption span {
1338
+ display: inline-block;
1339
+ line-height: 0;
1340
+ height: inherit;
1341
+ padding: 5px;
1342
+ color: transparent;
1343
+ vertical-align: top;
1344
+ }
1345
+ ul.wpuf-form .ui-state-default .wpuf-image-wrap .caption a img {
1346
+ -webkit-box-shadow: none;
1347
+ box-shadow: none;
1348
+ }
1349
+ ul.wpuf-form .ui-state-default.wpuf-image-wrap .caption a:hover,
1350
+ ul.wpuf-form .ui-state-default.wpuf-image-wrap .caption span:hover {
1351
+ background: #0073aa;
1352
+ -webkit-box-shadow: none;
1353
+ box-shadow: none;
1354
+ }
assets/css/images/ui-bg_diagonals-small_75_cccccc_40x40.png CHANGED
File without changes
assets/css/images/ui-bg_flat_0_aaaaaa_40x100.png CHANGED
File without changes
assets/css/images/ui-bg_flat_0_ffffff_40x100.png CHANGED
File without changes
assets/css/images/ui-bg_flat_75_ffffff_40x100.png CHANGED
File without changes
assets/css/images/ui-bg_glass_55_fbf9ee_1x400.png CHANGED
File without changes
assets/css/images/ui-bg_glass_65_ffffff_1x400.png CHANGED
File without changes
assets/css/images/ui-bg_glass_75_dadada_1x400.png CHANGED
File without changes
assets/css/images/ui-bg_glass_75_e6e6e6_1x400.png CHANGED
File without changes
assets/css/images/ui-bg_glass_95_fef1ec_1x400.png CHANGED
File without changes
assets/css/images/ui-icons_222222_256x240.png CHANGED
File without changes
assets/css/images/ui-icons_2e83ff_256x240.png CHANGED
File without changes
assets/css/images/ui-icons_454545_256x240.png CHANGED
File without changes
assets/css/images/ui-icons_888888_256x240.png CHANGED
File without changes
assets/css/images/ui-icons_cd0a0a_256x240.png CHANGED
File without changes
assets/css/jquery-ui-1.9.1.custom.css CHANGED
File without changes
assets/css/jquery.smallipop.css CHANGED
File without changes
assets/css/wpuf-form-builder.css CHANGED
@@ -149,7 +149,7 @@
149
  }
150
  }
151
  #toast-container.toast-top-right {
152
- top: 40px;
153
  right: 18px;
154
  }
155
  #toast-container > div {
149
  }
150
  }
151
  #toast-container.toast-top-right {
152
+ top: 80px;
153
  right: 18px;
154
  }
155
  #toast-container > div {
assets/css/wpuf.css CHANGED
File without changes
assets/images/add.png CHANGED
File without changes
assets/images/arrow-move.png CHANGED
File without changes
assets/images/arrows.png CHANGED
File without changes
assets/images/completed.png CHANGED
File without changes
assets/images/cross.png CHANGED
File without changes
assets/images/del.png CHANGED
File without changes
assets/images/delete.png CHANGED
File without changes
assets/images/edit.png CHANGED
File without changes
assets/images/help.png CHANGED
File without changes
assets/images/help/bugs.svg CHANGED
File without changes
assets/images/help/customization.svg CHANGED
File without changes
assets/images/help/docs.svg CHANGED
File without changes
assets/images/help/like.svg CHANGED
File without changes
assets/images/help/support.svg CHANGED
File without changes
assets/images/icon-128x128.png CHANGED
File without changes
assets/images/move-img.png ADDED
Binary file
assets/images/no-image.png CHANGED
File without changes
assets/images/paypal.png CHANGED
File without changes
assets/images/processing.png CHANGED
File without changes
assets/images/remove.png CHANGED
File without changes
assets/images/tick.png CHANGED
File without changes
assets/images/wpspin_light.gif CHANGED
File without changes
assets/js-templates/form-components.php CHANGED
@@ -1,7 +1,7 @@
1
  <script type="text/x-template" id="tmpl-wpuf-builder-stage">
2
  <div id="form-preview-stage">
3
  <h4 v-if="!form_fields.length" class="text-center">
4
- <?php _e( 'Add fields by dragging the fields from the right sidebar to this area.', 'wpuf' ) ?>
5
  </h4>
6
 
7
  <ul :class="['wpuf-form', 'sortable-list', 'form-label-' + label_type]">
@@ -27,7 +27,7 @@
27
 
28
  <div v-if="is_pro_feature(field.template)" class="stage-pro-alert">
29
  <label class="wpuf-pro-text-alert">
30
- <a :href="pro_link" target="_blank"><strong>{{ get_field_name(field.template) }}</strong> <?php _e( 'is available in Pro Version', 'wpuf' ); ?></a>
31
  </label>
32
  </div>
33
 
@@ -51,14 +51,14 @@
51
  </ul><!-- .wpuf-form -->
52
 
53
  <div v-if="hidden_fields.length" class="hidden-field-list">
54
- <h4><?php _e( 'Hidden Fields', 'wpuf' ); ?></h4>
55
 
56
  <ul class="wpuf-form">
57
  <li
58
  v-for="(field, index) in hidden_fields"
59
  :class="['field-items', parseInt(editing_form_id) === parseInt(field.id) ? 'current-editing' : '']"
60
  >
61
- <strong><?php _e('key', 'wpuf'); ?></strong>: {{ field.name }} | <strong><?php _e( 'value', 'wpuf' ); ?></strong>: {{ field.meta_value }}
62
 
63
  <div class="control-buttons">
64
  <p>
@@ -74,7 +74,7 @@
74
  <?php do_action( 'wpuf-form-builder-template-builder-stage-bottom-area' ); ?>
75
  </div><!-- #form-preview-stage -->
76
  </script>
77
-
78
  <script type="text/x-template" id="tmpl-wpuf-field-checkbox">
79
  <div v-if="met_dependencies" class="panel-field-opt panel-field-opt-checkbox">
80
  <label v-if="option_field.title" :class="option_field.title_class">
@@ -89,11 +89,11 @@
89
  </ul>
90
  </div>
91
  </script>
92
-
93
  <script type="text/x-template" id="tmpl-wpuf-field-html_help_text">
94
  <div class="panel-field-opt panel-field-html-help-text" v-html="option_field.text"></div>
95
  </script>
96
-
97
  <script type="text/x-template" id="tmpl-wpuf-field-multiselect">
98
  <div class="panel-field-opt panel-field-opt-select">
99
  <label v-if="option_field.title">
@@ -109,13 +109,13 @@
109
  </select>
110
  </div>
111
  </script>
112
-
113
  <script type="text/x-template" id="tmpl-wpuf-field-option-data">
114
  <div class="panel-field-opt panel-field-opt-text">
115
  <label class="clearfix">
116
  {{ option_field.title }} <help-text v-if="option_field.help_text" :text="option_field.help_text"></help-text>
117
  <span class="pull-right">
118
- <input type="checkbox" v-model="show_value"> <?php _e( 'Show values', 'wpuf' ); ?>
119
  </span>
120
  </label>
121
 
@@ -126,11 +126,11 @@
126
  <div class="sort-handler">&nbsp;</div>
127
 
128
  <div class="label">
129
- <?php _e( 'Label', 'wpuf' ); ?>
130
  </div>
131
 
132
  <div v-if="show_value" class="value">
133
- <?php _e( 'Value', 'wpuf' ) ?>
134
  </div>
135
 
136
  <div class="action-buttons">&nbsp;</div>
@@ -178,19 +178,19 @@
178
  </li>
179
  </ul>
180
 
181
- <a v-if="!option_field.is_multiple && selected" href="#clear" @click.prevent="clear_selection"><?php _e( 'Clear Selection', 'wpuf' ); ?></a>
182
  </div>
183
  </script>
184
-
185
  <script type="text/x-template" id="tmpl-wpuf-field-option-pro-feature-alert">
186
  <div class="panel-field-opt panel-field-opt-pro-feature">
187
  <label>{{ option_field.title }}</label><br>
188
  <label class="wpuf-pro-text-alert">
189
- <a :href="pro_link" target="_blank"><?php _e( 'Available in Pro Version', 'wpuf' ); ?></a>
190
  </label>
191
  </div>
192
  </script>
193
-
194
  <script type="text/x-template" id="tmpl-wpuf-field-options">
195
  <div class="wpuf-form-builder-field-options">
196
  <div v-if="!parseInt(editing_field_id)" class="options-fileds-section text-center">
@@ -240,7 +240,7 @@
240
 
241
  </div>
242
  </script>
243
-
244
  <script type="text/x-template" id="tmpl-wpuf-field-radio">
245
  <div class="panel-field-opt panel-field-opt-radio">
246
  <label v-if="option_field.title">
@@ -256,7 +256,7 @@
256
  </ul>
257
  </div>
258
  </script>
259
-
260
  <script type="text/x-template" id="tmpl-wpuf-field-select">
261
  <div class="panel-field-opt panel-field-opt-select">
262
  <label v-if="option_field.title">
@@ -264,12 +264,12 @@
264
  </label>
265
 
266
  <select class="opt-select-element" v-model="value">
267
- <option value=""><?php _e( 'Select an option', 'wpuf' ); ?></option>
268
  <option v-for="(option, key) in option_field.options" :value="key">{{ option }}</option>
269
  </select>
270
  </div>
271
  </script>
272
-
273
  <script type="text/x-template" id="tmpl-wpuf-field-text">
274
  <div v-if="met_dependencies" class="panel-field-opt panel-field-opt-text">
275
  <label>
@@ -293,7 +293,7 @@
293
  </label>
294
  </div>
295
  </script>
296
-
297
  <script type="text/x-template" id="tmpl-wpuf-field-text-meta">
298
  <div class="panel-field-opt panel-field-opt-text panel-field-opt-text-meta">
299
  <label>
@@ -305,7 +305,7 @@
305
  </label>
306
  </div>
307
  </script>
308
-
309
  <script type="text/x-template" id="tmpl-wpuf-field-textarea">
310
  <div class="panel-field-opt panel-field-opt-textarea">
311
  <label>
@@ -315,7 +315,7 @@
315
  </label>
316
  </div>
317
  </script>
318
-
319
  <script type="text/x-template" id="tmpl-wpuf-field-visibility">
320
  <div class="panel-field-opt panel-field-opt-radio">
321
  <label v-if="option_field.title">
@@ -369,14 +369,14 @@
369
 
370
  }
371
  } else {
372
- _e( 'No subscription plan found.', 'wpuf' );
373
  }
374
  ?>
375
  </ul>
376
 
377
  </div>
378
  </div></script>
379
-
380
  <script type="text/x-template" id="tmpl-wpuf-form-checkbox_field">
381
  <div class="wpuf-fields">
382
  <ul :class="['wpuf-fields-list', ('yes' === field.inline) ? 'wpuf-list-inline' : '']">
@@ -395,7 +395,7 @@
395
  <span v-if="field.help" class="wpuf-help">{{ field.help }}</span>
396
  </div>
397
  </script>
398
-
399
  <script type="text/x-template" id="tmpl-wpuf-form-custom_hidden_field">
400
  <div class="wpuf-fields">
401
  <input
@@ -408,11 +408,11 @@
408
  <span v-if="field.help" class="wpuf-help">{{ field.help }}</span>
409
  </div>
410
  </script>
411
-
412
  <script type="text/x-template" id="tmpl-wpuf-form-custom_html">
413
  <div class="wpuf-fields" v-html="field.html"></div>
414
  </script>
415
-
416
  <script type="text/x-template" id="tmpl-wpuf-form-dropdown_field">
417
  <div class="wpuf-fields">
418
  <select
@@ -431,7 +431,7 @@
431
  <span v-if="field.help" class="wpuf-help">{{ field.help }}</span>
432
  </div>
433
  </script>
434
-
435
  <script type="text/x-template" id="tmpl-wpuf-form-email_address">
436
  <div class="wpuf-fields">
437
  <input
@@ -444,14 +444,14 @@
444
  <span v-if="field.help" class="wpuf-help">{{ field.help }}</span>
445
  </div>
446
  </script>
447
-
448
  <script type="text/x-template" id="tmpl-wpuf-form-featured_image">
449
  <div class="wpuf-fields">
450
  <div :id="'wpuf-img_label-' + field.id + '-upload-container'">
451
  <div class="wpuf-attachment-upload-filelist" data-type="file" data-required="yes">
452
  <a class="button file-selector" href="#">
453
  <template v-if="field.button_label === ''">
454
- <?php _e( 'Select Image', 'wpuf' ); ?>
455
  </template>
456
  <template v-else>
457
  {{ field.button_label }}
@@ -463,7 +463,7 @@
463
  <span v-if="field.help" class="wpuf-help">{{ field.help }}</span>
464
  </div>
465
  </script>
466
-
467
  <script type="text/x-template" id="tmpl-wpuf-form-fields">
468
  <div class="wpuf-form-builder-form-fields">
469
  <template v-for="(section, index) in panel_sections">
@@ -515,14 +515,14 @@
515
  </template>
516
  </div>
517
  </script>
518
-
519
  <script type="text/x-template" id="tmpl-wpuf-form-image_upload">
520
  <div class="wpuf-fields">
521
  <div :id="'wpuf-img_label-' + field.id + '-upload-container'">
522
  <div class="wpuf-attachment-upload-filelist" data-type="file" data-required="yes">
523
  <a class="button file-selector wpuf_img_label_148" href="#">
524
  <template v-if="field.button_label === ''">
525
- <?php _e( 'Select Image', 'wpuf' ); ?>
526
  </template>
527
  <template v-else>
528
  {{ field.button_label }}
@@ -534,7 +534,7 @@
534
  <span v-if="field.help" class="wpuf-help">{{ field.help }}</span>
535
  </div>
536
  </script>
537
-
538
  <script type="text/x-template" id="tmpl-wpuf-form-multiple_select">
539
  <div class="wpuf-fields">
540
  <select
@@ -554,12 +554,12 @@
554
  <span v-if="field.help" class="wpuf-help">{{ field.help }}</span>
555
  </div>
556
  </script>
557
-
558
  <script type="text/x-template" id="tmpl-wpuf-form-post_content">
559
  <div class="wpuf-fields">
560
  <div class="wp-media-buttons" v-if="field.insert_image == 'yes'">
561
  <button type="button" class="button insert-media add_media" data-editor="content">
562
- <span class="dashicons dashicons-admin-media insert-photo-icon"></span> <?php _e( 'Insert Photo', 'wpuf' ); ?>
563
  </button>
564
  </div>
565
  <br v-if="field.insert_image == 'yes'" />
@@ -577,7 +577,7 @@
577
  <span v-if="field.help" class="wpuf-help">{{ field.help }}</span>
578
  </div>
579
  </script>
580
-
581
  <script type="text/x-template" id="tmpl-wpuf-form-post_excerpt">
582
  <div class="wpuf-fields">
583
  <textarea
@@ -589,7 +589,7 @@
589
  <span v-if="field.help" class="wpuf-help">{{ field.help }}</span>
590
  </div>
591
  </script>
592
-
593
  <script type="text/x-template" id="tmpl-wpuf-form-post_tags">
594
  <div class="wpuf-fields">
595
  <input
@@ -603,7 +603,7 @@
603
  <span v-if="field.help" class="wpuf-help">{{ field.help }}</span>
604
  </div>
605
  </script>
606
-
607
  <script type="text/x-template" id="tmpl-wpuf-form-post_title">
608
  <div class="wpuf-fields">
609
  <input
@@ -616,7 +616,7 @@
616
  <span v-if="field.help" class="wpuf-help">{{ field.help }}</span>
617
  </div>
618
  </script>
619
-
620
  <script type="text/x-template" id="tmpl-wpuf-form-radio_field">
621
  <div class="wpuf-fields">
622
  <ul :class="['wpuf-fields-list', ('yes' === field.inline) ? 'wpuf-list-inline' : '']">
@@ -635,7 +635,7 @@
635
  <span v-if="field.help" class="wpuf-help">{{ field.help }}</span>
636
  </div>
637
  </script>
638
-
639
  <script type="text/x-template" id="tmpl-wpuf-form-recaptcha">
640
  <div class="wpuf-fields">
641
  <template v-if="!has_recaptcha_api_keys">
@@ -649,14 +649,14 @@
649
  </template>
650
  </div>
651
  </script>
652
-
653
  <script type="text/x-template" id="tmpl-wpuf-form-section_break">
654
  <div class="wpuf-section-wrap">
655
  <h2 class="wpuf-section-title">{{ field.label }}</h2>
656
  <div class="wpuf-section-details">{{ field.description }}</div>
657
  </div>
658
  </script>
659
-
660
  <script type="text/x-template" id="tmpl-wpuf-form-taxonomy">
661
  <div class="wpuf-fields">
662
  <select
@@ -668,7 +668,7 @@
668
  <div v-if="'ajax' === field.type" class="category-wrap">
669
  <div>
670
  <select>
671
- <option><?php _e( '— Select —', 'wpuf' ); ?></option>
672
  <option v-for="term in sorted_terms" :value="term.id">{{ term.name }}</option>
673
  </select>
674
  </div>
@@ -705,7 +705,20 @@
705
  <span v-if="field.help" class="wpuf-help">{{ field.help }}</span>
706
  </div>
707
  </script>
708
-
 
 
 
 
 
 
 
 
 
 
 
 
 
709
  <script type="text/x-template" id="tmpl-wpuf-form-textarea_field">
710
  <div class="wpuf-fields">
711
  <textarea
@@ -721,20 +734,7 @@
721
  <span v-if="field.help" class="wpuf-help">{{ field.help }}</span>
722
  </div>
723
  </script>
724
-
725
- <script type="text/x-template" id="tmpl-wpuf-form-text_field">
726
- <div class="wpuf-fields">
727
- <input
728
- type="text"
729
- :class="class_names('textfield')"
730
- :placeholder="field.placeholder"
731
- :value="field.default"
732
- :size="field.size"
733
- >
734
- <span v-if="field.help" class="wpuf-help">{{ field.help }}</span>
735
- </div>
736
- </script>
737
-
738
  <script type="text/x-template" id="tmpl-wpuf-form-website_url">
739
  <div class="wpuf-fields">
740
  <input
@@ -747,11 +747,11 @@
747
  <span v-if="field.help" class="wpuf-help">{{ field.help }}</span>
748
  </div>
749
  </script>
750
-
751
  <script type="text/x-template" id="tmpl-wpuf-help-text">
752
  <i class="fa fa-question-circle field-helper-text wpuf-tooltip" data-placement="top" :title="text"></i>
753
  </script>
754
-
755
  <script type="text/x-template" id="tmpl-wpuf-text-editor">
756
  <div class="wpuf-text-editor">
757
 
1
  <script type="text/x-template" id="tmpl-wpuf-builder-stage">
2
  <div id="form-preview-stage">
3
  <h4 v-if="!form_fields.length" class="text-center">
4
+ <?php _e( 'Add fields by dragging the fields from the right sidebar to this area.', 'wp-user-frontend' ) ?>
5
  </h4>
6
 
7
  <ul :class="['wpuf-form', 'sortable-list', 'form-label-' + label_type]">
27
 
28
  <div v-if="is_pro_feature(field.template)" class="stage-pro-alert">
29
  <label class="wpuf-pro-text-alert">
30
+ <a :href="pro_link" target="_blank"><strong>{{ get_field_name(field.template) }}</strong> <?php _e( 'is available in Pro Version', 'wp-user-frontend' ); ?></a>
31
  </label>
32
  </div>
33
 
51
  </ul><!-- .wpuf-form -->
52
 
53
  <div v-if="hidden_fields.length" class="hidden-field-list">
54
+ <h4><?php _e( 'Hidden Fields', 'wp-user-frontend' ); ?></h4>
55
 
56
  <ul class="wpuf-form">
57
  <li
58
  v-for="(field, index) in hidden_fields"
59
  :class="['field-items', parseInt(editing_form_id) === parseInt(field.id) ? 'current-editing' : '']"
60
  >
61
+ <strong><?php _e('key', 'wp-user-frontend'); ?></strong>: {{ field.name }} | <strong><?php _e( 'value', 'wp-user-frontend' ); ?></strong>: {{ field.meta_value }}
62
 
63
  <div class="control-buttons">
64
  <p>
74
  <?php do_action( 'wpuf-form-builder-template-builder-stage-bottom-area' ); ?>
75
  </div><!-- #form-preview-stage -->
76
  </script>
77
+
78
  <script type="text/x-template" id="tmpl-wpuf-field-checkbox">
79
  <div v-if="met_dependencies" class="panel-field-opt panel-field-opt-checkbox">
80
  <label v-if="option_field.title" :class="option_field.title_class">
89
  </ul>
90
  </div>
91
  </script>
92
+
93
  <script type="text/x-template" id="tmpl-wpuf-field-html_help_text">
94
  <div class="panel-field-opt panel-field-html-help-text" v-html="option_field.text"></div>
95
  </script>
96
+
97
  <script type="text/x-template" id="tmpl-wpuf-field-multiselect">
98
  <div class="panel-field-opt panel-field-opt-select">
99
  <label v-if="option_field.title">
109
  </select>
110
  </div>
111
  </script>
112
+
113
  <script type="text/x-template" id="tmpl-wpuf-field-option-data">
114
  <div class="panel-field-opt panel-field-opt-text">
115
  <label class="clearfix">
116
  {{ option_field.title }} <help-text v-if="option_field.help_text" :text="option_field.help_text"></help-text>
117
  <span class="pull-right">
118
+ <input type="checkbox" v-model="show_value"> <?php _e( 'Show values', 'wp-user-frontend' ); ?>
119
  </span>
120
  </label>
121
 
126
  <div class="sort-handler">&nbsp;</div>
127
 
128
  <div class="label">
129
+ <?php _e( 'Label', 'wp-user-frontend' ); ?>
130
  </div>
131
 
132
  <div v-if="show_value" class="value">
133
+ <?php _e( 'Value', 'wp-user-frontend' ) ?>
134
  </div>
135
 
136
  <div class="action-buttons">&nbsp;</div>
178
  </li>
179
  </ul>
180
 
181
+ <a v-if="!option_field.is_multiple && selected" href="#clear" @click.prevent="clear_selection"><?php _e( 'Clear Selection', 'wp-user-frontend' ); ?></a>
182
  </div>
183
  </script>
184
+
185
  <script type="text/x-template" id="tmpl-wpuf-field-option-pro-feature-alert">
186
  <div class="panel-field-opt panel-field-opt-pro-feature">
187
  <label>{{ option_field.title }}</label><br>
188
  <label class="wpuf-pro-text-alert">
189
+ <a :href="pro_link" target="_blank"><?php _e( 'Available in Pro Version', 'wp-user-frontend' ); ?></a>
190
  </label>
191
  </div>
192
  </script>
193
+
194
  <script type="text/x-template" id="tmpl-wpuf-field-options">
195
  <div class="wpuf-form-builder-field-options">
196
  <div v-if="!parseInt(editing_field_id)" class="options-fileds-section text-center">
240
 
241
  </div>
242
  </script>
243
+
244
  <script type="text/x-template" id="tmpl-wpuf-field-radio">
245
  <div class="panel-field-opt panel-field-opt-radio">
246
  <label v-if="option_field.title">
256
  </ul>
257
  </div>
258
  </script>
259
+
260
  <script type="text/x-template" id="tmpl-wpuf-field-select">
261
  <div class="panel-field-opt panel-field-opt-select">
262
  <label v-if="option_field.title">
264
  </label>
265
 
266
  <select class="opt-select-element" v-model="value">
267
+ <option value=""><?php _e( 'Select an option', 'wp-user-frontend' ); ?></option>
268
  <option v-for="(option, key) in option_field.options" :value="key">{{ option }}</option>
269
  </select>
270
  </div>
271
  </script>
272
+
273
  <script type="text/x-template" id="tmpl-wpuf-field-text">
274
  <div v-if="met_dependencies" class="panel-field-opt panel-field-opt-text">
275
  <label>
293
  </label>
294
  </div>
295
  </script>
296
+
297
  <script type="text/x-template" id="tmpl-wpuf-field-text-meta">
298
  <div class="panel-field-opt panel-field-opt-text panel-field-opt-text-meta">
299
  <label>
305
  </label>
306
  </div>
307
  </script>
308
+
309
  <script type="text/x-template" id="tmpl-wpuf-field-textarea">
310
  <div class="panel-field-opt panel-field-opt-textarea">
311
  <label>
315
  </label>
316
  </div>
317
  </script>
318
+
319
  <script type="text/x-template" id="tmpl-wpuf-field-visibility">
320
  <div class="panel-field-opt panel-field-opt-radio">
321
  <label v-if="option_field.title">
369
 
370
  }
371
  } else {
372
+ _e( 'No subscription plan found.', 'wp-user-frontend' );
373
  }
374
  ?>
375
  </ul>
376
 
377
  </div>
378
  </div></script>
379
+
380
  <script type="text/x-template" id="tmpl-wpuf-form-checkbox_field">
381
  <div class="wpuf-fields">
382
  <ul :class="['wpuf-fields-list', ('yes' === field.inline) ? 'wpuf-list-inline' : '']">
395
  <span v-if="field.help" class="wpuf-help">{{ field.help }}</span>
396
  </div>
397
  </script>
398
+
399
  <script type="text/x-template" id="tmpl-wpuf-form-custom_hidden_field">
400
  <div class="wpuf-fields">
401
  <input
408
  <span v-if="field.help" class="wpuf-help">{{ field.help }}</span>
409
  </div>
410
  </script>
411
+
412
  <script type="text/x-template" id="tmpl-wpuf-form-custom_html">
413
  <div class="wpuf-fields" v-html="field.html"></div>
414
  </script>
415
+
416
  <script type="text/x-template" id="tmpl-wpuf-form-dropdown_field">
417
  <div class="wpuf-fields">
418
  <select
431
  <span v-if="field.help" class="wpuf-help">{{ field.help }}</span>
432
  </div>
433
  </script>
434
+
435
  <script type="text/x-template" id="tmpl-wpuf-form-email_address">
436
  <div class="wpuf-fields">
437
  <input
444
  <span v-if="field.help" class="wpuf-help">{{ field.help }}</span>
445
  </div>
446
  </script>
447
+
448
  <script type="text/x-template" id="tmpl-wpuf-form-featured_image">
449
  <div class="wpuf-fields">
450
  <div :id="'wpuf-img_label-' + field.id + '-upload-container'">
451
  <div class="wpuf-attachment-upload-filelist" data-type="file" data-required="yes">
452
  <a class="button file-selector" href="#">
453
  <template v-if="field.button_label === ''">
454
+ <?php _e( 'Select Image', 'wp-user-frontend' ); ?>
455
  </template>
456
  <template v-else>
457
  {{ field.button_label }}
463
  <span v-if="field.help" class="wpuf-help">{{ field.help }}</span>
464
  </div>
465
  </script>
466
+
467
  <script type="text/x-template" id="tmpl-wpuf-form-fields">
468
  <div class="wpuf-form-builder-form-fields">
469
  <template v-for="(section, index) in panel_sections">
515
  </template>
516
  </div>
517
  </script>
518
+
519
  <script type="text/x-template" id="tmpl-wpuf-form-image_upload">
520
  <div class="wpuf-fields">
521
  <div :id="'wpuf-img_label-' + field.id + '-upload-container'">
522
  <div class="wpuf-attachment-upload-filelist" data-type="file" data-required="yes">
523
  <a class="button file-selector wpuf_img_label_148" href="#">
524
  <template v-if="field.button_label === ''">
525
+ <?php _e( 'Select Image', 'wp-user-frontend' ); ?>
526
  </template>
527
  <template v-else>
528
  {{ field.button_label }}
534
  <span v-if="field.help" class="wpuf-help">{{ field.help }}</span>
535
  </div>
536
  </script>
537
+
538
  <script type="text/x-template" id="tmpl-wpuf-form-multiple_select">
539
  <div class="wpuf-fields">
540
  <select
554
  <span v-if="field.help" class="wpuf-help">{{ field.help }}</span>
555
  </div>
556
  </script>
557
+
558
  <script type="text/x-template" id="tmpl-wpuf-form-post_content">
559
  <div class="wpuf-fields">
560
  <div class="wp-media-buttons" v-if="field.insert_image == 'yes'">
561
  <button type="button" class="button insert-media add_media" data-editor="content">
562
+ <span class="dashicons dashicons-admin-media insert-photo-icon"></span> <?php _e( 'Insert Photo', 'wp-user-frontend' ); ?>
563
  </button>
564
  </div>
565
  <br v-if="field.insert_image == 'yes'" />
577
  <span v-if="field.help" class="wpuf-help">{{ field.help }}</span>
578
  </div>
579
  </script>
580
+
581
  <script type="text/x-template" id="tmpl-wpuf-form-post_excerpt">
582
  <div class="wpuf-fields">
583
  <textarea
589
  <span v-if="field.help" class="wpuf-help">{{ field.help }}</span>
590
  </div>
591
  </script>
592
+
593
  <script type="text/x-template" id="tmpl-wpuf-form-post_tags">
594
  <div class="wpuf-fields">
595
  <input
603
  <span v-if="field.help" class="wpuf-help">{{ field.help }}</span>
604
  </div>
605
  </script>
606
+
607
  <script type="text/x-template" id="tmpl-wpuf-form-post_title">
608
  <div class="wpuf-fields">
609
  <input
616
  <span v-if="field.help" class="wpuf-help">{{ field.help }}</span>
617
  </div>
618
  </script>
619
+
620
  <script type="text/x-template" id="tmpl-wpuf-form-radio_field">
621
  <div class="wpuf-fields">
622
  <ul :class="['wpuf-fields-list', ('yes' === field.inline) ? 'wpuf-list-inline' : '']">
635
  <span v-if="field.help" class="wpuf-help">{{ field.help }}</span>
636
  </div>
637
  </script>
638
+
639
  <script type="text/x-template" id="tmpl-wpuf-form-recaptcha">
640
  <div class="wpuf-fields">
641
  <template v-if="!has_recaptcha_api_keys">
649
  </template>
650
  </div>
651
  </script>
652
+
653
  <script type="text/x-template" id="tmpl-wpuf-form-section_break">
654
  <div class="wpuf-section-wrap">
655
  <h2 class="wpuf-section-title">{{ field.label }}</h2>
656
  <div class="wpuf-section-details">{{ field.description }}</div>
657
  </div>
658
  </script>
659
+
660
  <script type="text/x-template" id="tmpl-wpuf-form-taxonomy">
661
  <div class="wpuf-fields">
662
  <select
668
  <div v-if="'ajax' === field.type" class="category-wrap">
669
  <div>
670
  <select>
671
+ <option><?php _e( '— Select —', 'wp-user-frontend' ); ?></option>
672
  <option v-for="term in sorted_terms" :value="term.id">{{ term.name }}</option>
673
  </select>
674
  </div>
705
  <span v-if="field.help" class="wpuf-help">{{ field.help }}</span>
706
  </div>
707
  </script>
708
+
709
+ <script type="text/x-template" id="tmpl-wpuf-form-text_field">
710
+ <div class="wpuf-fields">
711
+ <input
712
+ type="text"
713
+ :class="class_names('textfield')"
714
+ :placeholder="field.placeholder"
715
+ :value="field.default"
716
+ :size="field.size"
717
+ >
718
+ <span v-if="field.help" class="wpuf-help">{{ field.help }}</span>
719
+ </div>
720
+ </script>
721
+
722
  <script type="text/x-template" id="tmpl-wpuf-form-textarea_field">
723
  <div class="wpuf-fields">
724
  <textarea
734
  <span v-if="field.help" class="wpuf-help">{{ field.help }}</span>
735
  </div>
736
  </script>
737
+
 
 
 
 
 
 
 
 
 
 
 
 
 
738
  <script type="text/x-template" id="tmpl-wpuf-form-website_url">
739
  <div class="wpuf-fields">
740
  <input
747
  <span v-if="field.help" class="wpuf-help">{{ field.help }}</span>
748
  </div>
749
  </script>
750
+
751
  <script type="text/x-template" id="tmpl-wpuf-help-text">
752
  <i class="fa fa-question-circle field-helper-text wpuf-tooltip" data-placement="top" :title="text"></i>
753
  </script>
754
+
755
  <script type="text/x-template" id="tmpl-wpuf-text-editor">
756
  <div class="wpuf-text-editor">
757
 
assets/js/chosen.jquery.js CHANGED
File without changes
assets/js/conditional.js CHANGED
File without changes
assets/js/frontend-form.js CHANGED
@@ -409,7 +409,15 @@
409
  grecaptcha.reset();
410
  }
411
 
412
- alert( res.error );
 
 
 
 
 
 
 
 
413
  }
414
 
415
  submitButton.removeAttr('disabled');
409
  grecaptcha.reset();
410
  }
411
 
412
+ swal({
413
+ html: res.error,
414
+ type: 'warning',
415
+ showCancelButton: false,
416
+ confirmButtonColor: '#d54e21',
417
+ confirmButtonText: 'OK',
418
+ cancelButtonClass: 'btn btn-danger',
419
+ });
420
+
421
  }
422
 
423
  submitButton.removeAttr('disabled');
assets/js/frontend-form.min.js CHANGED
@@ -1 +1 @@
1
- !function(a,b){a.fn.listautowidth=function(){return this.each(function(){var b=a(this).width(),c=b/a(this).children("li").length;a(this).children("li").each(function(){var b=a(this).outerWidth(!0)-a(this).width();a(this).width(c-b)})})},b.WP_User_Frontend={init:function(){this.enableMultistep(this),a(".wpuf-form").on("click","img.wpuf-clone-field",this.cloneField),a(".wpuf-form").on("click","img.wpuf-remove-field",this.removeField),a(".wpuf-form").on("click","a.wpuf-delete-avatar",this.deleteAvatar),a(".wpuf-form").on("click","a#wpuf-post-draft",this.draftPost),a(".wpuf-form").on("click","button#wpuf-account-update-profile",this.account_update_profile),a(".wpuf-form-add").on("submit",this.formSubmit),a("form#post").on("submit",this.adminPostSubmit),a(".wpuf-form").on("step-change-fieldset",function(a,b,c){if(wpuf_plupload_items.length)for(var d=wpuf_plupload_items.length-1;d>=0;d--)wpuf_plupload_items[d].refresh();if(wpuf_map_items.length)for(var d=wpuf_map_items.length-1;d>=0;d--)google.maps.event.trigger(wpuf_map_items[d].map,"resize"),wpuf_map_items[d].map.setCenter(wpuf_map_items[d].center)}),this.ajaxCategory(),a(':submit[name="wpuf_cancel_subscription"]').click(function(){if(!confirm("Are you sure you want to cancel your current subscription ?"))return!1})},check_pass_strength:function(){var b=a("#pass1").val();if(a("#pass-strength-result").show(),a("#pass-strength-result").removeClass("short bad good strong"),!b)return a("#pass-strength-result").html("&nbsp;"),void a("#pass-strength-result").hide();if(void 0!==wp.passwordStrength)switch(wp.passwordStrength.meter(b,wp.passwordStrength.userInputBlacklist(),b)){case 2:a("#pass-strength-result").addClass("bad").html(pwsL10n.bad);break;case 3:a("#pass-strength-result").addClass("good").html(pwsL10n.good);break;case 4:a("#pass-strength-result").addClass("strong").html(pwsL10n.strong);break;case 5:a("#pass-strength-result").addClass("short").html(pwsL10n.mismatch);break;default:a("#pass-strength-result").addClass("short").html(pwsL10n.short)}},enableMultistep:function(b){var c=this,d=0,e=a(':hidden[name="wpuf_multistep_type"]').val();if(null!=e){if(a("fieldset.wpuf-multistep-fieldset").find(".wpuf-multistep-prev-btn").first().remove(),a("fieldset.wpuf-multistep-fieldset").find(".wpuf-multistep-next-btn").last().remove(),a(".wpuf-form fieldset").removeClass("field-active").first().addClass("field-active"),"progressive"==e&&0!=a(".wpuf-form .wpuf-multistep-fieldset").length){a("fieldset.wpuf-multistep-fieldset legend").first();a(".wpuf-multistep-progressbar").html('<div class="wpuf-progress-percentage"></div>');var f=a(".wpuf-multistep-progressbar"),g=a(".wpuf-progress-percentage");a(".wpuf-multistep-progressbar").progressbar({change:function(){g.text(f.progressbar("value")+"%")}}),a(".wpuf-multistep-fieldset legend").hide()}else a(".wpuf-form").each(function(){var b=a(this),c=a(".wpuf-multistep-progressbar",b),d="";c.addClass("wizard-steps"),d+='<ul class="wpuf-step-wizard">',a(".wpuf-multistep-fieldset",this).each(function(){d+="<li>"+a.trim(a("legend",this).text())+"</li>",a("legend",this).hide()}),d+="</ul>",c.append(d),a(".wpuf-step-wizard li",c).first().addClass("active-step"),a(".wpuf-step-wizard",c).listautowidth()});this.change_fieldset(d,e),a("fieldset .wpuf-multistep-prev-btn, fieldset .wpuf-multistep-next-btn").click(function(f){if(a(this).hasClass("wpuf-multistep-next-btn")){0!=c.formStepCheck("",a(this).closest("fieldset"))&&b.change_fieldset(++d,e)}else a(this).hasClass("wpuf-multistep-prev-btn")&&b.change_fieldset(--d,e);return!1})}},change_fieldset:function(b,c){var d=a("fieldset.wpuf-multistep-fieldset").eq(b);a("fieldset.wpuf-multistep-fieldset").removeClass("field-active").eq(b).addClass("field-active"),a(".wpuf-step-wizard li").each(function(){a(this).index()<=b?"step_by_step"==c?a(this).addClass("passed-wpuf-ms-bar"):a(".wpuf-ps-bar",this).addClass("passed-wpuf-ms-bar"):"step_by_step"==c?a(this).removeClass("passed-wpuf-ms-bar"):a(".wpuf-ps-bar",this).removeClass("passed-wpuf-ms-bar")}),a(".wpuf-step-wizard li").removeClass("wpuf-ms-bar-active active-step completed-step"),a(".passed-wpuf-ms-bar").addClass("completed-step").last().addClass("wpuf-ms-bar-active"),a(".wpuf-ms-bar-active").addClass("active-step");var e=a("fieldset.wpuf-multistep-fieldset").eq(b).find("legend").text();if(e=a.trim(e),"progressive"==c&&0!=a(".wpuf-form .wpuf-multistep-fieldset").length){var f=100*(b+1)/a("fieldset.wpuf-multistep-fieldset").length,f=Number(f.toFixed(2));a(".wpuf-multistep-progressbar").progressbar({value:f}),a(".wpuf-progress-percentage").text(e+" ("+f+"%)")}a(".wpuf-form").trigger("step-change-fieldset",[b,d])},ajaxCategory:function(){var b=".category-wrap";a(b).on("change",".cat-ajax",function(){currentLevel=parseInt(a(this).parent().attr("level")),WP_User_Frontend.getChildCats(a(this),"lvl",currentLevel+1,b,"category")})},getChildCats:function(b,c,d,e,f){cat=a(b).val(),results_div=c+d,f=void 0!==f?f:"category",field_attr=a(b).siblings("span").data("taxonomy"),a.ajax({type:"post",url:wpuf_frontend.ajaxurl,data:{action:"wpuf_get_child_cat",catID:cat,nonce:wpuf_frontend.nonce,field_attr:field_attr},beforeSend:function(){a(b).parent().parent().next(".loading").addClass("wpuf-loading")},complete:function(){a(b).parent().parent().next(".loading").removeClass("wpuf-loading")},success:function(e){a(b).parent().nextAll().each(function(){a(this).remove()}),""!=e&&(a(b).parent().addClass("hasChild").parent().append('<div id="'+c+d+'" level="'+d+'"></div>'),b.parent().parent().find("#"+results_div).html(e).slideDown("fast"))}})},cloneField:function(b){b.preventDefault();var c=a(this).closest("tr"),d=c.clone();d.find("input").val(""),d.find(":checked").attr("checked",""),c.after(d)},removeField:function(){var b=a(this).closest("tr");b.siblings().andSelf().length>1&&b.remove()},adminPostSubmit:function(b){b.preventDefault();var c=a(this);if(WP_User_Frontend.validateForm(c))return!0},draftPost:function(b){b.preventDefault();var c=a(this),d=a(this).closest("form"),e=d.serialize()+"&action=wpuf_draft_post",f=d.find('input[type="hidden"][name="post_id"]').val(),g=[];a(".wpuf-rich-validation").each(function(b,c){var c=a(c),d=c.data("id"),e=c.data("name"),f=a.trim(tinyMCE.get(d).getContent());g.push(e+"="+encodeURIComponent(f))}),e=e+"&"+g.join("&"),c.after(' <span class="wpuf-loading"></span>'),a.post(wpuf_frontend.ajaxurl,e,function(b){if(void 0===f){var e='<input type="hidden" name="post_id" value="'+b.post_id+'">';e+='<input type="hidden" name="post_date" value="'+b.date+'">',e+='<input type="hidden" name="post_author" value="'+b.post_author+'">',e+='<input type="hidden" name="comment_status" value="'+b.comment_status+'">',d.append(e)}c.next("span.wpuf-loading").remove(),c.after('<span class="wpuf-draft-saved">&nbsp; Post Saved</span>'),a(".wpuf-draft-saved").delay(2500).fadeOut("fast",function(){a(this).remove()})})},account_update_profile:function(b){b.preventDefault();var c=a(this).closest("form");a.post(wpuf_frontend.ajaxurl,c.serialize(),function(a){a.success?(c.find(".wpuf-error").hide(),c.find(".wpuf-success").show()):(c.find(".wpuf-success").hide(),c.find(".wpuf-error").show(),c.find(".wpuf-error").text(a.data))})},formStepCheck:function(a,b){var c=b;c.find("input[type=submit]");return form_data=WP_User_Frontend.validateForm(c),0==form_data&&WP_User_Frontend.addErrorNotice(self,"bottom"),form_data},formSubmit:function(c){c.preventDefault();var d=a(this),e=d.find("input[type=submit]");form_data=WP_User_Frontend.validateForm(d),form_data&&(d.find("li.wpuf-submit").append('<span class="wpuf-loading"></span>'),e.attr("disabled","disabled").addClass("button-primary-disabled"),a.post(wpuf_frontend.ajaxurl,form_data,function(c){if(c.success)a("body").trigger("wpuf:postform:success",c),1==c.show_message?(d.before('<div class="wpuf-success">'+c.message+"</div>"),d.slideUp("fast",function(){d.remove()}),a("html, body").animate({scrollTop:a(".wpuf-success").offset().top-100},"fast")):b.location=c.redirect_to;else{if(void 0!==c.type&&"login"===c.type)return void(confirm(c.error)?b.location=c.redirect_to:(e.removeAttr("disabled"),e.removeClass("button-primary-disabled"),d.find("span.wpuf-loading").remove()));d.find(".g-recaptcha").length>0&&grecaptcha.reset(),alert(c.error),e.removeAttr("disabled")}e.removeClass("button-primary-disabled"),d.find("span.wpuf-loading").remove()}))},validateForm:function(b){var c=!1;error_type="",WP_User_Frontend.removeErrors(b),WP_User_Frontend.removeErrorNotice(b),b.find('[data-required="yes"]:visible').each(function(b,d){var e=a(d).data("type");switch(j="",e){case"rich":var f=a(d).data("id");""===(j=a.trim(tinyMCE.get(f).getContent()))&&(c=!0,WP_User_Frontend.markError(d));break;case"textarea":case"text":""===(j=a.trim(a(d).val()))&&(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type));break;case"password":case"confirm_password":var g=a(d).data("repeat");if(j=a.trim(a(d).val()),""===j&&(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type)),g){var h=a('[data-type="confirm_password"]').eq(0);h.val()!=j&&(c=!0,error_type="mismatch",WP_User_Frontend.markError(h,error_type))}break;case"select":(j=a(d).val())&&"-1"!==j||(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type));break;case"multiselect":null!==(j=a(d).val())&&0!==j.length||(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type));break;case"tax-checkbox":var i=a(d).children().find("input:checked").length;i||(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type));break;case"radio":var i=a(d).find("input:checked").length;i||(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type));break;case"file":var i=a(d).find("ul").children().length;i||(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type));break;case"email":var j=a(d).val();""!==j?WP_User_Frontend.isValidEmail(j)||(c=!0,error_type="validation",WP_User_Frontend.markError(d,error_type)):""===j&&(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type));break;case"url":var j=a(d).val();""!==j&&(WP_User_Frontend.isValidURL(j)||(c=!0,error_type="validation",WP_User_Frontend.markError(d,error_type)))}});var d=b.find('[data-required="yes"][name="google_map"]');if(d){","==a(d).val()&&(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type))}if(c)return WP_User_Frontend.addErrorNotice(b,"end"),!1;var e=b.serialize(),f=[];return a(".wpuf-rich-validation",b).each(function(b,c){var c=a(c),d=c.data("id"),e=c.data("name"),g=a.trim(tinyMCE.get(d).getContent());f.push(e+"="+encodeURIComponent(g))}),e=e+"&"+f.join("&")},addErrorNotice:function(b,c){"bottom"==c?a(".wpuf-multistep-fieldset:visible").append('<div class="wpuf-errors">'+wpuf_frontend.error_message+"</div>"):a(b).find("li.wpuf-submit").append('<div class="wpuf-errors">'+wpuf_frontend.error_message+"</div>")},removeErrorNotice:function(b){a(b).find(".wpuf-errors").remove()},markError:function(b,c){var d="";if(a(b).closest("li").addClass("has-error"),c){switch(d=a(b).closest("li").data("label"),c){case"required":case"mismatch":case"validation":d=d+" "+error_str_obj[c]}a(b).siblings(".wpuf-error-msg").remove(),a(b).after('<div class="wpuf-error-msg">'+d+"</div>")}a(b).focus()},removeErrors:function(b){a(b).find(".has-error").removeClass("has-error"),a(".wpuf-error-msg").remove()},isValidEmail:function(a){return new RegExp(/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i).test(a)},isValidURL:function(a){return new RegExp("^(http://www.|https://www.|ftp://www.|www.|http://|https://){1}([0-9A-Za-z]+.)").test(a)},insertImage:function(b,c){if(a("#"+b).length){var d=new plupload.Uploader({runtimes:"html5,html4",browse_button:b,container:"wpuf-insert-image-container",multipart:!0,multipart_params:{action:"wpuf_insert_image",form_id:a("#"+b).data("form_id")},multiple_queues:!1,multi_selection:!1,urlstream_upload:!0,file_data_name:"wpuf_file",max_file_size:"2mb",url:wpuf_frontend_upload.plupload.url,flash_swf_url:wpuf_frontend_upload.flash_swf_url,filters:[{title:"Allowed Files",extensions:"jpg,jpeg,gif,png,bmp"}]});d.bind("Init",function(a,b){}),d.bind("FilesAdded",function(b,c){var d=a("#wpuf-insert-image-container");a.each(c,function(a,b){d.append('<div class="upload-item" id="'+b.id+'"><div class="progress progress-striped active"><div class="bar"></div></div></div>')}),b.refresh(),b.start()}),d.bind("QueueChanged",function(a){d.start()}),d.bind("UploadProgress",function(b,c){var d=a("#"+c.id);a(".bar",d).css({width:c.percent+"%"}),a(".percent",d).html(c.percent+"%")}),d.bind("Error",function(a,b){alert("Error #"+b.code+": "+b.message)}),d.bind("FileUploaded",function(b,d,e){if(a("#"+d.id).remove(),"error"!==e.response){if("undefined"!=typeof tinyMCE)if("function"!=typeof tinyMCE.execInstanceCommand){var f=tinyMCE.get("post_content_"+c);null!==f&&f.insertContent(e.response)}else tinyMCE.execInstanceCommand("post_content_"+c,"mceInsertContent",!1,e.response);var g=a("#post_content_"+c);g.val(g.val()+e.response)}else alert("Something went wrong")}),d.init()}},deleteAvatar:function(b){b.preventDefault(),confirm(a(this).data("confirm"))&&a.post(wpuf_frontend.ajaxurl,{action:"wpuf_delete_avatar",_wpnonce:wpuf_frontend.nonce},function(){a(b.target).parent().remove(),a("[id^=wpuf-avatar]").css("display","")})},editorLimit:{bind:function(b,c,d){"no"===d?(a("textarea#"+c).keydown(function(a){WP_User_Frontend.editorLimit.textLimit.call(this,a,b)}),a("input#"+c).keydown(function(a){WP_User_Frontend.editorLimit.textLimit.call(this,a,b)}),a("textarea#"+c).on("paste",function(c){var d=a(this);setTimeout(function(){WP_User_Frontend.editorLimit.textLimit.call(d,c,b)},100)}),a("input#"+c).on("paste",function(c){var d=a(this);setTimeout(function(){WP_User_Frontend.editorLimit.textLimit.call(d,c,b)},100)})):setTimeout(function(){tinyMCE.get(c).onKeyDown.add(function(a,c){WP_User_Frontend.editorLimit.tinymce.onKeyDown(a,c,b)}),tinyMCE.get(c).onPaste.add(function(a,c){setTimeout(function(){WP_User_Frontend.editorLimit.tinymce.onPaste(a,c,b)},100)})},1e3)},tinymce:{getStats:function(a){var b=a.getBody(),c=tinymce.trim(b.innerText||b.textContent);return{chars:c.length,words:c.split(/[\w\u2019\'-]+/).length}},onKeyDown:function(b,c,d){var e=WP_User_Frontend.editorLimit.tinymce.getStats(b).words-1;d&&a(".mce-path-item.mce-last",b.container).html("Word Limit : "+e+"/"+d),d&&e>d&&(WP_User_Frontend.editorLimit.blockTyping(c),jQuery(".mce-path-item.mce-last",b.container).html(wpuf_frontend.word_limit))},onPaste:function(a,b,c){var d=a.getContent().split(" ").slice(0,c).join(" ");a.setContent(d),WP_User_Frontend.editorLimit.make_media_embed_code(d,a)}},textLimit:function(b,c){var d=a(this),e=d.val().split(" ");c&&e.length>c?(d.closest(".wpuf-fields").find("span.wpuf-wordlimit-message").html(wpuf_frontend.word_limit),WP_User_Frontend.editorLimit.blockTyping(b)):d.closest(".wpuf-fields").find("span.wpuf-wordlimit-message").html(""),"paste"===b.type&&d.val(e.slice(0,c).join(" "))},blockTyping:function(b){-1!==a.inArray(b.keyCode,[46,8,9,27,13,110,190,189])||65==b.keyCode&&!0===b.ctrlKey||b.keyCode>=35&&b.keyCode<=40||(b.preventDefault(),b.stopPropagation())},make_media_embed_code:function(b,c){a.post(ajaxurl,{action:"make_media_embed_code",content:b},function(a){c.setContent(c.getContent()+c.setContent(a))})}}},a(function(){if(WP_User_Frontend.init(),a("ul.wpuf-payment-gateways").on("click","input[type=radio]",function(b){a(".wpuf-payment-instruction").slideUp(250),a(this).parents("li").find(".wpuf-payment-instruction").slideDown(250)}),a("ul.wpuf-payment-gateways li").find("input[type=radio]").is(":checked")){a("ul.wpuf-payment-gateways li").find("input[type=radio]:checked").parents("li").find(".wpuf-payment-instruction").slideDown(250)}else a("ul.wpuf-payment-gateways li").first().find("input[type=radio]").click()}),a(function(){a('input[name="first_name"], input[name="last_name"]').on("change keyup",function(){var b,c=a.makeArray(a('input[name="first_name"], input[name="last_name"]').map(function(){if(b=a(this).val())return b})).join(" ");a('input[name="display_name"]').val(c)})}),a(function(a){a('.wpuf-form-add input[name="dokan_store_name"]').on("focusout",function(){var b=a(this).val().toLowerCase().replace(/-+/g,"").replace(/\s+/g,"-").replace(/[^a-z0-9-]/g,"");a('input[name="shopurl"]').val(b),a("#url-alart").text(b),a('input[name="shopurl"]').focus()}),a('.wpuf-form-add input[name="shopurl"]').keydown(function(b){a(this).val();-1!==a.inArray(b.keyCode,[46,8,9,27,13,91,109,110,173,189,190])||65==b.keyCode&&!0===b.ctrlKey||b.keyCode>=35&&b.keyCode<=39||(b.shiftKey||(b.keyCode<65||b.keyCode>90)&&(b.keyCode<48||b.keyCode>57))&&(b.keyCode<96||b.keyCode>105)&&b.preventDefault()}),a('.wpuf-form-add input[name="shopurl"]').keyup(function(b){a("#url-alart").text(a(this).val())}),a('.wpuf-form-add input[name="shopurl"]').on("focusout",function(){var b=a(this),c={action:"shop_url",url_slug:b.val(),_nonce:dokan.nonce};""!==b.val()&&a.post(dokan.ajaxurl,c,function(b){0==b?(a("#url-alart").removeClass("text-success").addClass("text-danger"),a("#url-alart-mgs").removeClass("text-success").addClass("text-danger").text(dokan.seller.notAvailable)):(a("#url-alart").removeClass("text-danger").addClass("text-success"),a("#url-alart-mgs").removeClass("text-danger").addClass("text-success").text(dokan.seller.available))})}),a(".wpuf-form-add #wpuf-map-add-location").attr("name","find_address")})}(jQuery,window);
1
+ !function(a,b){a.fn.listautowidth=function(){return this.each(function(){var b=a(this).width(),c=b/a(this).children("li").length;a(this).children("li").each(function(){var b=a(this).outerWidth(!0)-a(this).width();a(this).width(c-b)})})},b.WP_User_Frontend={init:function(){this.enableMultistep(this),a(".wpuf-form").on("click","img.wpuf-clone-field",this.cloneField),a(".wpuf-form").on("click","img.wpuf-remove-field",this.removeField),a(".wpuf-form").on("click","a.wpuf-delete-avatar",this.deleteAvatar),a(".wpuf-form").on("click","a#wpuf-post-draft",this.draftPost),a(".wpuf-form").on("click","button#wpuf-account-update-profile",this.account_update_profile),a(".wpuf-form-add").on("submit",this.formSubmit),a("form#post").on("submit",this.adminPostSubmit),a(".wpuf-form").on("step-change-fieldset",function(a,b,c){if(wpuf_plupload_items.length)for(var d=wpuf_plupload_items.length-1;d>=0;d--)wpuf_plupload_items[d].refresh();if(wpuf_map_items.length)for(var d=wpuf_map_items.length-1;d>=0;d--)google.maps.event.trigger(wpuf_map_items[d].map,"resize"),wpuf_map_items[d].map.setCenter(wpuf_map_items[d].center)}),this.ajaxCategory(),a(':submit[name="wpuf_cancel_subscription"]').click(function(){if(!confirm("Are you sure you want to cancel your current subscription ?"))return!1})},check_pass_strength:function(){var b=a("#pass1").val();if(a("#pass-strength-result").show(),a("#pass-strength-result").removeClass("short bad good strong"),!b)return a("#pass-strength-result").html("&nbsp;"),void a("#pass-strength-result").hide();if(void 0!==wp.passwordStrength)switch(wp.passwordStrength.meter(b,wp.passwordStrength.userInputBlacklist(),b)){case 2:a("#pass-strength-result").addClass("bad").html(pwsL10n.bad);break;case 3:a("#pass-strength-result").addClass("good").html(pwsL10n.good);break;case 4:a("#pass-strength-result").addClass("strong").html(pwsL10n.strong);break;case 5:a("#pass-strength-result").addClass("short").html(pwsL10n.mismatch);break;default:a("#pass-strength-result").addClass("short").html(pwsL10n.short)}},enableMultistep:function(b){var c=this,d=0,e=a(':hidden[name="wpuf_multistep_type"]').val();if(null!=e){if(a("fieldset.wpuf-multistep-fieldset").find(".wpuf-multistep-prev-btn").first().remove(),a("fieldset.wpuf-multistep-fieldset").find(".wpuf-multistep-next-btn").last().remove(),a(".wpuf-form fieldset").removeClass("field-active").first().addClass("field-active"),"progressive"==e&&0!=a(".wpuf-form .wpuf-multistep-fieldset").length){a("fieldset.wpuf-multistep-fieldset legend").first();a(".wpuf-multistep-progressbar").html('<div class="wpuf-progress-percentage"></div>');var f=a(".wpuf-multistep-progressbar"),g=a(".wpuf-progress-percentage");a(".wpuf-multistep-progressbar").progressbar({change:function(){g.text(f.progressbar("value")+"%")}}),a(".wpuf-multistep-fieldset legend").hide()}else a(".wpuf-form").each(function(){var b=a(this),c=a(".wpuf-multistep-progressbar",b),d="";c.addClass("wizard-steps"),d+='<ul class="wpuf-step-wizard">',a(".wpuf-multistep-fieldset",this).each(function(){d+="<li>"+a.trim(a("legend",this).text())+"</li>",a("legend",this).hide()}),d+="</ul>",c.append(d),a(".wpuf-step-wizard li",c).first().addClass("active-step"),a(".wpuf-step-wizard",c).listautowidth()});this.change_fieldset(d,e),a("fieldset .wpuf-multistep-prev-btn, fieldset .wpuf-multistep-next-btn").click(function(f){if(a(this).hasClass("wpuf-multistep-next-btn")){0!=c.formStepCheck("",a(this).closest("fieldset"))&&b.change_fieldset(++d,e)}else a(this).hasClass("wpuf-multistep-prev-btn")&&b.change_fieldset(--d,e);return!1})}},change_fieldset:function(b,c){var d=a("fieldset.wpuf-multistep-fieldset").eq(b);a("fieldset.wpuf-multistep-fieldset").removeClass("field-active").eq(b).addClass("field-active"),a(".wpuf-step-wizard li").each(function(){a(this).index()<=b?"step_by_step"==c?a(this).addClass("passed-wpuf-ms-bar"):a(".wpuf-ps-bar",this).addClass("passed-wpuf-ms-bar"):"step_by_step"==c?a(this).removeClass("passed-wpuf-ms-bar"):a(".wpuf-ps-bar",this).removeClass("passed-wpuf-ms-bar")}),a(".wpuf-step-wizard li").removeClass("wpuf-ms-bar-active active-step completed-step"),a(".passed-wpuf-ms-bar").addClass("completed-step").last().addClass("wpuf-ms-bar-active"),a(".wpuf-ms-bar-active").addClass("active-step");var e=a("fieldset.wpuf-multistep-fieldset").eq(b).find("legend").text();if(e=a.trim(e),"progressive"==c&&0!=a(".wpuf-form .wpuf-multistep-fieldset").length){var f=100*(b+1)/a("fieldset.wpuf-multistep-fieldset").length,f=Number(f.toFixed(2));a(".wpuf-multistep-progressbar").progressbar({value:f}),a(".wpuf-progress-percentage").text(e+" ("+f+"%)")}a(".wpuf-form").trigger("step-change-fieldset",[b,d])},ajaxCategory:function(){var b=".category-wrap";a(b).on("change",".cat-ajax",function(){currentLevel=parseInt(a(this).parent().attr("level")),WP_User_Frontend.getChildCats(a(this),"lvl",currentLevel+1,b,"category")})},getChildCats:function(b,c,d,e,f){cat=a(b).val(),results_div=c+d,f=void 0!==f?f:"category",field_attr=a(b).siblings("span").data("taxonomy"),a.ajax({type:"post",url:wpuf_frontend.ajaxurl,data:{action:"wpuf_get_child_cat",catID:cat,nonce:wpuf_frontend.nonce,field_attr:field_attr},beforeSend:function(){a(b).parent().parent().next(".loading").addClass("wpuf-loading")},complete:function(){a(b).parent().parent().next(".loading").removeClass("wpuf-loading")},success:function(e){a(b).parent().nextAll().each(function(){a(this).remove()}),""!=e&&(a(b).parent().addClass("hasChild").parent().append('<div id="'+c+d+'" level="'+d+'"></div>'),b.parent().parent().find("#"+results_div).html(e).slideDown("fast"))}})},cloneField:function(b){b.preventDefault();var c=a(this).closest("tr"),d=c.clone();d.find("input").val(""),d.find(":checked").attr("checked",""),c.after(d)},removeField:function(){var b=a(this).closest("tr");b.siblings().andSelf().length>1&&b.remove()},adminPostSubmit:function(b){b.preventDefault();var c=a(this);if(WP_User_Frontend.validateForm(c))return!0},draftPost:function(b){b.preventDefault();var c=a(this),d=a(this).closest("form"),e=d.serialize()+"&action=wpuf_draft_post",f=d.find('input[type="hidden"][name="post_id"]').val(),g=[];a(".wpuf-rich-validation").each(function(b,c){var c=a(c),d=c.data("id"),e=c.data("name"),f=a.trim(tinyMCE.get(d).getContent());g.push(e+"="+encodeURIComponent(f))}),e=e+"&"+g.join("&"),c.after(' <span class="wpuf-loading"></span>'),a.post(wpuf_frontend.ajaxurl,e,function(b){if(void 0===f){var e='<input type="hidden" name="post_id" value="'+b.post_id+'">';e+='<input type="hidden" name="post_date" value="'+b.date+'">',e+='<input type="hidden" name="post_author" value="'+b.post_author+'">',e+='<input type="hidden" name="comment_status" value="'+b.comment_status+'">',d.append(e)}c.next("span.wpuf-loading").remove(),c.after('<span class="wpuf-draft-saved">&nbsp; Post Saved</span>'),a(".wpuf-draft-saved").delay(2500).fadeOut("fast",function(){a(this).remove()})})},account_update_profile:function(b){b.preventDefault();var c=a(this).closest("form");a.post(wpuf_frontend.ajaxurl,c.serialize(),function(a){a.success?(c.find(".wpuf-error").hide(),c.find(".wpuf-success").show()):(c.find(".wpuf-success").hide(),c.find(".wpuf-error").show(),c.find(".wpuf-error").text(a.data))})},formStepCheck:function(a,b){var c=b;c.find("input[type=submit]");return form_data=WP_User_Frontend.validateForm(c),0==form_data&&WP_User_Frontend.addErrorNotice(self,"bottom"),form_data},formSubmit:function(c){c.preventDefault();var d=a(this),e=d.find("input[type=submit]");form_data=WP_User_Frontend.validateForm(d),form_data&&(d.find("li.wpuf-submit").append('<span class="wpuf-loading"></span>'),e.attr("disabled","disabled").addClass("button-primary-disabled"),a.post(wpuf_frontend.ajaxurl,form_data,function(c){if(c.success)a("body").trigger("wpuf:postform:success",c),1==c.show_message?(d.before('<div class="wpuf-success">'+c.message+"</div>"),d.slideUp("fast",function(){d.remove()}),a("html, body").animate({scrollTop:a(".wpuf-success").offset().top-100},"fast")):b.location=c.redirect_to;else{if(void 0!==c.type&&"login"===c.type)return void(confirm(c.error)?b.location=c.redirect_to:(e.removeAttr("disabled"),e.removeClass("button-primary-disabled"),d.find("span.wpuf-loading").remove()));d.find(".g-recaptcha").length>0&&grecaptcha.reset(),swal({html:c.error,type:"warning",showCancelButton:!1,confirmButtonColor:"#d54e21",confirmButtonText:"OK",cancelButtonClass:"btn btn-danger"}),e.removeAttr("disabled")}e.removeClass("button-primary-disabled"),d.find("span.wpuf-loading").remove()}))},validateForm:function(b){var c=!1;error_type="",WP_User_Frontend.removeErrors(b),WP_User_Frontend.removeErrorNotice(b),b.find('[data-required="yes"]:visible').each(function(b,d){var e=a(d).data("type");switch(j="",e){case"rich":var f=a(d).data("id");""===(j=a.trim(tinyMCE.get(f).getContent()))&&(c=!0,WP_User_Frontend.markError(d));break;case"textarea":case"text":""===(j=a.trim(a(d).val()))&&(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type));break;case"password":case"confirm_password":var g=a(d).data("repeat");if(j=a.trim(a(d).val()),""===j&&(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type)),g){var h=a('[data-type="confirm_password"]').eq(0);h.val()!=j&&(c=!0,error_type="mismatch",WP_User_Frontend.markError(h,error_type))}break;case"select":(j=a(d).val())&&"-1"!==j||(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type));break;case"multiselect":null!==(j=a(d).val())&&0!==j.length||(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type));break;case"tax-checkbox":var i=a(d).children().find("input:checked").length;i||(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type));break;case"radio":var i=a(d).find("input:checked").length;i||(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type));break;case"file":var i=a(d).find("ul").children().length;i||(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type));break;case"email":var j=a(d).val();""!==j?WP_User_Frontend.isValidEmail(j)||(c=!0,error_type="validation",WP_User_Frontend.markError(d,error_type)):""===j&&(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type));break;case"url":var j=a(d).val();""!==j&&(WP_User_Frontend.isValidURL(j)||(c=!0,error_type="validation",WP_User_Frontend.markError(d,error_type)))}});var d=b.find('[data-required="yes"][name="google_map"]');if(d){","==a(d).val()&&(c=!0,error_type="required",WP_User_Frontend.markError(d,error_type))}if(c)return WP_User_Frontend.addErrorNotice(b,"end"),!1;var e=b.serialize(),f=[];return a(".wpuf-rich-validation",b).each(function(b,c){var c=a(c),d=c.data("id"),e=c.data("name"),g=a.trim(tinyMCE.get(d).getContent());f.push(e+"="+encodeURIComponent(g))}),e=e+"&"+f.join("&")},addErrorNotice:function(b,c){"bottom"==c?a(".wpuf-multistep-fieldset:visible").append('<div class="wpuf-errors">'+wpuf_frontend.error_message+"</div>"):a(b).find("li.wpuf-submit").append('<div class="wpuf-errors">'+wpuf_frontend.error_message+"</div>")},removeErrorNotice:function(b){a(b).find(".wpuf-errors").remove()},markError:function(b,c){var d="";if(a(b).closest("li").addClass("has-error"),c){switch(d=a(b).closest("li").data("label"),c){case"required":case"mismatch":case"validation":d=d+" "+error_str_obj[c]}a(b).siblings(".wpuf-error-msg").remove(),a(b).after('<div class="wpuf-error-msg">'+d+"</div>")}a(b).focus()},removeErrors:function(b){a(b).find(".has-error").removeClass("has-error"),a(".wpuf-error-msg").remove()},isValidEmail:function(a){return new RegExp(/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i).test(a)},isValidURL:function(a){return new RegExp("^(http://www.|https://www.|ftp://www.|www.|http://|https://){1}([0-9A-Za-z]+.)").test(a)},insertImage:function(b,c){if(a("#"+b).length){var d=new plupload.Uploader({runtimes:"html5,html4",browse_button:b,container:"wpuf-insert-image-container",multipart:!0,multipart_params:{action:"wpuf_insert_image",form_id:a("#"+b).data("form_id")},multiple_queues:!1,multi_selection:!1,urlstream_upload:!0,file_data_name:"wpuf_file",max_file_size:"2mb",url:wpuf_frontend_upload.plupload.url,flash_swf_url:wpuf_frontend_upload.flash_swf_url,filters:[{title:"Allowed Files",extensions:"jpg,jpeg,gif,png,bmp"}]});d.bind("Init",function(a,b){}),d.bind("FilesAdded",function(b,c){var d=a("#wpuf-insert-image-container");a.each(c,function(a,b){d.append('<div class="upload-item" id="'+b.id+'"><div class="progress progress-striped active"><div class="bar"></div></div></div>')}),b.refresh(),b.start()}),d.bind("QueueChanged",function(a){d.start()}),d.bind("UploadProgress",function(b,c){var d=a("#"+c.id);a(".bar",d).css({width:c.percent+"%"}),a(".percent",d).html(c.percent+"%")}),d.bind("Error",function(a,b){alert("Error #"+b.code+": "+b.message)}),d.bind("FileUploaded",function(b,d,e){if(a("#"+d.id).remove(),"error"!==e.response){if("undefined"!=typeof tinyMCE)if("function"!=typeof tinyMCE.execInstanceCommand){var f=tinyMCE.get("post_content_"+c);null!==f&&f.insertContent(e.response)}else tinyMCE.execInstanceCommand("post_content_"+c,"mceInsertContent",!1,e.response);var g=a("#post_content_"+c);g.val(g.val()+e.response)}else alert("Something went wrong")}),d.init()}},deleteAvatar:function(b){b.preventDefault(),confirm(a(this).data("confirm"))&&a.post(wpuf_frontend.ajaxurl,{action:"wpuf_delete_avatar",_wpnonce:wpuf_frontend.nonce},function(){a(b.target).parent().remove(),a("[id^=wpuf-avatar]").css("display","")})},editorLimit:{bind:function(b,c,d){"no"===d?(a("textarea#"+c).keydown(function(a){WP_User_Frontend.editorLimit.textLimit.call(this,a,b)}),a("input#"+c).keydown(function(a){WP_User_Frontend.editorLimit.textLimit.call(this,a,b)}),a("textarea#"+c).on("paste",function(c){var d=a(this);setTimeout(function(){WP_User_Frontend.editorLimit.textLimit.call(d,c,b)},100)}),a("input#"+c).on("paste",function(c){var d=a(this);setTimeout(function(){WP_User_Frontend.editorLimit.textLimit.call(d,c,b)},100)})):setTimeout(function(){tinyMCE.get(c).onKeyDown.add(function(a,c){WP_User_Frontend.editorLimit.tinymce.onKeyDown(a,c,b)}),tinyMCE.get(c).onPaste.add(function(a,c){setTimeout(function(){WP_User_Frontend.editorLimit.tinymce.onPaste(a,c,b)},100)})},1e3)},tinymce:{getStats:function(a){var b=a.getBody(),c=tinymce.trim(b.innerText||b.textContent);return{chars:c.length,words:c.split(/[\w\u2019\'-]+/).length}},onKeyDown:function(b,c,d){var e=WP_User_Frontend.editorLimit.tinymce.getStats(b).words-1;d&&a(".mce-path-item.mce-last",b.container).html("Word Limit : "+e+"/"+d),d&&e>d&&(WP_User_Frontend.editorLimit.blockTyping(c),jQuery(".mce-path-item.mce-last",b.container).html(wpuf_frontend.word_limit))},onPaste:function(a,b,c){var d=a.getContent().split(" ").slice(0,c).join(" ");a.setContent(d),WP_User_Frontend.editorLimit.make_media_embed_code(d,a)}},textLimit:function(b,c){var d=a(this),e=d.val().split(" ");c&&e.length>c?(d.closest(".wpuf-fields").find("span.wpuf-wordlimit-message").html(wpuf_frontend.word_limit),WP_User_Frontend.editorLimit.blockTyping(b)):d.closest(".wpuf-fields").find("span.wpuf-wordlimit-message").html(""),"paste"===b.type&&d.val(e.slice(0,c).join(" "))},blockTyping:function(b){-1!==a.inArray(b.keyCode,[46,8,9,27,13,110,190,189])||65==b.keyCode&&!0===b.ctrlKey||b.keyCode>=35&&b.keyCode<=40||(b.preventDefault(),b.stopPropagation())},make_media_embed_code:function(b,c){a.post(ajaxurl,{action:"make_media_embed_code",content:b},function(a){c.setContent(c.getContent()+c.setContent(a))})}}},a(function(){if(WP_User_Frontend.init(),a("ul.wpuf-payment-gateways").on("click","input[type=radio]",function(b){a(".wpuf-payment-instruction").slideUp(250),a(this).parents("li").find(".wpuf-payment-instruction").slideDown(250)}),a("ul.wpuf-payment-gateways li").find("input[type=radio]").is(":checked")){a("ul.wpuf-payment-gateways li").find("input[type=radio]:checked").parents("li").find(".wpuf-payment-instruction").slideDown(250)}else a("ul.wpuf-payment-gateways li").first().find("input[type=radio]").click()}),a(function(){a('input[name="first_name"], input[name="last_name"]').on("change keyup",function(){var b,c=a.makeArray(a('input[name="first_name"], input[name="last_name"]').map(function(){if(b=a(this).val())return b})).join(" ");a('input[name="display_name"]').val(c)})}),a(function(a){a('.wpuf-form-add input[name="dokan_store_name"]').on("focusout",function(){var b=a(this).val().toLowerCase().replace(/-+/g,"").replace(/\s+/g,"-").replace(/[^a-z0-9-]/g,"");a('input[name="shopurl"]').val(b),a("#url-alart").text(b),a('input[name="shopurl"]').focus()}),a('.wpuf-form-add input[name="shopurl"]').keydown(function(b){a(this).val();-1!==a.inArray(b.keyCode,[46,8,9,27,13,91,109,110,173,189,190])||65==b.keyCode&&!0===b.ctrlKey||b.keyCode>=35&&b.keyCode<=39||(b.shiftKey||(b.keyCode<65||b.keyCode>90)&&(b.keyCode<48||b.keyCode>57))&&(b.keyCode<96||b.keyCode>105)&&b.preventDefault()}),a('.wpuf-form-add input[name="shopurl"]').keyup(function(b){a("#url-alart").text(a(this).val())}),a('.wpuf-form-add input[name="shopurl"]').on("focusout",function(){var b=a(this),c={action:"shop_url",url_slug:b.val(),_nonce:dokan.nonce};""!==b.val()&&a.post(dokan.ajaxurl,c,function(b){0==b?(a("#url-alart").removeClass("text-success").addClass("text-danger"),a("#url-alart-mgs").removeClass("text-success").addClass("text-danger").text(dokan.seller.notAvailable)):(a("#url-alart").removeClass("text-danger").addClass("text-success"),a("#url-alart-mgs").removeClass("text-danger").addClass("text-success").text(dokan.seller.available))})}),a(".wpuf-form-add #wpuf-map-add-location").attr("name","find_address")})}(jQuery,window);
assets/js/jquery-ui-timepicker-addon.js CHANGED
File without changes
assets/js/jquery.smallipop-0.4.0.min.js CHANGED
File without changes
assets/js/jquery.validate.min.js CHANGED
File without changes
assets/js/subscriptions.js CHANGED
File without changes
assets/js/upload.js CHANGED
@@ -15,12 +15,19 @@
15
  this.max = max || 1;
16
  this.count = $('#' + container).find('.wpuf-attachment-list > li').length; //count how many items are there
17
  this.perFileCount = 0; //file count on each upload
 
18
 
19
  //if no element found on the page, bail out
20
  if( !$('#'+browse_button).length ) {
21
  return;
22
  }
23
 
 
 
 
 
 
 
24
  //instantiate the uploader
25
  this.uploader = new plupload.Uploader({
26
  runtimes: 'html5,html4',
@@ -154,6 +161,7 @@
154
  if(response.response !== 'error') {
155
 
156
  this.perFileCount++;
 
157
  var $container = $('#' + this.container).find('.wpuf-attachment-list');
158
  $container.append(response.response);
159
 
@@ -171,14 +179,17 @@
171
  this.showHide();
172
  }
173
 
174
- var uploaded = this.perFileCount;
175
- var FileProgress = up.files.length;
176
- var imageCount = $('ul.wpuf-attachment-list li').length;
177
 
178
- if ( FileProgress === uploaded || imageCount >= this.max ) {
179
- $(".wpuf-submit-button").removeAttr("disabled");
180
  $('#' + this.container).find('.file-selector').hide();
181
  }
 
 
 
 
182
  },
183
 
184
  removeAttachment: function(e) {
15
  this.max = max || 1;
16
  this.count = $('#' + container).find('.wpuf-attachment-list > li').length; //count how many items are there
17
  this.perFileCount = 0; //file count on each upload
18
+ this.UploadedFiles = 0; //file count on each upload
19
 
20
  //if no element found on the page, bail out
21
  if( !$('#'+browse_button).length ) {
22
  return;
23
  }
24
 
25
+ // enable drag option for ordering
26
+ $( "ul.wpuf-attachment-list" ).sortable({
27
+ placeholder: "highlight"
28
+ });
29
+ $( "ul.wpuf-attachment-list" ).disableSelection();
30
+
31
  //instantiate the uploader
32
  this.uploader = new plupload.Uploader({
33
  runtimes: 'html5,html4',
161
  if(response.response !== 'error') {
162
 
163
  this.perFileCount++;
164
+ this.UploadedFiles++;
165
  var $container = $('#' + this.container).find('.wpuf-attachment-list');
166
  $container.append(response.response);
167
 
179
  this.showHide();
180
  }
181
 
182
+ var uploaded = this.UploadedFiles,
183
+ FileProgress = up.files.length,
184
+ imageCount = $('ul.wpuf-attachment-list > li').length;
185
 
186
+ if ( imageCount >= this.max ) {
 
187
  $('#' + this.container).find('.file-selector').hide();
188
  }
189
+
190
+ if ( FileProgress === uploaded ) {
191
+ $(".wpuf-submit-button").removeAttr("disabled");
192
+ }
193
  },
194
 
195
  removeAttachment: function(e) {
assets/js/upload.min.js CHANGED
@@ -1 +1 @@
1
- !function(a){window.WPUF_Uploader=function(b,c,d,e,f,g){if(this.removed_files=[],this.container=c,this.browse_button=b,this.max=d||1,this.count=a("#"+c).find(".wpuf-attachment-list > li").length,this.perFileCount=0,a("#"+b).length)return this.uploader=new plupload.Uploader({runtimes:"html5,html4",browse_button:b,container:c,multipart:!0,multipart_params:{action:"wpuf_upload_file",form_id:a("#"+b).data("form_id")},max_file_count:2,multiple_queues:!1,multi_selection:"wpuf-avatar-pickfiles"!=b&&"wpuf-featured_image-pickfiles"!=b,urlstream_upload:!0,file_data_name:"wpuf_file",max_file_size:g+"kb",url:wpuf_frontend_upload.plupload.url+"&type="+e,flash_swf_url:wpuf_frontend_upload.flash_swf_url,filters:[{title:"Allowed Files",extensions:f}]}),this.uploader.bind("Init",a.proxy(this,"init")),this.uploader.bind("FilesAdded",a.proxy(this,"added")),this.uploader.bind("QueueChanged",a.proxy(this,"upload")),this.uploader.bind("UploadProgress",a.proxy(this,"progress")),this.uploader.bind("Error",a.proxy(this,"error")),this.uploader.bind("FileUploaded",a.proxy(this,"uploaded")),this.uploader.init(),a("#"+c).on("click","a.attachment-delete",a.proxy(this.removeAttachment,this)),this.uploader},WPUF_Uploader.prototype={init:function(b,c){this.showHide(),a("#"+this.container).prepend('<div class="wpuf-file-warning"></div>')},showHide:function(){if(this.count>=this.max)return this.count,this.max,a("#"+this.container+" .wpuf-file-warning").html(wpuf_frontend_upload.warning),void a("#"+this.container).find(".file-selector").hide();a("#"+this.container+" .wpuf-file-warning").html(""),a("#"+this.container).find(".file-selector").show()},added:function(b,c){var d=a("#"+this.container).find(".wpuf-attachment-upload-filelist");this.showHide(),a.each(c,function(a,b){d.append('<div class="upload-item" id="'+b.id+'"><div class="progress progress-striped active"><div class="bar"></div></div><div class="filename original">'+b.name+" ("+plupload.formatSize(b.size)+") <b></b></div></div>")}),b.refresh(),b.start()},upload:function(a){this.count=a.files.length-this.removed_files.length,this.showHide()},progress:function(b,c){var d=a("#"+c.id);a(".bar",d).css({width:c.percent+"%"}),a(".percent",d).html(c.percent+"%")},error:function(b,c){a("#"+this.container).find("#"+c.file.id).remove();var d="";switch(c.code){case-600:d=wpuf_frontend_upload.plupload.size_error;break;case-601:d=wpuf_frontend_upload.plupload.type_error;break;default:d="Error #"+c.code+": "+c.message}alert(d),this.count-=1,this.showHide(),this.uploader.refresh()},uploaded:function(b,c,d){var e=this;if(a("#"+c.id+" b").html("100%"),a("#"+c.id).remove(),"error"!==d.response){this.perFileCount++;var f=a("#"+this.container).find(".wpuf-attachment-list");if(f.append(d.response),this.perFileCount>this.max){var g=a(".wpuf-image-wrap:last a.attachment-delete",f).data("attach_id");e.removeExtraAttachment(g),a(".wpuf-image-wrap",f).last().remove(),this.perFileCount--}}else alert(d.error),this.count-=1,this.showHide()},removeAttachment:function(b){b.preventDefault();var c=this,d=a(b.currentTarget);if(confirm(wpuf_frontend_upload.confirmMsg)){var e={attach_id:d.data("attach_id"),nonce:wpuf_frontend_upload.nonce,action:"wpuf_file_del"};this.removed_files.push(e),jQuery("#del_attach").val(d.data("attach_id")),jQuery.post(wpuf_frontend_upload.ajaxurl,e,function(){c.perFileCount--,d.parent().parent().remove(),c.count-=1,c.showHide(),c.uploader.refresh()})}},removeExtraAttachment:function(a){var b=this,c={attach_id:a,nonce:wpuf_frontend_upload.nonce,action:"wpuf_file_del"};this.removed_files.push(c),jQuery.post(wpuf_frontend_upload.ajaxurl,c,function(){b.count-=1,b.showHide(),b.uploader.refresh()})}}}(jQuery);
1
+ !function(a){window.WPUF_Uploader=function(b,c,d,e,f,g){if(this.removed_files=[],this.container=c,this.browse_button=b,this.max=d||1,this.count=a("#"+c).find(".wpuf-attachment-list > li").length,this.perFileCount=0,this.UploadedFiles=0,a("#"+b).length)return a("ul.wpuf-attachment-list").sortable({placeholder:"highlight"}),a("ul.wpuf-attachment-list").disableSelection(),this.uploader=new plupload.Uploader({runtimes:"html5,html4",browse_button:b,container:c,multipart:!0,multipart_params:{action:"wpuf_upload_file",form_id:a("#"+b).data("form_id")},max_file_count:2,multiple_queues:!1,multi_selection:"wpuf-avatar-pickfiles"!=b&&"wpuf-featured_image-pickfiles"!=b,urlstream_upload:!0,file_data_name:"wpuf_file",max_file_size:g+"kb",url:wpuf_frontend_upload.plupload.url+"&type="+e,flash_swf_url:wpuf_frontend_upload.flash_swf_url,filters:[{title:"Allowed Files",extensions:f}]}),this.uploader.bind("Init",a.proxy(this,"init")),this.uploader.bind("FilesAdded",a.proxy(this,"added")),this.uploader.bind("QueueChanged",a.proxy(this,"upload")),this.uploader.bind("UploadProgress",a.proxy(this,"progress")),this.uploader.bind("Error",a.proxy(this,"error")),this.uploader.bind("FileUploaded",a.proxy(this,"uploaded")),this.uploader.init(),a("#"+c).on("click","a.attachment-delete",a.proxy(this.removeAttachment,this)),this.uploader},WPUF_Uploader.prototype={init:function(b,c){this.showHide(),a("#"+this.container).prepend('<div class="wpuf-file-warning"></div>')},showHide:function(){if(this.count>=this.max)return this.count,this.max,a("#"+this.container+" .wpuf-file-warning").html(wpuf_frontend_upload.warning),void a("#"+this.container).find(".file-selector").hide();a("#"+this.container+" .wpuf-file-warning").html(""),a("#"+this.container).find(".file-selector").show()},added:function(b,c){var d=a("#"+this.container).find(".wpuf-attachment-upload-filelist");this.showHide(),a.each(c,function(b,c){a(".wpuf-submit-button").attr("disabled","disabled"),d.append('<div class="upload-item" id="'+c.id+'"><div class="progress progress-striped active"><div class="bar"></div></div><div class="filename original">'+c.name+" ("+plupload.formatSize(c.size)+") <b></b></div></div>")}),b.refresh(),b.start()},upload:function(a){this.count=a.files.length-this.removed_files.length,this.showHide()},progress:function(b,c){var d=a("#"+c.id);a(".bar",d).css({width:c.percent+"%"}),a(".percent",d).html(c.percent+"%")},error:function(b,c){a("#"+this.container).find("#"+c.file.id).remove();var d="";switch(c.code){case-600:d=wpuf_frontend_upload.plupload.size_error;break;case-601:d=wpuf_frontend_upload.plupload.type_error;break;default:d="Error #"+c.code+": "+c.message}alert(d),this.count-=1,this.showHide(),this.uploader.refresh()},uploaded:function(b,c,d){var e=this;if(a("#"+c.id+" b").html("100%"),a("#"+c.id).remove(),"error"!==d.response){this.perFileCount++,this.UploadedFiles++;var f=a("#"+this.container).find(".wpuf-attachment-list");if(f.append(d.response),this.perFileCount>this.max){var g=a(".wpuf-image-wrap:last a.attachment-delete",f).data("attach_id");e.removeExtraAttachment(g),a(".wpuf-image-wrap",f).last().remove(),this.perFileCount--}}else alert(d.error),this.count-=1,this.showHide();var h=this.UploadedFiles,i=b.files.length;a("ul.wpuf-attachment-list > li").length>=this.max&&a("#"+this.container).find(".file-selector").hide(),i===h&&a(".wpuf-submit-button").removeAttr("disabled")},removeAttachment:function(b){b.preventDefault();var c=this,d=a(b.currentTarget);if(confirm(wpuf_frontend_upload.confirmMsg)){var e={attach_id:d.data("attach_id"),nonce:wpuf_frontend_upload.nonce,action:"wpuf_file_del"};this.removed_files.push(e),jQuery("#del_attach").val(d.data("attach_id")),jQuery.post(wpuf_frontend_upload.ajaxurl,e,function(){c.perFileCount--,d.parent().parent().remove(),c.count-=1,c.showHide(),c.uploader.refresh()})}},removeExtraAttachment:function(a){var b=this,c={attach_id:a,nonce:wpuf_frontend_upload.nonce,action:"wpuf_file_del"};this.removed_files.push(c),jQuery.post(wpuf_frontend_upload.ajaxurl,c,function(){b.count-=1,b.showHide(),b.uploader.refresh()})}}}(jQuery);
assets/js/wpuf-form-builder-components.js CHANGED
@@ -1,6 +1,6 @@
1
  ;(function($) {
2
  'use strict';
3
-
4
  Vue.component('builder-stage', {
5
  template: '#tmpl-wpuf-builder-stage',
6
 
@@ -183,7 +183,7 @@ Vue.component('builder-stage', {
183
  }
184
  }
185
  });
186
-
187
  Vue.component('field-checkbox', {
188
  template: '#tmpl-wpuf-field-checkbox',
189
 
@@ -225,7 +225,7 @@ Vue.component('field-checkbox', {
225
  }
226
  }
227
  });
228
-
229
  Vue.component('field-html_help_text', {
230
  template: '#tmpl-wpuf-field-html_help_text',
231
 
@@ -233,7 +233,7 @@ Vue.component('field-html_help_text', {
233
  wpuf_mixins.option_field_mixin
234
  ],
235
  });
236
-
237
  Vue.component('field-multiselect', {
238
  template: '#tmpl-wpuf-field-multiselect',
239
 
@@ -274,7 +274,7 @@ Vue.component('field-multiselect', {
274
  },
275
 
276
  });
277
-
278
  /**
279
  * Common settings component for option based fields
280
  * like select, multiselect, checkbox, radio
@@ -392,7 +392,7 @@ Vue.component('field-option-data', {
392
  }
393
  }
394
  });
395
-
396
  Vue.component('field-option-pro-feature-alert', {
397
  template: '#tmpl-wpuf-field-option-pro-feature-alert',
398
 
@@ -406,7 +406,7 @@ Vue.component('field-option-pro-feature-alert', {
406
  }
407
  }
408
  });
409
-
410
  /**
411
  * Sidebar field options panel
412
  */
@@ -475,7 +475,7 @@ Vue.component('field-options', {
475
  }
476
  }
477
  });
478
-
479
  Vue.component('field-radio', {
480
  template: '#tmpl-wpuf-field-radio',
481
 
@@ -499,7 +499,7 @@ Vue.component('field-radio', {
499
  }
500
  }
501
  });
502
-
503
  Vue.component('field-select', {
504
  template: '#tmpl-wpuf-field-select',
505
 
@@ -523,7 +523,7 @@ Vue.component('field-select', {
523
  }
524
  }
525
  });
526
-
527
  Vue.component('field-text', {
528
  template: '#tmpl-wpuf-field-text',
529
 
@@ -552,7 +552,7 @@ Vue.component('field-text', {
552
  }
553
  }
554
  });
555
-
556
  Vue.component('field-text-meta', {
557
  template: '#tmpl-wpuf-field-text-meta',
558
 
@@ -593,7 +593,7 @@ Vue.component('field-text-meta', {
593
  }
594
  }
595
  });
596
-
597
  Vue.component('field-textarea', {
598
  template: '#tmpl-wpuf-field-textarea',
599
 
@@ -613,7 +613,7 @@ Vue.component('field-textarea', {
613
  }
614
  },
615
  });
616
-
617
  Vue.component('field-visibility', {
618
  template: '#tmpl-wpuf-field-visibility',
619
 
@@ -666,9 +666,11 @@ Vue.component('field-visibility', {
666
  },
667
 
668
  watch: {
669
-
 
 
670
  }
671
- });
672
  /**
673
  * Field template: Checkbox
674
  */
@@ -679,7 +681,7 @@ Vue.component('form-checkbox_field', {
679
  wpuf_mixins.form_field_mixin
680
  ]
681
  });
682
-
683
  /**
684
  * Field template: Hidden
685
  */
@@ -690,7 +692,7 @@ Vue.component('form-custom_hidden_field', {
690
  wpuf_mixins.form_field_mixin
691
  ]
692
  });
693
-
694
  /**
695
  * Field template: Custom HTML
696
  */
@@ -707,7 +709,7 @@ Vue.component('form-custom_html', {
707
  };
708
  }
709
  });
710
-
711
  /**
712
  * Field template: Dropdown/Select
713
  */
@@ -718,7 +720,7 @@ Vue.component('form-dropdown_field', {
718
  wpuf_mixins.form_field_mixin
719
  ]
720
  });
721
-
722
  /**
723
  * Field template: Email
724
  */
@@ -729,7 +731,7 @@ Vue.component('form-email_address', {
729
  wpuf_mixins.form_field_mixin
730
  ]
731
  });
732
-
733
  /**
734
  * Field template: Featured Image
735
  */
@@ -740,7 +742,7 @@ Vue.component('form-featured_image', {
740
  wpuf_mixins.form_field_mixin
741
  ]
742
  });
743
-
744
  /**
745
  * Sidebar form fields panel
746
  */
@@ -857,7 +859,7 @@ Vue.component('form-fields', {
857
  }
858
  }
859
  });
860
-
861
  /**
862
  * Field template: Image Upload
863
  */
@@ -868,7 +870,7 @@ Vue.component('form-image_upload', {
868
  wpuf_mixins.form_field_mixin
869
  ]
870
  });
871
-
872
  /**
873
  * Field template: Multi-Select
874
  */
@@ -879,7 +881,7 @@ Vue.component('form-multiple_select', {
879
  wpuf_mixins.form_field_mixin
880
  ]
881
  });
882
-
883
  /**
884
  * Field Template: Post Content
885
  */
@@ -890,7 +892,7 @@ Vue.component('form-post_content', {
890
  wpuf_mixins.form_field_mixin
891
  ]
892
  });
893
-
894
  /**
895
  * Field Template: Post Excerpt
896
  */
@@ -901,7 +903,7 @@ Vue.component('form-post_excerpt', {
901
  wpuf_mixins.form_field_mixin
902
  ]
903
  });
904
-
905
  /**
906
  * Field template: post_tags
907
  */
@@ -912,7 +914,7 @@ Vue.component('form-post_tags', {
912
  wpuf_mixins.form_field_mixin
913
  ]
914
  });
915
-
916
  /**
917
  * Field template: Post Title
918
  */
@@ -923,7 +925,7 @@ Vue.component('form-post_title', {
923
  wpuf_mixins.form_field_mixin
924
  ]
925
  });
926
-
927
  /**
928
  * Field template: Radio
929
  */
@@ -934,7 +936,7 @@ Vue.component('form-radio_field', {
934
  wpuf_mixins.form_field_mixin
935
  ]
936
  });
937
-
938
  /**
939
  * Field template: Recaptcha
940
  */
@@ -955,7 +957,7 @@ Vue.component('form-recaptcha', {
955
  }
956
  }
957
  });
958
-
959
  /**
960
  * Field template: Section Break
961
  */
@@ -966,7 +968,7 @@ Vue.component('form-section_break', {
966
  wpuf_mixins.form_field_mixin
967
  ]
968
  });
969
-
970
  /**
971
  * Field template: taxonomy
972
  */
@@ -1163,15 +1165,7 @@ Vue.component('form-taxonomy', {
1163
  }
1164
  }
1165
  });
1166
-
1167
- Vue.component('form-textarea_field', {
1168
- template: '#tmpl-wpuf-form-textarea_field',
1169
 
1170
- mixins: [
1171
- wpuf_mixins.form_field_mixin
1172
- ]
1173
- });
1174
-
1175
  /**
1176
  * Field template: Text
1177
  */
@@ -1182,7 +1176,15 @@ Vue.component('form-text_field', {
1182
  wpuf_mixins.form_field_mixin
1183
  ]
1184
  });
1185
-
 
 
 
 
 
 
 
 
1186
  /**
1187
  * Field template: Website URL
1188
  */
@@ -1193,7 +1195,7 @@ Vue.component('form-website_url', {
1193
  wpuf_mixins.form_field_mixin
1194
  ]
1195
  });
1196
-
1197
  Vue.component('help-text', {
1198
  template: '#tmpl-wpuf-help-text',
1199
 
@@ -1208,7 +1210,7 @@ Vue.component('help-text', {
1208
  $(".wpuf-tooltip").tooltip();
1209
  }
1210
  });
1211
-
1212
  Vue.component('text-editor', {
1213
  template: '#tmpl-wpuf-text-editor',
1214
 
@@ -1224,5 +1226,5 @@ Vue.component('text-editor', {
1224
  }
1225
  }
1226
  });
1227
-
1228
  })(jQuery);
1
  ;(function($) {
2
  'use strict';
3
+
4
  Vue.component('builder-stage', {
5
  template: '#tmpl-wpuf-builder-stage',
6
 
183
  }
184
  }
185
  });
186
+
187
  Vue.component('field-checkbox', {
188
  template: '#tmpl-wpuf-field-checkbox',
189
 
225
  }
226
  }
227
  });
228
+
229
  Vue.component('field-html_help_text', {
230
  template: '#tmpl-wpuf-field-html_help_text',
231
 
233
  wpuf_mixins.option_field_mixin
234
  ],
235
  });
236
+
237
  Vue.component('field-multiselect', {
238
  template: '#tmpl-wpuf-field-multiselect',
239
 
274
  },
275
 
276
  });
277
+
278
  /**
279
  * Common settings component for option based fields
280
  * like select, multiselect, checkbox, radio
392
  }
393
  }
394
  });
395
+
396
  Vue.component('field-option-pro-feature-alert', {
397
  template: '#tmpl-wpuf-field-option-pro-feature-alert',
398
 
406
  }
407
  }
408
  });
409
+
410
  /**
411
  * Sidebar field options panel
412
  */
475
  }
476
  }
477
  });
478
+
479
  Vue.component('field-radio', {
480
  template: '#tmpl-wpuf-field-radio',
481
 
499
  }
500
  }
501
  });
502
+
503
  Vue.component('field-select', {
504
  template: '#tmpl-wpuf-field-select',
505
 
523
  }
524
  }
525
  });
526
+
527
  Vue.component('field-text', {
528
  template: '#tmpl-wpuf-field-text',
529
 
552
  }
553
  }
554
  });
555
+
556
  Vue.component('field-text-meta', {
557
  template: '#tmpl-wpuf-field-text-meta',
558
 
593
  }
594
  }
595
  });
596
+
597
  Vue.component('field-textarea', {
598
  template: '#tmpl-wpuf-field-textarea',
599
 
613
  }
614
  },
615
  });
616
+
617
  Vue.component('field-visibility', {
618
  template: '#tmpl-wpuf-field-visibility',
619
 
666
  },
667
 
668
  watch: {
669
+ selected: function (new_val) {
670
+ this.update_value('selected', new_val);
671
+ }
672
  }
673
+ });
674
  /**
675
  * Field template: Checkbox
676
  */
681
  wpuf_mixins.form_field_mixin
682
  ]
683
  });
684
+
685
  /**
686
  * Field template: Hidden
687
  */
692
  wpuf_mixins.form_field_mixin
693
  ]
694
  });
695
+
696
  /**
697
  * Field template: Custom HTML
698
  */
709
  };
710
  }
711
  });
712
+
713
  /**
714
  * Field template: Dropdown/Select
715
  */
720
  wpuf_mixins.form_field_mixin
721
  ]
722
  });
723
+
724
  /**
725
  * Field template: Email
726
  */
731
  wpuf_mixins.form_field_mixin
732
  ]
733
  });
734
+
735
  /**
736
  * Field template: Featured Image
737
  */
742
  wpuf_mixins.form_field_mixin
743
  ]
744
  });
745
+
746
  /**
747
  * Sidebar form fields panel
748
  */
859
  }
860
  }
861
  });
862
+
863
  /**
864
  * Field template: Image Upload
865
  */
870
  wpuf_mixins.form_field_mixin
871
  ]
872
  });
873
+
874
  /**
875
  * Field template: Multi-Select
876
  */
881
  wpuf_mixins.form_field_mixin
882
  ]
883
  });
884
+
885
  /**
886
  * Field Template: Post Content
887
  */
892
  wpuf_mixins.form_field_mixin
893
  ]
894
  });
895
+
896
  /**
897
  * Field Template: Post Excerpt
898
  */
903
  wpuf_mixins.form_field_mixin
904
  ]
905
  });
906
+
907
  /**
908
  * Field template: post_tags
909
  */
914
  wpuf_mixins.form_field_mixin
915
  ]
916
  });
917
+
918
  /**
919
  * Field template: Post Title
920
  */
925
  wpuf_mixins.form_field_mixin
926
  ]
927
  });
928
+
929
  /**
930
  * Field template: Radio
931
  */
936
  wpuf_mixins.form_field_mixin
937
  ]
938
  });
939
+
940
  /**
941
  * Field template: Recaptcha
942
  */
957
  }
958
  }
959
  });
960
+
961
  /**
962
  * Field template: Section Break
963
  */
968
  wpuf_mixins.form_field_mixin
969
  ]
970
  });
971
+
972
  /**
973
  * Field template: taxonomy
974
  */
1165
  }
1166
  }
1167
  });
 
 
 
1168
 
 
 
 
 
 
1169
  /**
1170
  * Field template: Text
1171
  */
1176
  wpuf_mixins.form_field_mixin
1177
  ]
1178
  });
1179
+
1180
+ Vue.component('form-textarea_field', {
1181
+ template: '#tmpl-wpuf-form-textarea_field',
1182
+
1183
+ mixins: [
1184
+ wpuf_mixins.form_field_mixin
1185
+ ]
1186
+ });
1187
+
1188
  /**
1189
  * Field template: Website URL
1190
  */
1195
  wpuf_mixins.form_field_mixin
1196
  ]
1197
  });
1198
+
1199
  Vue.component('help-text', {
1200
  template: '#tmpl-wpuf-help-text',
1201
 
1210
  $(".wpuf-tooltip").tooltip();
1211
  }
1212
  });
1213
+
1214
  Vue.component('text-editor', {
1215
  template: '#tmpl-wpuf-text-editor',
1216
 
1226
  }
1227
  }
1228
  });
1229
+
1230
  })(jQuery);
assets/js/wpuf-form-builder-mixins.js CHANGED
@@ -1,6 +1,6 @@
1
  ;(function($) {
2
  'use strict';
3
-
4
  /**
5
  * Mixin for form fields like
6
  * form-text_field, form-field_textarea etc
@@ -54,7 +54,7 @@ wpuf_mixins.form_field_mixin = {
54
  }
55
  }
56
  };
57
-
58
  /**
59
  * Global mixin
60
  */
@@ -126,7 +126,7 @@ Vue.mixin({
126
  }
127
  }
128
  });
129
-
130
  /**
131
  * Integration mixin
132
  *
@@ -179,7 +179,7 @@ wpuf_mixins.integration_mixin = {
179
  }
180
  }
181
  };
182
-
183
  /**
184
  * Mixin for option fields like
185
  * field-text, field-text-meta, field-radio etc
@@ -237,5 +237,5 @@ wpuf_mixins.option_field_mixin = {
237
  },
238
  }
239
  };
240
-
241
  })(jQuery);
1
  ;(function($) {
2
  'use strict';
3
+
4
  /**
5
  * Mixin for form fields like
6
  * form-text_field, form-field_textarea etc
54
  }
55
  }
56
  };
57
+
58
  /**
59
  * Global mixin
60
  */
126
  }
127
  }
128
  });
129
+
130
  /**
131
  * Integration mixin
132
  *
179
  }
180
  }
181
  };
182
+
183
  /**
184
  * Mixin for option fields like
185
  * field-text, field-text-meta, field-radio etc
237
  },
238
  }
239
  };
240
+
241
  })(jQuery);
assets/less/admin.less ADDED
@@ -0,0 +1,666 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .wpuf-admin {
2
+
3
+ fieldset {
4
+ border: 1px solid #E3E3E3;
5
+ margin: 20px 0 0px 0;
6
+ padding-bottom: 20px;
7
+ -moz-border-radius: 5px;
8
+ -webkit-border-radius: 5px;
9
+ background: #fff;
10
+ -moz-box-shadow: inset 0 0 5px #ccc;
11
+ -webkit-box-shadow: inset 0 0 5px #ccc;
12
+ box-shadow: inset 0 0 5px #ccc;
13
+ }
14
+
15
+ legend {
16
+ -moz-border-radius: 5px 5px 5px 5px;
17
+ -webkit-border-radius: 5px;
18
+ background: #FFFFFF;
19
+ border: 1px solid #E3E3E3;
20
+ color: #2481C6;
21
+ font-size: 15px;
22
+ font-weight: bold;
23
+ margin-left: 20px;
24
+ padding: 5px 10px;
25
+ text-transform: capitalize;
26
+ -moz-box-shadow: inset 0 0 5px #ccc;
27
+ -webkit-box-shadow: inset 0 0 5px #ccc;
28
+ box-shadow: inset 0 0 5px #ccc;
29
+ }
30
+
31
+ .widefat {
32
+ td {
33
+ padding: 7px 12px;
34
+ vertical-align: top;
35
+ }
36
+ }
37
+
38
+ .meta {
39
+ td {
40
+ &.label {
41
+ width: 140px;
42
+ font-size: 12px;
43
+ }
44
+ }
45
+ .description {
46
+ font-size: 11px;
47
+ }
48
+ }
49
+
50
+ td {
51
+ &.label {
52
+ font-size: 12px;
53
+ }
54
+ }
55
+
56
+ .options {
57
+ td {
58
+ &:nth-child(odd) {
59
+ background-color: F9F9F9;
60
+ }
61
+ }
62
+ }
63
+
64
+ .nav-tab {
65
+ font-size: 15px;
66
+ margin: 0 0px -1px 0;
67
+ }
68
+ }
69
+
70
+ .wpuf_admin {
71
+
72
+ ul {
73
+ margin: 10px;
74
+ }
75
+
76
+ li {
77
+ padding: 0 0 10px;
78
+ margin: 0 0 10px;
79
+ border-bottom: 1px solid #E7E7E7;
80
+ line-height: 20px;
81
+
82
+ &:last-child {
83
+ border-bottom: none;
84
+ }
85
+ }
86
+
87
+ span {
88
+ &.label {
89
+ float: left;
90
+ height: 20px;
91
+ line-height: 20px;
92
+ width: 200px;
93
+ }
94
+ }
95
+ }
96
+
97
+ span {
98
+ &.wpuf_help {
99
+ height: 16px;
100
+ width: 16px;
101
+ background: url('../images/help.png') no-repeat;
102
+ cursor: pointer;
103
+ float: right;
104
+ display: none;
105
+ }
106
+ }
107
+
108
+ #option-saved {
109
+ -moz-border-radius: 5px 5px 5px 5px;
110
+ background: none repeat scroll 0 0 orange;
111
+ border: 1px solid #CCCCCC;
112
+ color: #FFFFFF;
113
+ display: none;
114
+ font-size: 30px;
115
+ padding: 50px;
116
+ position: absolute;
117
+ left: 50%;
118
+ z-index: 99;
119
+ -moz-box-shadow: 0 0 8px rgba(82,168,236,.5);
120
+ -webkit-box-shadow: 0 0 8px rgba(82,168,236,.5);
121
+ }
122
+
123
+ .wpuf_loading {
124
+ height: 16px;
125
+ width: 16px;
126
+ background: url('../images/wpspin_light.gif') no-repeat;
127
+ padding: 0 0 0 20px;
128
+ margin-bottom: 10px;
129
+ }
130
+
131
+ .wpuf-status-completed {
132
+ background: url(../images/completed.png);
133
+ background-size: cover;
134
+ width: 18px;
135
+ height: 18px;
136
+ display: block;
137
+ }
138
+
139
+ .wpuf-status-processing {
140
+ background: url(../images/processing.png);
141
+ background-size: cover;
142
+ width: 18px;
143
+ height: 18px;
144
+ display: block;
145
+ }
146
+
147
+ .wpuf-footer-help {
148
+ box-sizing: border-box;
149
+ width: auto;
150
+ margin: 2rem 0.8rem;
151
+ text-align: center;
152
+ .wpuf-footer-help-content {
153
+ border: 1px solid #ddd;
154
+ border-radius: 30px;
155
+ padding: 15px 25px;
156
+ font-size: 15px;
157
+ }
158
+ }
159
+
160
+ .wpuf-footer-help-content {
161
+ .dashicons {
162
+ color: #47c1bf;
163
+ font-size: 30px;
164
+ height: 30px;
165
+ width: 30px;
166
+ margin-top: -5px;
167
+ }
168
+ }
169
+
170
+ .wpuf-settings-wrap {
171
+ display: flex;
172
+ background: #fff;
173
+ box-shadow: 0 0 0 1px #c8d7e1, 0 1px 2px #e9eff3;
174
+
175
+ h2.nav-tab-wrapper {
176
+ flex: 1;
177
+ border-bottom: none;
178
+ padding: 0;
179
+ background-color: #f1f1f1;
180
+ border-right: 1px solid #c8d7e1;
181
+
182
+ a.nav-tab {
183
+ float: none;
184
+ display: block;
185
+ margin: 0;
186
+ border: none;
187
+ padding: 14px;
188
+ border-bottom: 1px solid #c8d7e1;
189
+ font-weight: 500;
190
+ font-size: 13px;
191
+ border-right: 1px solid #c8d7e1;
192
+ color: #444;
193
+ text-decoration: none;
194
+ margin-right: -1px;
195
+ background-color: #f1f1f1;
196
+
197
+ &.nav-tab-active {
198
+ background: #fff;
199
+ border-right: 1px solid #fff;
200
+ }
201
+
202
+ .dashicons {
203
+ margin-right: 10px;
204
+ }
205
+
206
+ &#wpuf_general-tab .dashicons {
207
+ color: #9b59b6;
208
+ }
209
+
210
+ &#wpuf_dashboard-tab .dashicons {
211
+ color: #6c75ff;
212
+ }
213
+
214
+ &#wpuf_profile-tab .dashicons {
215
+ color: #00aeff;
216
+ }
217
+
218
+ &#wpuf_frontend_posting-tab .dashicons {
219
+ color: #AD1457;
220
+ }
221
+
222
+ &#wpuf_my_account-tab .dashicons {
223
+ color: #64DD17;
224
+ }
225
+
226
+ &#wpuf_payment-tab .dashicons {
227
+ color: #e67e22;
228
+ }
229
+
230
+ &#wpuf_mails-tab .dashicons {
231
+ color: #115da7;
232
+ }
233
+
234
+ &#wpuf_sms-tab .dashicons {
235
+ color: #00aeff;
236
+ }
237
+
238
+ &#wpuf_payment_invoices-tab .dashicons {
239
+ color: #1abc9d;
240
+ }
241
+
242
+ &#user_directory-tab .dashicons {
243
+ color: #e74c3c;
244
+ }
245
+ }
246
+ }
247
+
248
+ .metabox-holder {
249
+ flex: 3;
250
+ margin-left: 30px;
251
+ margin-bottom: 30px;
252
+
253
+ h2 {
254
+ border-bottom: 1px solid #c8d7e1;
255
+ padding-bottom: 15px;
256
+ margin-top: 14px;
257
+ }
258
+
259
+ .form-table th {
260
+ padding-left: 0;
261
+ }
262
+
263
+ p.submit {
264
+ margin-left: -10px;
265
+ border-top: 1px solid #f1f1f1;
266
+ padding-top: 20px;
267
+ text-align: right;
268
+ padding-right: 34px;
269
+
270
+ .button-primary {
271
+ font-size: 15px;
272
+ height: 45px;
273
+ line-height: 100%;
274
+ padding: 0px 20px;
275
+ font-weight: normal;
276
+ }
277
+ }
278
+ }
279
+ }
280
+
281
+ /**
282
+ * Profile Edit Page
283
+ */
284
+ #profile-page {
285
+
286
+ .wpuf-user-subscription {
287
+ background-color: #fff;
288
+ box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
289
+ border: 1px solid #e5e5e5;
290
+ margin-top: 15px;
291
+
292
+ h3 {
293
+ border-bottom: 1px solid #eee;
294
+ padding: 12px 15px;
295
+ font-size: 16px;
296
+ margin: 0;
297
+ }
298
+
299
+ .wpuf-user-sub-info {
300
+ // padding: 10px 15px;
301
+ }
302
+
303
+ .wpuf-pack-dropdown {
304
+
305
+ th {
306
+ padding-left: 15px;
307
+ }
308
+ }
309
+
310
+ .wpuf-sub-actions {
311
+ padding: 10px;
312
+ border-top: 1px solid #ddd;
313
+ background: #f5f5f5;
314
+ overflow: hidden;
315
+ display: block;
316
+
317
+ .wpuf-delete-pack-btn {
318
+ float: right;
319
+ }
320
+ }
321
+
322
+ .wpuf-sub-summary {
323
+ background: #f8f8f8;
324
+ border-bottom: 1px solid #eee;
325
+ margin-bottom: 10px;
326
+ display: flex;
327
+ flex-wrap: wrap;
328
+
329
+ * {
330
+ box-sizing: border-box;
331
+ }
332
+
333
+ .sub-name,
334
+ .sub-price {
335
+ width: 50%;
336
+ padding: 10px 15px;
337
+
338
+ span {
339
+ display: block;
340
+
341
+ &.label {
342
+ font-weight: bold;
343
+ }
344
+ }
345
+ }
346
+
347
+ .sub-name {
348
+ border-right: 1px solid #eee;
349
+ }
350
+
351
+ .info {
352
+ flex-basis: 100%;
353
+ padding: 0 15px;
354
+ background: #fef5be;
355
+ border-top: 1px solid #ffe98d;
356
+ }
357
+ }
358
+
359
+ .wpuf-sub-section {
360
+ padding: 0 15px;
361
+ border-bottom: 1px solid #eee;
362
+
363
+ h4 {
364
+ font-size: 15px;
365
+ }
366
+
367
+ &:last-child {
368
+ border-bottom: none;
369
+ padding-bottom: 15px;
370
+ }
371
+ }
372
+ }
373
+
374
+ }
375
+
376
+ .wpuf-premium {
377
+
378
+ .wp-badge {
379
+ background: #40ce65 url(../images/wpuf-pro.png) no-repeat;
380
+ background-size: 100px 90px;
381
+ background-position: 35px 5px;
382
+ }
383
+
384
+ .wpuf-upgrade-sticky-footer {
385
+ position: fixed;
386
+ bottom: 0;
387
+ background: #fff;
388
+ width: ~"calc(100% - 195px)";
389
+ z-index: 9;
390
+ margin-left: -25px;
391
+ text-align: center;
392
+ border: 1px solid #dfdfdf;
393
+ padding: 20px 0 10px 0;
394
+ border-bottom: none;
395
+ display: flex;
396
+ border-top: 3px solid #FF9800;
397
+
398
+ .text-left {
399
+ width: 70%;
400
+
401
+ h3 {
402
+ margin: 0;
403
+ }
404
+ }
405
+
406
+ .text-right {
407
+ width: 30%;
408
+ padding-top: 15px;
409
+
410
+ .button-primary {
411
+ background: #00aadc;
412
+ border-color: #0087be;
413
+ text-shadow: none;
414
+ padding: 5px 20px;
415
+ height: auto;
416
+ margin: 0.3125rem 0;
417
+ font-size: 16px;
418
+
419
+ &:hover {
420
+ border-color: #005082;
421
+ }
422
+ }
423
+ }
424
+ }
425
+
426
+ .four-col .col {
427
+ -webkit-align-self: flex-start;
428
+ -ms-flex-item-align: start;
429
+ align-self: flex-start;
430
+ min-width: 23%;
431
+ max-width: 23%;
432
+ }
433
+
434
+ .feature-section {
435
+
436
+ .feature-wrap {
437
+ background-color: #fafafa;
438
+ box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
439
+ border: 1px solid #e5e5e5;
440
+
441
+ .feature-details {
442
+ padding: 0 20px 10px 20px;
443
+
444
+ h3 a {
445
+ text-decoration: none;
446
+ }
447
+
448
+ ul {
449
+ -moz-column-count: 4;
450
+ -moz-column-gap: 10px;
451
+ -webkit-column-count: 4;
452
+ -webkit-column-gap: 10px;
453
+ column-count: 4;
454
+ column-gap: 10px;
455
+ padding: 0;
456
+ margin: 0;
457
+ font-size: 14px;
458
+
459
+ li {
460
+ padding-left: 1em;
461
+ text-indent: -.7em;
462
+ }
463
+
464
+ li::before {
465
+ content: "• ";
466
+ color: red; /* or whatever color you prefer */
467
+ }
468
+ }
469
+ }
470
+
471
+ .feature-image {
472
+ border-bottom: 1px solid #e5e5e5;
473
+ margin-bottom: 15px;
474
+
475
+ img {
476
+ max-width: 100%;
477
+ width: 100%;
478
+ height: auto;
479
+ margin-bottom: 0;
480
+ }
481
+ }
482
+ }
483
+ }
484
+
485
+ .module-wrap {
486
+ height: 122px;
487
+ display: flex;
488
+ flex-wrap: wrap;
489
+ background-color: #fafafa;
490
+ margin-bottom: 20px;
491
+ box-shadow: 0 0 5px 0 #ccc;
492
+
493
+ .module-image {
494
+ width: 25%;
495
+ margin-right: 4%;
496
+
497
+ img {
498
+ width: 100%;
499
+ }
500
+ }
501
+
502
+ .module-details {
503
+ margin: 0;
504
+ width: 70%;
505
+
506
+ h3 {
507
+ margin: 10px 0 0 0;
508
+
509
+ a {
510
+ text-decoration: none;
511
+ }
512
+ }
513
+ }
514
+ }
515
+ }
516
+
517
+ #wpuf_mails{
518
+ table{
519
+ tbody{
520
+ tr{
521
+
522
+ &.hide{
523
+ display: none;
524
+ }
525
+
526
+ &.heading{
527
+ cursor: pointer;
528
+ background-color: #f1f1f1;
529
+ border: 1px solid #c8d7e1;
530
+
531
+ label{
532
+ font-size: 13px;
533
+ color: #444;
534
+ font-weight: 500;
535
+
536
+ span{
537
+ color: #0073aa;
538
+ padding-right: 6px;
539
+
540
+ &.dashicons-admin-generic{
541
+ color: #9b59b6;
542
+ }
543
+
544
+ &.dashicons-universal-access-alt{
545
+ color: #AD1457;
546
+ }
547
+
548
+ &.dashicons-unlock{
549
+ color: #9b59b6;
550
+ }
551
+
552
+ &.dashicons-email-alt{
553
+ color: #6c75ff;
554
+ }
555
+
556
+ &.dashicons-money{
557
+ color: #64DD17;
558
+ }
559
+
560
+ &.dashicons-admin-users{
561
+ color: #00aeff;
562
+ }
563
+
564
+ &.dashicons-groups{
565
+ color: #e67e22;
566
+ }
567
+
568
+ &.dashicons-dismiss{
569
+ color: #115da7;
570
+ }
571
+
572
+ &.dashicons-smiley{
573
+ color: #e74c3c;
574
+ }
575
+ }
576
+ }
577
+
578
+ th{
579
+ padding: 16px 10px 16px 30px;
580
+ }
581
+ }
582
+
583
+ th{
584
+ padding-left: 30px;
585
+ }
586
+
587
+ }
588
+ }
589
+
590
+ }
591
+ }
592
+
593
+ tr.wpuf-form-layouts{
594
+ ul{
595
+ margin: 0;
596
+ overflow: hidden;
597
+
598
+ li{
599
+ margin: 0;
600
+ padding: 0 15px 15px 0;
601
+ position: relative;
602
+ width: 50%;
603
+ float: left;
604
+
605
+ input[type="radio"]{
606
+ display: none;
607
+ }
608
+
609
+ img{
610
+ max-width: 100%;
611
+ cursor: pointer;
612
+ }
613
+
614
+ label{
615
+ font-size: 20px;
616
+ font-weight: 500;
617
+ margin-bottom: 20px;
618
+ }
619
+
620
+ &:hover {
621
+ opacity: 0.3;
622
+ transition: .3s;
623
+ }
624
+
625
+ &.active:before{
626
+ position: absolute;
627
+ top: 0;
628
+ right: 15px;
629
+ width: 40px;
630
+ height: 40px;
631
+ font-family: dashicons;
632
+ font-size: 40px;
633
+ color: #18d118;
634
+ content: "\f147";
635
+ text-align: center;
636
+ background: inherit;
637
+ line-height: 40px;
638
+ }
639
+ }
640
+ }
641
+ }
642
+
643
+ ul.wpuf-form .wpuf-submit input[type=submit]{
644
+ font-size: 16px;
645
+ padding: 5px 15px;
646
+ border: 1px solid #ccc;
647
+ -webkit-border-radius: 3px;
648
+ -moz-border-radius: 3px;
649
+ border-radius: 3px;
650
+ background: #0085ba;
651
+ border-color: #0073aa #006799 #006799;
652
+ -webkit-box-shadow: 0 1px 0 #006799;
653
+ box-shadow: 0 1px 0 #006799;
654
+ color: #fff;
655
+ text-decoration: none;
656
+ text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799;
657
+ }
658
+
659
+ div#form-preview ul.wpuf-form li.wpuf_hidden_field {
660
+ display: block;
661
+ opacity: 0.3;
662
+ }
663
+
664
+ @import "help.less";
665
+ @import "whats-new.less";
666
+ @import "metabox-tabs.less";
assets/less/frontend-forms.less ADDED
@@ -0,0 +1,1595 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @borderColor: #eee;
2
+ @mainColor: #64C3DE;
3
+
4
+ /* DivTable.com */
5
+ .wpufTable{
6
+ display: table;
7
+ width: 100%;
8
+ }
9
+ .wpufTableRow {
10
+ display: table-row;
11
+ }
12
+ .wpufTableRow:nth-child(even) {
13
+ background-color: #f5f5f5;
14
+ }
15
+ .wpufTableHeading {
16
+ background-color: @borderColor;
17
+ display: table-header-group;
18
+ font-weight: bold;
19
+ }
20
+ .wpufTableCell, .wpufTableHead {
21
+ border: none;
22
+ display: table-cell;
23
+ padding: 3px 10px;
24
+ }
25
+ .wpufTableFoot {
26
+ background-color: @borderColor;
27
+ display: table-footer-group;
28
+ font-weight: bold;
29
+ }
30
+ .wpufTableBody {
31
+ display: table-row-group;
32
+ }
33
+
34
+ .clearfix() {
35
+ &:after {
36
+ clear: both;
37
+ content: "";
38
+ display: table;
39
+ }
40
+ }
41
+
42
+ .border-radius(@radius) {
43
+ -webkit-border-radius: @radius;
44
+ -moz-border-radius: @radius;
45
+ border-radius: @radius;
46
+ }
47
+
48
+ .core-button() {
49
+ background: #0085ba;
50
+ border-color: #0073aa #006799 #006799;
51
+ -webkit-box-shadow: 0 1px 0 #006799;
52
+ box-shadow: 0 1px 0 #006799;
53
+ color: #fff;
54
+ text-decoration: none;
55
+ text-shadow: 0 -1px 1px #006799,
56
+ 1px 0 1px #006799,
57
+ 0 1px 1px #006799,
58
+ -1px 0 1px #006799;
59
+ }
60
+
61
+ .core-button-hover() {
62
+ background: #008ec2;
63
+ border-color: #006799;
64
+ color: #fff;
65
+ }
66
+
67
+ .wpuf-loading {
68
+ width: 16px;
69
+ height: 16px;
70
+ background: url('../images/wpspin_light.gif') no-repeat;
71
+ display: inline-block;
72
+
73
+ &.hide {
74
+ display: none;
75
+ }
76
+ }
77
+
78
+ .wpuf-button {
79
+ color: #555;
80
+ border-color: #cccccc;
81
+ background: #f7f7f7;
82
+ -webkit-box-shadow: 0 1px 0 #cccccc;
83
+ box-shadow: 0 1px 0 #cccccc;
84
+ vertical-align: top;
85
+
86
+ &:hover, &:focus {
87
+ background: #fafafa;
88
+ border-color: #999;
89
+ color: #23282d;
90
+ }
91
+ }
92
+
93
+ .wpuf-success {
94
+ background-color: #dff0d8;
95
+ border: 1px solid #d6e9c6;
96
+ color: #3c763d;
97
+ padding: 10px;
98
+ margin: 10px 0 20px 0;
99
+ }
100
+
101
+ .wpuf-error {
102
+ background-color: #f2dede;
103
+ color: #a94442;
104
+ border: 1px solid #ebccd1;
105
+ margin: 10px 0 20px 0;
106
+ padding: 10px;
107
+ .border-radius(3px);
108
+ font-size: 13px;
109
+ }
110
+
111
+ .wpuf-message {
112
+ background: #fcf8e3;
113
+ border: 1px solid #faebcc;
114
+ color: #8a6d3b;
115
+ margin: 10px 0 20px 0;
116
+ padding: 10px;
117
+ .border-radius(3px);
118
+ font-size: 13px;
119
+ }
120
+
121
+ .wpuf-info {
122
+ background-color: #fef5be;
123
+ border: 2px solid #fdd425;
124
+ border-radius: 5px;
125
+ -moz-border-radius: 5px;
126
+ -webkit-border-radius: 5px;
127
+ padding: 5px 10px;
128
+ margin: 0 0 10px 0;
129
+ font-size: 13px;
130
+ }
131
+
132
+ .wpuf-form-add{
133
+
134
+ &.wpuf-style{
135
+ ul.wpuf-form{
136
+ .wpuf-submit{
137
+
138
+ input[type=submit] {
139
+ font-size: 16px;
140
+ padding: 5px 15px;
141
+ border: 1px solid #ccc;
142
+ .border-radius(3px);
143
+ .core-button();
144
+ }
145
+
146
+ input[type=submit]:disabled{
147
+ background: #dddddd;
148
+ border-color: #dddddd;
149
+ -webkit-box-shadow: 0 1px 0 #dddddd;
150
+ box-shadow: 0 1px 0 #dddddd;
151
+ color: #000;
152
+ text-shadow: 0 -1px 1px #dddddd, 1px 0 1px #dddddd, 0 1px 1px #dddddd, -1px 0 1px #dddddd;
153
+ }
154
+ }
155
+ }
156
+ }
157
+
158
+ }
159
+
160
+ ul.wpuf-form {
161
+ list-style: none !important;
162
+ margin: 0 !important;
163
+ padding: 0 !important;
164
+ width: 100%;
165
+
166
+ li {
167
+ .clearfix();
168
+ margin-left: 0;
169
+ margin-bottom: 10px;
170
+ padding: 10px;
171
+
172
+ &.has-error {
173
+ background: #FFE4E4;
174
+ }
175
+
176
+ .wp-editor-wrap {
177
+ border: 1px solid @borderColor;
178
+ }
179
+
180
+ &.wpuf_hidden_field {
181
+ display: none;
182
+ }
183
+
184
+ .wpuf-label {
185
+ float: left;
186
+ width: 30%;
187
+ min-height: 1px;
188
+ font-weight: bold;
189
+
190
+ .required {
191
+ color: red;
192
+ }
193
+ }
194
+ &.field-size-large {
195
+ .wpuf-fields {
196
+ float: left;
197
+ width: 70%;
198
+ }
199
+ }
200
+ &.field-size-medium {
201
+ .wpuf-fields {
202
+ float: left;
203
+ width: 50%;
204
+ }
205
+ }
206
+ &.field-size-small {
207
+ .wpuf-fields {
208
+ float: left;
209
+ width: 30%;
210
+ }
211
+ }
212
+
213
+ .wpuf-fields {
214
+ float: left;
215
+ width: 70%;
216
+
217
+ input[type=text],
218
+ input[type=password],
219
+ input[type=email],
220
+ input[type=url],
221
+ input[type=number],
222
+ textarea {
223
+ background: #fafafa;
224
+ -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
225
+ -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
226
+ box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
227
+ border: 1px solid #ddd;
228
+ color: #888;
229
+ width: 95%;
230
+ }
231
+
232
+ input[type=text]:focus,
233
+ input[type=password]:focus,
234
+ input[type=email]:focus,
235
+ input[type=url]:focus,
236
+ input[type=number]:focus,
237
+ textarea:focus {
238
+ color: #373737;
239
+ }
240
+ textarea {
241
+ padding-left: 3px;
242
+ width: 95%;
243
+ }
244
+ input[type=text],
245
+ input[type=password],
246
+ input[type=email],
247
+ input[type=url],
248
+ input[type=number] {
249
+ padding: 5px;
250
+ }
251
+
252
+ select {
253
+ border: 1px solid @borderColor;
254
+ padding: 2px;
255
+ height: 2em;
256
+ .border-radius(3px);
257
+ min-width: 150px;
258
+ max-width: 100%;
259
+ }
260
+
261
+ select[multiple] {
262
+ height: auto;
263
+ }
264
+
265
+ .wpuf-radio-inline,
266
+ .wpuf-checkbox-inline{
267
+ display: inline-block;
268
+ margin-right: 10px;
269
+ }
270
+
271
+ .wpuf-radio-block,
272
+ .wpuf-checkbox-block{
273
+ display: block;
274
+ margin-bottom: 6px;
275
+ }
276
+
277
+ a.file-selector {
278
+ display: inline;
279
+ text-decoration: none;
280
+ padding: 5px 12px;
281
+ margin: 0;
282
+ height: 30px;
283
+ line-height: 28px;
284
+ border: 1px solid #ccc;
285
+ .border-radius(3px);
286
+ background: #fafafa;
287
+ color: #23282d;
288
+ box-shadow: 0 1px 0 #cccccc;
289
+ vertical-align: top;
290
+ cursor: pointer;
291
+ -webkit-appearance: none;
292
+ white-space: nowrap;
293
+
294
+ &:hover,
295
+ &:focus {
296
+ background: #fafafa;
297
+ border-color: #999;
298
+ color: #23282d;
299
+ }
300
+ }
301
+
302
+ .google-map {
303
+ img {
304
+ max-width: none !important;
305
+ }
306
+ }
307
+
308
+ .wpuf-product-qty {
309
+ float: left;
310
+ width: 10%;
311
+ }
312
+
313
+ .wpuf-name-field-wrap {
314
+ .clearfix();
315
+ margin-bottom: 8px;
316
+
317
+ &.format-first-last {
318
+ .wpuf-name-field-first-name {
319
+ float: left;
320
+ width: 48%;
321
+ }
322
+
323
+ .wpuf-name-field-middle-name {
324
+ display: none;
325
+ }
326
+
327
+ .wpuf-name-field-last-name {
328
+ float: right;
329
+ width: 48%;
330
+ }
331
+ }
332
+
333
+ &.format-first-middle-last {
334
+ .wpuf-name-field-first-name {
335
+ float: left;
336
+ width: 37%;
337
+ margin-right: 3%;
338
+ }
339
+
340
+ .wpuf-name-field-middle-name {
341
+ float: left;
342
+ width: 20%;
343
+ }
344
+
345
+ .wpuf-name-field-last-name {
346
+ float: right;
347
+ width: 37%;
348
+ }
349
+ }
350
+ }
351
+
352
+ .wpuf-help {
353
+ color: #666;
354
+ margin: 2px 0 5px 0;
355
+ font-size: 12px;
356
+ font-style: italic;
357
+ font-family: sans-serif;
358
+ display: block;
359
+
360
+ .text-danger{
361
+ color: red;
362
+ }
363
+
364
+ .text-success{
365
+ color: green;
366
+ }
367
+
368
+ #url-alart,
369
+ #url-alart-mgs{
370
+ font-style: normal;
371
+ font-size: 16px;
372
+ }
373
+ }
374
+
375
+ table, td {
376
+ border: none;
377
+ margin: 0;
378
+ }
379
+
380
+ table {
381
+ width: 100%;
382
+ }
383
+
384
+ img.wpuf-clone-field,
385
+ img.wpuf-remove-field {
386
+ cursor: pointer;
387
+ margin: 0 3px;
388
+ box-shadow: none;
389
+ border: none;
390
+ }
391
+
392
+ ul.wpuf-attachment-list {
393
+ list-style: none;
394
+ margin: 5px 0 0 0;
395
+ padding: 0;
396
+
397
+ li {
398
+ display: inline-block;
399
+ border: 1px solid @borderColor;
400
+ padding: 5px;
401
+ width: 150px;
402
+ height: 150px;
403
+ margin-right: 5px;
404
+ .border-radius(5px);
405
+
406
+ .wpuf-file-input-wrap {
407
+ margin: 10px 0;
408
+
409
+ input, textarea {
410
+ border: 1px solid @borderColor;
411
+ width: 93%;
412
+ }
413
+ }
414
+
415
+ .attachment-name {
416
+ text-align: center;
417
+ line-height: 0;
418
+ }
419
+ }
420
+ }
421
+
422
+ .progress {
423
+ background: -moz-linear-gradient(center bottom , #FFFFFF 0%, #F7F7F7 100%) repeat scroll 0 0 #FFFFFF;
424
+ border: 1px solid #D1D1D1;
425
+ border-radius: 3px 3px 3px 3px;
426
+ box-shadow: 0 0 3px rgba(0, 0, 0, 0.1) inset;
427
+ float: right;
428
+ height: 22px;
429
+ line-height: 2em;
430
+ margin: 0;
431
+ overflow: hidden;
432
+ padding: 0;
433
+ width: 200px;
434
+ }
435
+
436
+ .bar {
437
+ background-color: #83B4D8;
438
+ background-image: -moz-linear-gradient(center bottom , #72A7CF 0%, #90C5EE 100%);
439
+ border-radius: 3px 3px 3px 3px;
440
+ box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
441
+ height: 100%;
442
+ // margin-top: -26px;
443
+ width: 0;
444
+ z-index: 9;
445
+ }
446
+
447
+ .progress .percent {
448
+ color: rgba(0, 0, 0, 0.6);
449
+ padding: 0 8px;
450
+ position: relative;
451
+ text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
452
+ width: 200px;
453
+ z-index: 10;
454
+ }
455
+
456
+ ul.wpuf-category-checklist {
457
+ list-style: none;
458
+ margin: 0;
459
+ padding: 0;
460
+
461
+ li {
462
+ margin-bottom: 5px;
463
+ padding: 0;
464
+ }
465
+
466
+ ul.children {
467
+ list-style: none;
468
+ margin-left: 25px;
469
+ }
470
+ }
471
+
472
+ #wpuf-insert-image-container {
473
+ .clearfix();
474
+ margin-bottom: 3px;
475
+
476
+ a.wpuf-insert-image {
477
+ text-decoration: none;
478
+ // float: left;
479
+ border: 1px solid #DFDFDF;
480
+ font-size: 11px;
481
+ .border-radius(3px);
482
+ padding: 4px 6px;
483
+ margin-right: 10px;
484
+
485
+ .wpuf-media-icon {
486
+ // background: url('../images/photo.png') no-repeat;
487
+ height: 12px;
488
+ width: 12px;
489
+ // display: inline-block;
490
+ }
491
+ }
492
+ }
493
+
494
+ .wpuf-fields-list {
495
+ box-sizing: border-box;
496
+ margin: 0;
497
+ padding: 0;
498
+ list-style: none;
499
+
500
+ li {
501
+ padding: 0;
502
+ margin: 0 0 6px;
503
+ }
504
+
505
+ &.wpuf-list-inline {
506
+ margin-left: -5px;
507
+
508
+ li {
509
+ display: inline-block;
510
+ padding-left: 5px;
511
+ padding-right: 5px;
512
+ }
513
+ }
514
+ }
515
+
516
+ table.wpuf-repeatable-field {
517
+ border-collapse: collapse;
518
+
519
+ & * {
520
+ box-sizing: border-box;
521
+ }
522
+
523
+ input {
524
+ width: 100%;
525
+ }
526
+
527
+ .wpuf-repeater-buttons {
528
+ width: 75px;
529
+ padding-left: 12px;
530
+
531
+ img {
532
+ width: 100%;
533
+ height: auto;
534
+ }
535
+
536
+ i {
537
+ display: inline-block;
538
+ width: 15px;
539
+ height: 15px;
540
+ margin: 2px 4px 0 0;
541
+ }
542
+ }
543
+ }
544
+ }
545
+
546
+ label.wpuf-form-sub-label {
547
+ font-size: 12px;
548
+ display: inline-block;
549
+ padding-top: 5px;
550
+ }
551
+
552
+ .wpuf-address-field {
553
+ .clearfix();
554
+ width: 100%;
555
+ margin-bottom: 10px;
556
+
557
+ &.city_name,
558
+ &.state,
559
+ &.zip,
560
+ &.country_select {
561
+ float: left;
562
+ width: 47%;
563
+ }
564
+
565
+ &.city_name,
566
+ &.zip {
567
+ margin-right: 4%;
568
+ }
569
+
570
+ &.zip {
571
+ clear: both;
572
+ }
573
+ }
574
+
575
+ .wpuf-section-wrap {
576
+ border-bottom: 1px solid #ccc;
577
+ margin: 15px 0;
578
+
579
+ h2.wpuf-section-title {
580
+ margin: 0;
581
+ }
582
+
583
+ .wpuf-section-details {
584
+ padding: 4px 0 8px;
585
+ font-size: 12px;
586
+ }
587
+ }
588
+ }
589
+
590
+ &.form-label-above li {
591
+ .wpuf-label,
592
+ .wpuf-fields {
593
+ display: block;
594
+ float: none;
595
+ width: 100%;
596
+ }
597
+ &.field-size-large {
598
+ .wpuf-fields {
599
+ display: block;
600
+ float: none;
601
+ width: 100%;
602
+ }
603
+ }
604
+ &.field-size-medium {
605
+ .wpuf-fields {
606
+ display: block;
607
+ float: none;
608
+ width: 65%;
609
+ }
610
+ }
611
+ &.field-size-small {
612
+ .wpuf-fields {
613
+ display: block;
614
+ float: none;
615
+ width: 30%;
616
+ }
617
+ }
618
+
619
+ .wpuf-label {
620
+ margin-bottom: 10px;
621
+ }
622
+ }
623
+
624
+ &.form-label-right li {
625
+ .wpuf-label {
626
+ float: right;
627
+ }
628
+ }
629
+
630
+ &.form-label-hidden li {
631
+ .wpuf-label {
632
+ display: none;
633
+ }
634
+
635
+ &.field-size-large {
636
+ .wpuf-fields {
637
+ display: block;
638
+ float: none;
639
+ width: 100%;
640
+ }
641
+ }
642
+ &.field-size-medium {
643
+ .wpuf-fields {
644
+ display: block;
645
+ float: none;
646
+ width: 65%;
647
+ }
648
+ }
649
+ &.field-size-small {
650
+ .wpuf-fields {
651
+ display: block;
652
+ float: none;
653
+ width: 30%;
654
+ }
655
+ }
656
+
657
+ .wpuf-fields {
658
+ display: block;
659
+ float: none;
660
+ width: 100%;
661
+ }
662
+ }
663
+
664
+ .wpuf-submit {
665
+
666
+ .button-primary-disabled {
667
+ color: #94cde7 !important;
668
+ background: #298cba !important;
669
+ border-color: #1b607f !important;
670
+ -webkit-box-shadow: none !important;
671
+ box-shadow: none !important;
672
+ text-shadow: 0 -1px 0 rgba(0,0,0,0.1) !important;
673
+ cursor: default;
674
+ }
675
+
676
+ .wpuf-errors {
677
+ background: #FFE4E4;
678
+ border: 1px solid darken(#FFE4E4, 10%);
679
+ margin: 10px 0;
680
+ padding: 10px;
681
+ .border-radius(3px);
682
+ font-size: 13px;
683
+ }
684
+ }
685
+
686
+ &:not(.form-label-left) .wpuf-submit .wpuf-label {
687
+ display: none !important;
688
+ }
689
+ }
690
+
691
+ #wpuf-login-form {
692
+ label {
693
+ display: block;
694
+ }
695
+
696
+ .forgetmenot label {
697
+ display: inline-block;
698
+ }
699
+ }
700
+
701
+ .wpuf_sub_info {
702
+ padding: 0;
703
+ margin: 10px 5px;
704
+ border: 1px solid @borderColor;
705
+ border-radius: 3px;
706
+
707
+ h3 {
708
+ background-color: #f1f1f1;
709
+ padding: 10px;
710
+ margin: 0 0 5px 0 !important;
711
+ font-weight: 300 !important;
712
+ }
713
+
714
+ .wpuf-text{
715
+ padding: 5px 10px;
716
+ }
717
+
718
+ .wpuf-expire {
719
+ border-top: 1px solid @borderColor;
720
+ padding-top: 5px;
721
+ margin-top: 5px;
722
+ }
723
+ }
724
+
725
+ .wpuf-coupon-info-wrap {
726
+ border: 1px solid @borderColor;
727
+ padding: 15px;
728
+ margin-bottom: 20px;
729
+
730
+ .wpuf-coupon-field-spinner {
731
+ background: url( '../images/wpspin_light.gif' ) no-repeat right scroll rgba(0, 0, 0, 0);
732
+ }
733
+ .wpuf-copon-show {
734
+ background: #EEEEEE;
735
+ border-radius: 3px;
736
+ border-width: 1px;
737
+ box-shadow: 0 1px 0 rgba(217, 217, 217, 0.5) inset, 0 1px 0 rgba(0, 0, 0, 0.15);
738
+ color: #5C5A5A;
739
+ cursor: pointer;
740
+ display: inline-block;
741
+ font-size: 14px;
742
+ padding: 5px 12px;
743
+ text-decoration: none;
744
+ width: 175px;
745
+ margin-bottom: 8px;
746
+ }
747
+
748
+ .wpuf-copon-wrap {
749
+ margin: 15px 0;
750
+ }
751
+
752
+ .wpuf-pack-info {
753
+ margin-bottom: 20px;
754
+
755
+ h3 {
756
+ margin: 0 0 10px 0;
757
+ padding: 0 0 10px 0;
758
+ border-bottom: 1px solid @borderColor;
759
+
760
+ a {
761
+ text-decoration: none;
762
+ background: @mainColor;
763
+ color: #fff;
764
+ padding: 3px 8px;
765
+ font-size: 14px;
766
+ }
767
+ }
768
+
769
+ wpuf-subscription-error {
770
+ color: #D8000C;
771
+ }
772
+ }
773
+
774
+ .wpuf-copon-show:hover {
775
+ background: none repeat scroll 0 0 #1E8CBE;
776
+ border-color: #0074A2;
777
+ box-shadow: 0 1px 0 rgba(120, 200, 230, 0.6) inset;
778
+ color: #FFFFFF;
779
+ }
780
+
781
+ a.wpuf-apply-coupon {
782
+ text-decoration: none;
783
+ font-size: 11px;
784
+ margin-top: 10px;
785
+ margin-right: 10px;
786
+ background: #21759b;
787
+ color: #fff;
788
+ padding: 5px 10px;
789
+ display: inline-block;
790
+ .border-radius(3px);
791
+ }
792
+
793
+ .wpuf-copon-cancel {
794
+ text-decoration: none;
795
+ font-size: 11px;
796
+ }
797
+ }
798
+
799
+ .entry-content ul.wpuf_packs,
800
+ ul.wpuf_packs {
801
+ overflow: hidden;
802
+ margin: 15px;
803
+
804
+ > li {
805
+ background: #fff;
806
+ display: inline-block;
807
+ vertical-align: top;
808
+ border: 1px solid #DDD;
809
+ border-radius: 5px 5px 5px 5px;
810
+ list-style: none outside none;
811
+ margin: 5px 25px 25px 0;
812
+ position: relative;
813
+ width: 200px;
814
+ box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3);
815
+
816
+ &:first-child {
817
+ margin-left: 5px;
818
+ }
819
+ }
820
+
821
+ h3 {
822
+ background: #52B5D5;
823
+ color: #fff;
824
+ font-size: 18px;
825
+ font-weight: normal;
826
+ margin: 0;
827
+ padding: 10px !important;
828
+ text-align: center;
829
+ border-bottom: 1px solid darken(#52B5D5, 5%);
830
+ }
831
+
832
+ .wpuf-pricing-wrap {
833
+ background: @mainColor;
834
+
835
+ .wpuf-sub-amount {
836
+ position: relative;
837
+ text-align: center;
838
+ color: #FFF;
839
+ border-bottom: 1px solid darken(@mainColor, 5%);
840
+ padding: 10px 0;
841
+
842
+ .wpuf-sub-symbol {
843
+ font-size: 19px;
844
+ position: absolute;
845
+ top: 25px;
846
+ line-height: 10px;
847
+ }
848
+
849
+ .wpuf-sub-cost {
850
+ font-size: 40px;
851
+ margin-left: 10px;
852
+ line-height: 50px;
853
+ }
854
+
855
+ .wpuf-pack-cycle {
856
+ font-size: 13px;
857
+ padding-bottom: 5px;
858
+ }
859
+ }
860
+ }
861
+
862
+ .wpuf-sub-body {
863
+ margin: 0;
864
+ padding: 8px 0 0 8px;
865
+ background: #fff;
866
+ font-size: 11px;
867
+ color: #999;
868
+ }
869
+
870
+ .wpuf-sub-button {
871
+ text-align: center;
872
+ margin-bottom: 20px;
873
+ margin-top: 20px;
874
+ overflow: hidden;
875
+
876
+ a {
877
+ // .core-button();
878
+ background: @mainColor;
879
+ color: #fff;
880
+ text-decoration: none;
881
+ padding: 5px 10px;
882
+ .border-radius(3px);
883
+ display: inline-block;
884
+
885
+ &:hover {
886
+ background: darken(@mainColor, 10%);
887
+ }
888
+ }
889
+
890
+ a:hover {
891
+ background: none repeat scroll 0 0 #1E8CBE;
892
+ border-color: #0074A2;
893
+ box-shadow: 0 1px 0 rgba(120, 200, 230, 0.6) inset;
894
+ color: #FFFFFF;
895
+ }
896
+ }
897
+
898
+ .wpuf-sub-desciption {
899
+ margin-top: 15px;
900
+
901
+ ul, li {
902
+ margin: 0;
903
+ padding: 0;
904
+ list-style: none;
905
+ }
906
+
907
+ li {
908
+ text-align: center;
909
+ border-top: 1px solid #eee;
910
+ padding: 7px 0;
911
+
912
+ &:last-child {
913
+ border-bottom: 1px solid #eee;
914
+ }
915
+
916
+ &:first-child {
917
+ border-top: none;
918
+ }
919
+ }
920
+
921
+ p {
922
+ padding: 0 10px;
923
+ margin-bottom: 15px;
924
+ }
925
+ }
926
+
927
+ .button {
928
+ background: none repeat scroll 0 0 #2EA2CC;
929
+ border-color: #0074A2;
930
+ box-shadow: 0 1px 0 rgba(120, 200, 230, 0.5) inset, 0 1px 0 rgba(0, 0, 0, 0.15);
931
+ color: #FFFFFF;
932
+ text-decoration: none;
933
+ padding: 0 12px 2px;
934
+ color: #fff;
935
+ }
936
+
937
+ .cost {
938
+ background: red;
939
+ border-radius: 30px 30px 30px 30px;
940
+ color: #FFFFFF;
941
+ margin: -16px -12px 0 0;
942
+ padding: 10px 8px 8px;
943
+ position: absolute;
944
+ right: 0;
945
+ top: 0;
946
+ }
947
+ }
948
+
949
+ /* css for timepicker */
950
+ .ui-timepicker-div .ui-widget-header { margin-bottom: 8px; }
951
+ .ui-timepicker-div dl { text-align: left; }
952
+ .ui-timepicker-div dl dt { height: 25px; margin-bottom: -25px; }
953
+ .ui-timepicker-div dl dd { margin: 0 10px 10px 65px; }
954
+ .ui-timepicker-div td { font-size: 90%; }
955
+ .ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }
956
+
957
+ .ui-timepicker-rtl{ direction: rtl; }
958
+ .ui-timepicker-rtl dl { text-align: right; }
959
+ .ui-timepicker-rtl dl dd { margin: 0 65px 10px 10px; }
960
+
961
+ // Password Strength
962
+ #pass-strength-result {
963
+ border-style: solid;
964
+ border-width: 1px;
965
+ float: left;
966
+ margin: 0;
967
+ padding: 3px 5px;
968
+ text-align: center;
969
+ width: 200px;
970
+ display: none;
971
+ background-color: #eee;
972
+ border-color: #ddd !important;
973
+
974
+ &.bad {
975
+ background-color: #ffb78c;
976
+ border-color: #ff853c !important;
977
+ }
978
+
979
+ &.good {
980
+ background-color: #ffec8b;
981
+ border-color: #fc0 !important;
982
+ }
983
+
984
+ &.short {
985
+ background-color: #ffa0a0;
986
+ border-color: #f04040 !important;
987
+ }
988
+
989
+ &.strong {
990
+ background-color: #c3ff88;
991
+ border-color: #8dff1c !important;
992
+ }
993
+ }
994
+
995
+ .password[type="text"]{
996
+ display: none;
997
+ }
998
+
999
+ table.wpuf-table {
1000
+ border: 1px solid #E7E7E7;
1001
+ margin: 0 0px 10px 0;
1002
+ text-align: left;
1003
+ width: 100%;
1004
+
1005
+ thead th, th {
1006
+ color: #888888;
1007
+ font-size: 12px;
1008
+ font-weight: bold;
1009
+ line-height: 18px;
1010
+ padding: 9px 24px;
1011
+ }
1012
+
1013
+ td {
1014
+ border-top: 1px solid #E7E7E7;
1015
+ padding: 6px 24px;
1016
+ }
1017
+ }
1018
+
1019
+ #wpuf-payment-gateway {
1020
+ ul.wpuf-payment-gateways {
1021
+ list-style: none;
1022
+ margin: 10px 0;
1023
+
1024
+ li {
1025
+ margin: 0;
1026
+
1027
+ .wpuf-payment-instruction {
1028
+ padding: 8px 10px;
1029
+ margin: 0 10px;
1030
+ }
1031
+
1032
+ .wpuf-instruction {
1033
+ padding: 8px 10px;
1034
+ margin-bottom: 10px;
1035
+ background: #ebe8eb;
1036
+ font-size: 13px;
1037
+ .border-radius(2px);
1038
+ }
1039
+ }
1040
+ }
1041
+ }
1042
+
1043
+ .wpuf-pagination {
1044
+ div.pagination{
1045
+ text-align:center;
1046
+ padding:7px;
1047
+ margin:3px;
1048
+ }
1049
+
1050
+ .page-numbers{
1051
+ padding:2px 8px;
1052
+ margin:2px;
1053
+ border:1px solid #4A5154;
1054
+ text-decoration:none;
1055
+ color:#4A5154;
1056
+ background: #fff;
1057
+ border-radius: 5px;
1058
+ -moz-border-radius: 5px;
1059
+
1060
+ &:hover,
1061
+ &:active{
1062
+ border:1px solid #4A5154;
1063
+ background-color:#4A5154;
1064
+ color:#fff;
1065
+ border-radius: 5px;
1066
+ -moz-border-radius: 5px;
1067
+ }
1068
+
1069
+ &.current{
1070
+ padding:2px 8px;
1071
+ margin:2px;
1072
+ border:1px solid #4A5154;
1073
+ font-weight:bold;
1074
+ background-color:#4A5154;
1075
+ color:#FFF;
1076
+ border-radius: 5px;
1077
+ -moz-border-radius: 5px;
1078
+ }
1079
+ }
1080
+ }
1081
+
1082
+ /** author info **/
1083
+ .wpuf-author {
1084
+ .clearfix();
1085
+ margin: 20px 0;
1086
+
1087
+ h3{
1088
+ margin: 0 !important;
1089
+ background: #CFCFCF;
1090
+ text-align: left;
1091
+ padding: 3px 10px;
1092
+ }
1093
+
1094
+ .wpuf-author-inside {
1095
+ background: none repeat scroll 0 0 #F0F0F0;
1096
+ border-bottom: 2px solid #DDDDDD;
1097
+ height: auto;
1098
+ padding-left: 10px;
1099
+ padding-top: 15px;
1100
+ margin-bottom: 15px;
1101
+ .clearfix();
1102
+
1103
+ .wpuf-user-image {
1104
+ float: left;
1105
+ padding-right: 15px;
1106
+ }
1107
+
1108
+ p {
1109
+ margin-bottom: 10px !important;
1110
+ }
1111
+
1112
+ p.wpuf-author-info {
1113
+ padding-top: 8px;
1114
+ word-wrap: break-word;
1115
+ }
1116
+
1117
+ p.wpuf-user-name a {
1118
+ color: #335160;
1119
+ font-size: 1.2em;
1120
+ font-weight: bold;
1121
+ }
1122
+ }
1123
+ }
1124
+
1125
+ /** jQuery Suggest **/
1126
+
1127
+ .ac_results {
1128
+ padding: 0;
1129
+ margin: 0;
1130
+ list-style: none;
1131
+ position: absolute;
1132
+ z-index: 10000;
1133
+ display: none;
1134
+ border: 1px solid #ccc;
1135
+
1136
+ li {
1137
+ padding: 2px 5px;
1138
+ white-space: nowrap;
1139
+ text-align: left;
1140
+ }
1141
+ }
1142
+
1143
+ .ac_over {
1144
+ cursor: pointer;
1145
+ }
1146
+
1147
+ .ac_match {
1148
+ text-decoration: underline;
1149
+ }
1150
+
1151
+ /*------------------------------------
1152
+ * Multistep form
1153
+ *-----------------------------------*/
1154
+ fieldset.wpuf-multistep-fieldset {
1155
+ position: relative;
1156
+ padding-bottom: 50px;
1157
+ border: none;
1158
+ display: none;
1159
+
1160
+ &.field-active {
1161
+ display: block;
1162
+ }
1163
+
1164
+ .wpuf-multistep-prev-btn,
1165
+ .wpuf-multistep-next-btn {
1166
+ position: absolute;
1167
+ bottom: 5px;
1168
+ }
1169
+ .wpuf-multistep-prev-btn {
1170
+ left: 10px;
1171
+ }
1172
+ .wpuf-multistep-next-btn {
1173
+ right: 10px;
1174
+ }
1175
+ }
1176
+
1177
+ .wpuf-multistep-progressbar {
1178
+ overflow: hidden;
1179
+ }
1180
+
1181
+ .wpuf-form .wpuf-multistep-progressbar {
1182
+
1183
+ @stepBackground: #00a0d2;
1184
+
1185
+ ul.wpuf-step-wizard {
1186
+ margin: 20px 0 40px 0;
1187
+ padding: 0;
1188
+ list-style: none;
1189
+
1190
+ * {
1191
+ box-sizing: border-box;
1192
+ }
1193
+
1194
+ li {
1195
+ background-color: #E4E4E4;
1196
+ border-radius: 5px;
1197
+ display: inline-block;
1198
+ padding: 10px 30px 10px 40px;
1199
+ margin-right: -7px;
1200
+ width: auto;
1201
+ margin: 0;
1202
+ position: relative;
1203
+ text-align: center;
1204
+
1205
+ &::before,
1206
+ &::after {
1207
+ border: solid transparent;
1208
+ content: " ";
1209
+ height: 0;
1210
+ width: 0;
1211
+ position: absolute;
1212
+ border-color: transparent;
1213
+ border-left-color: #fff;
1214
+ border-radius: 10px;
1215
+ }
1216
+
1217
+ &::before {
1218
+ border-width: 26px;
1219
+ margin-top: -14px;
1220
+ right: -52px;
1221
+ z-index: 98;
1222
+ }
1223
+
1224
+ &::after {
1225
+ border-left-color: #E4E4E4;
1226
+ border-width: 25px;
1227
+ margin-top: -37px;
1228
+ right: -44px;
1229
+ z-index: 99;
1230
+ }
1231
+
1232
+ &.active-step {
1233
+ background-color: @stepBackground;
1234
+ color: #fff;
1235
+
1236
+ &::after {
1237
+ border-left-color: @stepBackground;
1238
+ }
1239
+ }
1240
+
1241
+ &:last-child::after {
1242
+ border-left-color: transparent;
1243
+ }
1244
+ }
1245
+ }
1246
+
1247
+ .ui-widget-header {
1248
+ background: @stepBackground;
1249
+ }
1250
+
1251
+ &.ui-progressbar {
1252
+ margin-bottom: 30px;
1253
+ height: 25px;
1254
+ border: 1px solid @borderColor;
1255
+ position: relative;
1256
+
1257
+ .wpuf-progress-percentage {
1258
+ position: absolute;
1259
+ left: 50%;
1260
+ font-size: 12px;
1261
+ font-weight: bold;
1262
+ text-shadow: 1px 1px 0 #fff;
1263
+ top: 20%;
1264
+ }
1265
+ }
1266
+ }
1267
+ input.wpuf-btn {
1268
+ text-decoration: none !important;
1269
+ font-size: 15px !important;
1270
+ margin-top: 10px;
1271
+ margin-right: 10px;
1272
+ background: #21759b !important;
1273
+ color: #fff !important;
1274
+ padding: 5px 10px;
1275
+ display: inline-block;
1276
+ -webkit-border-radius: 3px !important;
1277
+ -moz-border-radius: 3px !important;
1278
+ border-radius: 3px !important;
1279
+ border: none !important;
1280
+ }
1281
+ /*rtl*/
1282
+ body.rtl{
1283
+ ul.wpuf-form li .wpuf-label{
1284
+ float: right;
1285
+ }
1286
+ }
1287
+
1288
+ // landscape phones and smaller
1289
+ @media (max-width: 480px) {
1290
+ ul.wpuf-form {
1291
+ li {
1292
+ .wpuf-label, .wpuf-fields {
1293
+ float: none;
1294
+ width: 100%;
1295
+ }
1296
+ &.field-size-large {
1297
+ .wpuf-fields {
1298
+ float: none;
1299
+ width: 100%;
1300
+ }
1301
+ }
1302
+ &.field-size-medium {
1303
+ .wpuf-fields {
1304
+ float: none;
1305
+ width: 65%;
1306
+ }
1307
+ }
1308
+ &.field-size-small {
1309
+ .wpuf-fields {
1310
+ float: none;
1311
+ width: 30%;
1312
+ }
1313
+ }
1314
+ }
1315
+ }
1316
+ }
1317
+
1318
+ .wpuf-form {
1319
+ .required {
1320
+ color: red;
1321
+ font-weight: 700;
1322
+ border: 0;
1323
+ }
1324
+ }
1325
+ .wpuf-dashboard-container {
1326
+ .wpuf-dashboard-navigation {
1327
+ width: 30%;
1328
+ float: left;
1329
+
1330
+ a {
1331
+ text-decoration: none;
1332
+ box-shadow: none;
1333
+ }
1334
+
1335
+ ul {
1336
+ list-style: none;
1337
+ li {
1338
+ padding-bottom: 2px;
1339
+ }
1340
+ }
1341
+ }
1342
+
1343
+ .wpuf-dashboard-content {
1344
+ width: 68%;
1345
+ float: right;
1346
+ }
1347
+
1348
+ table.items-table {
1349
+ a {
1350
+ text-decoration: none;
1351
+ box-shadow: none;
1352
+ }
1353
+
1354
+ border: 0;
1355
+
1356
+ th, td {
1357
+ border: 0;
1358
+ padding: 10px;
1359
+ }
1360
+
1361
+ tr {
1362
+ outline: 1px solid #f1f1f1;
1363
+ }
1364
+
1365
+ .items-list-header {
1366
+ background-color: #f1f1f1;
1367
+ }
1368
+ }
1369
+
1370
+ .wpuf-update-profile-form {
1371
+ .form-row-first {
1372
+ float: left;
1373
+ width: 47%;
1374
+ overflow: visible;
1375
+ }
1376
+
1377
+ .form-row-last {
1378
+ float: right;
1379
+ width: 43%;
1380
+ overflow: visible;
1381
+ }
1382
+ }
1383
+ }
1384
+
1385
+ .wpuf-toc-container {
1386
+ .wpuf-fields {
1387
+ position: relative;
1388
+
1389
+ .wpuf-toc-checkbox {
1390
+ position: absolute;
1391
+ top: 0;
1392
+ left: 0;
1393
+ }
1394
+
1395
+ &.has-toc-checkbox {
1396
+
1397
+ .wpuf-toc-description {
1398
+ margin-left: 25px;
1399
+ }
1400
+ }
1401
+ }
1402
+ }
1403
+
1404
+ // Google Map
1405
+ // --------------------------------------------------
1406
+ .wpuf-field-google-map {
1407
+ height: 300px;
1408
+ width: 100%;
1409
+ }
1410
+
1411
+ .wpuf-form-google-map {
1412
+ height: 300px;
1413
+ width: 100%;
1414
+ }
1415
+
1416
+ input[type="text"].wpuf-google-map-search {
1417
+ margin-top: 10px !important;
1418
+ border: 1px solid transparent !important;
1419
+ border-radius: 2px 0 0 2px !important;
1420
+ box-sizing: border-box !important;
1421
+ -moz-box-sizing: border-box !important;
1422
+ height: 32px !important;
1423
+ outline: none !important;
1424
+ box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
1425
+ background-color: #fff !important;
1426
+ text-overflow: ellipsis !important;
1427
+ width: 170px !important;
1428
+ font-family: Roboto !important;
1429
+ font-size: 15px !important;
1430
+ font-weight: 300 !important;
1431
+ padding: 0 11px 0 13px !important;
1432
+ display: none;
1433
+
1434
+ .gm-style & {
1435
+ display: block;
1436
+ }
1437
+ }
1438
+
1439
+ .wpuf-form-google-map-container {
1440
+
1441
+ input[type="text"].wpuf-google-map-search {
1442
+ width: 230px !important;
1443
+ }
1444
+
1445
+ &.hide-search-box {
1446
+
1447
+ .gm-style input[type="text"].wpuf-google-map-search {
1448
+ display: none;
1449
+ }
1450
+ }
1451
+ }
1452
+
1453
+ .dokan-dashboard-content{
1454
+ &.dokan-wpuf-dashboard{
1455
+ h2.page-head{
1456
+ display: none;
1457
+ }
1458
+
1459
+ .wpuf-author{
1460
+ display: none;
1461
+ }
1462
+
1463
+ .wpuf-form-add{
1464
+ .wpuf-form{
1465
+ li{
1466
+ &.wpuf-el{
1467
+ margin-bottom: 15px;
1468
+ }
1469
+ }
1470
+ }
1471
+ }
1472
+ }
1473
+ }
1474
+
1475
+ @color_add: #6d6d6d;
1476
+
1477
+ table#wpuf-address-country-state {
1478
+ input {
1479
+ width: 100%;
1480
+ padding: 0 10px;
1481
+ border: 1px solid #f5f5f5;
1482
+ color: @color_add;
1483
+ font-size: 14px;
1484
+ line-height: 36px;
1485
+ height: 36px;
1486
+ box-shadow: none;
1487
+ }
1488
+ select {
1489
+ width: 100%;
1490
+ padding: 0 10px;
1491
+ border: 1px solid #f5f5f5;
1492
+ color: @color_add;
1493
+ font-size: 14px;
1494
+ line-height: 36px;
1495
+ height: 36px;
1496
+ box-shadow: none;
1497
+ }
1498
+ input.wpuf-btn {
1499
+ width: inherit;
1500
+ }
1501
+ td {
1502
+ border: none;
1503
+ }
1504
+ }
1505
+
1506
+ .wpuf-image-wrap {
1507
+ display:inline-block;
1508
+ position:relative;
1509
+ z-index:1;
1510
+ transition:.3s;
1511
+ margin:4px;
1512
+ .attachment-name img {
1513
+ width:100%;
1514
+ max-height:150px;
1515
+ transition:.3s;
1516
+ border-radius:4px;
1517
+ box-shadow: none;
1518
+ -webkit-box-shadow: none;
1519
+ }
1520
+ :not(.attachment-name img) {
1521
+ position:absolute;
1522
+ width:100%;
1523
+ transition:.3s;
1524
+ }
1525
+ }
1526
+ li.wpuf-image-wrap.thumbnail {
1527
+ position:relative;
1528
+ .caption {
1529
+ position: absolute;
1530
+ left: 50%;
1531
+ margin-left: -40px;
1532
+ top: 50%;
1533
+ margin-top: -10px;
1534
+ display: none;
1535
+ width: 80px;
1536
+ background: #23282d;
1537
+ text-align: center;
1538
+ padding: 0;
1539
+ border-radius: 3px;
1540
+ line-height: 0;
1541
+ }
1542
+ }
1543
+ li.wpuf-image-wrap.thumbnail:hover .caption {
1544
+ display:block;
1545
+ }
1546
+
1547
+ @media (min-width: 480px) {
1548
+ .wpuf-pay-row {
1549
+ width: 100%;
1550
+ display: table;
1551
+ table-layout: auto;
1552
+ }
1553
+ .wpuf-pay-col {
1554
+ width: 50%;
1555
+ display: table-cell;
1556
+ }
1557
+ }
1558
+
1559
+ ul.wpuf-form li .wpuf-fields ul.wpuf-attachment-list{
1560
+ overflow: auto;
1561
+ }
1562
+
1563
+ ul.wpuf-form li .wpuf-fields ul.wpuf-attachment-list li.highlight{
1564
+ margin-bottom: 0;
1565
+ height: 150px;
1566
+ padding-top: 0;
1567
+ padding-bottom: 0;
1568
+ }
1569
+
1570
+ ul.wpuf-form .ui-state-default.wpuf-image-wrap:hover{
1571
+ cursor: move;
1572
+ }
1573
+
1574
+ ul.wpuf-form .ui-state-default.wpuf-image-wrap .caption a,
1575
+ ul.wpuf-form .ui-state-default.wpuf-image-wrap .caption span{
1576
+ display: inline-block;
1577
+ line-height: 0;
1578
+ height: inherit;
1579
+ padding: 5px;
1580
+ color: transparent;
1581
+ vertical-align: top;
1582
+ }
1583
+
1584
+ ul.wpuf-form .ui-state-default
1585
+ .wpuf-image-wrap .caption a img{
1586
+ -webkit-box-shadow: none;
1587
+ box-shadow: none;
1588
+ }
1589
+
1590
+ ul.wpuf-form .ui-state-default.wpuf-image-wrap .caption a:hover,
1591
+ ul.wpuf-form .ui-state-default.wpuf-image-wrap .caption span:hover{
1592
+ background: #0073aa;
1593
+ -webkit-box-shadow: none;
1594
+ box-shadow: none;
1595
+ }
assets/less/help.less ADDED
@@ -0,0 +1,278 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .wpuf-help-tabbed {
2
+ display: flex;
3
+ width: 100%;
4
+ margin-top: 20px;
5
+ box-shadow: 0 0 0 1px rgba(200, 215, 225, 1), 0 1px 2px #e9eff3;
6
+
7
+ nav {
8
+ order: 1;
9
+ background-color: #f1f1f1;
10
+ flex-basis: auto;
11
+ padding: 0;
12
+ min-height: 405px;
13
+ border-right: 1px solid #c8d7e1;
14
+ min-width: 250px;
15
+
16
+ ul,
17
+ li {
18
+ margin: 0;
19
+ }
20
+
21
+ a {
22
+ display: block;
23
+ border: none;
24
+ padding: 0.5rem;
25
+ border-bottom: 1px solid #c8d7e1;
26
+ border-right: 1px solid #c8d7e1;
27
+ // border-left: 3px solid #f1f1f1;
28
+ background-color: #f1f1f1;
29
+ color: #444;
30
+ text-decoration: none;
31
+ margin-right: -1px;
32
+ font-weight: 500;
33
+
34
+ label {
35
+ padding: 0.5rem;
36
+ display: inline-block;
37
+ }
38
+ }
39
+
40
+ a:focus,
41
+ a:active {
42
+ outline: 0;
43
+ box-shadow: none;
44
+ }
45
+
46
+ .dashicons {
47
+ padding: 8px 0 0 5px;
48
+
49
+ &.dashicons-admin-home {
50
+ color: #9b59b6;
51
+ }
52
+
53
+ &.dashicons-media-text {
54
+ color: #6c75ff;
55
+ }
56
+
57
+ &.dashicons-dashboard {
58
+ color: #00aeff;
59
+ }
60
+
61
+ &.dashicons-admin-users {
62
+ color: #e67e22;
63
+ }
64
+
65
+ &.dashicons-lock {
66
+ color: #3d566e;
67
+ }
68
+
69
+ &.dashicons-edit {
70
+ color: #1abc9d;
71
+ }
72
+
73
+ &.dashicons-cart {
74
+ color: #e74c3c;
75
+ }
76
+
77
+ &.dashicons-unlock {
78
+ color: #00aeff;
79
+ }
80
+ }
81
+
82
+ .tab-current {
83
+ a {
84
+ // border-left: 3px solid #0073aa;
85
+ border-right: 1px solid #fff;
86
+ background: #fff;
87
+ color: #2e4453;
88
+ }
89
+ }
90
+ }
91
+
92
+ .nav-content {
93
+ order: 1;
94
+ background-color: #fff;
95
+ padding: 2rem;
96
+ width: 100%;
97
+
98
+ h2 {
99
+ margin-top: 30px;
100
+ color: #23282d;
101
+ line-height: 1.6;
102
+ margin-bottom: 0;
103
+ padding-bottom: 0;
104
+
105
+ &:first-child {
106
+ margin-top: 0;
107
+ }
108
+ }
109
+
110
+ section {
111
+ display: none;
112
+ color: #444;
113
+ font-size: 0.875rem;
114
+
115
+ p {
116
+ font-size: 0.875rem;
117
+ }
118
+
119
+ &.content-current {
120
+ display: block;
121
+ }
122
+
123
+ ul {
124
+ list-style-type: disc;
125
+ padding-left: 40px;
126
+ }
127
+
128
+ ul.related-articles {
129
+ list-style: none;
130
+ padding-left: 10px;
131
+ }
132
+
133
+ .button-primary {
134
+ background: #00aadc;
135
+ border-color: #0087be;
136
+ text-shadow: none;
137
+ padding: 3px 20px;
138
+ height: auto;
139
+ margin: 0.3125rem 0;
140
+
141
+ &:hover {
142
+ border-color: #005082;
143
+ }
144
+ }
145
+ }
146
+ }
147
+
148
+ }
149
+
150
+ .wpuf-help-page {
151
+
152
+ .wpuf-subscribe-box {
153
+ display: flex;
154
+ border: 1px solid #e5e5e5;
155
+ background: #fff;
156
+ box-shadow: 0 1px 1px rgba(0,0,0,.04);
157
+ margin-top: 15px;
158
+
159
+ .text-wrap {
160
+ width: ~"calc(100% - 530px)";
161
+ padding: 10px 15px;
162
+
163
+ h3 {
164
+ color: #ff5722;
165
+ margin: 4px 0 0 0;
166
+ }
167
+
168
+ p {
169
+ margin-bottom: 5px;
170
+ }
171
+ }
172
+
173
+ .form-wrap {
174
+ width: 530px;
175
+ display: flex;
176
+ padding: 10px 0;
177
+ background: #f7f7f7;
178
+ padding-left: 20px;
179
+ border-left: 1px solid #eee;
180
+
181
+ .thank-you {
182
+ font-size: 16px;
183
+ color: green;
184
+ padding-top: 20px;
185
+ text-align: center;
186
+ width: 100%;
187
+ }
188
+
189
+ label {
190
+ color: #666;
191
+ }
192
+
193
+ input {
194
+ max-width: 100%;
195
+ overflow: hidden;
196
+ }
197
+
198
+ input[type="text"],
199
+ input[type="email"] {
200
+ padding: 5px 8px;
201
+ }
202
+
203
+ .fname {
204
+ width: 35%;
205
+ margin-right: 10px;
206
+ }
207
+
208
+ .email {
209
+ width: 40%;
210
+ margin-right: 10px;
211
+ }
212
+
213
+ .submit-btn {
214
+ width: 20%;
215
+ padding-top: 22px;
216
+ }
217
+ }
218
+ }
219
+
220
+ .help-blocks {
221
+ display: flex;
222
+ flex-wrap: wrap;
223
+ align-items: center;
224
+ margin-top: 30px;
225
+
226
+ .help-block {
227
+ flex: 1;
228
+ align-self: flex-start;
229
+ min-width: 25%;
230
+ max-width: 30%;
231
+ border: 1px solid #ddd;
232
+ margin-right: 2%;
233
+ margin-bottom: 25px;
234
+ border-radius: 3px;
235
+ padding: 25px 15px;
236
+ text-align: center;
237
+ background: #fff;
238
+
239
+ img {
240
+ max-height: 44px;
241
+ }
242
+ }
243
+ }
244
+
245
+ .wpuf-help-questions {
246
+ ul {
247
+ margin: 5px 0;
248
+ }
249
+
250
+ li {
251
+ padding: 10px 5px;
252
+ margin: 0;
253
+ display: block;
254
+ border-bottom: 1px solid #eee;
255
+
256
+ &:hover {
257
+ background-color: #F5F5F5;
258
+ }
259
+
260
+ &:last-child {
261
+ border-bottom: none;
262
+ }
263
+
264
+ .dashicons {
265
+ color: #ccc;
266
+ margin-top: -3px;
267
+ }
268
+
269
+ .dashicons-media-text {
270
+ padding-left: 8px;
271
+ }
272
+
273
+ .dashicons-arrow-right-alt2 {
274
+ float: right;
275
+ }
276
+ }
277
+ }
278
+ }
assets/less/metabox-tabs.less ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #wpuf_subs_metabox .inside {
2
+ margin: 0;
3
+ padding: 0;
4
+ }
5
+
6
+ .wpuf-subscription-pack-settings {
7
+ display: flex;
8
+
9
+ nav {
10
+ background-color: #f1f1f1;
11
+ min-width: 200px;
12
+ border-right: 1px solid #e5e5e5;
13
+
14
+ ul,
15
+ li {
16
+ margin: 0;
17
+ }
18
+
19
+ a {
20
+ display: block;
21
+ border: none;
22
+ padding: 12px 5px 12px 15px;
23
+ border-bottom: 1px solid #e5e5e5;
24
+ border-right: 1px solid #e5e5e5;
25
+ background-color: #f1f1f1;
26
+ text-decoration: none;
27
+ margin-right: -1px;
28
+ font-weight: 500;
29
+
30
+ label {
31
+ padding: 0.5rem;
32
+ display: inline-block;
33
+ }
34
+ }
35
+
36
+ a:focus,
37
+ a:active {
38
+ outline: 0;
39
+ box-shadow: none;
40
+ }
41
+
42
+ .tab-current {
43
+ a {
44
+ // border-left: 3px solid #0073aa;
45
+ border-right: 1px solid #fff;
46
+ background: #fff;
47
+ color: #2e4453;
48
+ }
49
+ }
50
+ }
51
+
52
+ .subscription-nav-content {
53
+ padding: 15px 25px;
54
+ width: 100%;
55
+
56
+ section {
57
+ display: none;
58
+
59
+ &.content-current {
60
+ display: block;
61
+ }
62
+
63
+ .form-table {
64
+ th {
65
+ width: 150px;
66
+ min-width: 150px;
67
+ }
68
+
69
+ td {
70
+ padding: 15px 0;
71
+ }
72
+ }
73
+ }
74
+ }
75
+
76
+ }
assets/less/whats-new.less ADDED
@@ -0,0 +1,116 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .notice.wpuf-whats-new-notice {
2
+ display: flex;
3
+ position: relative;
4
+ padding: 0;
5
+ height: 65px;
6
+
7
+ .wpuf-whats-new-icon {
8
+ width: 75px;
9
+ height: 65px;
10
+ overflow: hidden;
11
+
12
+ img {
13
+ max-width: 65px;
14
+ }
15
+ }
16
+
17
+ .wpuf-whats-new-text {
18
+ width: ~"calc(100% - 240px)";
19
+ }
20
+
21
+ .wpuf-whats-new-actions {
22
+ width: 165px;
23
+
24
+ a {
25
+ display: inline-block;
26
+ margin-top: 20px;
27
+ }
28
+ }
29
+ }
30
+
31
+ .wpuf-whats-new {
32
+
33
+ .error, .udpated, .info, .notice {
34
+ display: none;
35
+ }
36
+
37
+ h1 {
38
+ text-align: center;
39
+ margin-top: 20px;
40
+ font-size: 30px;
41
+ }
42
+
43
+ .wedevs-changelog {
44
+ display: flex;
45
+ max-width: 920px;
46
+ border: 1px solid #e5e5e5;
47
+ padding: 12px 20px 20px 20px;
48
+ margin: 20px auto;
49
+ background: #fff;
50
+ box-shadow: 0 1px 1px rgba(0,0,0,0.04);
51
+
52
+ .wedevs-changelog-version {
53
+ width: 360px;
54
+
55
+ .released {
56
+ font-style: italic;
57
+ }
58
+ }
59
+
60
+ .wedevs-changelog-history {
61
+ width: 100%;
62
+ font-size: 14px;
63
+
64
+ li {
65
+ margin-bottom: 30px;
66
+ }
67
+
68
+ h4 {
69
+ margin: 0 0 10px 0;
70
+ font-size: 1.3em;
71
+ line-height: 26px;
72
+ }
73
+
74
+ p {
75
+ font-size: 14px;
76
+ line-height: 1.5;
77
+ }
78
+
79
+ img {
80
+ margin-top: 30px;
81
+ max-width: 100%;
82
+ }
83
+
84
+ span.label {
85
+ margin-left: 10px;
86
+ position: relative;
87
+ color: #fff;
88
+ border-radius: 20px;
89
+ padding: 0 8px;
90
+ font-size: 12px;
91
+ height: 20px;
92
+ line-height: 19px;
93
+ -webkit-appearance: none;
94
+ -moz-appearance: none;
95
+ appearance: none;
96
+ font-weight: normal;
97
+
98
+ &.new {
99
+ background: #3778ff;
100
+ border: 1px solid #3778ff;
101
+ }
102
+
103
+ &.improvement {
104
+ background: #3aaa55;
105
+ border: 1px solid #3aaa
106
+ }
107
+
108
+ &.fix {
109
+ background: #ff4772;
110
+ border: 1px solid #ff4772;
111
+ }
112
+
113
+ }
114
+ }
115
+ }
116
+ }
assets/vendor/sweetalert2/package.json ADDED
@@ -0,0 +1,178 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_args": [
3
+ [
4
+ {
5
+ "raw": "sweetalert2",
6
+ "scope": null,
7
+ "escapedName": "sweetalert2",
8
+ "name": "sweetalert2",
9
+ "rawSpec": "",
10
+ "spec": "latest",
11
+ "type": "tag"
12
+ },
13
+ "/Applications/MAMP/htdocs/wpuf/wp-content/plugins/WP-User-Frontend"
14
+ ]
15
+ ],
16
+ "_from": "sweetalert2@latest",
17
+ "_id": "sweetalert2@6.6.4",
18
+ "_inCache": true,
19
+ "_location": "/sweetalert2",
20
+ "_nodeVersion": "7.10.0",
21
+ "_npmOperationalInternal": {
22
+ "host": "s3://npm-registry-packages",
23
+ "tmp": "tmp/sweetalert2-6.6.4.tgz_1495375135182_0.1165739013813436"
24
+ },
25
+ "_npmUser": {
26
+ "name": "limonte",
27
+ "email": "limon.monte@gmail.com"
28
+ },
29
+ "_npmVersion": "4.2.0",
30
+ "_phantomChildren": {},
31
+ "_requested": {
32
+ "raw": "sweetalert2",
33
+ "scope": null,
34
+ "escapedName": "sweetalert2",
35
+ "name": "sweetalert2",
36
+ "rawSpec": "",
37
+ "spec": "latest",
38
+ "type": "tag"
39
+ },
40
+ "_requiredBy": [
41
+ "#USER"
42
+ ],
43
+ "_resolved": "https://registry.npmjs.org/sweetalert2/-/sweetalert2-6.6.4.tgz",
44
+ "_shasum": "7799100c4dba878de2a9581b3f42d29f3dd1d9e0",
45
+ "_shrinkwrap": null,
46
+ "_spec": "sweetalert2",
47
+ "_where": "/Applications/MAMP/htdocs/wpuf/wp-content/plugins/WP-User-Frontend",
48
+ "author": {
49
+ "name": "Limon Monte",
50
+ "email": "limon.monte@gmail.com",
51
+ "url": "https://limonte.github.io"
52
+ },
53
+ "bugs": {
54
+ "url": "https://github.com/limonte/sweetalert2/issues"
55
+ },
56
+ "contributors": [
57
+ {
58
+ "name": "Johan Fagerberg",
59
+ "url": "https://github.com/birjolaxew"
60
+ },
61
+ {
62
+ "name": "Morgan Touverey-Quilling",
63
+ "email": "mtouverey@alembic-dev.com",
64
+ "url": "https://github.com/toverux"
65
+ },
66
+ {
67
+ "name": "Sam Turrell",
68
+ "email": "sam@samturrell.co.uk",
69
+ "url": "http://samturrell.co.uk"
70
+ },
71
+ {
72
+ "name": "Tristan Edwards",
73
+ "email": "tristan.edwards@me.com",
74
+ "url": "http://tristanedwards.me"
75
+ },
76
+ {
77
+ "name": "Leo Correa",
78
+ "email": "lcorr005@gmail.com",
79
+ "url": "https://leonardocorrea.com/"
80
+ },
81
+ {
82
+ "name": "Joseph Schultz",
83
+ "url": "https://github.com/acupajoe"
84
+ }
85
+ ],
86
+ "dependencies": {},
87
+ "description": "A beautiful, responsive, customizable and accessible (WAI-ARIA) replacement for JavaScript's popup boxes, supported fork of sweetalert",
88
+ "devDependencies": {
89
+ "babel-plugin-external-helpers": "latest",
90
+ "babel-plugin-transform-object-assign": "latest",
91
+ "babel-preset-es2015": "latest",
92
+ "gemini": "latest",
93
+ "gemini-sauce": "latest",
94
+ "gulp": "latest",
95
+ "gulp-autoprefixer": "latest",
96
+ "gulp-clean-css": "latest",
97
+ "gulp-rename": "latest",
98
+ "gulp-rollup": "latest",
99
+ "gulp-sass": "latest",
100
+ "gulp-sass-lint": "latest",
101
+ "gulp-standard": "^8.0.0",
102
+ "gulp-uglify": "latest",
103
+ "rollup": "latest",
104
+ "rollup-plugin-babel": "latest",
105
+ "standard": "^8.0.0",
106
+ "testem": "latest",
107
+ "uglify-js": "latest"
108
+ },
109
+ "directories": {},
110
+ "dist": {
111
+ "shasum": "7799100c4dba878de2a9581b3f42d29f3dd1d9e0",
112
+ "tarball": "https://registry.npmjs.org/sweetalert2/-/sweetalert2-6.6.4.tgz"
113
+ },
114
+ "engines": {
115
+ "node": ">=0.10.0"
116
+ },
117
+ "files": [
118
+ "dist",
119
+ "src",
120
+ "sweetalert2.d.ts"
121
+ ],
122
+ "gitHead": "a3c915077db4c4bbdf53d0c6b74bbe5383306686",
123
+ "homepage": "https://limonte.github.io/sweetalert2/",
124
+ "jsnext:main": "src/sweetalert2.js",
125
+ "keywords": [
126
+ "sweetalert",
127
+ "sweetalert2",
128
+ "alert",
129
+ "prompt"
130
+ ],
131
+ "license": "MIT",
132
+ "main": "dist/sweetalert2.js",
133
+ "maintainers": [
134
+ {
135
+ "name": "birjolaxew",
136
+ "email": "johanringmann@gmail.com"
137
+ },
138
+ {
139
+ "name": "jdcrensh",
140
+ "email": "jdcrensh@gmail.com"
141
+ },
142
+ {
143
+ "name": "limonte",
144
+ "email": "limon.monte@gmail.com"
145
+ },
146
+ {
147
+ "name": "samturrell",
148
+ "email": "sam@samturrell.co.uk"
149
+ },
150
+ {
151
+ "name": "toverux",
152
+ "email": "mtouverey@methodinthemadness.eu"
153
+ }
154
+ ],
155
+ "name": "sweetalert2",
156
+ "optionalDependencies": {},
157
+ "readme": "ERROR: No README data found!",
158
+ "repository": {
159
+ "type": "git",
160
+ "url": "git+https://github.com/limonte/sweetalert2.git"
161
+ },
162
+ "scripts": {
163
+ "assume-dist-unchanged": "git ls-files dist | tr '\\n' ' ' | xargs git update-index --assume-unchanged",
164
+ "no-assume-dist-unchanged": "git ls-files dist | tr '\\n' ' ' | xargs git update-index --no-assume-unchanged",
165
+ "test": "testem ci"
166
+ },
167
+ "standard": {
168
+ "ignore": [
169
+ "dist/"
170
+ ],
171
+ "global": [
172
+ "gemini",
173
+ "MutationObserver"
174
+ ]
175
+ },
176
+ "types": "sweetalert2.d.ts",
177
+ "version": "6.6.4"
178
+ }
class/frontend-dashboard.php CHANGED
@@ -70,9 +70,19 @@ class WPUF_Frontend_Dashboard {
70
  'post_status' => array('draft', 'future', 'pending', 'publish', 'private'),
71
  'post_type' => $post_type,
72
  'posts_per_page' => wpuf_get_option( 'per_page', 'wpuf_dashboard', 10 ),
73
- 'paged' => $pagenum
74
  );
75
 
 
 
 
 
 
 
 
 
 
 
76
  $original_post = $post;
77
  $dashboard_query = new WP_Query( apply_filters( 'wpuf_dashboard_query', $args, $attributes ) );
78
  $post_type_obj = array();
70
  'post_status' => array('draft', 'future', 'pending', 'publish', 'private'),
71
  'post_type' => $post_type,
72
  'posts_per_page' => wpuf_get_option( 'per_page', 'wpuf_dashboard', 10 ),
73
+ 'paged' => $pagenum,
74
  );
75
 
76
+ if ( isset($attributes['form_id']) && $attributes['form_id'] != 'off' ) {
77
+ $args['meta_query'] = array(
78
+ array(
79
+ 'key' => '_wpuf_form_id',
80
+ 'value' => $attributes['form_id'],
81
+ 'compare' => 'IN',
82
+ )
83
+ );
84
+ }
85
+
86
  $original_post = $post;
87
  $dashboard_query = new WP_Query( apply_filters( 'wpuf_dashboard_query', $args, $attributes ) );
88
  $post_type_obj = array();
class/frontend-form-post.php CHANGED
File without changes
class/payment.php CHANGED
@@ -116,9 +116,9 @@ class WPUF_Payment {
116
  wpuf_get_user( $current_user->ID )->subscription()->add_pack( $pack_id, null, false, 'free' );
117
  $wpuf_user->subscription()->add_free_pack( $current_user->ID, $pack_id );
118
 
119
- $message = apply_filters( 'wpuf_fp_activated_msg', __( 'Your free package has been activated. Enjoy!', 'wp-user-frontend' ), 'wpuf' );
120
  } else {
121
- $message = apply_filters( 'wpuf_fp_activated_error', __( 'You already have activated a free package previously.', 'wp-user-frontend' ), 'wpuf' );
122
  }
123
  ?>
124
  <div class="wpuf-info"><?php echo $message; ?></div>
@@ -127,11 +127,11 @@ class WPUF_Payment {
127
  ?>
128
  <?php if ( count( $gateways ) ) {
129
  ?>
130
- <div class="wpuf-payment-page-wrap row">
131
  <?php
132
  $pay_page_style = "";
133
  ?>
134
- <div class="wpuf-bill-addr-wrap col">
135
  <?php if ( wpuf_get_option( 'show_address', 'wpuf_address_options', false ) ) {
136
  $pay_page_style = "vertical-align:top; margin-left: 20px; display: inline-block;";
137
  ?>
@@ -158,10 +158,10 @@ class WPUF_Payment {
158
  <input type="hidden" name="user_id" value="<?php echo $current_user->ID; ?>">
159
  <?php } ?>
160
 
161
- <div class="wpuf-coupon-info-wrap col">
162
  <div class="wpuf-coupon-info">
163
  <div class="wpuf-pack-info">
164
- <h3 class="col">
165
  <?php _e( 'Pricing & Plans', 'wp-user-frontend' ); ?>
166
 
167
  <a style="white-space: nowrap" href="<?php echo wpuf_get_subscription_page_url(); ?>"><?php _e( 'Change Pack', 'wp-user-frontend' ); ?></a>
116
  wpuf_get_user( $current_user->ID )->subscription()->add_pack( $pack_id, null, false, 'free' );
117
  $wpuf_user->subscription()->add_free_pack( $current_user->ID, $pack_id );
118
 
119
+ $message = apply_filters( 'wpuf_fp_activated_msg', __( 'Your free package has been activated. Enjoy!', 'wp-user-frontend' ) );
120
  } else {
121
+ $message = apply_filters( 'wpuf_fp_activated_error', __( 'You already have activated a free package previously.', 'wp-user-frontend' ) );
122
  }
123
  ?>
124
  <div class="wpuf-info"><?php echo $message; ?></div>
127
  ?>
128
  <?php if ( count( $gateways ) ) {
129
  ?>
130
+ <div class="wpuf-payment-page-wrap wpuf-pay-row">
131
  <?php
132
  $pay_page_style = "";
133
  ?>
134
+ <div class="wpuf-bill-addr-wrap wpuf-pay-col">
135
  <?php if ( wpuf_get_option( 'show_address', 'wpuf_address_options', false ) ) {
136
  $pay_page_style = "vertical-align:top; margin-left: 20px; display: inline-block;";
137
  ?>
158
  <input type="hidden" name="user_id" value="<?php echo $current_user->ID; ?>">
159
  <?php } ?>
160
 
161
+ <div class="wpuf-coupon-info-wrap wpuf-pay-col">
162
  <div class="wpuf-coupon-info">
163
  <div class="wpuf-pack-info">
164
+ <h3 class="wpuf-pay-col">
165
  <?php _e( 'Pricing & Plans', 'wp-user-frontend' ); ?>
166
 
167
  <a style="white-space: nowrap" href="<?php echo wpuf_get_subscription_page_url(); ?>"><?php _e( 'Change Pack', 'wp-user-frontend' ); ?></a>
class/render-form.php CHANGED
@@ -8,7 +8,7 @@
8
  class WPUF_Render_Form {
9
 
10
  static $meta_key = 'wpuf_form';
11
- static $separator = '| ';
12
  static $config_id = '_wpuf_form_id';
13
  private $form_condition_key = 'wpuf_cond';
14
  private static $_instance;
@@ -93,6 +93,10 @@ class WPUF_Render_Form {
93
  $private_key = wpuf_get_option( 'recaptcha_private', 'wpuf_general' );
94
  if ( $no_captcha == 1 && 0 == $invisible ) {
95
 
 
 
 
 
96
  $response = null;
97
  $reCaptcha = new WPUF_ReCaptcha($private_key);
98
 
@@ -354,22 +358,8 @@ class WPUF_Render_Form {
354
  $label_position = isset( $form_settings['label_position'] ) ? $form_settings['label_position'] : 'left';
355
  $layout = isset( $form_settings['form_layout'] ) ? $form_settings['form_layout'] : 'layout1';
356
  $theme_css = isset( $form_settings['use_theme_css'] ) ? $form_settings['use_theme_css'] : 'wpuf-style';
357
- $is_scheduled = ( isset( $form_settings['schedule_form'] ) && $form_settings['schedule_form'] == 'true' ) ? true : false;
358
-
359
- if ( $is_scheduled ) {
360
- $start_time = !empty( $form_settings['schedule_start'] ) ? strtotime( $form_settings['schedule_start'] ) : 0;
361
- $end_time = !empty( $form_settings['schedule_end'] ) ? strtotime( $form_settings['schedule_end'] ) : 0;
362
- $current_time = current_time( 'timestamp' );
363
-
364
- // too early?
365
- if ( $current_time < $start_time ) {
366
- echo '<div class="wpuf-message">' . $form_settings['form_pending_message'] . '</div>';
367
- return;
368
- } elseif ( $current_time > $end_time ) {
369
- echo '<div class="wpuf-message">' . $form_settings['form_expired_message'] . '</div>';
370
- return;
371
- }
372
- }
373
 
374
  if ( !empty( $layout ) ) {
375
  wp_enqueue_style( 'wpuf-' . $layout );
@@ -413,6 +403,7 @@ class WPUF_Render_Form {
413
 
414
  <?php
415
  } //endif
 
416
  }
417
 
418
  function render_item_before( $form_field, $post_id ) {
@@ -1327,7 +1318,7 @@ class WPUF_Render_Form {
1327
  $field_size = !empty( $attr['width'] ) ? ' field-size-' . $attr['width'] : '';
1328
 
1329
  echo '</li>';
1330
- echo '<li class="wpuf-el password-repeat ' . $field_size . '" data-label="' . esc_attr( 'Confirm Password', 'wpuf' ) . '">';
1331
 
1332
  $this->label( array('name' => 'pass2', 'label' => $attr['re_pass_label'], 'required' => $post_id ? 'no' : 'yes') );
1333
  ?>
8
  class WPUF_Render_Form {
9
 
10
  static $meta_key = 'wpuf_form';
11
+ static $separator = ' | ';
12
  static $config_id = '_wpuf_form_id';
13
  private $form_condition_key = 'wpuf_cond';
14
  private static $_instance;
93
  $private_key = wpuf_get_option( 'recaptcha_private', 'wpuf_general' );
94
  if ( $no_captcha == 1 && 0 == $invisible ) {
95
 
96
+ if ( !class_exists( 'WPUF_ReCaptcha' ) ) {
97
+ require_once WPUF_ROOT . '/lib/recaptchalib_noCaptcha.php';
98
+ }
99
+
100
  $response = null;
101
  $reCaptcha = new WPUF_ReCaptcha($private_key);
102
 
358
  $label_position = isset( $form_settings['label_position'] ) ? $form_settings['label_position'] : 'left';
359
  $layout = isset( $form_settings['form_layout'] ) ? $form_settings['form_layout'] : 'layout1';
360
  $theme_css = isset( $form_settings['use_theme_css'] ) ? $form_settings['use_theme_css'] : 'wpuf-style';
361
+
362
+ do_action( 'wpuf_before_form_render', $form_id );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
363
 
364
  if ( !empty( $layout ) ) {
365
  wp_enqueue_style( 'wpuf-' . $layout );
403
 
404
  <?php
405
  } //endif
406
+ do_action( 'wpuf_after_form_render', $form_id );
407
  }
408
 
409
  function render_item_before( $form_field, $post_id ) {
1318
  $field_size = !empty( $attr['width'] ) ? ' field-size-' . $attr['width'] : '';
1319
 
1320
  echo '</li>';
1321
+ echo '<li class="wpuf-el password-repeat ' . $field_size . '" data-label="' . esc_attr( __('Confirm Password', 'wp-user-frontend') ) . '">';
1322
 
1323
  $this->label( array('name' => 'pass2', 'label' => $attr['re_pass_label'], 'required' => $post_id ? 'no' : 'yes') );
1324
  ?>
class/subscription.php CHANGED
@@ -803,6 +803,24 @@ class WPUF_Subscription {
803
  return $meta;
804
  }
805
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
806
  /**
807
  * Render Subscription Pack details
808
  *
@@ -826,8 +844,8 @@ class WPUF_Subscription {
826
  }
827
 
828
  if ( $billing_amount && $pack->meta_value['recurring_pay'] == 'yes' ) {
829
- $recurring_des = sprintf( __('Every', 'wp-user-frontend').' %s %s', $pack->meta_value['billing_cycle_number'], $pack->meta_value['cycle_period'], $pack->meta_value['trial_duration_type'] );
830
- $recurring_des .= !empty( $pack->meta_value['billing_limit'] ) ? __( sprintf( ', '.__('for', 'wp-user-frontend').' %s '.__( 'installments', 'wp-user-frontend' ), $pack->meta_value['billing_limit'] ), 'wpuf' ) : '';
831
  $recurring_des = '<div class="wpuf-pack-cycle wpuf-nullamount-hide">'.$recurring_des.'</div>';
832
  }
833
 
803
  return $meta;
804
  }
805
 
806
+ /**
807
+ * Get cycle label
808
+ *
809
+ *@since 2.8.10
810
+ *
811
+ *@return string $labels[$cycle_period]
812
+ */
813
+ function get_cycle_label( $cycle_period, $cycle_number ) {
814
+ $labels = array(
815
+ 'day' => _n( 'Day', 'Days', $cycle_number, 'wp-user-frontend' ),
816
+ 'week' => _n( 'Week', 'Weeks', $cycle_number, 'wp-user-frontend' ),
817
+ 'month' => _n( 'Month', 'Months', $cycle_number, 'wp-user-frontend' ),
818
+ 'year' => _n( 'Year', 'Years', $cycle_number, 'wp-user-frontend' )
819
+ );
820
+
821
+ return apply_filters( 'wpuf_subscription_cycle_label', $labels[$cycle_period] );
822
+ }
823
+
824
  /**
825
  * Render Subscription Pack details
826
  *
844
  }
845
 
846
  if ( $billing_amount && $pack->meta_value['recurring_pay'] == 'yes' ) {
847
+ $recurring_des = sprintf( __('Every', 'wp-user-frontend').' %s %s', $pack->meta_value['billing_cycle_number'], $this->get_cycle_label( $pack->meta_value['cycle_period'], $pack->meta_value['billing_cycle_number'] ), $pack->meta_value['trial_duration_type'] );
848
+ $recurring_des .= !empty( $pack->meta_value['billing_limit'] ) ? sprintf( ', '.__('for', 'wp-user-frontend').' %s '.__( 'installments', 'wp-user-frontend' ), $pack->meta_value['billing_limit'] ) : '';
849
  $recurring_des = '<div class="wpuf-pack-cycle wpuf-nullamount-hide">'.$recurring_des.'</div>';
850
  }
851
 
class/upload.php CHANGED
@@ -156,7 +156,7 @@ class WPUF_Upload {
156
  $image = wp_mime_type_icon( $attach_id );
157
  }
158
 
159
- $html = '<li class="wpuf-image-wrap thumbnail">';
160
  $html .= sprintf( '<div class="attachment-name"><img src="%s" alt="%s" /></div>', $image, esc_attr( $attachment->post_title ) );
161
 
162
  if ( wpuf_get_option( 'image_caption', 'wpuf_frontend_posting', 'off' ) == 'on' ) {
@@ -168,7 +168,10 @@ class WPUF_Upload {
168
  }
169
 
170
  $html .= sprintf( '<input type="hidden" name="wpuf_files[%s][]" value="%d">', $type, $attach_id );
171
- $html .= sprintf( '<div class="caption"><a href="#" class="attachment-delete" data-attach_id="%d"> <img src="%s" /></a></div>', $attach_id, WPUF_ASSET_URI . '/images/del-img.png' );
 
 
 
172
  $html .= '</li>';
173
 
174
  return $html;
156
  $image = wp_mime_type_icon( $attach_id );
157
  }
158
 
159
+ $html = '<li class="ui-state-default wpuf-image-wrap thumbnail">';
160
  $html .= sprintf( '<div class="attachment-name"><img src="%s" alt="%s" /></div>', $image, esc_attr( $attachment->post_title ) );
161
 
162
  if ( wpuf_get_option( 'image_caption', 'wpuf_frontend_posting', 'off' ) == 'on' ) {
168
  }
169
 
170
  $html .= sprintf( '<input type="hidden" name="wpuf_files[%s][]" value="%d">', $type, $attach_id );
171
+ $html .= '<div class="caption">';
172
+ $html .= sprintf( '<a href="#" class="attachment-delete" data-attach_id="%d"> <img src="%s" /></a>', $attach_id, WPUF_ASSET_URI . '/images/del-img.png' );
173
+ $html .= sprintf( '<span class="wpuf-drag-file"> <img src="%s" /></span>', WPUF_ASSET_URI . '/images/move-img.png' );
174
+ $html .= '</div>';
175
  $html .= '</li>';
176
 
177
  return $html;
includes/class-privacy.php CHANGED
@@ -321,73 +321,77 @@ Class WPUF_Privacy {
321
  */
322
  public static function export_transaction_data( $email_address, $page ) {
323
 
324
- $transaction_data = self::get_transaction_data( $email_address, $page );
325
- foreach ( $transaction_data as $txn_data ) {
326
-
327
- $data_to_export[] = array(
328
- 'group_id' => 'wpuf-transaction-data',
329
- 'group_label' => __('WPUF Transaction Data', 'wp-user-frontend'),
330
- 'item_id' => "wpuf-transaction" . $txn_data['transaction_id'],
331
- 'data' => array(
332
- array(
333
- 'name' => __('Transaction ID', 'wp-user-frontend'),
334
- 'value' => $txn_data['transaction_id']
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
335
  ),
336
- array(
337
- 'name' => __('Payment Status', 'wp-user-frontend'),
338
- 'value' => $txn_data['status']
339
- ),
340
- array(
341
- 'name' => __('Subtotal', 'wp-user-frontend'),
342
- 'value' => $txn_data['subtotal']
343
- ),
344
- array(
345
- 'name' => __('Tax', 'wp-user-frontend'),
346
- 'value' => $txn_data['tax']
347
- ),
348
- array(
349
- 'name' => __('Total', 'wp-user-frontend'),
350
- 'value' => $txn_data['cost']
351
- ),
352
- array(
353
- 'name' => __('Post ID', 'wp-user-frontend'),
354
- 'value' => $txn_data['post_id']
355
- ),
356
- array(
357
- 'name' => __('Pack ID', 'wp-user-frontend'),
358
- 'value' => $txn_data['post_id']
359
- ),
360
- array(
361
- 'name' => __('First Name', 'wp-user-frontend'),
362
- 'value' => $txn_data['payer_first_name']
363
- ),
364
- array(
365
- 'name' => __('Last Name', 'wp-user-frontend'),
366
- 'value' => $txn_data['payer_last_name']
367
- ),
368
- array(
369
- 'name' => __('Email', 'wp-user-frontend'),
370
- 'value' => $txn_data['payer_email']
371
- ),
372
- array(
373
- 'name' => __('Payment Type', 'wp-user-frontend'),
374
- 'value' => $txn_data['payment_type']
375
- ),
376
- array(
377
- 'name' => __('payer_address', 'wp-user-frontend'),
378
- 'value' => implode(', ', array_map(
379
- function ($v, $k) { return sprintf("%s='%s'", $k, $v); },
380
- maybe_unserialize( $txn_data['payer_address'] ),
381
- array_keys( maybe_unserialize( $txn_data['payer_address'] ) )
382
- ) ),
383
- ),
384
- array(
385
- 'name' => __('Transaction Date', 'wp-user-frontend'),
386
- 'value' => $txn_data['created']
387
- ),
388
- ),
389
- );
390
  }
 
391
  $response = array(
392
  'data' => $data_to_export,
393
  'done' => true
@@ -409,30 +413,33 @@ Class WPUF_Privacy {
409
 
410
  $post_data = self::get_post_data( $email_address, $page );
411
  $data_to_export = array();
412
- foreach ( $post_data as $data ) {
413
- $data_to_export[] = array(
414
- 'group_id' => 'wpuf-post-data',
415
- 'group_label' => __( 'WPUF Post Data', 'wp-user-frontend' ),
416
- 'item_id' => "wpuf-posts-" . $data['id'],
417
- 'data' => array(
418
- array(
419
- 'name' => __('Post ID', 'wp-user-frontend'),
420
- 'value' => $data['id']
421
- ),
422
- array(
423
- 'name' => __('Post Title', 'wp-user-frontend'),
424
- 'value' => $data['title']
425
- ),
426
- array(
427
- 'name' => __('Post URL', 'wp-user-frontend'),
428
- 'value' => $data['url']
429
- ),
430
- array(
431
- 'name' => __('Post Date', 'wp-user-frontend'),
432
- 'value' => $data['date']
 
 
 
433
  ),
434
- ),
435
- );
436
  }
437
 
438
  $response = array(
321
  */
322
  public static function export_transaction_data( $email_address, $page ) {
323
 
324
+ $transaction_data = self::get_transaction_data( $email_address, $page ); $data_to_export = array();
325
+
326
+ if ( !empty( $transaction_data ) ) {
327
+ foreach ( $transaction_data as $txn_data ) {
328
+
329
+ $data_to_export[] = array(
330
+ 'group_id' => 'wpuf-transaction-data',
331
+ 'group_label' => __('WPUF Transaction Data', 'wp-user-frontend'),
332
+ 'item_id' => "wpuf-transaction" . $txn_data['transaction_id'],
333
+ 'data' => array(
334
+ array(
335
+ 'name' => __('Transaction ID', 'wp-user-frontend'),
336
+ 'value' => $txn_data['transaction_id']
337
+ ),
338
+ array(
339
+ 'name' => __('Payment Status', 'wp-user-frontend'),
340
+ 'value' => $txn_data['status']
341
+ ),
342
+ array(
343
+ 'name' => __('Subtotal', 'wp-user-frontend'),
344
+ 'value' => $txn_data['subtotal']
345
+ ),
346
+ array(
347
+ 'name' => __('Tax', 'wp-user-frontend'),
348
+ 'value' => $txn_data['tax']
349
+ ),
350
+ array(
351
+ 'name' => __('Total', 'wp-user-frontend'),
352
+ 'value' => $txn_data['cost']
353
+ ),
354
+ array(
355
+ 'name' => __('Post ID', 'wp-user-frontend'),
356
+ 'value' => $txn_data['post_id']
357
+ ),
358
+ array(
359
+ 'name' => __('Pack ID', 'wp-user-frontend'),
360
+ 'value' => $txn_data['post_id']
361
+ ),
362
+ array(
363
+ 'name' => __('First Name', 'wp-user-frontend'),
364
+ 'value' => $txn_data['payer_first_name']
365
+ ),
366
+ array(
367
+ 'name' => __('Last Name', 'wp-user-frontend'),
368
+ 'value' => $txn_data['payer_last_name']
369
+ ),
370
+ array(
371
+ 'name' => __('Email', 'wp-user-frontend'),
372
+ 'value' => $txn_data['payer_email']
373
+ ),
374
+ array(
375
+ 'name' => __('Payment Type', 'wp-user-frontend'),
376
+ 'value' => $txn_data['payment_type']
377
+ ),
378
+ array(
379
+ 'name' => __('payer_address', 'wp-user-frontend'),
380
+ 'value' => implode(', ', array_map(
381
+ function ($v, $k) { return sprintf("%s='%s'", $k, $v); },
382
+ maybe_unserialize( $txn_data['payer_address'] ),
383
+ array_keys( maybe_unserialize( $txn_data['payer_address'] ) )
384
+ ) ),
385
+ ),
386
+ array(
387
+ 'name' => __('Transaction Date', 'wp-user-frontend'),
388
+ 'value' => $txn_data['created']
389
+ ),
390
  ),
391
+ );
392
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
393
  }
394
+
395
  $response = array(
396
  'data' => $data_to_export,
397
  'done' => true
413
 
414
  $post_data = self::get_post_data( $email_address, $page );
415
  $data_to_export = array();
416
+
417
+ if ( !empty( $post_data ) ) {
418
+ foreach ( $post_data as $data ) {
419
+ $data_to_export[] = array(
420
+ 'group_id' => 'wpuf-post-data',
421
+ 'group_label' => __( 'WPUF Post Data', 'wp-user-frontend' ),
422
+ 'item_id' => "wpuf-posts-" . $data['id'],
423
+ 'data' => array(
424
+ array(
425
+ 'name' => __('Post ID', 'wp-user-frontend'),
426
+ 'value' => $data['id']
427
+ ),
428
+ array(
429
+ 'name' => __('Post Title', 'wp-user-frontend'),
430
+ 'value' => $data['title']
431
+ ),
432
+ array(
433
+ 'name' => __('Post URL', 'wp-user-frontend'),
434
+ 'value' => $data['url']
435
+ ),
436
+ array(
437
+ 'name' => __('Post Date', 'wp-user-frontend'),
438
+ 'value' => $data['date']
439
+ ),
440
  ),
441
+ );
442
+ }
443
  }
444
 
445
  $response = array(
includes/free/class-login.php CHANGED
@@ -22,6 +22,9 @@ class WPUF_Simple_Login {
22
 
23
  add_action( 'init', array($this, 'wp_login_page_redirect') );
24
  add_action( 'init', array($this, 'activation_user_registration') );
 
 
 
25
 
26
  // URL filters
27
  add_filter( 'login_url', array($this, 'filter_login_url'), 10, 2 );
@@ -62,6 +65,67 @@ class WPUF_Simple_Login {
62
  return true;
63
  }
64
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
65
  /**
66
  * Get action url based on action type
67
  *
@@ -307,20 +371,32 @@ class WPUF_Simple_Login {
307
  $validation_error = apply_filters( 'wpuf_process_login_errors', $validation_error, $_POST['log'], $_POST['pwd'] );
308
 
309
  if ( $validation_error->get_error_code() ) {
310
- $this->login_errors[] = '<strong>' . __( 'Error', 'wp-user-frontend' ) . ':</strong> ' . $validation_error->get_error_message();
311
  return;
312
  }
313
 
314
  if ( empty( $_POST['log'] ) ) {
315
- $this->login_errors[] = '<strong>' . __( 'Error', 'wp-user-frontend' ) . ':</strong> ' . __( 'Username is required.', 'wp-user-frontend' );
316
  return;
317
  }
318
 
319
  if ( empty( $_POST['pwd'] ) ) {
320
- $this->login_errors[] = '<strong>' . __( 'Error', 'wp-user-frontend' ) . ':</strong> ' . __( 'Password is required.', 'wp-user-frontend' );
321
  return;
322
  }
323
 
 
 
 
 
 
 
 
 
 
 
 
 
324
  if ( is_email( $_POST['log'] ) && apply_filters( 'wpuf_get_username_from_email', true ) ) {
325
  $user = get_user_by( 'email', $_POST['log'] );
326
 
@@ -336,6 +412,15 @@ class WPUF_Simple_Login {
336
 
337
  $creds['user_password'] = $_POST['pwd'];
338
  $creds['remember'] = isset( $_POST['rememberme'] );
 
 
 
 
 
 
 
 
 
339
  $secure_cookie = is_ssl() ? true : false;
340
  $user = wp_signon( apply_filters( 'wpuf_login_credentials', $creds ), $secure_cookie );
341
 
@@ -505,8 +590,8 @@ class WPUF_Simple_Login {
505
 
506
  if ( empty( $user_data ) ) {
507
  $this->login_errors[] = __( 'There is no user registered with that email address.', 'wp-user-frontend' );
508
- return;
509
- }
510
 
511
  } else {
512
 
22
 
23
  add_action( 'init', array($this, 'wp_login_page_redirect') );
24
  add_action( 'init', array($this, 'activation_user_registration') );
25
+ add_action( 'login_form', array($this, 'add_custom_fields') );
26
+ add_action( 'login_enqueue_scripts', array($this, 'login_form_scripts') );
27
+ add_filter( 'wp_authenticate_user', array($this, 'validate_custom_fields'), 10, 2 );
28
 
29
  // URL filters
30
  add_filter( 'login_url', array($this, 'filter_login_url'), 10, 2 );
65
  return true;
66
  }
67
 
68
+ /**
69
+ * Add custom fields to WordPress default login form
70
+ *
71
+ * @since 2.9.0
72
+ */
73
+ public function add_custom_fields() {
74
+ $recaptcha = wpuf_get_option( 'login_form_recaptcha', 'wpuf_profile', 'off');
75
+
76
+ if ( $recaptcha == 'on' ) {
77
+ echo '<p>'. recaptcha_get_html( wpuf_get_option( 'recaptcha_public', 'wpuf_general' ), true, null, is_ssl() ) .'</p>';
78
+ }
79
+ }
80
+
81
+ /**
82
+ * Add custom scripts to WordPress default login form
83
+ *
84
+ * @since 2.9.0
85
+ */
86
+ public function login_form_scripts() {
87
+ if ( isset($_POST['wpuf_login']) ) {
88
+ return;
89
+ }
90
+
91
+ $recaptcha = wpuf_get_option( 'login_form_recaptcha', 'wpuf_profile', 'off');
92
+
93
+ if ( $recaptcha == 'on' ) { ?>
94
+ <style type="text/css">
95
+ body #login {
96
+ width: 350px;
97
+ }
98
+
99
+ body .g-recaptcha {
100
+ margin: 15px 0px 30px 0;
101
+ }
102
+ </style>
103
+ <?php }
104
+ }
105
+
106
+ /**
107
+ * Validate custom fields of WordPress default login form
108
+ *
109
+ * @since 2.9.0
110
+ */
111
+ public function validate_custom_fields( $user, $password ) {
112
+ if ( isset($_POST['wpuf_login']) ) {
113
+ return $user;
114
+ }
115
+
116
+ if ( isset ( $_POST["g-recaptcha-response"] ) ) {
117
+ if ( empty( $_POST['g-recaptcha-response'] ) ) {
118
+ $user = new WP_Error( 'WPUFLoginCaptchaError', 'Empty reCaptcha Field.' );
119
+ } else {
120
+ $no_captcha = 1;
121
+ $invisible_captcha = 0;
122
+
123
+ WPUF_Render_Form::init()->validate_re_captcha( $no_captcha, $invisible_captcha );
124
+ }
125
+ }
126
+ return $user;
127
+ }
128
+
129
  /**
130
  * Get action url based on action type
131
  *
371
  $validation_error = apply_filters( 'wpuf_process_login_errors', $validation_error, $_POST['log'], $_POST['pwd'] );
372
 
373
  if ( $validation_error->get_error_code() ) {
374
+ $this->login_errors[] = $validation_error->get_error_message();
375
  return;
376
  }
377
 
378
  if ( empty( $_POST['log'] ) ) {
379
+ $this->login_errors[] = __( 'Username is required.', 'wp-user-frontend' );
380
  return;
381
  }
382
 
383
  if ( empty( $_POST['pwd'] ) ) {
384
+ $this->login_errors[] = __( 'Password is required.', 'wp-user-frontend' );
385
  return;
386
  }
387
 
388
+ if ( isset ( $_POST["g-recaptcha-response"] ) ) {
389
+ if ( empty( $_POST['g-recaptcha-response'] ) ) {
390
+ $this->login_errors[] = __( 'Empty reCaptcha Field', 'wp-user-frontend' );
391
+ return;
392
+ } else {
393
+ $no_captcha = 1;
394
+ $invisible_captcha = 0;
395
+
396
+ WPUF_Render_Form::init()->validate_re_captcha( $no_captcha, $invisible_captcha );
397
+ }
398
+ }
399
+
400
  if ( is_email( $_POST['log'] ) && apply_filters( 'wpuf_get_username_from_email', true ) ) {
401
  $user = get_user_by( 'email', $_POST['log'] );
402
 
412
 
413
  $creds['user_password'] = $_POST['pwd'];
414
  $creds['remember'] = isset( $_POST['rememberme'] );
415
+
416
+ if ( isset( $user->user_login ) ) {
417
+ $validate = wp_authenticate_email_password( null, trim( $_POST['log'] ), $creds['user_password'] );
418
+ if ( is_wp_error( $validate ) ) {
419
+ $this->login_errors[] = $validate->get_error_message();
420
+ return;
421
+ }
422
+ }
423
+
424
  $secure_cookie = is_ssl() ? true : false;
425
  $user = wp_signon( apply_filters( 'wpuf_login_credentials', $creds ), $secure_cookie );
426
 
590
 
591
  if ( empty( $user_data ) ) {
592
  $this->login_errors[] = __( 'There is no user registered with that email address.', 'wp-user-frontend' );
593
+ return;
594
+ }
595
 
596
  } else {
597
 
includes/setup-wizard.php CHANGED
@@ -71,7 +71,7 @@ class WPUF_Setup_Wizard {
71
  * @return void
72
  */
73
  public function redirect_to_page() {
74
- if ( ! get_transient( 'wpuf_activation_redirect' ) ) {
75
  return;
76
  }
77
 
@@ -311,6 +311,7 @@ class WPUF_Setup_Wizard {
311
  $installer->init_pages();
312
  }
313
 
 
314
  wp_redirect( esc_url_raw( $this->get_next_step_link() ) );
315
  exit;
316
  }
71
  * @return void
72
  */
73
  public function redirect_to_page() {
74
+ if ( ! get_transient( 'wpuf_activation_redirect' ) || get_option( 'wpuf_setup_wizard' ) ) {
75
  return;
76
  }
77
 
311
  $installer->init_pages();
312
  }
313
 
314
+ update_option( 'wpuf_setup_wizard', 1 );
315
  wp_redirect( esc_url_raw( $this->get_next_step_link() ) );
316
  exit;
317
  }
languages/readme.txt CHANGED
File without changes
languages/wp-user-frontend.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the GPL2 or later.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: WP User Frontend 2.8.9\n"
6
  "Report-Msgid-Bugs-To: https://wedevs.com/contact/\n"
7
- "POT-Creation-Date: 2018-06-06 07:29:28+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -127,7 +127,7 @@ msgstr ""
127
  msgid "Amount"
128
  msgstr ""
129
 
130
- #: admin/class-admin-subscription.php:196 includes/class-privacy.php:485
131
  #: includes/free/subscription.php:8
132
  msgid "Recurring"
133
  msgstr ""
@@ -138,7 +138,7 @@ msgstr ""
138
 
139
  #: admin/class-admin-subscription.php:216
140
  #: admin/class-admin-subscription.php:570 class/frontend-account.php:126
141
- #: class/subscription.php:847 includes/class-user-subscription.php:307
142
  #: templates/subscriptions/pack-details.php:26
143
  msgid "Free"
144
  msgstr ""
@@ -328,7 +328,7 @@ msgstr ""
328
 
329
  #: admin/class-tools.php:39 admin/class-tools.php:95
330
  #: admin/post-forms-list-table.php:43 class/transactions-list-table.php:86
331
- #: includes/class-list-table-subscribers.php:126 wpuf-functions.php:2489
332
  msgid "All"
333
  msgstr ""
334
 
@@ -510,12 +510,12 @@ msgstr ""
510
  #: admin/form-builder/assets/js/components/form-image_upload/template.php:6
511
  #: admin/form-builder/class-wpuf-form-builder-field-settings.php:779
512
  #: admin/form-builder/class-wpuf-form-builder-field-settings.php:813
513
- #: admin/form.php:688 admin/form.php:714 class/render-form.php:1668
514
  msgid "Select Image"
515
  msgstr ""
516
 
517
  #: admin/form-builder/assets/js/components/form-post_content/template.php:4
518
- #: class/render-form.php:1048
519
  msgid "Insert Photo"
520
  msgstr ""
521
 
@@ -609,7 +609,7 @@ msgid "You have unsaved changes."
609
  msgstr ""
610
 
611
  #: admin/form-builder/class-wpuf-admin-form-builder.php:341
612
- #: admin/form-builder/views/form-builder.php:47
613
  msgid "Click to copy shortcode"
614
  msgstr ""
615
 
@@ -904,7 +904,7 @@ msgstr ""
904
 
905
  #: admin/form-builder/class-wpuf-form-builder-field-settings.php:697
906
  #: admin/html/form-submission-restriction.php:12 admin/html/support.php:224
907
- #: class/transactions-list-table.php:49 includes/class-privacy.php:369
908
  #: includes/free/edit-user.php:153 templates/registration-form.php:44
909
  msgid "Email"
910
  msgstr ""
@@ -1039,28 +1039,33 @@ msgstr ""
1039
  msgid "Form Editor"
1040
  msgstr ""
1041
 
1042
- #: admin/form-builder/views/form-builder.php:16
 
 
 
 
 
1043
  msgid "Save Form"
1044
  msgstr ""
1045
 
1046
- #: admin/form-builder/views/form-builder.php:20
1047
  msgid "Saving Form Data"
1048
  msgstr ""
1049
 
1050
- #: admin/form-builder/views/form-builder.php:23
1051
- #: admin/form-builder/views/form-builder.php:74
1052
  msgid "Add Fields"
1053
  msgstr ""
1054
 
1055
- #: admin/form-builder/views/form-builder.php:24
1056
  msgid "Show Form"
1057
  msgstr ""
1058
 
1059
- #: admin/form-builder/views/form-builder.php:44
1060
  msgid "Click to copy %s shortcode"
1061
  msgstr ""
1062
 
1063
- #: admin/form-builder/views/form-builder.php:80
1064
  msgid "Field Options"
1065
  msgstr ""
1066
 
@@ -1124,7 +1129,7 @@ msgstr ""
1124
  msgid "Add New Form"
1125
  msgstr ""
1126
 
1127
- #: admin/form.php:74 admin/form.php:112 admin/installer.php:75
1128
  #: admin/post-forms-list-table.php:391 class/subscription.php:381
1129
  #: includes/free/admin/shortcode-button.php:90 includes/free/edit-user.php:100
1130
  #: templates/dashboard/posts.php:151 templates/dashboard.php:246
@@ -1201,12 +1206,12 @@ msgid "Taxonomies"
1201
  msgstr ""
1202
 
1203
  #: admin/form.php:440 admin/html/form-settings-post.php:22
1204
- #: class/render-form.php:752
1205
  msgid "Save Draft"
1206
  msgstr ""
1207
 
1208
  #: admin/form.php:550 admin/form.php:557 class/post-form-templates/post.php:20
1209
- #: includes/class-privacy.php:423
1210
  msgid "Post Title"
1211
  msgstr ""
1212
 
@@ -1361,7 +1366,7 @@ msgstr ""
1361
  msgid "Payment Options"
1362
  msgstr ""
1363
 
1364
- #: admin/html/form-settings-payment.php:25 admin/settings-options.php:348
1365
  #: includes/setup-wizard.php:273
1366
  msgid "Enable Payments"
1367
  msgstr ""
@@ -1507,10 +1512,6 @@ msgstr ""
1507
  msgid "Submit"
1508
  msgstr ""
1509
 
1510
- #: admin/html/form-settings-post.php:23
1511
- msgid "Preview"
1512
- msgstr ""
1513
-
1514
  #: admin/html/form-settings-post.php:30 admin/post-forms-list-table.php:296
1515
  msgid "Post Type"
1516
  msgstr ""
@@ -1735,11 +1736,11 @@ msgstr ""
1735
  msgid "Blank Form"
1736
  msgstr ""
1737
 
1738
- #: admin/html/modal.php:34 admin/html/modal.php:67
1739
  msgid "Create Form"
1740
  msgstr ""
1741
 
1742
- #: admin/html/modal.php:54
1743
  msgid "This integration is not installed."
1744
  msgstr ""
1745
 
@@ -1765,7 +1766,7 @@ msgid ""
1765
  "<strong>offers</strong> and <strong>news updates</strong>."
1766
  msgstr ""
1767
 
1768
- #: admin/html/support.php:219 includes/class-privacy.php:361
1769
  #: includes/free/edit-profile.php:105
1770
  msgid "First Name"
1771
  msgstr ""
@@ -1875,421 +1876,495 @@ msgid "Contact Support"
1875
  msgstr ""
1876
 
1877
  #: admin/html/whats-new.php:8
1878
- msgid "Changed text domain to `wp-user-frontend` from `wpuf` "
1879
  msgstr ""
1880
 
1881
  #: admin/html/whats-new.php:10
1882
  msgid ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1883
  "If you are using other language than English. Please <b>rename</b> your "
1884
  "<i>.po and .mo </i> files to `wp-user-frontend_` from `wpuf_` <br> This "
1885
  "change was made to support translations from translate.wordpress.org"
1886
  msgstr ""
1887
 
1888
- #: admin/html/whats-new.php:13
1889
  msgid "Added WP User Frontend Data export and erase functionality."
1890
  msgstr ""
1891
 
1892
- #: admin/html/whats-new.php:15
1893
  msgid "Added functionality to export WP User Frontend Data to comply with GDPR."
1894
  msgstr ""
1895
 
1896
- #: admin/html/whats-new.php:18
1897
  msgid "Added billing address customizer."
1898
  msgstr ""
1899
 
1900
- #: admin/html/whats-new.php:20
1901
  msgid "Added customizer options for billing address in payment page."
1902
  msgstr ""
1903
 
1904
- #: admin/html/whats-new.php:23
1905
  msgid "Make the payment page responsive."
1906
  msgstr ""
1907
 
1908
- #: admin/html/whats-new.php:25
1909
  msgid "Some css adjustments are made in payment page to make it responsive."
1910
  msgstr ""
1911
 
1912
- #: admin/html/whats-new.php:28
1913
  msgid "Fixed image upload issue in Safari."
1914
  msgstr ""
1915
 
1916
- #: admin/html/whats-new.php:30
1917
  msgid "Images were not showing after upload in safari, it is fixed now."
1918
  msgstr ""
1919
 
1920
- #: admin/html/whats-new.php:33
1921
  msgid "Post update issue after updating or removing post images."
1922
  msgstr ""
1923
 
1924
- #: admin/html/whats-new.php:35
1925
  msgid ""
1926
  "Posts cannot be updated after updating or removing post images, it is fixed "
1927
  "now."
1928
  msgstr ""
1929
 
1930
- #: admin/html/whats-new.php:44
1931
  msgid "Allow overriding form input styles using theme styling."
1932
  msgstr ""
1933
 
1934
- #: admin/html/whats-new.php:46
1935
  msgid "Overriding form input styles using theme style is now possible."
1936
  msgstr ""
1937
 
1938
- #: admin/html/whats-new.php:49
1939
  msgid "Fixed Auto Login after registration."
1940
  msgstr ""
1941
 
1942
- #: admin/html/whats-new.php:51
1943
  msgid "Auto Login after registration was not working is fixed now."
1944
  msgstr ""
1945
 
1946
- #: admin/html/whats-new.php:54
1947
  msgid "Fixed fallback cost calculation"
1948
  msgstr ""
1949
 
1950
- #: admin/html/whats-new.php:56
1951
  msgid "Fallback cost calculation was inaccurate for some cases, it is fixed now."
1952
  msgstr ""
1953
 
1954
- #: admin/html/whats-new.php:59
1955
  msgid "Removal of subscription from User Profile gets reverted if updated"
1956
  msgstr ""
1957
 
1958
- #: admin/html/whats-new.php:61
1959
  msgid "User subscription deletion gets reverted if updated is fixed."
1960
  msgstr ""
1961
 
1962
- #: admin/html/whats-new.php:64
1963
  msgid "Show Free pack users in subscribers list."
1964
  msgstr ""
1965
 
1966
- #: admin/html/whats-new.php:66
1967
  msgid "Free pack users were not showing in subscribers list, now they will."
1968
  msgstr ""
1969
 
1970
- #: admin/html/whats-new.php:75
1971
  msgid "WP User Frontend Guten Block is added"
1972
  msgstr ""
1973
 
1974
- #: admin/html/whats-new.php:77
1975
  msgid ""
1976
  "WPUF Form Block is now available to be used within gutenberg editor with "
1977
  "preview of the form. "
1978
  msgstr ""
1979
 
1980
- #: admin/html/whats-new.php:80
1981
  msgid "Advanced Custom Fields plugin compatibility"
1982
  msgstr ""
1983
 
1984
- #: admin/html/whats-new.php:82
1985
  msgid "Now all your ACF fields can be used within WPUF Post forms. "
1986
  msgstr ""
1987
 
1988
- #: admin/html/whats-new.php:85
1989
  msgid "Taxonomy Terms not showing for custom post types"
1990
  msgstr ""
1991
 
1992
- #: admin/html/whats-new.php:87
1993
  msgid ""
1994
  "Fixed an issue with taxonomy terms not appearing for Custom Post types "
1995
  "within Form Settings and Dashboard Post Listing"
1996
  msgstr ""
1997
 
1998
- #: admin/html/whats-new.php:90
1999
  msgid "Various other code optimizations"
2000
  msgstr ""
2001
 
2002
- #: admin/html/whats-new.php:92 admin/html/whats-new.php:149
2003
  msgid "Code structure organization and optimization for better performance"
2004
  msgstr ""
2005
 
2006
- #: admin/html/whats-new.php:101
2007
  msgid "WoooCommerce billing address Sync"
2008
  msgstr ""
2009
 
2010
- #: admin/html/whats-new.php:103
2011
  msgid ""
2012
  "If an existing customer has previously set his billing address, that will "
2013
  "be imported into WPUF Billing address "
2014
  msgstr ""
2015
 
2016
- #: admin/html/whats-new.php:106
2017
  msgid "Trial subscription message not showing properly"
2018
  msgstr ""
2019
 
2020
- #: admin/html/whats-new.php:108
2021
  msgid "Subscriptions with Trial now shows trial notices"
2022
  msgstr ""
2023
 
2024
- #: admin/html/whats-new.php:111
2025
  msgid "Reset email Key not working"
2026
  msgstr ""
2027
 
2028
- #: admin/html/whats-new.php:113
2029
  msgid "Reset Email key was not working in some cases"
2030
  msgstr ""
2031
 
2032
- #: admin/html/whats-new.php:116
2033
  msgid "Post count not showing on the frontend dashboard"
2034
  msgstr ""
2035
 
2036
- #: admin/html/whats-new.php:118
2037
  msgid ""
2038
  "Dashboard with multiple post type was not showing post counts properly, is "
2039
  "now fixed and shows count for each post type"
2040
  msgstr ""
2041
 
2042
- #: admin/html/whats-new.php:121
2043
  msgid "Login Redirect showing blank page is fixed"
2044
  msgstr ""
2045
 
2046
- #: admin/html/whats-new.php:123
2047
  msgid ""
2048
  "If \"Previous Page\" was set for redirection, login redirect was "
2049
  "redirecting to blank page for users who hit login page directly"
2050
  msgstr ""
2051
 
2052
- #: admin/html/whats-new.php:132
2053
  msgid "Enhanced Login Redirect to redirect users to previous page"
2054
  msgstr ""
2055
 
2056
- #: admin/html/whats-new.php:134
2057
  msgid ""
2058
  "You can choose Previous Page as Login Redirect page settings now to "
2059
  "redirect users to the page from which they went for Login. "
2060
  msgstr ""
2061
 
2062
- #: admin/html/whats-new.php:137
2063
  msgid "Email HTML links not Rendreing properly issue is fixed"
2064
  msgstr ""
2065
 
2066
- #: admin/html/whats-new.php:139
2067
  msgid ""
2068
  "For some clients emails were not rendering the HTML links properly, this is "
2069
  "now fixed"
2070
  msgstr ""
2071
 
2072
- #: admin/html/whats-new.php:142
2073
  msgid "Form Builder : Form Field's Help text styles not showing properly"
2074
  msgstr ""
2075
 
2076
- #: admin/html/whats-new.php:144
2077
  msgid "Help texts styling is now fixed and much easier to read and understand"
2078
  msgstr ""
2079
 
2080
- #: admin/html/whats-new.php:147
2081
  msgid "Various other code improvements"
2082
  msgstr ""
2083
 
2084
- #: admin/html/whats-new.php:158
2085
  msgid "Dashboard Post Listing now supports multiple post types"
2086
  msgstr ""
2087
 
2088
- #: admin/html/whats-new.php:160
2089
  msgid ""
2090
  "Now you can show multiple post type in user dashboard using shortcode like "
2091
  "this : <br><b>[wpuf_dashboard post_type=\"post,page,custom_type\"]</b> "
2092
  msgstr ""
2093
 
2094
- #: admin/html/whats-new.php:163
2095
  msgid "Added Login Redirect Settings"
2096
  msgstr ""
2097
 
2098
- #: admin/html/whats-new.php:165
2099
  msgid ""
2100
  "You can now set a page from <i>WPUF Settings > Login/Registration > "
2101
  "Redirect after Login</i>. When login redirection is active the user will be "
2102
  "redirected to this page after login."
2103
  msgstr ""
2104
 
2105
- #: admin/html/whats-new.php:168
2106
  msgid "Image Upload field button text can be changed"
2107
  msgstr ""
2108
 
2109
- #: admin/html/whats-new.php:170
2110
  msgid ""
2111
  "The upload button text can now be changed for image upload fields which "
2112
  "defaults to \"Select Image\" if not set. "
2113
  msgstr ""
2114
 
2115
- #: admin/html/whats-new.php:173
2116
  msgid "Multi Step Form styles made compatible with more themes"
2117
  msgstr ""
2118
 
2119
- #: admin/html/whats-new.php:175
2120
  msgid "Multi Step form can now be styled more easily with other themes "
2121
  msgstr ""
2122
 
2123
- #: admin/html/whats-new.php:178
2124
  msgid "Required field condition for google map not working is fixed"
2125
  msgstr ""
2126
 
2127
- #: admin/html/whats-new.php:180
2128
  msgid ""
2129
  "If Google Map field was set as required users were able to submit form "
2130
  "without changing the default value."
2131
  msgstr ""
2132
 
2133
- #: admin/html/whats-new.php:189
2134
  msgid "Admin form builder is now fully responsive."
2135
  msgstr ""
2136
 
2137
- #: admin/html/whats-new.php:191
2138
  msgid ""
2139
  "Now you can edit forms from your mobile devices directly. Our improved "
2140
  "responsive layouts of form builder makes it easy for you to build forms on "
2141
  "the go."
2142
  msgstr ""
2143
 
2144
- #: admin/html/whats-new.php:194
2145
  msgid "Added color schemes for creating attractive form layouts."
2146
  msgstr ""
2147
 
2148
- #: admin/html/whats-new.php:196
2149
  msgid ""
2150
  "We have added 3 new color schemes for the form layouts which you can choose "
2151
  "from each form's new display settings."
2152
  msgstr ""
2153
 
2154
- #: admin/html/whats-new.php:199
2155
  msgid "Restrict Free subscription pack to be enabled multiple times "
2156
  msgstr ""
2157
 
2158
- #: admin/html/whats-new.php:201
2159
  msgid ""
2160
  "Free subscription packs now can only be purchased once and the limit "
2161
  "applies properly"
2162
  msgstr ""
2163
 
2164
- #: admin/html/whats-new.php:204
2165
  msgid "Various other bug fixes and improvements were made "
2166
  msgstr ""
2167
 
2168
- #: admin/html/whats-new.php:206
2169
  msgid "Please see the change log to see full details."
2170
  msgstr ""
2171
 
2172
- #: admin/html/whats-new.php:215
2173
  msgid "Added upgrade function for default category"
2174
  msgstr ""
2175
 
2176
- #: admin/html/whats-new.php:217
2177
  msgid "Upgrader added to upgrade previously set default post category."
2178
  msgstr ""
2179
 
2180
- #: admin/html/whats-new.php:220
2181
  msgid "Subscription pack cannot be canceled"
2182
  msgstr ""
2183
 
2184
- #: admin/html/whats-new.php:222
2185
  msgid ""
2186
  "Fixed recurring subscription pack cannot be canceled from my account page "
2187
  "in subscription details section."
2188
  msgstr ""
2189
 
2190
- #: admin/html/whats-new.php:225
2191
  msgid "page installer admin notice logic issue"
2192
  msgstr ""
2193
 
2194
- #: admin/html/whats-new.php:227
2195
  msgid ""
2196
  "Fixed page installer admin notice logic problem due to new payment settings "
2197
  "default value not set."
2198
  msgstr ""
2199
 
2200
- #: admin/html/whats-new.php:237
2201
  msgid "Setup Wizard"
2202
  msgstr ""
2203
 
2204
- #: admin/html/whats-new.php:239
2205
  msgid "Setup Wizard added to turn off payment options and install pages."
2206
  msgstr ""
2207
 
2208
- #: admin/html/whats-new.php:243
2209
  msgid "Multi-select Category"
2210
  msgstr ""
2211
 
2212
- #: admin/html/whats-new.php:245
2213
  msgid "Add multi-select to default category in post form settings."
2214
  msgstr ""
2215
 
2216
- #: admin/html/whats-new.php:249
2217
  msgid "Select Text option for Taxonomy"
2218
  msgstr ""
2219
 
2220
- #: admin/html/whats-new.php:251
2221
  msgid ""
2222
  "Add Select Text option for taxonomy fields. Now you can add default text "
2223
  "with empty value as first option for Taxonomy dropdown."
2224
  msgstr ""
2225
 
2226
- #: admin/html/whats-new.php:254
2227
  msgid "Taxonomy Checkbox Inline"
2228
  msgstr ""
2229
 
2230
- #: admin/html/whats-new.php:256
2231
  msgid ""
2232
  "Added checkbox inline option to taxonomy checkbox. You can now display "
2233
  "Taxonomy checkbox fields inline."
2234
  msgstr ""
2235
 
2236
- #: admin/html/whats-new.php:266
2237
  msgid "Manage schedule for form submission"
2238
  msgstr ""
2239
 
2240
- #: admin/html/whats-new.php:268
2241
  msgid ""
2242
  "Do not accept form submission if the current date is not between the date "
2243
  "range of the schedule."
2244
  msgstr ""
2245
 
2246
- #: admin/html/whats-new.php:272
2247
  msgid "Restrict form submission based on the user roles"
2248
  msgstr ""
2249
 
2250
- #: admin/html/whats-new.php:274
2251
  msgid ""
2252
  "Restrict form submission based on the user roles. Now you can manage user "
2253
  "role base permission on form submission."
2254
  msgstr ""
2255
 
2256
- #: admin/html/whats-new.php:278
2257
  msgid "Limit how many entries a form will accept"
2258
  msgstr ""
2259
 
2260
- #: admin/html/whats-new.php:280
2261
  msgid ""
2262
  "Limit how many entries a form will accept and display a custom message when "
2263
  "that limit is reached."
2264
  msgstr ""
2265
 
2266
- #: admin/html/whats-new.php:284
2267
  msgid "Show/hide Admin Bar"
2268
  msgstr ""
2269
 
2270
- #: admin/html/whats-new.php:286
2271
  msgid "Control the admin bar visibility based on user roles."
2272
  msgstr ""
2273
 
2274
- #: admin/html/whats-new.php:290
2275
  msgid "Ajax Login widget"
2276
  msgstr ""
2277
 
2278
- #: admin/html/whats-new.php:292
2279
  msgid ""
2280
  "Login user is more simple now with Ajax Login Widget. The simple ajax login "
2281
  "form do not required page loading for login."
2282
  msgstr ""
2283
 
2284
- #: admin/html/whats-new.php:296
2285
  msgid "Form submission with Captcha field"
2286
  msgstr ""
2287
 
2288
- #: admin/html/whats-new.php:298
2289
  msgid "Form field validation process updated if form submits with captcha field."
2290
  msgstr ""
2291
 
2292
- #: admin/html/whats-new.php:312
2293
  msgid "What's New in WPUF?"
2294
  msgstr ""
2295
 
@@ -2317,64 +2392,64 @@ msgid ""
2317
  "and saved!"
2318
  msgstr ""
2319
 
2320
- #: admin/installer.php:73 admin/settings-options.php:23
2321
- #: includes/free/admin/shortcode-button.php:82 wpuf-functions.php:1501
2322
  msgid "Dashboard"
2323
  msgstr ""
2324
 
2325
- #: admin/installer.php:74 includes/free/admin/shortcode-button.php:86
2326
  msgid "Account"
2327
  msgstr ""
2328
 
2329
- #: admin/installer.php:78 includes/class-login-widget.php:234
2330
  #: includes/free/admin/shortcode-button.php:94
2331
  msgid "Login"
2332
  msgstr ""
2333
 
2334
- #: admin/installer.php:84 class/subscription.php:356 class/subscription.php:376
2335
  #: class/subscription.php:377 class/subscription.php:378
2336
- #: includes/free/admin/shortcode-button.php:102 wpuf-functions.php:1504
2337
  msgid "Subscription"
2338
  msgstr ""
2339
 
2340
- #: admin/installer.php:84
2341
  msgid "[wpuf_sub_pack]"
2342
  msgstr ""
2343
 
2344
- #: admin/installer.php:85 templates/dashboard/posts.php:82
2345
  #: templates/dashboard.php:122
2346
  msgid "Payment"
2347
  msgstr ""
2348
 
2349
- #: admin/installer.php:85
2350
  msgid "Please select a gateway for payment"
2351
  msgstr ""
2352
 
2353
- #: admin/installer.php:86
2354
  msgid "Thank You"
2355
  msgstr ""
2356
 
2357
- #: admin/installer.php:86
2358
  msgid ""
2359
  "<h1>Payment is complete</h1><p>Congratulations, your payment has been "
2360
  "completed!</p>"
2361
  msgstr ""
2362
 
2363
- #: admin/installer.php:87
2364
  msgid "Order Received"
2365
  msgstr ""
2366
 
2367
- #: admin/installer.php:87
2368
  msgid ""
2369
  "Hi, we have received your order. We will validate the order and will take "
2370
  "necessary steps to move forward."
2371
  msgstr ""
2372
 
2373
- #: admin/installer.php:169 includes/free/admin/shortcode-button.php:98
2374
  msgid "Registration"
2375
  msgstr ""
2376
 
2377
- #: admin/installer.php:178
2378
  msgid "Sample Form"
2379
  msgstr ""
2380
 
@@ -2428,24 +2503,24 @@ msgstr ""
2428
  msgid "Draft"
2429
  msgstr ""
2430
 
2431
- #: admin/posting.php:66 class/asset-loader.php:51 class/render-form.php:1686
2432
- #: wpuf.php:517
2433
  msgid "Are you sure?"
2434
  msgstr ""
2435
 
2436
- #: admin/posting.php:72 class/asset-loader.php:57 wpuf.php:525
2437
  msgid "Allowed Files"
2438
  msgstr ""
2439
 
2440
- #: admin/posting.php:75 class/asset-loader.php:60 wpuf.php:531
2441
  msgid "Maximum number of files reached!"
2442
  msgstr ""
2443
 
2444
- #: admin/posting.php:76 class/asset-loader.php:61 wpuf.php:532
2445
  msgid "The file you have uploaded exceeds the file size limit. Please try again."
2446
  msgstr ""
2447
 
2448
- #: admin/posting.php:77 class/asset-loader.php:62 wpuf.php:533
2449
  msgid "You have uploaded an incorrect file type. Please try again."
2450
  msgstr ""
2451
 
@@ -3070,143 +3145,153 @@ msgid ""
3070
  "redirected to the selected page."
3071
  msgstr ""
3072
 
3073
- #: admin/settings-options.php:349
 
 
 
 
 
 
 
 
 
 
3074
  msgid "Enable payments on your site."
3075
  msgstr ""
3076
 
3077
- #: admin/settings-options.php:355
3078
  msgid "Subscription Pack Page"
3079
  msgstr ""
3080
 
3081
- #: admin/settings-options.php:356
3082
  msgid "Select the page where <code>[wpuf_sub_pack]</code> located."
3083
  msgstr ""
3084
 
3085
- #: admin/settings-options.php:362
3086
  msgid "Subscription at registration"
3087
  msgstr ""
3088
 
3089
- #: admin/settings-options.php:363
3090
  msgid "Registration time redirect to subscription page"
3091
  msgstr ""
3092
 
3093
- #: admin/settings-options.php:368
3094
  msgid "Currency"
3095
  msgstr ""
3096
 
3097
- #: admin/settings-options.php:375
3098
  msgid "Currency Position"
3099
  msgstr ""
3100
 
3101
- #: admin/settings-options.php:379
3102
  msgid "Left"
3103
  msgstr ""
3104
 
3105
- #: admin/settings-options.php:380
3106
  msgid "Right"
3107
  msgstr ""
3108
 
3109
- #: admin/settings-options.php:381
3110
  msgid "Left with space"
3111
  msgstr ""
3112
 
3113
- #: admin/settings-options.php:382
3114
  msgid "Right with space"
3115
  msgstr ""
3116
 
3117
- #: admin/settings-options.php:387
3118
  msgid "Thousand Separator"
3119
  msgstr ""
3120
 
3121
- #: admin/settings-options.php:388
3122
  msgid "This sets the thousand separator of displayed prices."
3123
  msgstr ""
3124
 
3125
- #: admin/settings-options.php:396
3126
  msgid "Decimal Separator"
3127
  msgstr ""
3128
 
3129
- #: admin/settings-options.php:397
3130
  msgid "This sets the decimal separator of displayed prices."
3131
  msgstr ""
3132
 
3133
- #: admin/settings-options.php:404
3134
  msgid "Number of Decimals"
3135
  msgstr ""
3136
 
3137
- #: admin/settings-options.php:405
3138
  msgid "This sets the number of decimal points shown in displayed prices."
3139
  msgstr ""
3140
 
3141
- #: admin/settings-options.php:415
3142
  msgid "Enable demo/sandbox mode"
3143
  msgstr ""
3144
 
3145
- #: admin/settings-options.php:416
3146
  msgid "When sandbox mode is active, all payment gateway will be used in demo mode"
3147
  msgstr ""
3148
 
3149
- #: admin/settings-options.php:422
3150
  msgid "Payment Page"
3151
  msgstr ""
3152
 
3153
- #: admin/settings-options.php:423
3154
  msgid "This page will be used to process payment options"
3155
  msgstr ""
3156
 
3157
- #: admin/settings-options.php:429
3158
  msgid "Payment Success Page"
3159
  msgstr ""
3160
 
3161
- #: admin/settings-options.php:430 lib/gateway/bank.php:37
3162
  msgid "After payment users will be redirected here"
3163
  msgstr ""
3164
 
3165
- #: admin/settings-options.php:436
3166
  msgid "Payment Gateways"
3167
  msgstr ""
3168
 
3169
- #: admin/settings-options.php:437
3170
  msgid "Active payment gateways"
3171
  msgstr ""
3172
 
3173
- #: admin/settings-options.php:445
3174
  msgid "<span class=\"dashicons dashicons-universal-access-alt\"></span> Guest Email"
3175
  msgstr ""
3176
 
3177
- #: admin/settings-options.php:451
3178
  msgid "Guest mail subject"
3179
  msgstr ""
3180
 
3181
- #: admin/settings-options.php:452
3182
  msgid "This sets the subject of the emails sent to guest users"
3183
  msgstr ""
3184
 
3185
- #: admin/settings-options.php:459
3186
  msgid "Guest mail body"
3187
  msgstr ""
3188
 
3189
- #: admin/settings-options.php:460
3190
  msgid ""
3191
  "This sets the body of the emails sent to guest users. Please DON'T edit the "
3192
  "<code>{activation_link}</code> part, you can use {sitename} too."
3193
  msgstr ""
3194
 
3195
- #: admin/settings-options.php:469
3196
  msgid "Post Types"
3197
  msgstr ""
3198
 
3199
- #: admin/settings-options.php:470
3200
  msgid "Select the post types you will allow users to export."
3201
  msgstr ""
3202
 
3203
- #: admin/settings-options.php:493
3204
  msgid ""
3205
  "Select profile/registration forms for user roles. These forms will be used "
3206
  "to populate extra edit profile fields in backend."
3207
  msgstr ""
3208
 
3209
- #: admin/settings-options.php:504
3210
  msgid " - select - "
3211
  msgstr ""
3212
 
@@ -3299,23 +3384,23 @@ msgstr ""
3299
  msgid "Install Now"
3300
  msgstr ""
3301
 
3302
- #: class/asset-loader.php:31 wpuf.php:433
3303
  msgid "is required"
3304
  msgstr ""
3305
 
3306
- #: class/asset-loader.php:32 wpuf.php:434
3307
  msgid "does not match"
3308
  msgstr ""
3309
 
3310
- #: class/asset-loader.php:33 wpuf.php:435
3311
  msgid "is not valid"
3312
  msgstr ""
3313
 
3314
- #: class/asset-loader.php:45 wpuf.php:507
3315
  msgid "Please fix the errors to proceed"
3316
  msgstr ""
3317
 
3318
- #: class/asset-loader.php:47 wpuf.php:509
3319
  msgid "Word limit reached"
3320
  msgstr ""
3321
 
@@ -3371,15 +3456,15 @@ msgstr ""
3371
  msgid "Post Deleted"
3372
  msgstr ""
3373
 
3374
- #: class/frontend-dashboard.php:112
3375
  msgid "Author Info"
3376
  msgstr ""
3377
 
3378
- #: class/frontend-dashboard.php:116 includes/free/edit-user.php:98
3379
  msgid "%s"
3380
  msgstr ""
3381
 
3382
- #: class/frontend-dashboard.php:148 templates/dashboard/posts.php:30
3383
  msgid "You are not the post author. Cheeting huh!"
3384
  msgstr ""
3385
 
@@ -3412,7 +3497,7 @@ msgstr ""
3412
  msgid "You can't edit a post while in pending mode."
3413
  msgstr ""
3414
 
3415
- #: class/frontend-form-post.php:286
3416
  msgid "Empty reCaptcha Field"
3417
  msgstr ""
3418
 
@@ -3462,7 +3547,7 @@ msgid "You already have activated a free package previously."
3462
  msgstr ""
3463
 
3464
  #: class/payment.php:139 includes/class-customizer.php:59
3465
- #: wpuf-functions.php:1505
3466
  msgid "Billing Address"
3467
  msgstr ""
3468
 
@@ -3482,7 +3567,7 @@ msgstr ""
3482
  msgid "Pack Price "
3483
  msgstr ""
3484
 
3485
- #: class/payment.php:186 class/payment.php:232 includes/class-privacy.php:349
3486
  msgid "Total"
3487
  msgstr ""
3488
 
@@ -3577,40 +3662,45 @@ msgstr ""
3577
  msgid "Really Simple Captcha validation failed"
3578
  msgstr ""
3579
 
3580
- #: class/render-form.php:105
3581
  msgid "noCaptcha reCAPTCHA validation failed"
3582
  msgstr ""
3583
 
3584
- #: class/render-form.php:116
3585
  msgid "reCAPTCHA validation failed"
3586
  msgstr ""
3587
 
3588
- #: class/render-form.php:128
3589
  msgid "Invisible reCAPTCHA validation failed"
3590
  msgstr ""
3591
 
3592
- #: class/render-form.php:343
3593
  msgid "Your selected form is no longer available."
3594
  msgstr ""
3595
 
3596
- #: class/render-form.php:348
3597
  msgid "Please make sure you've published your form."
3598
  msgstr ""
3599
 
3600
- #: class/render-form.php:1354 includes/free/edit-profile.php:203
3601
- #: templates/dashboard/edit-profile.php:54
 
 
 
 
 
3602
  msgid "Strength indicator"
3603
  msgstr ""
3604
 
3605
- #: class/render-form.php:1419
3606
  msgid "-- Select --"
3607
  msgstr ""
3608
 
3609
- #: class/render-form.php:1484
3610
  msgid "This field is no longer available."
3611
  msgstr ""
3612
 
3613
- #: class/render-form.php:1686 class/transactions-list-table.php:115
3614
  #: class/transactions-list-table.php:181 includes/free/edit-user.php:101
3615
  #: templates/dashboard/posts.php:162 templates/dashboard.php:257
3616
  msgid "Delete"
@@ -3676,37 +3766,69 @@ msgstr ""
3676
  msgid "<p><i>To cancel the pack, press the following cancel button</i></p>"
3677
  msgstr ""
3678
 
3679
- #: class/subscription.php:822
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3680
  msgid "One time payment"
3681
  msgstr ""
3682
 
3683
- #: class/subscription.php:829
3684
  msgid "Every"
3685
  msgstr ""
3686
 
3687
- #: class/subscription.php:836
 
 
 
 
 
 
 
 
3688
  msgid "Trial available for first %s %s"
3689
  msgstr ""
3690
 
3691
- #: class/subscription.php:840
3692
  msgid "Buy Now"
3693
  msgstr ""
3694
 
3695
- #: class/subscription.php:844
3696
  msgid "Sign Up"
3697
  msgstr ""
3698
 
3699
- #: class/subscription.php:907
3700
  msgid "There is a <strong>%s</strong> charge to add a new post."
3701
  msgstr ""
3702
 
3703
- #: class/subscription.php:924
3704
  msgid ""
3705
  "Your Subscription pack exhausted. There is a <strong>%s</strong> charge to "
3706
  "add a new post."
3707
  msgstr ""
3708
 
3709
- #: class/subscription.php:969
3710
  msgid "You must <a href=\"%s\">purchase a pack</a> before posting"
3711
  msgstr ""
3712
 
@@ -3736,17 +3858,17 @@ msgstr ""
3736
  msgid "Cost"
3737
  msgstr ""
3738
 
3739
- #: class/transactions-list-table.php:44 includes/class-privacy.php:345
3740
  msgid "Tax"
3741
  msgstr ""
3742
 
3743
- #: class/transactions-list-table.php:45 includes/class-privacy.php:353
3744
- #: includes/class-privacy.php:419
3745
  msgid "Post ID"
3746
  msgstr ""
3747
 
3748
- #: class/transactions-list-table.php:46 includes/class-privacy.php:357
3749
- #: includes/class-privacy.php:473
3750
  msgid "Pack ID"
3751
  msgstr ""
3752
 
@@ -3899,7 +4021,7 @@ msgstr ""
3899
  msgid "Optional"
3900
  msgstr ""
3901
 
3902
- #: includes/class-dokan-integration.php:37 wpuf-functions.php:1502
3903
  msgid "Posts"
3904
  msgstr ""
3905
 
@@ -3947,7 +4069,7 @@ msgstr ""
3947
  msgid "Subscription ID"
3948
  msgstr ""
3949
 
3950
- #: includes/class-list-table-subscribers.php:46 includes/class-privacy.php:333
3951
  msgid "Transaction ID"
3952
  msgstr ""
3953
 
@@ -4003,19 +4125,19 @@ msgstr ""
4003
  msgid "Someone has requested a password reset for the following account:"
4004
  msgstr ""
4005
 
4006
- #: includes/class-login-widget.php:137 includes/free/class-login.php:747
4007
  msgid "Username: %s"
4008
  msgstr ""
4009
 
4010
- #: includes/class-login-widget.php:138 includes/free/class-login.php:748
4011
  msgid "If this was a mistake, just ignore this email and nothing will happen."
4012
  msgstr ""
4013
 
4014
- #: includes/class-login-widget.php:139 includes/free/class-login.php:749
4015
  msgid "To reset your password, visit the following address:"
4016
  msgstr ""
4017
 
4018
- #: includes/class-login-widget.php:144 includes/free/class-login.php:758
4019
  msgid "[%s] Password Reset"
4020
  msgstr ""
4021
 
@@ -4026,7 +4148,7 @@ msgid ""
4026
  msgstr ""
4027
 
4028
  #: includes/class-login-widget.php:206 includes/class-login-widget.php:238
4029
- #: includes/free/class-login.php:211 includes/free/class-registration.php:124
4030
  #: includes/free/form-element.php:345 templates/registration-form.php:72
4031
  msgid "Register"
4032
  msgstr ""
@@ -4068,12 +4190,12 @@ msgstr ""
4068
  msgid "Password"
4069
  msgstr ""
4070
 
4071
- #: includes/class-login-widget.php:267 templates/login-form.php:32
4072
  msgid "Remember Me"
4073
  msgstr ""
4074
 
4075
- #: includes/class-login-widget.php:268 includes/free/class-login.php:207
4076
- #: includes/free/class-login.php:263 templates/login-form.php:36
4077
  msgid "Log In"
4078
  msgstr ""
4079
 
@@ -4349,11 +4471,11 @@ msgstr ""
4349
  msgid "WPUF Subscription Data"
4350
  msgstr ""
4351
 
4352
- #: includes/class-privacy.php:110 includes/class-privacy.php:329
4353
  msgid "WPUF Transaction Data"
4354
  msgstr ""
4355
 
4356
- #: includes/class-privacy.php:115 includes/class-privacy.php:415
4357
  msgid "WPUF Post Data"
4358
  msgstr ""
4359
 
@@ -4373,43 +4495,43 @@ msgstr ""
4373
  msgid "Zip"
4374
  msgstr ""
4375
 
4376
- #: includes/class-privacy.php:337
4377
  msgid "Payment Status"
4378
  msgstr ""
4379
 
4380
- #: includes/class-privacy.php:341
4381
  msgid "Subtotal"
4382
  msgstr ""
4383
 
4384
- #: includes/class-privacy.php:365 includes/free/edit-profile.php:110
4385
  msgid "Last Name"
4386
  msgstr ""
4387
 
4388
- #: includes/class-privacy.php:373
4389
  msgid "Payment Type"
4390
  msgstr ""
4391
 
4392
- #: includes/class-privacy.php:377
4393
  msgid "payer_address"
4394
  msgstr ""
4395
 
4396
- #: includes/class-privacy.php:385
4397
  msgid "Transaction Date"
4398
  msgstr ""
4399
 
4400
- #: includes/class-privacy.php:427
4401
  msgid "Post URL"
4402
  msgstr ""
4403
 
4404
- #: includes/class-privacy.php:431
4405
  msgid "Post Date"
4406
  msgstr ""
4407
 
4408
- #: includes/class-privacy.php:477
4409
  msgid "Pack Title"
4410
  msgstr ""
4411
 
4412
- #: includes/class-privacy.php:481
4413
  msgid "Expiry"
4414
  msgstr ""
4415
 
@@ -4534,35 +4656,41 @@ msgstr ""
4534
  msgid " Add Form"
4535
  msgstr ""
4536
 
4537
- #: includes/free/class-login.php:215
4538
  msgid "Lost Password"
4539
  msgstr ""
4540
 
4541
- #: includes/free/class-login.php:253
4542
  msgid ""
4543
  "Please enter your username or email address. You will receive a link to "
4544
  "create a new password via email."
4545
  msgstr ""
4546
 
4547
- #: includes/free/class-login.php:263
4548
  msgid "Your password has been reset. %s"
4549
  msgstr ""
4550
 
4551
- #: includes/free/class-login.php:267
4552
  msgid "Enter your new password below.."
4553
  msgstr ""
4554
 
4555
- #: includes/free/class-login.php:277
4556
  msgid "Check your e-mail for the confirmation link."
4557
  msgstr ""
4558
 
4559
- #: includes/free/class-login.php:281
4560
  msgid "You are now logged out."
4561
  msgstr ""
4562
 
4563
- #: includes/free/class-login.php:310 includes/free/class-login.php:315
4564
- #: includes/free/class-login.php:320 includes/free/class-login.php:330
4565
- #: includes/free/class-registration.php:192
 
 
 
 
 
 
4566
  #: includes/free/class-registration.php:197
4567
  #: includes/free/class-registration.php:202
4568
  #: includes/free/class-registration.php:207
@@ -4575,70 +4703,62 @@ msgstr ""
4575
  msgid "Error"
4576
  msgstr ""
4577
 
4578
- #: includes/free/class-login.php:315 includes/free/class-registration.php:212
4579
- msgid "Username is required."
4580
- msgstr ""
4581
-
4582
- #: includes/free/class-login.php:320 includes/free/class-registration.php:217
4583
- msgid "Password is required."
4584
- msgstr ""
4585
-
4586
- #: includes/free/class-login.php:330 includes/free/class-registration.php:242
4587
  msgid "A user could not be found with this email address."
4588
  msgstr ""
4589
 
4590
- #: includes/free/class-login.php:451
4591
  msgid "Please enter your password."
4592
  msgstr ""
4593
 
4594
- #: includes/free/class-login.php:456
4595
  msgid "Passwords do not match."
4596
  msgstr ""
4597
 
4598
- #: includes/free/class-login.php:499
4599
  msgid "Enter a username or e-mail address."
4600
  msgstr ""
4601
 
4602
- #: includes/free/class-login.php:507
4603
  msgid "There is no user registered with that email address."
4604
  msgstr ""
4605
 
4606
- #: includes/free/class-login.php:525
4607
  msgid "Invalid username or e-mail."
4608
  msgstr ""
4609
 
4610
- #: includes/free/class-login.php:539
4611
  msgid "Password reset is not allowed for this user"
4612
  msgstr ""
4613
 
4614
- #: includes/free/class-login.php:593 includes/free/class-login.php:605
4615
  msgid "Invalid key"
4616
  msgstr ""
4617
 
4618
- #: includes/free/class-login.php:598
4619
  msgid "Invalid Login"
4620
  msgstr ""
4621
 
4622
- #: includes/free/class-login.php:629
4623
  msgid ""
4624
  "<strong>Your account is not active.</strong><br>Please check your email for "
4625
  "activation link. <br><a href=\"%s\">Click here</a> to resend the activation "
4626
  "link"
4627
  msgstr ""
4628
 
4629
- #: includes/free/class-login.php:685 includes/free/class-login.php:701
4630
  msgid "Your account has been activated"
4631
  msgstr ""
4632
 
4633
- #: includes/free/class-login.php:745
4634
  msgid "Someone requested that the password be reset for the following account:"
4635
  msgstr ""
4636
 
4637
- #: includes/free/class-login.php:764
4638
  msgid "The e-mail could not be sent."
4639
  msgstr ""
4640
 
4641
- #: includes/free/class-login.php:764
4642
  msgid "Possible reason: your host may have disabled the mail() function."
4643
  msgstr ""
4644
 
@@ -4717,14 +4837,10 @@ msgid ""
4717
  "be shown publicly."
4718
  msgstr ""
4719
 
4720
- #: includes/free/edit-profile.php:188 templates/dashboard/edit-profile.php:49
4721
  msgid "New Password"
4722
  msgstr ""
4723
 
4724
- #: includes/free/edit-profile.php:194 templates/registration-form.php:65
4725
- msgid "Confirm Password"
4726
- msgstr ""
4727
-
4728
  #: includes/free/edit-profile.php:196
4729
  msgid "Type your new password again."
4730
  msgstr ""
@@ -4734,7 +4850,7 @@ msgid "Password Strength"
4734
  msgstr ""
4735
 
4736
  #: includes/free/edit-profile.php:227 includes/free/form-element.php:346
4737
- #: templates/dashboard/edit-profile.php:86
4738
  msgid "Update Profile"
4739
  msgstr ""
4740
 
@@ -5052,15 +5168,15 @@ msgstr ""
5052
  msgid "Skip this step"
5053
  msgstr ""
5054
 
5055
- #: includes/setup-wizard.php:323
5056
  msgid "Thank you!"
5057
  msgstr ""
5058
 
5059
- #: includes/setup-wizard.php:328
5060
  msgid "Welcome to Awesomeness!"
5061
  msgstr ""
5062
 
5063
- #: includes/setup-wizard.php:332
5064
  msgid "Go to Full Settings"
5065
  msgstr ""
5066
 
@@ -5169,35 +5285,35 @@ msgid ""
5169
  "href=\"%3$s\">edit your password and profile</a>."
5170
  msgstr ""
5171
 
5172
- #: templates/dashboard/edit-profile.php:5
5173
  msgid "Profile updated successfully!"
5174
  msgstr ""
5175
 
5176
- #: templates/dashboard/edit-profile.php:6
5177
  msgid "Something went wrong!"
5178
  msgstr ""
5179
 
5180
- #: templates/dashboard/edit-profile.php:10
5181
  msgid "First Name "
5182
  msgstr ""
5183
 
5184
- #: templates/dashboard/edit-profile.php:18
5185
  msgid "Last Name "
5186
  msgstr ""
5187
 
5188
- #: templates/dashboard/edit-profile.php:28
5189
  msgid "Email Address "
5190
  msgstr ""
5191
 
5192
- #: templates/dashboard/edit-profile.php:38
5193
  msgid "Current Password"
5194
  msgstr ""
5195
 
5196
- #: templates/dashboard/edit-profile.php:43
5197
  msgid "Leave this field empty to keep your password unchanged."
5198
  msgstr ""
5199
 
5200
- #: templates/dashboard/edit-profile.php:75
5201
  msgid "Confirm New Password"
5202
  msgstr ""
5203
 
@@ -5246,7 +5362,7 @@ msgid "%s's Dashboard"
5246
  msgstr ""
5247
 
5248
  #: templates/dashboard.php:17
5249
- msgid "You have created <span>%d</span> (%ss)"
5250
  msgstr ""
5251
 
5252
  #: templates/dokan/new-post.php:7
@@ -5349,215 +5465,215 @@ msgstr ""
5349
  msgid "CSV"
5350
  msgstr ""
5351
 
5352
- #: wpuf-functions.php:1503
5353
  msgid "Edit Profile"
5354
  msgstr ""
5355
 
5356
- #: wpuf-functions.php:1610
5357
  msgid "United Arab Emirates Dirham"
5358
  msgstr ""
5359
 
5360
- #: wpuf-functions.php:1611
5361
  msgid "Australian Dollars"
5362
  msgstr ""
5363
 
5364
- #: wpuf-functions.php:1612
5365
  msgid "Argentine Peso"
5366
  msgstr ""
5367
 
5368
- #: wpuf-functions.php:1613
5369
  msgid "Bangladeshi Taka"
5370
  msgstr ""
5371
 
5372
- #: wpuf-functions.php:1614
5373
  msgid "Brazilian Real"
5374
  msgstr ""
5375
 
5376
- #: wpuf-functions.php:1615
5377
  msgid "Bulgarian Lev"
5378
  msgstr ""
5379
 
5380
- #: wpuf-functions.php:1616
5381
  msgid "Canadian Dollars"
5382
  msgstr ""
5383
 
5384
- #: wpuf-functions.php:1617
5385
  msgid "Chilean Peso"
5386
  msgstr ""
5387
 
5388
- #: wpuf-functions.php:1618
5389
  msgid "Chinese Yuan"
5390
  msgstr ""
5391
 
5392
- #: wpuf-functions.php:1619
5393
  msgid "Colombian Peso"
5394
  msgstr ""
5395
 
5396
- #: wpuf-functions.php:1620
5397
  msgid "Czech Koruna"
5398
  msgstr ""
5399
 
5400
- #: wpuf-functions.php:1621
5401
  msgid "Danish Krone"
5402
  msgstr ""
5403
 
5404
- #: wpuf-functions.php:1622
5405
  msgid "Dominican Peso"
5406
  msgstr ""
5407
 
5408
- #: wpuf-functions.php:1623
5409
  msgid "Algerian Dinar"
5410
  msgstr ""
5411
 
5412
- #: wpuf-functions.php:1624
5413
  msgid "Euros"
5414
  msgstr ""
5415
 
5416
- #: wpuf-functions.php:1625
5417
  msgid "Hong Kong Dollar"
5418
  msgstr ""
5419
 
5420
- #: wpuf-functions.php:1626
5421
  msgid "Croatia kuna"
5422
  msgstr ""
5423
 
5424
- #: wpuf-functions.php:1627
5425
  msgid "Hungarian Forint"
5426
  msgstr ""
5427
 
5428
- #: wpuf-functions.php:1628
5429
  msgid "Icelandic krona"
5430
  msgstr ""
5431
 
5432
- #: wpuf-functions.php:1629
5433
  msgid "Indonesia Rupiah"
5434
  msgstr ""
5435
 
5436
- #: wpuf-functions.php:1630
5437
  msgid "Indian Rupee"
5438
  msgstr ""
5439
 
5440
- #: wpuf-functions.php:1631
5441
  msgid "Nepali Rupee"
5442
  msgstr ""
5443
 
5444
- #: wpuf-functions.php:1632
5445
  msgid "Israeli Shekel"
5446
  msgstr ""
5447
 
5448
- #: wpuf-functions.php:1633
5449
  msgid "Japanese Yen"
5450
  msgstr ""
5451
 
5452
- #: wpuf-functions.php:1634
5453
  msgid "Lao Kip"
5454
  msgstr ""
5455
 
5456
- #: wpuf-functions.php:1635
5457
  msgid "South Korean Won"
5458
  msgstr ""
5459
 
5460
- #: wpuf-functions.php:1636
5461
  msgid "Malaysian Ringgits"
5462
  msgstr ""
5463
 
5464
- #: wpuf-functions.php:1637
5465
  msgid "Mexican Peso"
5466
  msgstr ""
5467
 
5468
- #: wpuf-functions.php:1638
5469
  msgid "Nigerian Naira"
5470
  msgstr ""
5471
 
5472
- #: wpuf-functions.php:1639
5473
  msgid "Norwegian Krone"
5474
  msgstr ""
5475
 
5476
- #: wpuf-functions.php:1640
5477
  msgid "New Zealand Dollar"
5478
  msgstr ""
5479
 
5480
- #: wpuf-functions.php:1641
5481
  msgid "Omani Rial"
5482
  msgstr ""
5483
 
5484
- #: wpuf-functions.php:1642
5485
  msgid "Iranian Rial"
5486
  msgstr ""
5487
 
5488
- #: wpuf-functions.php:1643
5489
  msgid "Pakistani Rupee"
5490
  msgstr ""
5491
 
5492
- #: wpuf-functions.php:1644
5493
  msgid "Paraguayan Guaraní"
5494
  msgstr ""
5495
 
5496
- #: wpuf-functions.php:1645
5497
  msgid "Philippine Pesos"
5498
  msgstr ""
5499
 
5500
- #: wpuf-functions.php:1646
5501
  msgid "Polish Zloty"
5502
  msgstr ""
5503
 
5504
- #: wpuf-functions.php:1647
5505
  msgid "Pounds Sterling"
5506
  msgstr ""
5507
 
5508
- #: wpuf-functions.php:1648
5509
  msgid "Romanian Leu"
5510
  msgstr ""
5511
 
5512
- #: wpuf-functions.php:1649
5513
  msgid "Russian Ruble"
5514
  msgstr ""
5515
 
5516
- #: wpuf-functions.php:1650
5517
  msgid "Saudi Riyal"
5518
  msgstr ""
5519
 
5520
- #: wpuf-functions.php:1651
5521
  msgid "Singapore Dollar"
5522
  msgstr ""
5523
 
5524
- #: wpuf-functions.php:1652
5525
  msgid "South African rand"
5526
  msgstr ""
5527
 
5528
- #: wpuf-functions.php:1653
5529
  msgid "Swedish Krona"
5530
  msgstr ""
5531
 
5532
- #: wpuf-functions.php:1654
5533
  msgid "Swiss Franc"
5534
  msgstr ""
5535
 
5536
- #: wpuf-functions.php:1655
5537
  msgid "Taiwan New Dollars"
5538
  msgstr ""
5539
 
5540
- #: wpuf-functions.php:1656
5541
  msgid "Thai Baht"
5542
  msgstr ""
5543
 
5544
- #: wpuf-functions.php:1657
5545
  msgid "Turkish Lira"
5546
  msgstr ""
5547
 
5548
- #: wpuf-functions.php:1658
5549
  msgid "US Dollar"
5550
  msgstr ""
5551
 
5552
- #: wpuf-functions.php:1659
5553
  msgid "Vietnamese Dong"
5554
  msgstr ""
5555
 
5556
- #: wpuf-functions.php:1660
5557
  msgid "Egyptian Pound"
5558
  msgstr ""
5559
 
5560
- #: wpuf-functions.php:2490
5561
  msgid "None"
5562
  msgstr ""
5563
 
@@ -5577,11 +5693,11 @@ msgstr ""
5577
  msgid "Your Post Has Been Expired"
5578
  msgstr ""
5579
 
5580
- #: wpuf.php:513
5581
  msgid "Please Cancel Your Currently Active Pack first!"
5582
  msgstr ""
5583
 
5584
- #: wpuf.php:670
5585
  msgid "Error: Nonce verification failed"
5586
  msgstr ""
5587
 
@@ -5663,7 +5779,7 @@ msgctxt "enhanced select"
5663
  msgid "Searching&hellip;"
5664
  msgstr ""
5665
 
5666
- #: wpuf-functions.php:1114
5667
  msgctxt "tag delimiter"
5668
  msgid ","
5669
  msgstr ""
2
  # This file is distributed under the GPL2 or later.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WP User Frontend 2.8.10\n"
6
  "Report-Msgid-Bugs-To: https://wedevs.com/contact/\n"
7
+ "POT-Creation-Date: 2018-07-18 04:53:23+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
127
  msgid "Amount"
128
  msgstr ""
129
 
130
+ #: admin/class-admin-subscription.php:196 includes/class-privacy.php:492
131
  #: includes/free/subscription.php:8
132
  msgid "Recurring"
133
  msgstr ""
138
 
139
  #: admin/class-admin-subscription.php:216
140
  #: admin/class-admin-subscription.php:570 class/frontend-account.php:126
141
+ #: class/subscription.php:865 includes/class-user-subscription.php:307
142
  #: templates/subscriptions/pack-details.php:26
143
  msgid "Free"
144
  msgstr ""
328
 
329
  #: admin/class-tools.php:39 admin/class-tools.php:95
330
  #: admin/post-forms-list-table.php:43 class/transactions-list-table.php:86
331
+ #: includes/class-list-table-subscribers.php:126 wpuf-functions.php:2488
332
  msgid "All"
333
  msgstr ""
334
 
510
  #: admin/form-builder/assets/js/components/form-image_upload/template.php:6
511
  #: admin/form-builder/class-wpuf-form-builder-field-settings.php:779
512
  #: admin/form-builder/class-wpuf-form-builder-field-settings.php:813
513
+ #: admin/form.php:688 admin/form.php:714 class/render-form.php:1659
514
  msgid "Select Image"
515
  msgstr ""
516
 
517
  #: admin/form-builder/assets/js/components/form-post_content/template.php:4
518
+ #: class/render-form.php:1039
519
  msgid "Insert Photo"
520
  msgstr ""
521
 
609
  msgstr ""
610
 
611
  #: admin/form-builder/class-wpuf-admin-form-builder.php:341
612
+ #: admin/form-builder/views/form-builder.php:49
613
  msgid "Click to copy shortcode"
614
  msgstr ""
615
 
904
 
905
  #: admin/form-builder/class-wpuf-form-builder-field-settings.php:697
906
  #: admin/html/form-submission-restriction.php:12 admin/html/support.php:224
907
+ #: class/transactions-list-table.php:49 includes/class-privacy.php:371
908
  #: includes/free/edit-user.php:153 templates/registration-form.php:44
909
  msgid "Email"
910
  msgstr ""
1039
  msgid "Form Editor"
1040
  msgstr ""
1041
 
1042
+ #: admin/form-builder/views/form-builder.php:15
1043
+ #: admin/html/form-settings-post.php:23
1044
+ msgid "Preview"
1045
+ msgstr ""
1046
+
1047
+ #: admin/form-builder/views/form-builder.php:18
1048
  msgid "Save Form"
1049
  msgstr ""
1050
 
1051
+ #: admin/form-builder/views/form-builder.php:22
1052
  msgid "Saving Form Data"
1053
  msgstr ""
1054
 
1055
+ #: admin/form-builder/views/form-builder.php:25
1056
+ #: admin/form-builder/views/form-builder.php:76
1057
  msgid "Add Fields"
1058
  msgstr ""
1059
 
1060
+ #: admin/form-builder/views/form-builder.php:26
1061
  msgid "Show Form"
1062
  msgstr ""
1063
 
1064
+ #: admin/form-builder/views/form-builder.php:46
1065
  msgid "Click to copy %s shortcode"
1066
  msgstr ""
1067
 
1068
+ #: admin/form-builder/views/form-builder.php:82
1069
  msgid "Field Options"
1070
  msgstr ""
1071
 
1129
  msgid "Add New Form"
1130
  msgstr ""
1131
 
1132
+ #: admin/form.php:74 admin/form.php:112 admin/installer.php:79
1133
  #: admin/post-forms-list-table.php:391 class/subscription.php:381
1134
  #: includes/free/admin/shortcode-button.php:90 includes/free/edit-user.php:100
1135
  #: templates/dashboard/posts.php:151 templates/dashboard.php:246
1206
  msgstr ""
1207
 
1208
  #: admin/form.php:440 admin/html/form-settings-post.php:22
1209
+ #: class/render-form.php:743
1210
  msgid "Save Draft"
1211
  msgstr ""
1212
 
1213
  #: admin/form.php:550 admin/form.php:557 class/post-form-templates/post.php:20
1214
+ #: includes/class-privacy.php:429
1215
  msgid "Post Title"
1216
  msgstr ""
1217
 
1366
  msgid "Payment Options"
1367
  msgstr ""
1368
 
1369
+ #: admin/html/form-settings-payment.php:25 admin/settings-options.php:355
1370
  #: includes/setup-wizard.php:273
1371
  msgid "Enable Payments"
1372
  msgstr ""
1512
  msgid "Submit"
1513
  msgstr ""
1514
 
 
 
 
 
1515
  #: admin/html/form-settings-post.php:30 admin/post-forms-list-table.php:296
1516
  msgid "Post Type"
1517
  msgstr ""
1736
  msgid "Blank Form"
1737
  msgstr ""
1738
 
1739
+ #: admin/html/modal.php:34 admin/html/modal.php:69
1740
  msgid "Create Form"
1741
  msgstr ""
1742
 
1743
+ #: admin/html/modal.php:55
1744
  msgid "This integration is not installed."
1745
  msgstr ""
1746
 
1766
  "<strong>offers</strong> and <strong>news updates</strong>."
1767
  msgstr ""
1768
 
1769
+ #: admin/html/support.php:219 includes/class-privacy.php:363
1770
  #: includes/free/edit-profile.php:105
1771
  msgid "First Name"
1772
  msgstr ""
1876
  msgstr ""
1877
 
1878
  #: admin/html/whats-new.php:8
1879
+ msgid "Added drag and drop image ordering on image upload"
1880
  msgstr ""
1881
 
1882
  #: admin/html/whats-new.php:10
1883
  msgid ""
1884
+ "Now frontend users can drag & drop the images/files to change the order "
1885
+ "while uploading."
1886
+ msgstr ""
1887
+
1888
+ #: admin/html/whats-new.php:13
1889
+ msgid "Added reCAPTCHA field in login form"
1890
+ msgstr ""
1891
+
1892
+ #: admin/html/whats-new.php:15
1893
+ msgid ""
1894
+ "Admin has the option to show reCAPTCHA field in login form. Check the "
1895
+ "related settings from <strong>User Frontend > Settings > "
1896
+ "Login/Registration</strong>"
1897
+ msgstr ""
1898
+
1899
+ #: admin/html/whats-new.php:18
1900
+ msgid "Added preview option in forms"
1901
+ msgstr ""
1902
+
1903
+ #: admin/html/whats-new.php:20
1904
+ msgid ""
1905
+ "You can see a nice <strong>Preview</strong> button with <strong>Save "
1906
+ "Form</strong> button, admin can take a quick look of the form without using "
1907
+ "shortcode"
1908
+ msgstr ""
1909
+
1910
+ #: admin/html/whats-new.php:23
1911
+ msgid "Fixed hiding “Select Image” button while uploading multiple images."
1912
+ msgstr ""
1913
+
1914
+ #: admin/html/whats-new.php:25
1915
+ msgid ""
1916
+ "The upload button will not be hidden until the user selects max number of "
1917
+ "files "
1918
+ msgstr ""
1919
+
1920
+ #: admin/html/whats-new.php:28
1921
+ msgid "Added form limit notice before form submission"
1922
+ msgstr ""
1923
+
1924
+ #: admin/html/whats-new.php:30
1925
+ msgid ""
1926
+ "Limit notice message was showing after submission, now it is showing when "
1927
+ "rendering the form"
1928
+ msgstr ""
1929
+
1930
+ #: admin/html/whats-new.php:33
1931
+ msgid "Fixed: default post category not saving"
1932
+ msgstr ""
1933
+
1934
+ #: admin/html/whats-new.php:35
1935
+ msgid ""
1936
+ "From the form <strong>Settings > Post Settings</strong>, default post "
1937
+ "category options were not saving. Now, it's fixed."
1938
+ msgstr ""
1939
+
1940
+ #: admin/html/whats-new.php:38
1941
+ msgid ""
1942
+ "WPUF dashboard shortcode with form_id attribute was not showing posts "
1943
+ "properly"
1944
+ msgstr ""
1945
+
1946
+ #: admin/html/whats-new.php:40
1947
+ msgid ""
1948
+ "Now you can list posts on the frontend by using <strong>form_id<strong/> "
1949
+ "attribute with <strong>[wpuf_dashboard]</strong> shortcode"
1950
+ msgstr ""
1951
+
1952
+ #: admin/html/whats-new.php:49
1953
+ msgid "Changed text domain to `wp-user-frontend` from `wpuf` "
1954
+ msgstr ""
1955
+
1956
+ #: admin/html/whats-new.php:51
1957
+ msgid ""
1958
  "If you are using other language than English. Please <b>rename</b> your "
1959
  "<i>.po and .mo </i> files to `wp-user-frontend_` from `wpuf_` <br> This "
1960
  "change was made to support translations from translate.wordpress.org"
1961
  msgstr ""
1962
 
1963
+ #: admin/html/whats-new.php:54
1964
  msgid "Added WP User Frontend Data export and erase functionality."
1965
  msgstr ""
1966
 
1967
+ #: admin/html/whats-new.php:56
1968
  msgid "Added functionality to export WP User Frontend Data to comply with GDPR."
1969
  msgstr ""
1970
 
1971
+ #: admin/html/whats-new.php:59
1972
  msgid "Added billing address customizer."
1973
  msgstr ""
1974
 
1975
+ #: admin/html/whats-new.php:61
1976
  msgid "Added customizer options for billing address in payment page."
1977
  msgstr ""
1978
 
1979
+ #: admin/html/whats-new.php:64
1980
  msgid "Make the payment page responsive."
1981
  msgstr ""
1982
 
1983
+ #: admin/html/whats-new.php:66
1984
  msgid "Some css adjustments are made in payment page to make it responsive."
1985
  msgstr ""
1986
 
1987
+ #: admin/html/whats-new.php:69
1988
  msgid "Fixed image upload issue in Safari."
1989
  msgstr ""
1990
 
1991
+ #: admin/html/whats-new.php:71
1992
  msgid "Images were not showing after upload in safari, it is fixed now."
1993
  msgstr ""
1994
 
1995
+ #: admin/html/whats-new.php:74
1996
  msgid "Post update issue after updating or removing post images."
1997
  msgstr ""
1998
 
1999
+ #: admin/html/whats-new.php:76
2000
  msgid ""
2001
  "Posts cannot be updated after updating or removing post images, it is fixed "
2002
  "now."
2003
  msgstr ""
2004
 
2005
+ #: admin/html/whats-new.php:85
2006
  msgid "Allow overriding form input styles using theme styling."
2007
  msgstr ""
2008
 
2009
+ #: admin/html/whats-new.php:87
2010
  msgid "Overriding form input styles using theme style is now possible."
2011
  msgstr ""
2012
 
2013
+ #: admin/html/whats-new.php:90
2014
  msgid "Fixed Auto Login after registration."
2015
  msgstr ""
2016
 
2017
+ #: admin/html/whats-new.php:92
2018
  msgid "Auto Login after registration was not working is fixed now."
2019
  msgstr ""
2020
 
2021
+ #: admin/html/whats-new.php:95
2022
  msgid "Fixed fallback cost calculation"
2023
  msgstr ""
2024
 
2025
+ #: admin/html/whats-new.php:97
2026
  msgid "Fallback cost calculation was inaccurate for some cases, it is fixed now."
2027
  msgstr ""
2028
 
2029
+ #: admin/html/whats-new.php:100
2030
  msgid "Removal of subscription from User Profile gets reverted if updated"
2031
  msgstr ""
2032
 
2033
+ #: admin/html/whats-new.php:102
2034
  msgid "User subscription deletion gets reverted if updated is fixed."
2035
  msgstr ""
2036
 
2037
+ #: admin/html/whats-new.php:105
2038
  msgid "Show Free pack users in subscribers list."
2039
  msgstr ""
2040
 
2041
+ #: admin/html/whats-new.php:107
2042
  msgid "Free pack users were not showing in subscribers list, now they will."
2043
  msgstr ""
2044
 
2045
+ #: admin/html/whats-new.php:116
2046
  msgid "WP User Frontend Guten Block is added"
2047
  msgstr ""
2048
 
2049
+ #: admin/html/whats-new.php:118
2050
  msgid ""
2051
  "WPUF Form Block is now available to be used within gutenberg editor with "
2052
  "preview of the form. "
2053
  msgstr ""
2054
 
2055
+ #: admin/html/whats-new.php:121
2056
  msgid "Advanced Custom Fields plugin compatibility"
2057
  msgstr ""
2058
 
2059
+ #: admin/html/whats-new.php:123
2060
  msgid "Now all your ACF fields can be used within WPUF Post forms. "
2061
  msgstr ""
2062
 
2063
+ #: admin/html/whats-new.php:126
2064
  msgid "Taxonomy Terms not showing for custom post types"
2065
  msgstr ""
2066
 
2067
+ #: admin/html/whats-new.php:128
2068
  msgid ""
2069
  "Fixed an issue with taxonomy terms not appearing for Custom Post types "
2070
  "within Form Settings and Dashboard Post Listing"
2071
  msgstr ""
2072
 
2073
+ #: admin/html/whats-new.php:131
2074
  msgid "Various other code optimizations"
2075
  msgstr ""
2076
 
2077
+ #: admin/html/whats-new.php:133 admin/html/whats-new.php:190
2078
  msgid "Code structure organization and optimization for better performance"
2079
  msgstr ""
2080
 
2081
+ #: admin/html/whats-new.php:142
2082
  msgid "WoooCommerce billing address Sync"
2083
  msgstr ""
2084
 
2085
+ #: admin/html/whats-new.php:144
2086
  msgid ""
2087
  "If an existing customer has previously set his billing address, that will "
2088
  "be imported into WPUF Billing address "
2089
  msgstr ""
2090
 
2091
+ #: admin/html/whats-new.php:147
2092
  msgid "Trial subscription message not showing properly"
2093
  msgstr ""
2094
 
2095
+ #: admin/html/whats-new.php:149
2096
  msgid "Subscriptions with Trial now shows trial notices"
2097
  msgstr ""
2098
 
2099
+ #: admin/html/whats-new.php:152
2100
  msgid "Reset email Key not working"
2101
  msgstr ""
2102
 
2103
+ #: admin/html/whats-new.php:154
2104
  msgid "Reset Email key was not working in some cases"
2105
  msgstr ""
2106
 
2107
+ #: admin/html/whats-new.php:157
2108
  msgid "Post count not showing on the frontend dashboard"
2109
  msgstr ""
2110
 
2111
+ #: admin/html/whats-new.php:159
2112
  msgid ""
2113
  "Dashboard with multiple post type was not showing post counts properly, is "
2114
  "now fixed and shows count for each post type"
2115
  msgstr ""
2116
 
2117
+ #: admin/html/whats-new.php:162
2118
  msgid "Login Redirect showing blank page is fixed"
2119
  msgstr ""
2120
 
2121
+ #: admin/html/whats-new.php:164
2122
  msgid ""
2123
  "If \"Previous Page\" was set for redirection, login redirect was "
2124
  "redirecting to blank page for users who hit login page directly"
2125
  msgstr ""
2126
 
2127
+ #: admin/html/whats-new.php:173
2128
  msgid "Enhanced Login Redirect to redirect users to previous page"
2129
  msgstr ""
2130
 
2131
+ #: admin/html/whats-new.php:175
2132
  msgid ""
2133
  "You can choose Previous Page as Login Redirect page settings now to "
2134
  "redirect users to the page from which they went for Login. "
2135
  msgstr ""
2136
 
2137
+ #: admin/html/whats-new.php:178
2138
  msgid "Email HTML links not Rendreing properly issue is fixed"
2139
  msgstr ""
2140
 
2141
+ #: admin/html/whats-new.php:180
2142
  msgid ""
2143
  "For some clients emails were not rendering the HTML links properly, this is "
2144
  "now fixed"
2145
  msgstr ""
2146
 
2147
+ #: admin/html/whats-new.php:183
2148
  msgid "Form Builder : Form Field's Help text styles not showing properly"
2149
  msgstr ""
2150
 
2151
+ #: admin/html/whats-new.php:185
2152
  msgid "Help texts styling is now fixed and much easier to read and understand"
2153
  msgstr ""
2154
 
2155
+ #: admin/html/whats-new.php:188
2156
  msgid "Various other code improvements"
2157
  msgstr ""
2158
 
2159
+ #: admin/html/whats-new.php:199
2160
  msgid "Dashboard Post Listing now supports multiple post types"
2161
  msgstr ""
2162
 
2163
+ #: admin/html/whats-new.php:201
2164
  msgid ""
2165
  "Now you can show multiple post type in user dashboard using shortcode like "
2166
  "this : <br><b>[wpuf_dashboard post_type=\"post,page,custom_type\"]</b> "
2167
  msgstr ""
2168
 
2169
+ #: admin/html/whats-new.php:204
2170
  msgid "Added Login Redirect Settings"
2171
  msgstr ""
2172
 
2173
+ #: admin/html/whats-new.php:206
2174
  msgid ""
2175
  "You can now set a page from <i>WPUF Settings > Login/Registration > "
2176
  "Redirect after Login</i>. When login redirection is active the user will be "
2177
  "redirected to this page after login."
2178
  msgstr ""
2179
 
2180
+ #: admin/html/whats-new.php:209
2181
  msgid "Image Upload field button text can be changed"
2182
  msgstr ""
2183
 
2184
+ #: admin/html/whats-new.php:211
2185
  msgid ""
2186
  "The upload button text can now be changed for image upload fields which "
2187
  "defaults to \"Select Image\" if not set. "
2188
  msgstr ""
2189
 
2190
+ #: admin/html/whats-new.php:214
2191
  msgid "Multi Step Form styles made compatible with more themes"
2192
  msgstr ""
2193
 
2194
+ #: admin/html/whats-new.php:216
2195
  msgid "Multi Step form can now be styled more easily with other themes "
2196
  msgstr ""
2197
 
2198
+ #: admin/html/whats-new.php:219
2199
  msgid "Required field condition for google map not working is fixed"
2200
  msgstr ""
2201
 
2202
+ #: admin/html/whats-new.php:221
2203
  msgid ""
2204
  "If Google Map field was set as required users were able to submit form "
2205
  "without changing the default value."
2206
  msgstr ""
2207
 
2208
+ #: admin/html/whats-new.php:230
2209
  msgid "Admin form builder is now fully responsive."
2210
  msgstr ""
2211
 
2212
+ #: admin/html/whats-new.php:232
2213
  msgid ""
2214
  "Now you can edit forms from your mobile devices directly. Our improved "
2215
  "responsive layouts of form builder makes it easy for you to build forms on "
2216
  "the go."
2217
  msgstr ""
2218
 
2219
+ #: admin/html/whats-new.php:235
2220
  msgid "Added color schemes for creating attractive form layouts."
2221
  msgstr ""
2222
 
2223
+ #: admin/html/whats-new.php:237
2224
  msgid ""
2225
  "We have added 3 new color schemes for the form layouts which you can choose "
2226
  "from each form's new display settings."
2227
  msgstr ""
2228
 
2229
+ #: admin/html/whats-new.php:240
2230
  msgid "Restrict Free subscription pack to be enabled multiple times "
2231
  msgstr ""
2232
 
2233
+ #: admin/html/whats-new.php:242
2234
  msgid ""
2235
  "Free subscription packs now can only be purchased once and the limit "
2236
  "applies properly"
2237
  msgstr ""
2238
 
2239
+ #: admin/html/whats-new.php:245
2240
  msgid "Various other bug fixes and improvements were made "
2241
  msgstr ""
2242
 
2243
+ #: admin/html/whats-new.php:247
2244
  msgid "Please see the change log to see full details."
2245
  msgstr ""
2246
 
2247
+ #: admin/html/whats-new.php:256
2248
  msgid "Added upgrade function for default category"
2249
  msgstr ""
2250
 
2251
+ #: admin/html/whats-new.php:258
2252
  msgid "Upgrader added to upgrade previously set default post category."
2253
  msgstr ""
2254
 
2255
+ #: admin/html/whats-new.php:261
2256
  msgid "Subscription pack cannot be canceled"
2257
  msgstr ""
2258
 
2259
+ #: admin/html/whats-new.php:263
2260
  msgid ""
2261
  "Fixed recurring subscription pack cannot be canceled from my account page "
2262
  "in subscription details section."
2263
  msgstr ""
2264
 
2265
+ #: admin/html/whats-new.php:266
2266
  msgid "page installer admin notice logic issue"
2267
  msgstr ""
2268
 
2269
+ #: admin/html/whats-new.php:268
2270
  msgid ""
2271
  "Fixed page installer admin notice logic problem due to new payment settings "
2272
  "default value not set."
2273
  msgstr ""
2274
 
2275
+ #: admin/html/whats-new.php:278
2276
  msgid "Setup Wizard"
2277
  msgstr ""
2278
 
2279
+ #: admin/html/whats-new.php:280
2280
  msgid "Setup Wizard added to turn off payment options and install pages."
2281
  msgstr ""
2282
 
2283
+ #: admin/html/whats-new.php:284
2284
  msgid "Multi-select Category"
2285
  msgstr ""
2286
 
2287
+ #: admin/html/whats-new.php:286
2288
  msgid "Add multi-select to default category in post form settings."
2289
  msgstr ""
2290
 
2291
+ #: admin/html/whats-new.php:290
2292
  msgid "Select Text option for Taxonomy"
2293
  msgstr ""
2294
 
2295
+ #: admin/html/whats-new.php:292
2296
  msgid ""
2297
  "Add Select Text option for taxonomy fields. Now you can add default text "
2298
  "with empty value as first option for Taxonomy dropdown."
2299
  msgstr ""
2300
 
2301
+ #: admin/html/whats-new.php:295
2302
  msgid "Taxonomy Checkbox Inline"
2303
  msgstr ""
2304
 
2305
+ #: admin/html/whats-new.php:297
2306
  msgid ""
2307
  "Added checkbox inline option to taxonomy checkbox. You can now display "
2308
  "Taxonomy checkbox fields inline."
2309
  msgstr ""
2310
 
2311
+ #: admin/html/whats-new.php:307
2312
  msgid "Manage schedule for form submission"
2313
  msgstr ""
2314
 
2315
+ #: admin/html/whats-new.php:309
2316
  msgid ""
2317
  "Do not accept form submission if the current date is not between the date "
2318
  "range of the schedule."
2319
  msgstr ""
2320
 
2321
+ #: admin/html/whats-new.php:313
2322
  msgid "Restrict form submission based on the user roles"
2323
  msgstr ""
2324
 
2325
+ #: admin/html/whats-new.php:315
2326
  msgid ""
2327
  "Restrict form submission based on the user roles. Now you can manage user "
2328
  "role base permission on form submission."
2329
  msgstr ""
2330
 
2331
+ #: admin/html/whats-new.php:319
2332
  msgid "Limit how many entries a form will accept"
2333
  msgstr ""
2334
 
2335
+ #: admin/html/whats-new.php:321
2336
  msgid ""
2337
  "Limit how many entries a form will accept and display a custom message when "
2338
  "that limit is reached."
2339
  msgstr ""
2340
 
2341
+ #: admin/html/whats-new.php:325
2342
  msgid "Show/hide Admin Bar"
2343
  msgstr ""
2344
 
2345
+ #: admin/html/whats-new.php:327
2346
  msgid "Control the admin bar visibility based on user roles."
2347
  msgstr ""
2348
 
2349
+ #: admin/html/whats-new.php:331
2350
  msgid "Ajax Login widget"
2351
  msgstr ""
2352
 
2353
+ #: admin/html/whats-new.php:333
2354
  msgid ""
2355
  "Login user is more simple now with Ajax Login Widget. The simple ajax login "
2356
  "form do not required page loading for login."
2357
  msgstr ""
2358
 
2359
+ #: admin/html/whats-new.php:337
2360
  msgid "Form submission with Captcha field"
2361
  msgstr ""
2362
 
2363
+ #: admin/html/whats-new.php:339
2364
  msgid "Form field validation process updated if form submits with captcha field."
2365
  msgstr ""
2366
 
2367
+ #: admin/html/whats-new.php:353
2368
  msgid "What's New in WPUF?"
2369
  msgstr ""
2370
 
2392
  "and saved!"
2393
  msgstr ""
2394
 
2395
+ #: admin/installer.php:77 admin/settings-options.php:23
2396
+ #: includes/free/admin/shortcode-button.php:82 wpuf-functions.php:1500
2397
  msgid "Dashboard"
2398
  msgstr ""
2399
 
2400
+ #: admin/installer.php:78 includes/free/admin/shortcode-button.php:86
2401
  msgid "Account"
2402
  msgstr ""
2403
 
2404
+ #: admin/installer.php:82 includes/class-login-widget.php:234
2405
  #: includes/free/admin/shortcode-button.php:94
2406
  msgid "Login"
2407
  msgstr ""
2408
 
2409
+ #: admin/installer.php:88 class/subscription.php:356 class/subscription.php:376
2410
  #: class/subscription.php:377 class/subscription.php:378
2411
+ #: includes/free/admin/shortcode-button.php:102 wpuf-functions.php:1503
2412
  msgid "Subscription"
2413
  msgstr ""
2414
 
2415
+ #: admin/installer.php:88
2416
  msgid "[wpuf_sub_pack]"
2417
  msgstr ""
2418
 
2419
+ #: admin/installer.php:89 templates/dashboard/posts.php:82
2420
  #: templates/dashboard.php:122
2421
  msgid "Payment"
2422
  msgstr ""
2423
 
2424
+ #: admin/installer.php:89
2425
  msgid "Please select a gateway for payment"
2426
  msgstr ""
2427
 
2428
+ #: admin/installer.php:90
2429
  msgid "Thank You"
2430
  msgstr ""
2431
 
2432
+ #: admin/installer.php:90
2433
  msgid ""
2434
  "<h1>Payment is complete</h1><p>Congratulations, your payment has been "
2435
  "completed!</p>"
2436
  msgstr ""
2437
 
2438
+ #: admin/installer.php:91
2439
  msgid "Order Received"
2440
  msgstr ""
2441
 
2442
+ #: admin/installer.php:91
2443
  msgid ""
2444
  "Hi, we have received your order. We will validate the order and will take "
2445
  "necessary steps to move forward."
2446
  msgstr ""
2447
 
2448
+ #: admin/installer.php:173 includes/free/admin/shortcode-button.php:98
2449
  msgid "Registration"
2450
  msgstr ""
2451
 
2452
+ #: admin/installer.php:182
2453
  msgid "Sample Form"
2454
  msgstr ""
2455
 
2503
  msgid "Draft"
2504
  msgstr ""
2505
 
2506
+ #: admin/posting.php:66 class/asset-loader.php:51 class/render-form.php:1677
2507
+ #: wpuf.php:521
2508
  msgid "Are you sure?"
2509
  msgstr ""
2510
 
2511
+ #: admin/posting.php:72 class/asset-loader.php:57 wpuf.php:529
2512
  msgid "Allowed Files"
2513
  msgstr ""
2514
 
2515
+ #: admin/posting.php:75 class/asset-loader.php:60 wpuf.php:535
2516
  msgid "Maximum number of files reached!"
2517
  msgstr ""
2518
 
2519
+ #: admin/posting.php:76 class/asset-loader.php:61 wpuf.php:536
2520
  msgid "The file you have uploaded exceeds the file size limit. Please try again."
2521
  msgstr ""
2522
 
2523
+ #: admin/posting.php:77 class/asset-loader.php:62 wpuf.php:537
2524
  msgid "You have uploaded an incorrect file type. Please try again."
2525
  msgstr ""
2526
 
3145
  "redirected to the selected page."
3146
  msgstr ""
3147
 
3148
+ #: admin/settings-options.php:345
3149
+ msgid "reCAPTCHA in Login Form"
3150
+ msgstr ""
3151
+
3152
+ #: admin/settings-options.php:346
3153
+ msgid ""
3154
+ "If enabled, users have to verify reCAPTCHA in login page. Also, make sure "
3155
+ "that reCAPTCHA is configured properly from <b>General Options</b>"
3156
+ msgstr ""
3157
+
3158
+ #: admin/settings-options.php:356
3159
  msgid "Enable payments on your site."
3160
  msgstr ""
3161
 
3162
+ #: admin/settings-options.php:362
3163
  msgid "Subscription Pack Page"
3164
  msgstr ""
3165
 
3166
+ #: admin/settings-options.php:363
3167
  msgid "Select the page where <code>[wpuf_sub_pack]</code> located."
3168
  msgstr ""
3169
 
3170
+ #: admin/settings-options.php:369
3171
  msgid "Subscription at registration"
3172
  msgstr ""
3173
 
3174
+ #: admin/settings-options.php:370
3175
  msgid "Registration time redirect to subscription page"
3176
  msgstr ""
3177
 
3178
+ #: admin/settings-options.php:375
3179
  msgid "Currency"
3180
  msgstr ""
3181
 
3182
+ #: admin/settings-options.php:382
3183
  msgid "Currency Position"
3184
  msgstr ""
3185
 
3186
+ #: admin/settings-options.php:386
3187
  msgid "Left"
3188
  msgstr ""
3189
 
3190
+ #: admin/settings-options.php:387
3191
  msgid "Right"
3192
  msgstr ""
3193
 
3194
+ #: admin/settings-options.php:388
3195
  msgid "Left with space"
3196
  msgstr ""
3197
 
3198
+ #: admin/settings-options.php:389
3199
  msgid "Right with space"
3200
  msgstr ""
3201
 
3202
+ #: admin/settings-options.php:394
3203
  msgid "Thousand Separator"
3204
  msgstr ""
3205
 
3206
+ #: admin/settings-options.php:395
3207
  msgid "This sets the thousand separator of displayed prices."
3208
  msgstr ""
3209
 
3210
+ #: admin/settings-options.php:403
3211
  msgid "Decimal Separator"
3212
  msgstr ""
3213
 
3214
+ #: admin/settings-options.php:404
3215
  msgid "This sets the decimal separator of displayed prices."
3216
  msgstr ""
3217
 
3218
+ #: admin/settings-options.php:411
3219
  msgid "Number of Decimals"
3220
  msgstr ""
3221
 
3222
+ #: admin/settings-options.php:412
3223
  msgid "This sets the number of decimal points shown in displayed prices."
3224
  msgstr ""
3225
 
3226
+ #: admin/settings-options.php:422
3227
  msgid "Enable demo/sandbox mode"
3228
  msgstr ""
3229
 
3230
+ #: admin/settings-options.php:423
3231
  msgid "When sandbox mode is active, all payment gateway will be used in demo mode"
3232
  msgstr ""
3233
 
3234
+ #: admin/settings-options.php:429
3235
  msgid "Payment Page"
3236
  msgstr ""
3237
 
3238
+ #: admin/settings-options.php:430
3239
  msgid "This page will be used to process payment options"
3240
  msgstr ""
3241
 
3242
+ #: admin/settings-options.php:436
3243
  msgid "Payment Success Page"
3244
  msgstr ""
3245
 
3246
+ #: admin/settings-options.php:437 lib/gateway/bank.php:37
3247
  msgid "After payment users will be redirected here"
3248
  msgstr ""
3249
 
3250
+ #: admin/settings-options.php:443
3251
  msgid "Payment Gateways"
3252
  msgstr ""
3253
 
3254
+ #: admin/settings-options.php:444
3255
  msgid "Active payment gateways"
3256
  msgstr ""
3257
 
3258
+ #: admin/settings-options.php:452
3259
  msgid "<span class=\"dashicons dashicons-universal-access-alt\"></span> Guest Email"
3260
  msgstr ""
3261
 
3262
+ #: admin/settings-options.php:458
3263
  msgid "Guest mail subject"
3264
  msgstr ""
3265
 
3266
+ #: admin/settings-options.php:459
3267
  msgid "This sets the subject of the emails sent to guest users"
3268
  msgstr ""
3269
 
3270
+ #: admin/settings-options.php:466
3271
  msgid "Guest mail body"
3272
  msgstr ""
3273
 
3274
+ #: admin/settings-options.php:467
3275
  msgid ""
3276
  "This sets the body of the emails sent to guest users. Please DON'T edit the "
3277
  "<code>{activation_link}</code> part, you can use {sitename} too."
3278
  msgstr ""
3279
 
3280
+ #: admin/settings-options.php:484
3281
  msgid "Post Types"
3282
  msgstr ""
3283
 
3284
+ #: admin/settings-options.php:485
3285
  msgid "Select the post types you will allow users to export."
3286
  msgstr ""
3287
 
3288
+ #: admin/settings-options.php:508
3289
  msgid ""
3290
  "Select profile/registration forms for user roles. These forms will be used "
3291
  "to populate extra edit profile fields in backend."
3292
  msgstr ""
3293
 
3294
+ #: admin/settings-options.php:519
3295
  msgid " - select - "
3296
  msgstr ""
3297
 
3384
  msgid "Install Now"
3385
  msgstr ""
3386
 
3387
+ #: class/asset-loader.php:31 wpuf.php:432
3388
  msgid "is required"
3389
  msgstr ""
3390
 
3391
+ #: class/asset-loader.php:32 wpuf.php:433
3392
  msgid "does not match"
3393
  msgstr ""
3394
 
3395
+ #: class/asset-loader.php:33 wpuf.php:434
3396
  msgid "is not valid"
3397
  msgstr ""
3398
 
3399
+ #: class/asset-loader.php:45 wpuf.php:511
3400
  msgid "Please fix the errors to proceed"
3401
  msgstr ""
3402
 
3403
+ #: class/asset-loader.php:47 wpuf.php:513
3404
  msgid "Word limit reached"
3405
  msgstr ""
3406
 
3456
  msgid "Post Deleted"
3457
  msgstr ""
3458
 
3459
+ #: class/frontend-dashboard.php:122
3460
  msgid "Author Info"
3461
  msgstr ""
3462
 
3463
+ #: class/frontend-dashboard.php:126 includes/free/edit-user.php:98
3464
  msgid "%s"
3465
  msgstr ""
3466
 
3467
+ #: class/frontend-dashboard.php:158 templates/dashboard/posts.php:30
3468
  msgid "You are not the post author. Cheeting huh!"
3469
  msgstr ""
3470
 
3497
  msgid "You can't edit a post while in pending mode."
3498
  msgstr ""
3499
 
3500
+ #: class/frontend-form-post.php:286 includes/free/class-login.php:390
3501
  msgid "Empty reCaptcha Field"
3502
  msgstr ""
3503
 
3547
  msgstr ""
3548
 
3549
  #: class/payment.php:139 includes/class-customizer.php:59
3550
+ #: wpuf-functions.php:1504
3551
  msgid "Billing Address"
3552
  msgstr ""
3553
 
3567
  msgid "Pack Price "
3568
  msgstr ""
3569
 
3570
+ #: class/payment.php:186 class/payment.php:232 includes/class-privacy.php:351
3571
  msgid "Total"
3572
  msgstr ""
3573
 
3662
  msgid "Really Simple Captcha validation failed"
3663
  msgstr ""
3664
 
3665
+ #: class/render-form.php:109
3666
  msgid "noCaptcha reCAPTCHA validation failed"
3667
  msgstr ""
3668
 
3669
+ #: class/render-form.php:120
3670
  msgid "reCAPTCHA validation failed"
3671
  msgstr ""
3672
 
3673
+ #: class/render-form.php:132
3674
  msgid "Invisible reCAPTCHA validation failed"
3675
  msgstr ""
3676
 
3677
+ #: class/render-form.php:347
3678
  msgid "Your selected form is no longer available."
3679
  msgstr ""
3680
 
3681
+ #: class/render-form.php:352
3682
  msgid "Please make sure you've published your form."
3683
  msgstr ""
3684
 
3685
+ #: class/render-form.php:1321 includes/free/edit-profile.php:194
3686
+ #: templates/registration-form.php:65
3687
+ msgid "Confirm Password"
3688
+ msgstr ""
3689
+
3690
+ #: class/render-form.php:1345 includes/free/edit-profile.php:203
3691
+ #: templates/dashboard/edit-profile.php:59
3692
  msgid "Strength indicator"
3693
  msgstr ""
3694
 
3695
+ #: class/render-form.php:1410
3696
  msgid "-- Select --"
3697
  msgstr ""
3698
 
3699
+ #: class/render-form.php:1475
3700
  msgid "This field is no longer available."
3701
  msgstr ""
3702
 
3703
+ #: class/render-form.php:1677 class/transactions-list-table.php:115
3704
  #: class/transactions-list-table.php:181 includes/free/edit-user.php:101
3705
  #: templates/dashboard/posts.php:162 templates/dashboard.php:257
3706
  msgid "Delete"
3766
  msgid "<p><i>To cancel the pack, press the following cancel button</i></p>"
3767
  msgstr ""
3768
 
3769
+ #: class/subscription.php:815
3770
+ msgid "Day"
3771
+ msgid_plural "Days"
3772
+ msgstr[0] ""
3773
+ msgstr[1] ""
3774
+
3775
+ #: class/subscription.php:816
3776
+ msgid "Week"
3777
+ msgid_plural "Weeks"
3778
+ msgstr[0] ""
3779
+ msgstr[1] ""
3780
+
3781
+ #: class/subscription.php:817
3782
+ msgid "Month"
3783
+ msgid_plural "Months"
3784
+ msgstr[0] ""
3785
+ msgstr[1] ""
3786
+
3787
+ #: class/subscription.php:818
3788
+ msgid "Year"
3789
+ msgid_plural "Years"
3790
+ msgstr[0] ""
3791
+ msgstr[1] ""
3792
+
3793
+ #: class/subscription.php:840
3794
  msgid "One time payment"
3795
  msgstr ""
3796
 
3797
+ #: class/subscription.php:847
3798
  msgid "Every"
3799
  msgstr ""
3800
 
3801
+ #: class/subscription.php:848
3802
+ msgid "for"
3803
+ msgstr ""
3804
+
3805
+ #: class/subscription.php:848
3806
+ msgid "installments"
3807
+ msgstr ""
3808
+
3809
+ #: class/subscription.php:854
3810
  msgid "Trial available for first %s %s"
3811
  msgstr ""
3812
 
3813
+ #: class/subscription.php:858
3814
  msgid "Buy Now"
3815
  msgstr ""
3816
 
3817
+ #: class/subscription.php:862
3818
  msgid "Sign Up"
3819
  msgstr ""
3820
 
3821
+ #: class/subscription.php:925
3822
  msgid "There is a <strong>%s</strong> charge to add a new post."
3823
  msgstr ""
3824
 
3825
+ #: class/subscription.php:942
3826
  msgid ""
3827
  "Your Subscription pack exhausted. There is a <strong>%s</strong> charge to "
3828
  "add a new post."
3829
  msgstr ""
3830
 
3831
+ #: class/subscription.php:987
3832
  msgid "You must <a href=\"%s\">purchase a pack</a> before posting"
3833
  msgstr ""
3834
 
3858
  msgid "Cost"
3859
  msgstr ""
3860
 
3861
+ #: class/transactions-list-table.php:44 includes/class-privacy.php:347
3862
  msgid "Tax"
3863
  msgstr ""
3864
 
3865
+ #: class/transactions-list-table.php:45 includes/class-privacy.php:355
3866
+ #: includes/class-privacy.php:425
3867
  msgid "Post ID"
3868
  msgstr ""
3869
 
3870
+ #: class/transactions-list-table.php:46 includes/class-privacy.php:359
3871
+ #: includes/class-privacy.php:480
3872
  msgid "Pack ID"
3873
  msgstr ""
3874
 
4021
  msgid "Optional"
4022
  msgstr ""
4023
 
4024
+ #: includes/class-dokan-integration.php:37 wpuf-functions.php:1501
4025
  msgid "Posts"
4026
  msgstr ""
4027
 
4069
  msgid "Subscription ID"
4070
  msgstr ""
4071
 
4072
+ #: includes/class-list-table-subscribers.php:46 includes/class-privacy.php:335
4073
  msgid "Transaction ID"
4074
  msgstr ""
4075
 
4125
  msgid "Someone has requested a password reset for the following account:"
4126
  msgstr ""
4127
 
4128
+ #: includes/class-login-widget.php:137 includes/free/class-login.php:832
4129
  msgid "Username: %s"
4130
  msgstr ""
4131
 
4132
+ #: includes/class-login-widget.php:138 includes/free/class-login.php:833
4133
  msgid "If this was a mistake, just ignore this email and nothing will happen."
4134
  msgstr ""
4135
 
4136
+ #: includes/class-login-widget.php:139 includes/free/class-login.php:834
4137
  msgid "To reset your password, visit the following address:"
4138
  msgstr ""
4139
 
4140
+ #: includes/class-login-widget.php:144 includes/free/class-login.php:843
4141
  msgid "[%s] Password Reset"
4142
  msgstr ""
4143
 
4148
  msgstr ""
4149
 
4150
  #: includes/class-login-widget.php:206 includes/class-login-widget.php:238
4151
+ #: includes/free/class-login.php:275 includes/free/class-registration.php:124
4152
  #: includes/free/form-element.php:345 templates/registration-form.php:72
4153
  msgid "Register"
4154
  msgstr ""
4190
  msgid "Password"
4191
  msgstr ""
4192
 
4193
+ #: includes/class-login-widget.php:267 templates/login-form.php:41
4194
  msgid "Remember Me"
4195
  msgstr ""
4196
 
4197
+ #: includes/class-login-widget.php:268 includes/free/class-login.php:271
4198
+ #: includes/free/class-login.php:327 templates/login-form.php:45
4199
  msgid "Log In"
4200
  msgstr ""
4201
 
4471
  msgid "WPUF Subscription Data"
4472
  msgstr ""
4473
 
4474
+ #: includes/class-privacy.php:110 includes/class-privacy.php:331
4475
  msgid "WPUF Transaction Data"
4476
  msgstr ""
4477
 
4478
+ #: includes/class-privacy.php:115 includes/class-privacy.php:421
4479
  msgid "WPUF Post Data"
4480
  msgstr ""
4481
 
4495
  msgid "Zip"
4496
  msgstr ""
4497
 
4498
+ #: includes/class-privacy.php:339
4499
  msgid "Payment Status"
4500
  msgstr ""
4501
 
4502
+ #: includes/class-privacy.php:343
4503
  msgid "Subtotal"
4504
  msgstr ""
4505
 
4506
+ #: includes/class-privacy.php:367 includes/free/edit-profile.php:110
4507
  msgid "Last Name"
4508
  msgstr ""
4509
 
4510
+ #: includes/class-privacy.php:375
4511
  msgid "Payment Type"
4512
  msgstr ""
4513
 
4514
+ #: includes/class-privacy.php:379
4515
  msgid "payer_address"
4516
  msgstr ""
4517
 
4518
+ #: includes/class-privacy.php:387
4519
  msgid "Transaction Date"
4520
  msgstr ""
4521
 
4522
+ #: includes/class-privacy.php:433
4523
  msgid "Post URL"
4524
  msgstr ""
4525
 
4526
+ #: includes/class-privacy.php:437
4527
  msgid "Post Date"
4528
  msgstr ""
4529
 
4530
+ #: includes/class-privacy.php:484
4531
  msgid "Pack Title"
4532
  msgstr ""
4533
 
4534
+ #: includes/class-privacy.php:488
4535
  msgid "Expiry"
4536
  msgstr ""
4537
 
4656
  msgid " Add Form"
4657
  msgstr ""
4658
 
4659
+ #: includes/free/class-login.php:279
4660
  msgid "Lost Password"
4661
  msgstr ""
4662
 
4663
+ #: includes/free/class-login.php:317
4664
  msgid ""
4665
  "Please enter your username or email address. You will receive a link to "
4666
  "create a new password via email."
4667
  msgstr ""
4668
 
4669
+ #: includes/free/class-login.php:327
4670
  msgid "Your password has been reset. %s"
4671
  msgstr ""
4672
 
4673
+ #: includes/free/class-login.php:331
4674
  msgid "Enter your new password below.."
4675
  msgstr ""
4676
 
4677
+ #: includes/free/class-login.php:341
4678
  msgid "Check your e-mail for the confirmation link."
4679
  msgstr ""
4680
 
4681
+ #: includes/free/class-login.php:345
4682
  msgid "You are now logged out."
4683
  msgstr ""
4684
 
4685
+ #: includes/free/class-login.php:379 includes/free/class-registration.php:212
4686
+ msgid "Username is required."
4687
+ msgstr ""
4688
+
4689
+ #: includes/free/class-login.php:384 includes/free/class-registration.php:217
4690
+ msgid "Password is required."
4691
+ msgstr ""
4692
+
4693
+ #: includes/free/class-login.php:406 includes/free/class-registration.php:192
4694
  #: includes/free/class-registration.php:197
4695
  #: includes/free/class-registration.php:202
4696
  #: includes/free/class-registration.php:207
4703
  msgid "Error"
4704
  msgstr ""
4705
 
4706
+ #: includes/free/class-login.php:406 includes/free/class-registration.php:242
 
 
 
 
 
 
 
 
4707
  msgid "A user could not be found with this email address."
4708
  msgstr ""
4709
 
4710
+ #: includes/free/class-login.php:536
4711
  msgid "Please enter your password."
4712
  msgstr ""
4713
 
4714
+ #: includes/free/class-login.php:541
4715
  msgid "Passwords do not match."
4716
  msgstr ""
4717
 
4718
+ #: includes/free/class-login.php:584
4719
  msgid "Enter a username or e-mail address."
4720
  msgstr ""
4721
 
4722
+ #: includes/free/class-login.php:592
4723
  msgid "There is no user registered with that email address."
4724
  msgstr ""
4725
 
4726
+ #: includes/free/class-login.php:610
4727
  msgid "Invalid username or e-mail."
4728
  msgstr ""
4729
 
4730
+ #: includes/free/class-login.php:624
4731
  msgid "Password reset is not allowed for this user"
4732
  msgstr ""
4733
 
4734
+ #: includes/free/class-login.php:678 includes/free/class-login.php:690
4735
  msgid "Invalid key"
4736
  msgstr ""
4737
 
4738
+ #: includes/free/class-login.php:683
4739
  msgid "Invalid Login"
4740
  msgstr ""
4741
 
4742
+ #: includes/free/class-login.php:714
4743
  msgid ""
4744
  "<strong>Your account is not active.</strong><br>Please check your email for "
4745
  "activation link. <br><a href=\"%s\">Click here</a> to resend the activation "
4746
  "link"
4747
  msgstr ""
4748
 
4749
+ #: includes/free/class-login.php:770 includes/free/class-login.php:786
4750
  msgid "Your account has been activated"
4751
  msgstr ""
4752
 
4753
+ #: includes/free/class-login.php:830
4754
  msgid "Someone requested that the password be reset for the following account:"
4755
  msgstr ""
4756
 
4757
+ #: includes/free/class-login.php:849
4758
  msgid "The e-mail could not be sent."
4759
  msgstr ""
4760
 
4761
+ #: includes/free/class-login.php:849
4762
  msgid "Possible reason: your host may have disabled the mail() function."
4763
  msgstr ""
4764
 
4837
  "be shown publicly."
4838
  msgstr ""
4839
 
4840
+ #: includes/free/edit-profile.php:188 templates/dashboard/edit-profile.php:54
4841
  msgid "New Password"
4842
  msgstr ""
4843
 
 
 
 
 
4844
  #: includes/free/edit-profile.php:196
4845
  msgid "Type your new password again."
4846
  msgstr ""
4850
  msgstr ""
4851
 
4852
  #: includes/free/edit-profile.php:227 includes/free/form-element.php:346
4853
+ #: templates/dashboard/edit-profile.php:91
4854
  msgid "Update Profile"
4855
  msgstr ""
4856
 
5168
  msgid "Skip this step"
5169
  msgstr ""
5170
 
5171
+ #: includes/setup-wizard.php:324
5172
  msgid "Thank you!"
5173
  msgstr ""
5174
 
5175
+ #: includes/setup-wizard.php:329
5176
  msgid "Welcome to Awesomeness!"
5177
  msgstr ""
5178
 
5179
+ #: includes/setup-wizard.php:333
5180
  msgid "Go to Full Settings"
5181
  msgstr ""
5182
 
5285
  "href=\"%3$s\">edit your password and profile</a>."
5286
  msgstr ""
5287
 
5288
+ #: templates/dashboard/edit-profile.php:10
5289
  msgid "Profile updated successfully!"
5290
  msgstr ""
5291
 
5292
+ #: templates/dashboard/edit-profile.php:11
5293
  msgid "Something went wrong!"
5294
  msgstr ""
5295
 
5296
+ #: templates/dashboard/edit-profile.php:15
5297
  msgid "First Name "
5298
  msgstr ""
5299
 
5300
+ #: templates/dashboard/edit-profile.php:23
5301
  msgid "Last Name "
5302
  msgstr ""
5303
 
5304
+ #: templates/dashboard/edit-profile.php:33
5305
  msgid "Email Address "
5306
  msgstr ""
5307
 
5308
+ #: templates/dashboard/edit-profile.php:43
5309
  msgid "Current Password"
5310
  msgstr ""
5311
 
5312
+ #: templates/dashboard/edit-profile.php:48
5313
  msgid "Leave this field empty to keep your password unchanged."
5314
  msgstr ""
5315
 
5316
+ #: templates/dashboard/edit-profile.php:80
5317
  msgid "Confirm New Password"
5318
  msgstr ""
5319
 
5362
  msgstr ""
5363
 
5364
  #: templates/dashboard.php:17
5365
+ msgid "You have created <span>%d</span> (%s)"
5366
  msgstr ""
5367
 
5368
  #: templates/dokan/new-post.php:7
5465
  msgid "CSV"
5466
  msgstr ""
5467
 
5468
+ #: wpuf-functions.php:1502
5469
  msgid "Edit Profile"
5470
  msgstr ""
5471
 
5472
+ #: wpuf-functions.php:1609
5473
  msgid "United Arab Emirates Dirham"
5474
  msgstr ""
5475
 
5476
+ #: wpuf-functions.php:1610
5477
  msgid "Australian Dollars"
5478
  msgstr ""
5479
 
5480
+ #: wpuf-functions.php:1611
5481
  msgid "Argentine Peso"
5482
  msgstr ""
5483
 
5484
+ #: wpuf-functions.php:1612
5485
  msgid "Bangladeshi Taka"
5486
  msgstr ""
5487
 
5488
+ #: wpuf-functions.php:1613
5489
  msgid "Brazilian Real"
5490
  msgstr ""
5491
 
5492
+ #: wpuf-functions.php:1614
5493
  msgid "Bulgarian Lev"
5494
  msgstr ""
5495
 
5496
+ #: wpuf-functions.php:1615
5497
  msgid "Canadian Dollars"
5498
  msgstr ""
5499
 
5500
+ #: wpuf-functions.php:1616
5501
  msgid "Chilean Peso"
5502
  msgstr ""
5503
 
5504
+ #: wpuf-functions.php:1617
5505
  msgid "Chinese Yuan"
5506
  msgstr ""
5507
 
5508
+ #: wpuf-functions.php:1618
5509
  msgid "Colombian Peso"
5510
  msgstr ""
5511
 
5512
+ #: wpuf-functions.php:1619
5513
  msgid "Czech Koruna"
5514
  msgstr ""
5515
 
5516
+ #: wpuf-functions.php:1620
5517
  msgid "Danish Krone"
5518
  msgstr ""
5519
 
5520
+ #: wpuf-functions.php:1621
5521
  msgid "Dominican Peso"
5522
  msgstr ""
5523
 
5524
+ #: wpuf-functions.php:1622
5525
  msgid "Algerian Dinar"
5526
  msgstr ""
5527
 
5528
+ #: wpuf-functions.php:1623
5529
  msgid "Euros"
5530
  msgstr ""
5531
 
5532
+ #: wpuf-functions.php:1624
5533
  msgid "Hong Kong Dollar"
5534
  msgstr ""
5535
 
5536
+ #: wpuf-functions.php:1625
5537
  msgid "Croatia kuna"
5538
  msgstr ""
5539
 
5540
+ #: wpuf-functions.php:1626
5541
  msgid "Hungarian Forint"
5542
  msgstr ""
5543
 
5544
+ #: wpuf-functions.php:1627
5545
  msgid "Icelandic krona"
5546
  msgstr ""
5547
 
5548
+ #: wpuf-functions.php:1628
5549
  msgid "Indonesia Rupiah"
5550
  msgstr ""
5551
 
5552
+ #: wpuf-functions.php:1629
5553
  msgid "Indian Rupee"
5554
  msgstr ""
5555
 
5556
+ #: wpuf-functions.php:1630
5557
  msgid "Nepali Rupee"
5558
  msgstr ""
5559
 
5560
+ #: wpuf-functions.php:1631
5561
  msgid "Israeli Shekel"
5562
  msgstr ""
5563
 
5564
+ #: wpuf-functions.php:1632
5565
  msgid "Japanese Yen"
5566
  msgstr ""
5567
 
5568
+ #: wpuf-functions.php:1633
5569
  msgid "Lao Kip"
5570
  msgstr ""
5571
 
5572
+ #: wpuf-functions.php:1634
5573
  msgid "South Korean Won"
5574
  msgstr ""
5575
 
5576
+ #: wpuf-functions.php:1635
5577
  msgid "Malaysian Ringgits"
5578
  msgstr ""
5579
 
5580
+ #: wpuf-functions.php:1636
5581
  msgid "Mexican Peso"
5582
  msgstr ""
5583
 
5584
+ #: wpuf-functions.php:1637
5585
  msgid "Nigerian Naira"
5586
  msgstr ""
5587
 
5588
+ #: wpuf-functions.php:1638
5589
  msgid "Norwegian Krone"
5590
  msgstr ""
5591
 
5592
+ #: wpuf-functions.php:1639
5593
  msgid "New Zealand Dollar"
5594
  msgstr ""
5595
 
5596
+ #: wpuf-functions.php:1640
5597
  msgid "Omani Rial"
5598
  msgstr ""
5599
 
5600
+ #: wpuf-functions.php:1641
5601
  msgid "Iranian Rial"
5602
  msgstr ""
5603
 
5604
+ #: wpuf-functions.php:1642
5605
  msgid "Pakistani Rupee"
5606
  msgstr ""
5607
 
5608
+ #: wpuf-functions.php:1643
5609
  msgid "Paraguayan Guaraní"
5610
  msgstr ""
5611
 
5612
+ #: wpuf-functions.php:1644
5613
  msgid "Philippine Pesos"
5614
  msgstr ""
5615
 
5616
+ #: wpuf-functions.php:1645
5617
  msgid "Polish Zloty"
5618
  msgstr ""
5619
 
5620
+ #: wpuf-functions.php:1646
5621
  msgid "Pounds Sterling"
5622
  msgstr ""
5623
 
5624
+ #: wpuf-functions.php:1647
5625
  msgid "Romanian Leu"
5626
  msgstr ""
5627
 
5628
+ #: wpuf-functions.php:1648
5629
  msgid "Russian Ruble"
5630
  msgstr ""
5631
 
5632
+ #: wpuf-functions.php:1649
5633
  msgid "Saudi Riyal"
5634
  msgstr ""
5635
 
5636
+ #: wpuf-functions.php:1650
5637
  msgid "Singapore Dollar"
5638
  msgstr ""
5639
 
5640
+ #: wpuf-functions.php:1651
5641
  msgid "South African rand"
5642
  msgstr ""
5643
 
5644
+ #: wpuf-functions.php:1652
5645
  msgid "Swedish Krona"
5646
  msgstr ""
5647
 
5648
+ #: wpuf-functions.php:1653
5649
  msgid "Swiss Franc"
5650
  msgstr ""
5651
 
5652
+ #: wpuf-functions.php:1654
5653
  msgid "Taiwan New Dollars"
5654
  msgstr ""
5655
 
5656
+ #: wpuf-functions.php:1655
5657
  msgid "Thai Baht"
5658
  msgstr ""
5659
 
5660
+ #: wpuf-functions.php:1656
5661
  msgid "Turkish Lira"
5662
  msgstr ""
5663
 
5664
+ #: wpuf-functions.php:1657
5665
  msgid "US Dollar"
5666
  msgstr ""
5667
 
5668
+ #: wpuf-functions.php:1658
5669
  msgid "Vietnamese Dong"
5670
  msgstr ""
5671
 
5672
+ #: wpuf-functions.php:1659
5673
  msgid "Egyptian Pound"
5674
  msgstr ""
5675
 
5676
+ #: wpuf-functions.php:2489
5677
  msgid "None"
5678
  msgstr ""
5679
 
5693
  msgid "Your Post Has Been Expired"
5694
  msgstr ""
5695
 
5696
+ #: wpuf.php:517
5697
  msgid "Please Cancel Your Currently Active Pack first!"
5698
  msgstr ""
5699
 
5700
+ #: wpuf.php:674
5701
  msgid "Error: Nonce verification failed"
5702
  msgstr ""
5703
 
5779
  msgid "Searching&hellip;"
5780
  msgstr ""
5781
 
5782
+ #: wpuf-functions.php:1113
5783
  msgctxt "tag delimiter"
5784
  msgid ","
5785
  msgstr ""
lib/class-wedevs-insights.php CHANGED
@@ -48,7 +48,7 @@ class WPUF_WeDevs_Insights {
48
  *
49
  * @var string
50
  */
51
- private static $api_url = 'http://tracking.wedevs.com/';
52
 
53
  /**
54
  * Initialize the class
48
  *
49
  * @var string
50
  */
51
+ private static $api_url = 'https://tracking.wedevs.com/';
52
 
53
  /**
54
  * Initialize the class
lib/class.settings-api.php CHANGED
File without changes
lib/gateway/bank.php CHANGED
File without changes
lib/recaptchalib.php CHANGED
File without changes
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: Forms, registration, profile-builder, login, membership
5
  Requires at least: 4.0
6
  Tested up to: 4.9.6
7
  Requires PHP: 5.4
8
- Stable tag: 2.8.9
9
  License: GPLv2
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -171,6 +171,21 @@ redirected to the edit page with that post id. Then you'll see the edit post for
171
 
172
  == Changelog ==
173
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
174
  = v2.8.9 (6 June, 2018) =
175
 
176
  * **New:** Added functionality to export and erase WP User Frontend Data.
5
  Requires at least: 4.0
6
  Tested up to: 4.9.6
7
  Requires PHP: 5.4
8
+ Stable tag: 2.8.10
9
  License: GPLv2
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
171
 
172
  == Changelog ==
173
 
174
+ = v2.8.10 (17 July, 2018) =
175
+
176
+ * **New:** Added drag and drop image ordering on image upload field
177
+ * **New:** Added preview option in forms
178
+ * **New:** Added form limit message before form submission
179
+ * **New:** Added option to show reCAPTCHA field in login forms
180
+ * **Improved:** Replace alert with Sweet-alert in frontend
181
+ * **Improved:** Internationalized subscription pack cycle period labels
182
+ * **Fix:** "Select Image" button disappears while uploading multiple images.
183
+ * **Fix:** Showing username while login with wrong password and email
184
+ * **Fix:** Default post category not saving
185
+ * **Fix:** Pages was not being created from setup wizard
186
+ * **Fix:** Separator spacing for multi select and checkbox render view
187
+ * **Fix:** Form id specific posts are not displaying on the dashboard
188
+
189
  = v2.8.9 (6 June, 2018) =
190
 
191
  * **New:** Added functionality to export and erase WP User Frontend Data.
templates/dashboard.php CHANGED
@@ -14,7 +14,7 @@
14
  $labels[] = $post_type_name->label;
15
  }
16
  }
17
- printf( __( 'You have created <span>%d</span> (%ss)', 'wp-user-frontend' ), $dashboard_query->found_posts, implode( 's, ', $dashboard_query->query['post_type'] ) );
18
  ?>
19
  </div>
20
  <?php endif ?>
14
  $labels[] = $post_type_name->label;
15
  }
16
  }
17
+ printf( __( 'You have created <span>%d</span> (%s)', 'wp-user-frontend' ), $dashboard_query->found_posts, implode( ', ', $labels ) );
18
  ?>
19
  </div>
20
  <?php endif ?>
templates/dashboard/edit-profile.php CHANGED
@@ -1,4 +1,9 @@
1
- <?php global $current_user; ?>
 
 
 
 
 
2
 
3
  <form class="wpuf-form wpuf-update-profile-form" action="" method="post">
4
 
@@ -88,3 +93,9 @@
88
  </ul>
89
 
90
  </form>
 
 
 
 
 
 
1
+ <?php
2
+
3
+ global $current_user;
4
+ ob_start();
5
+
6
+ ?>
7
 
8
  <form class="wpuf-form wpuf-update-profile-form" action="" method="post">
9
 
93
  </ul>
94
 
95
  </form>
96
+
97
+ <?php
98
+ $output = ob_get_clean();
99
+
100
+ echo apply_filters( 'wpuf_account_edit_profile_content', $output );
101
+ ?>
templates/logged-in.php CHANGED
File without changes
templates/login-form.php CHANGED
@@ -27,6 +27,15 @@
27
  <input type="password" name="pwd" id="wpuf-user_pass" class="input" value="" size="20" />
28
  </p>
29
 
 
 
 
 
 
 
 
 
 
30
  <p class="forgetmenot">
31
  <input name="rememberme" type="checkbox" id="wpuf-rememberme" value="forever" />
32
  <label for="wpuf-rememberme"><?php esc_attr_e( 'Remember Me', 'wp-user-frontend' ); ?></label>
27
  <input type="password" name="pwd" id="wpuf-user_pass" class="input" value="" size="20" />
28
  </p>
29
 
30
+ <?php $recaptcha = wpuf_get_option( 'login_form_recaptcha', 'wpuf_profile', 'off'); ?>
31
+ <?php if( $recaptcha == 'on' ) : ?>
32
+ <p>
33
+ <div class="wpuf-fields">
34
+ <?php echo recaptcha_get_html( wpuf_get_option( 'recaptcha_public', 'wpuf_general' ), true, null, is_ssl() ); ?>
35
+ </div>
36
+ </p>
37
+ <?php endif; ?>
38
+
39
  <p class="forgetmenot">
40
  <input name="rememberme" type="checkbox" id="wpuf-rememberme" value="forever" />
41
  <label for="wpuf-rememberme"><?php esc_attr_e( 'Remember Me', 'wp-user-frontend' ); ?></label>
templates/lost-pass-form.php CHANGED
File without changes
templates/reset-pass-form.php CHANGED
File without changes
wpuf-functions.php CHANGED
@@ -827,7 +827,7 @@ function wpuf_show_custom_fields( $content ) {
827
  default:
828
  $value = get_post_meta( $post->ID, $attr['name'] );
829
  $filter_html = apply_filters( 'wpuf_custom_field_render', '', $value, $attr, $form_settings );
830
- $separator = '| ';
831
 
832
  if ( !empty( $filter_html ) ) {
833
  $html .= $filter_html;
@@ -838,11 +838,10 @@ function wpuf_show_custom_fields( $content ) {
838
  if ( $modified_value ) {
839
  $html .= sprintf( '<li><label>%s</label>: %s</li>', $attr['label'], make_clickable( $modified_value ) );
840
  }
841
- } elseif ( ( $attr['input_type'] == 'checkbox' || $attr['input_type'] == 'multiselect' ) && is_array( $value ) ) {
842
 
843
  if ( !empty( $value[0] ) ) {
844
- $glue = array( '| ', '', );
845
- $modified_value = implode( $glue, $value[0] );
846
 
847
  if ( $modified_value ) {
848
  $html .= sprintf( '<li><label>%s</label>: %s</li>', $attr['label'], make_clickable( $modified_value ) );
@@ -1123,7 +1122,7 @@ function wpufe_ajax_tag_search() {
1123
  if ( strlen( $s ) < 2 )
1124
  wp_die(); // require 2 chars for matching
1125
 
1126
- $results = $wpdb->get_col( $wpdb->prepare( "SELECT t.name FROM $wpdb->term_taxonomy AS tt INNER JOIN $wpdb->terms AS t ON tt.term_id = t.term_id WHERE tt.taxonomy = %s AND t.name LIKE (%s)", $taxonomy, '%' . like_escape( $s ) . '%' ) );
1127
 
1128
  echo join( $results, "\n" );
1129
  wp_die();
@@ -2825,10 +2824,11 @@ function wpuf_settings_multiselect( $args ) {
2825
  * @param array $args
2826
  */
2827
  function wpuf_get_custom_avatar( $args, $id_or_email ) {
 
2828
 
2829
- $user_id = get_current_user_id();
2830
-
2831
- if ( email_exists( $id_or_email ) ) {
2832
  $user_id = email_exists( $id_or_email );
2833
  }
2834
 
@@ -2842,3 +2842,72 @@ function wpuf_get_custom_avatar( $args, $id_or_email ) {
2842
  return $args;
2843
  }
2844
  add_filter( 'get_avatar_data', 'wpuf_get_custom_avatar', 10, 2 );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
827
  default:
828
  $value = get_post_meta( $post->ID, $attr['name'] );
829
  $filter_html = apply_filters( 'wpuf_custom_field_render', '', $value, $attr, $form_settings );
830
+ $separator = ' | ';
831
 
832
  if ( !empty( $filter_html ) ) {
833
  $html .= $filter_html;
838
  if ( $modified_value ) {
839
  $html .= sprintf( '<li><label>%s</label>: %s</li>', $attr['label'], make_clickable( $modified_value ) );
840
  }
841
+ } elseif ( ( $attr['input_type'] == 'checkbox' || $attr['input_type'] == 'multiselect' ) && is_array( $value[0] ) ) {
842
 
843
  if ( !empty( $value[0] ) ) {
844
+ $modified_value = implode( $separator, $value[0] );
 
845
 
846
  if ( $modified_value ) {
847
  $html .= sprintf( '<li><label>%s</label>: %s</li>', $attr['label'], make_clickable( $modified_value ) );
1122
  if ( strlen( $s ) < 2 )
1123
  wp_die(); // require 2 chars for matching
1124
 
1125
+ $results = $wpdb->get_col( $wpdb->prepare( "SELECT t.name FROM $wpdb->term_taxonomy AS tt INNER JOIN $wpdb->terms AS t ON tt.term_id = t.term_id WHERE tt.taxonomy = %s AND t.name LIKE (%s)", $taxonomy, '%' . $wpdb->esc_like( $s ) . '%' ) );
1126
 
1127
  echo join( $results, "\n" );
1128
  wp_die();
2824
  * @param array $args
2825
  */
2826
  function wpuf_get_custom_avatar( $args, $id_or_email ) {
2827
+ $user_id = $id_or_email;
2828
 
2829
+ if ( $id_or_email instanceof WP_Comment ){
2830
+ $user_id = $id_or_email->user_id;
2831
+ } elseif ( is_email( $id_or_email ) ) {
2832
  $user_id = email_exists( $id_or_email );
2833
  }
2834
 
2842
  return $args;
2843
  }
2844
  add_filter( 'get_avatar_data', 'wpuf_get_custom_avatar', 10, 2 );
2845
+
2846
+ /**
2847
+ * Displays Form Schedule Messages
2848
+ *
2849
+ * @since 2.8.10
2850
+ *
2851
+ * @param int $form_id
2852
+ */
2853
+ function wpuf_show_form_schedule_message( $form_id ) {
2854
+
2855
+ $form_settings = wpuf_get_form_settings( $form_id );
2856
+ $is_scheduled = ( isset( $form_settings['schedule_form'] ) && $form_settings['schedule_form'] == 'true' ) ? true : false;
2857
+
2858
+ if ( $is_scheduled ) {
2859
+ $start_time = !empty( $form_settings['schedule_start'] ) ? strtotime( $form_settings['schedule_start'] ) : 0;
2860
+ $end_time = !empty( $form_settings['schedule_end'] ) ? strtotime( $form_settings['schedule_end'] ) : 0;
2861
+ $current_time = current_time( 'timestamp' );
2862
+
2863
+ // too early?
2864
+ if ( $current_time < $start_time ) {
2865
+ echo '<div class="wpuf-message">' . $form_settings['form_pending_message'] . '</div>';
2866
+ } elseif ( $current_time > $end_time ) {
2867
+ echo '<div class="wpuf-message">' . $form_settings['form_expired_message'] . '</div>';
2868
+ }
2869
+ ?>
2870
+ <script>
2871
+ jQuery( function($) {
2872
+ $(".wpuf-submit-button").attr("disabled", "disabled");
2873
+ });
2874
+ </script>
2875
+ <?php
2876
+ return;
2877
+ }
2878
+ }
2879
+ add_action( 'wpuf_before_form_render', 'wpuf_show_form_schedule_message' );
2880
+
2881
+ /**
2882
+ * Displays Form Limit Messages
2883
+ *
2884
+ * @since 2.8.10
2885
+ *
2886
+ * @param int $form_id
2887
+ */
2888
+ function wpuf_show_form_limit_message( $form_id ){
2889
+
2890
+ $form_settings = wpuf_get_form_settings( $form_id );
2891
+ $has_limit = ( isset( $form_settings['limit_entries'] ) && $form_settings['limit_entries'] == 'true' ) ? true : false;
2892
+ if ( $has_limit ) {
2893
+
2894
+ $limit = (int) !empty( $form_settings['limit_number'] ) ? $form_settings['limit_number'] : 0;
2895
+ $form_entries = wpuf_form_posts_count( $form_id );
2896
+
2897
+ if ( $limit && $limit <= $form_entries ) {
2898
+ $info = $form_settings['limit_message'];
2899
+ echo '<div class="wpuf-info">' . $info . '</div>';
2900
+ ?>
2901
+ <script>
2902
+ jQuery( function($) {
2903
+ $(".wpuf-submit-button").attr("disabled", "disabled");
2904
+ });
2905
+ </script>
2906
+ <?php
2907
+ }
2908
+ return;
2909
+ }
2910
+ }
2911
+ add_action( 'wpuf_before_form_render', 'wpuf_show_form_limit_message' );
2912
+
2913
+
wpuf.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: WP User Frontend
4
  Plugin URI: https://wordpress.org/plugins/wp-user-frontend/
5
  Description: Create, edit, delete, manages your post, pages or custom post types from frontend. Create registration forms, frontend profile and more...
6
  Author: Tareq Hasan
7
- Version: 2.8.9
8
  Author URI: https://tareq.co
9
  License: GPL2 or later
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -12,7 +12,7 @@ Text Domain: wpuf
12
  Domain Path: /languages
13
  */
14
 
15
- define( 'WPUF_VERSION', '2.8.9' );
16
  define( 'WPUF_FILE', __FILE__ );
17
  define( 'WPUF_ROOT', dirname( __FILE__ ) );
18
  define( 'WPUF_ROOT_URI', plugins_url( '', __FILE__ ) );
@@ -284,7 +284,6 @@ final class WP_User_Frontend {
284
  // add reCaptcha library if not found
285
  if ( ! function_exists( 'recaptcha_get_html' ) ) {
286
  require_once dirname( __FILE__ ) . '/lib/recaptchalib.php';
287
- require_once dirname( __FILE__ ) . '/lib/recaptchalib_noCaptcha.php';
288
  require_once dirname( __FILE__ ) . '/lib/invisible_recaptcha.php';
289
  }
290
  }
@@ -452,7 +451,7 @@ final class WP_User_Frontend {
452
 
453
  if ( wpuf_get_option( 'load_script', 'wpuf_general', 'on' ) == 'on' ) {
454
  $this->plugin_scripts();
455
- } elseif ( wpuf_has_shortcode( 'wpuf_form' ) || wpuf_has_shortcode( 'wpuf_edit' ) || wpuf_has_shortcode( 'wpuf_profile' ) || wpuf_has_shortcode( 'wpuf_dashboard' ) || wpuf_has_shortcode( 'weforms' ) || wpuf_has_shortcode( 'wpuf_account' ) || wpuf_has_shortcode( 'wpuf_sub_pack' ) || ( isset( $post->ID ) && ( $pay_page == $post->ID ) ) ) {
456
  $this->plugin_scripts();
457
  }
458
  }
@@ -467,7 +466,10 @@ final class WP_User_Frontend {
467
  return;
468
  }
469
 
470
- if ( wpuf_has_shortcode( 'wpuf_form', $post->ID )
 
 
 
471
  || wpuf_has_shortcode( 'wpuf_edit', $post->ID )
472
  || wpuf_has_shortcode( 'wpuf_profile', $post->ID )
473
  || wpuf_has_shortcode( 'wpuf_dashboard', $post->ID )
@@ -490,6 +492,7 @@ final class WP_User_Frontend {
490
 
491
  wp_enqueue_style( 'wpuf-css' );
492
  wp_enqueue_style( 'jquery-ui', WPUF_ASSET_URI . '/css/jquery-ui-1.9.1.custom.css' );
 
493
 
494
  wp_enqueue_script( 'jquery' );
495
  wp_enqueue_script( 'jquery-ui-datepicker' );
@@ -498,9 +501,10 @@ final class WP_User_Frontend {
498
  wp_enqueue_script( 'jquery-ui-slider' );
499
  wp_enqueue_script( 'plupload-handlers' );
500
  wp_enqueue_script( 'jquery-ui-timepicker', WPUF_ASSET_URI . '/js/jquery-ui-timepicker-addon.js', array( 'jquery-ui-datepicker' ) );
501
- wp_enqueue_script( 'wpuf-upload', WPUF_ASSET_URI . '/js/upload.js', array( 'jquery', 'plupload-handlers' ) );
502
  wp_enqueue_script( 'wpuf-form' );
503
  wp_enqueue_script( 'wpuf-subscriptions' );
 
504
 
505
  wp_localize_script( 'wpuf-form', 'wpuf_frontend', apply_filters( 'wpuf_frontend_js_data' , array(
506
  'ajaxurl' => admin_url( 'admin-ajax.php' ),
4
  Plugin URI: https://wordpress.org/plugins/wp-user-frontend/
5
  Description: Create, edit, delete, manages your post, pages or custom post types from frontend. Create registration forms, frontend profile and more...
6
  Author: Tareq Hasan
7
+ Version: 2.8.10
8
  Author URI: https://tareq.co
9
  License: GPL2 or later
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
12
  Domain Path: /languages
13
  */
14
 
15
+ define( 'WPUF_VERSION', '2.8.10' );
16
  define( 'WPUF_FILE', __FILE__ );
17
  define( 'WPUF_ROOT', dirname( __FILE__ ) );
18
  define( 'WPUF_ROOT_URI', plugins_url( '', __FILE__ ) );
284
  // add reCaptcha library if not found
285
  if ( ! function_exists( 'recaptcha_get_html' ) ) {
286
  require_once dirname( __FILE__ ) . '/lib/recaptchalib.php';
 
287
  require_once dirname( __FILE__ ) . '/lib/invisible_recaptcha.php';
288
  }
289
  }
451
 
452
  if ( wpuf_get_option( 'load_script', 'wpuf_general', 'on' ) == 'on' ) {
453
  $this->plugin_scripts();
454
+ } elseif ( wpuf_has_shortcode( 'wpuf-login' ) || wpuf_has_shortcode( 'wpuf-registration' ) || wpuf_has_shortcode( 'wpuf-meta' ) || wpuf_has_shortcode( 'wpuf_form' ) || wpuf_has_shortcode( 'wpuf_edit' ) || wpuf_has_shortcode( 'wpuf_profile' ) || wpuf_has_shortcode( 'wpuf_dashboard' ) || wpuf_has_shortcode( 'weforms' ) || wpuf_has_shortcode( 'wpuf_account' ) || wpuf_has_shortcode( 'wpuf_sub_pack' ) || ( isset( $post->ID ) && ( $pay_page == $post->ID ) ) || isset( $_GET['wpuf_preview'] ) ) {
455
  $this->plugin_scripts();
456
  }
457
  }
466
  return;
467
  }
468
 
469
+ if ( wpuf_has_shortcode( 'wpuf-login', $post->ID )
470
+ || wpuf_has_shortcode( 'wpuf-registration', $post->ID )
471
+ || wpuf_has_shortcode( 'wpuf-meta', $post->ID )
472
+ || wpuf_has_shortcode( 'wpuf_form', $post->ID )
473
  || wpuf_has_shortcode( 'wpuf_edit', $post->ID )
474
  || wpuf_has_shortcode( 'wpuf_profile', $post->ID )
475
  || wpuf_has_shortcode( 'wpuf_dashboard', $post->ID )
492
 
493
  wp_enqueue_style( 'wpuf-css' );
494
  wp_enqueue_style( 'jquery-ui', WPUF_ASSET_URI . '/css/jquery-ui-1.9.1.custom.css' );
495
+ wp_enqueue_style( 'wpuf-sweetalert2', WPUF_ASSET_URI . '/vendor/sweetalert2/dist/sweetalert2.css', array(), WPUF_VERSION );
496
 
497
  wp_enqueue_script( 'jquery' );
498
  wp_enqueue_script( 'jquery-ui-datepicker' );
501
  wp_enqueue_script( 'jquery-ui-slider' );
502
  wp_enqueue_script( 'plupload-handlers' );
503
  wp_enqueue_script( 'jquery-ui-timepicker', WPUF_ASSET_URI . '/js/jquery-ui-timepicker-addon.js', array( 'jquery-ui-datepicker' ) );
504
+ wp_enqueue_script( 'wpuf-upload', WPUF_ASSET_URI . '/js/upload.js', array( 'jquery', 'plupload-handlers', 'jquery-ui-sortable' ) );
505
  wp_enqueue_script( 'wpuf-form' );
506
  wp_enqueue_script( 'wpuf-subscriptions' );
507
+ wp_enqueue_script( 'wpuf-sweetalert2', WPUF_ASSET_URI . '/vendor/sweetalert2/dist/sweetalert2.js', array(), WPUF_VERSION );
508
 
509
  wp_localize_script( 'wpuf-form', 'wpuf_frontend', apply_filters( 'wpuf_frontend_js_data' , array(
510
  'ajaxurl' => admin_url( 'admin-ajax.php' ),