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

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.9.3
Comparing to
See all releases

Code changes from version 2.9.2 to 2.9.3

admin/form-builder/class-wpuf-form-builder-field-settings.php CHANGED
@@ -145,6 +145,20 @@ class WPUF_Form_Builder_Field_Settings {
145
  'default' => 'yes',
146
  'inline' => true,
147
  'help_text' => __( 'Select Yes if you want to show the field data in single post.', 'wp-user-frontend' ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
148
  )
149
  ));
150
  }
@@ -342,6 +356,7 @@ class WPUF_Form_Builder_Field_Settings {
342
  'id' => 0,
343
  'is_new' => true,
344
  'show_in_post' => 'yes',
 
345
  'wpuf_visibility' => self::get_wpuf_visibility_prop(),
346
  'wpuf_cond' => self::get_wpuf_cond_prop()
347
  )
@@ -383,6 +398,7 @@ class WPUF_Form_Builder_Field_Settings {
383
  'id' => 0,
384
  'is_new' => true,
385
  'show_in_post' => 'yes',
 
386
  'wpuf_visibility' => self::get_wpuf_visibility_prop(),
387
  'wpuf_cond' => self::get_wpuf_cond_prop()
388
  )
@@ -456,6 +472,7 @@ class WPUF_Form_Builder_Field_Settings {
456
  'id' => 0,
457
  'is_new' => true,
458
  'show_in_post' => 'yes',
 
459
  'wpuf_visibility' => self::get_wpuf_visibility_prop(),
460
  'wpuf_cond' => self::get_wpuf_cond_prop()
461
  )
@@ -499,6 +516,7 @@ class WPUF_Form_Builder_Field_Settings {
499
  'id' => 0,
500
  'is_new' => true,
501
  'show_in_post' => 'yes',
 
502
  'wpuf_visibility' => self::get_wpuf_visibility_prop(),
503
  'wpuf_cond' => self::get_wpuf_cond_prop()
504
  )
@@ -557,6 +575,7 @@ class WPUF_Form_Builder_Field_Settings {
557
  'id' => 0,
558
  'is_new' => true,
559
  'show_in_post' => 'yes',
 
560
  'wpuf_visibility' => self::get_wpuf_visibility_prop(),
561
  'wpuf_cond' => self::get_wpuf_cond_prop()
562
  )
@@ -615,6 +634,7 @@ class WPUF_Form_Builder_Field_Settings {
615
  'id' => 0,
616
  'is_new' => true,
617
  'show_in_post' => 'yes',
 
618
  'wpuf_visibility' => self::get_wpuf_visibility_prop(),
619
  'wpuf_cond' => self::get_wpuf_cond_prop()
620
  )
@@ -668,6 +688,7 @@ class WPUF_Form_Builder_Field_Settings {
668
  'id' => 0,
669
  'is_new' => true,
670
  'show_in_post' => 'yes',
 
671
  'wpuf_visibility' => self::get_wpuf_visibility_prop(),
672
  'wpuf_cond' => self::get_wpuf_cond_prop()
673
  )
@@ -706,6 +727,7 @@ class WPUF_Form_Builder_Field_Settings {
706
  'id' => 0,
707
  'is_new' => true,
708
  'show_in_post' => 'yes',
 
709
  'wpuf_visibility' => self::get_wpuf_visibility_prop(),
710
  'wpuf_cond' => self::get_wpuf_cond_prop()
711
  )
@@ -755,6 +777,7 @@ class WPUF_Form_Builder_Field_Settings {
755
  'id' => 0,
756
  'is_new' => true,
757
  'show_in_post' => 'yes',
 
758
  'wpuf_visibility' => self::get_wpuf_visibility_prop(),
759
  'wpuf_cond' => null
760
  )
@@ -820,6 +843,7 @@ class WPUF_Form_Builder_Field_Settings {
820
  'id' => 0,
821
  'is_new' => true,
822
  'show_in_post' => 'yes',
 
823
  'wpuf_visibility' => self::get_wpuf_visibility_prop(),
824
  'wpuf_cond' => self::get_wpuf_cond_prop()
825
  )
@@ -868,6 +892,7 @@ class WPUF_Form_Builder_Field_Settings {
868
  'id' => 0,
869
  'is_new' => true,
870
  'show_in_post' => 'yes',
 
871
  'wpuf_visibility' => self::get_wpuf_visibility_prop(),
872
  'wpuf_cond' => self::get_wpuf_cond_prop()
873
  )
145
  'default' => 'yes',
146
  'inline' => true,
147
  'help_text' => __( 'Select Yes if you want to show the field data in single post.', 'wp-user-frontend' ),
148
+ ),
149
+ array(
150
+ 'name' => 'hide_field_label',
151
+ 'title' => __( 'Hide Field Label in Post', 'wp-user-frontend' ),
152
+ 'type' => 'radio',
153
+ 'options' => array(
154
+ 'yes' => __( 'Yes', 'wp-user-frontend' ),
155
+ 'no' => __( 'No', 'wp-user-frontend' ),
156
+ ),
157
+ 'section' => 'advanced',
158
+ 'priority' => 24,
159
+ 'default' => 'no',
160
+ 'inline' => true,
161
+ 'help_text' => __( 'Select Yes if you want to hide the field label in single post.', 'wp-user-frontend' ),
162
  )
163
  ));
164
  }
356
  'id' => 0,
357
  'is_new' => true,
358
  'show_in_post' => 'yes',
359
+ 'hide_field_label' => 'no',
360
  'wpuf_visibility' => self::get_wpuf_visibility_prop(),
361
  'wpuf_cond' => self::get_wpuf_cond_prop()
362
  )
398
  'id' => 0,
399
  'is_new' => true,
400
  'show_in_post' => 'yes',
401
+ 'hide_field_label' => 'no',
402
  'wpuf_visibility' => self::get_wpuf_visibility_prop(),
403
  'wpuf_cond' => self::get_wpuf_cond_prop()
404
  )
472
  'id' => 0,
473
  'is_new' => true,
474
  'show_in_post' => 'yes',
475
+ 'hide_field_label' => 'no',
476
  'wpuf_visibility' => self::get_wpuf_visibility_prop(),
477
  'wpuf_cond' => self::get_wpuf_cond_prop()
478
  )
516
  'id' => 0,
517
  'is_new' => true,
518
  'show_in_post' => 'yes',
519
+ 'hide_field_label' => 'no',
520
  'wpuf_visibility' => self::get_wpuf_visibility_prop(),
521
  'wpuf_cond' => self::get_wpuf_cond_prop()
522
  )
575
  'id' => 0,
576
  'is_new' => true,
577
  'show_in_post' => 'yes',
578
+ 'hide_field_label' => 'no',
579
  'wpuf_visibility' => self::get_wpuf_visibility_prop(),
580
  'wpuf_cond' => self::get_wpuf_cond_prop()
581
  )
634
  'id' => 0,
635
  'is_new' => true,
636
  'show_in_post' => 'yes',
637
+ 'hide_field_label' => 'no',
638
  'wpuf_visibility' => self::get_wpuf_visibility_prop(),
639
  'wpuf_cond' => self::get_wpuf_cond_prop()
640
  )
688
  'id' => 0,
689
  'is_new' => true,
690
  'show_in_post' => 'yes',
691
+ 'hide_field_label' => 'no',
692
  'wpuf_visibility' => self::get_wpuf_visibility_prop(),
693
  'wpuf_cond' => self::get_wpuf_cond_prop()
694
  )
727
  'id' => 0,
728
  'is_new' => true,
729
  'show_in_post' => 'yes',
730
+ 'hide_field_label' => 'no',
731
  'wpuf_visibility' => self::get_wpuf_visibility_prop(),
732
  'wpuf_cond' => self::get_wpuf_cond_prop()
733
  )
777
  'id' => 0,
778
  'is_new' => true,
779
  'show_in_post' => 'yes',
780
+ 'hide_field_label' => 'no',
781
  'wpuf_visibility' => self::get_wpuf_visibility_prop(),
782
  'wpuf_cond' => null
783
  )
843
  'id' => 0,
844
  'is_new' => true,
845
  'show_in_post' => 'yes',
846
+ 'hide_field_label' => 'no',
847
  'wpuf_visibility' => self::get_wpuf_visibility_prop(),
848
  'wpuf_cond' => self::get_wpuf_cond_prop()
849
  )
892
  'id' => 0,
893
  'is_new' => true,
894
  'show_in_post' => 'yes',
895
+ 'hide_field_label' => 'no',
896
  'wpuf_visibility' => self::get_wpuf_visibility_prop(),
897
  'wpuf_cond' => self::get_wpuf_cond_prop()
898
  )
admin/posting.php CHANGED
@@ -61,9 +61,13 @@ class WPUF_Admin_Posting extends WPUF_Render_Form {
61
  }
62
  }
63
 
 
 
64
  wp_enqueue_script( 'wpuf-upload', WPUF_ASSET_URI . '/js/upload.js', array('jquery', 'plupload-handlers') );
65
  wp_localize_script( 'wpuf-upload', 'wpuf_frontend_upload', array(
66
  'confirmMsg' => __( 'Are you sure?', 'wp-user-frontend' ),
 
 
67
  'ajaxurl' => admin_url( 'admin-ajax.php' ),
68
  'nonce' => wp_create_nonce( 'wpuf_nonce' ),
69
  'plupload' => array(
@@ -122,6 +126,9 @@ class WPUF_Admin_Posting extends WPUF_Render_Form {
122
  <option value="<?php echo $form->ID; ?>"<?php selected($selected, $form->ID); ?>><?php echo $form->post_title; ?></option>
123
  <?php } ?>
124
  </select>
 
 
 
125
  <?php
126
  }
127
 
@@ -198,7 +205,7 @@ class WPUF_Admin_Posting extends WPUF_Render_Form {
198
 
199
  $form_id = get_post_meta( $post->ID, '_wpuf_form_id', true );
200
  $form_settings = wpuf_get_form_settings( $form_id );
201
-
202
  /**
203
  * There may be incompatibilities with WPUF metabox display when Advanced Custom Fields
204
  * is active. By default WPUF metaboxes will be hidden when ACF is detected. However,
61
  }
62
  }
63
 
64
+ wp_enqueue_style( 'wpuf-sweetalert2', WPUF_ASSET_URI . '/vendor/sweetalert2/dist/sweetalert2.css', array(), WPUF_VERSION );
65
+ wp_enqueue_script( 'wpuf-sweetalert2', WPUF_ASSET_URI . '/vendor/sweetalert2/dist/sweetalert2.js', array(), WPUF_VERSION, true );
66
  wp_enqueue_script( 'wpuf-upload', WPUF_ASSET_URI . '/js/upload.js', array('jquery', 'plupload-handlers') );
67
  wp_localize_script( 'wpuf-upload', 'wpuf_frontend_upload', array(
68
  'confirmMsg' => __( 'Are you sure?', 'wp-user-frontend' ),
69
+ 'delete_it' => __( 'Yes, delete it', 'wp-user-frontend' ),
70
+ 'cancel_it' => __( 'No, cancel it', 'wp-user-frontend' ),
71
  'ajaxurl' => admin_url( 'admin-ajax.php' ),
72
  'nonce' => wp_create_nonce( 'wpuf_nonce' ),
73
  'plupload' => array(
126
  <option value="<?php echo $form->ID; ?>"<?php selected($selected, $form->ID); ?>><?php echo $form->post_title; ?></option>
127
  <?php } ?>
128
  </select>
129
+ <div>
130
+ <p><a href="https://wedevs.com/docs/wp-user-frontend-pro/tutorials/purpose-of-the-wpuf-form-metabox/" target="_blank"><?php _e( 'Purpose of this metabox', 'wp-user-frontend' ); ?></a></p>
131
+ </div>
132
  <?php
133
  }
134
 
205
 
206
  $form_id = get_post_meta( $post->ID, '_wpuf_form_id', true );
207
  $form_settings = wpuf_get_form_settings( $form_id );
208
+
209
  /**
210
  * There may be incompatibilities with WPUF metabox display when Advanced Custom Fields
211
  * is active. By default WPUF metaboxes will be hidden when ACF is detected. However,
assets/css/frontend-forms.css CHANGED
@@ -90,6 +90,75 @@
90
  margin: 0 0 10px 0;
91
  font-size: 13px;
92
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
93
  .wpuf-form-add.wpuf-style ul.wpuf-form .wpuf-submit input[type=submit] {
94
  font-size: 16px;
95
  padding: 5px 15px;
@@ -105,6 +174,7 @@
105
  text-decoration: none;
106
  text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799;
107
  }
 
108
  .wpuf-form-add.wpuf-style ul.wpuf-form .wpuf-submit input[type=submit]:disabled {
109
  background: #dddddd;
110
  border-color: #dddddd;
@@ -163,52 +233,6 @@ ul.wpuf-form li .wpuf-fields {
163
  float: left;
164
  width: 70%;
165
  }
166
- ul.wpuf-form li .wpuf-fields input[type=text],
167
- ul.wpuf-form li .wpuf-fields input[type=password],
168
- ul.wpuf-form li .wpuf-fields input[type=email],
169
- ul.wpuf-form li .wpuf-fields input[type=url],
170
- ul.wpuf-form li .wpuf-fields input[type=number],
171
- ul.wpuf-form li .wpuf-fields textarea {
172
- background: #fafafa;
173
- -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
174
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
175
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
176
- border: 1px solid #ddd;
177
- color: #888;
178
- width: 95%;
179
- }
180
- ul.wpuf-form li .wpuf-fields input[type=text]:focus,
181
- ul.wpuf-form li .wpuf-fields input[type=password]:focus,
182
- ul.wpuf-form li .wpuf-fields input[type=email]:focus,
183
- ul.wpuf-form li .wpuf-fields input[type=url]:focus,
184
- ul.wpuf-form li .wpuf-fields input[type=number]:focus,
185
- ul.wpuf-form li .wpuf-fields textarea:focus {
186
- color: #373737;
187
- }
188
- ul.wpuf-form li .wpuf-fields textarea {
189
- padding-left: 3px;
190
- width: 95%;
191
- }
192
- ul.wpuf-form li .wpuf-fields input[type=text],
193
- ul.wpuf-form li .wpuf-fields input[type=password],
194
- ul.wpuf-form li .wpuf-fields input[type=email],
195
- ul.wpuf-form li .wpuf-fields input[type=url],
196
- ul.wpuf-form li .wpuf-fields input[type=number] {
197
- padding: 5px;
198
- }
199
- ul.wpuf-form li .wpuf-fields select {
200
- border: 1px solid #eee;
201
- padding: 2px;
202
- height: 2em;
203
- -webkit-border-radius: 3px;
204
- -moz-border-radius: 3px;
205
- border-radius: 3px;
206
- min-width: 150px;
207
- max-width: 100%;
208
- }
209
- ul.wpuf-form li .wpuf-fields select[multiple] {
210
- height: auto;
211
- }
212
  ul.wpuf-form li .wpuf-fields .wpuf-radio-inline,
213
  ul.wpuf-form li .wpuf-fields .wpuf-checkbox-inline {
214
  display: inline-block;
@@ -838,7 +862,7 @@ ul.wpuf_packs .cost {
838
  .ui-timepicker-rtl dl dd {
839
  margin: 0 65px 10px 10px;
840
  }
841
- #pass-strength-result {
842
  border-style: solid;
843
  border-width: 1px;
844
  float: left;
@@ -850,19 +874,19 @@ ul.wpuf_packs .cost {
850
  background-color: #eee;
851
  border-color: #ddd !important;
852
  }
853
- #pass-strength-result.bad {
854
  background-color: #ffb78c;
855
  border-color: #ff853c !important;
856
  }
857
- #pass-strength-result.good {
858
  background-color: #ffec8b;
859
  border-color: #fc0 !important;
860
  }
861
- #pass-strength-result.short {
862
  background-color: #ffa0a0;
863
  border-color: #f04040 !important;
864
  }
865
- #pass-strength-result.strong {
866
  background-color: #c3ff88;
867
  border-color: #8dff1c !important;
868
  }
90
  margin: 0 0 10px 0;
91
  font-size: 13px;
92
  }
93
+ #form-preview-stage.wpuf-style ul.wpuf-form .wpuf-fields input[type=text],
94
+ .wpuf-form-add.wpuf-style ul.wpuf-form .wpuf-fields input[type=text],
95
+ #form-preview-stage.wpuf-style ul.wpuf-form .wpuf-fields input[type=password],
96
+ .wpuf-form-add.wpuf-style ul.wpuf-form .wpuf-fields input[type=password],
97
+ #form-preview-stage.wpuf-style ul.wpuf-form .wpuf-fields input[type=email],
98
+ .wpuf-form-add.wpuf-style ul.wpuf-form .wpuf-fields input[type=email],
99
+ #form-preview-stage.wpuf-style ul.wpuf-form .wpuf-fields input[type=url],
100
+ .wpuf-form-add.wpuf-style ul.wpuf-form .wpuf-fields input[type=url],
101
+ #form-preview-stage.wpuf-style ul.wpuf-form .wpuf-fields input[type=number],
102
+ .wpuf-form-add.wpuf-style ul.wpuf-form .wpuf-fields input[type=number],
103
+ #form-preview-stage.wpuf-style ul.wpuf-form .wpuf-fields input[type=tel],
104
+ .wpuf-form-add.wpuf-style ul.wpuf-form .wpuf-fields input[type=tel],
105
+ #form-preview-stage.wpuf-style ul.wpuf-form .wpuf-fields textarea,
106
+ .wpuf-form-add.wpuf-style ul.wpuf-form .wpuf-fields textarea {
107
+ background: #fafafa;
108
+ -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
109
+ -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
110
+ box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
111
+ border: 1px solid #ddd;
112
+ color: #888;
113
+ width: 95%;
114
+ }
115
+ #form-preview-stage.wpuf-style ul.wpuf-form .wpuf-fields input[type=text]:focus,
116
+ .wpuf-form-add.wpuf-style ul.wpuf-form .wpuf-fields input[type=text]:focus,
117
+ #form-preview-stage.wpuf-style ul.wpuf-form .wpuf-fields input[type=password]:focus,
118
+ .wpuf-form-add.wpuf-style ul.wpuf-form .wpuf-fields input[type=password]:focus,
119
+ #form-preview-stage.wpuf-style ul.wpuf-form .wpuf-fields input[type=email]:focus,
120
+ .wpuf-form-add.wpuf-style ul.wpuf-form .wpuf-fields input[type=email]:focus,
121
+ #form-preview-stage.wpuf-style ul.wpuf-form .wpuf-fields input[type=url]:focus,
122
+ .wpuf-form-add.wpuf-style ul.wpuf-form .wpuf-fields input[type=url]:focus,
123
+ #form-preview-stage.wpuf-style ul.wpuf-form .wpuf-fields input[type=number]:focus,
124
+ .wpuf-form-add.wpuf-style ul.wpuf-form .wpuf-fields input[type=number]:focus,
125
+ #form-preview-stage.wpuf-style ul.wpuf-form .wpuf-fields textarea:focus,
126
+ .wpuf-form-add.wpuf-style ul.wpuf-form .wpuf-fields textarea:focus {
127
+ color: #373737;
128
+ }
129
+ #form-preview-stage.wpuf-style ul.wpuf-form .wpuf-fields textarea,
130
+ .wpuf-form-add.wpuf-style ul.wpuf-form .wpuf-fields textarea {
131
+ padding-left: 3px;
132
+ width: 95%;
133
+ }
134
+ #form-preview-stage.wpuf-style ul.wpuf-form .wpuf-fields input[type=text],
135
+ .wpuf-form-add.wpuf-style ul.wpuf-form .wpuf-fields input[type=text],
136
+ #form-preview-stage.wpuf-style ul.wpuf-form .wpuf-fields input[type=password],
137
+ .wpuf-form-add.wpuf-style ul.wpuf-form .wpuf-fields input[type=password],
138
+ #form-preview-stage.wpuf-style ul.wpuf-form .wpuf-fields input[type=email],
139
+ .wpuf-form-add.wpuf-style ul.wpuf-form .wpuf-fields input[type=email],
140
+ #form-preview-stage.wpuf-style ul.wpuf-form .wpuf-fields input[type=url],
141
+ .wpuf-form-add.wpuf-style ul.wpuf-form .wpuf-fields input[type=url],
142
+ #form-preview-stage.wpuf-style ul.wpuf-form .wpuf-fields input[type=number],
143
+ .wpuf-form-add.wpuf-style ul.wpuf-form .wpuf-fields input[type=number] {
144
+ padding: 5px;
145
+ }
146
+ #form-preview-stage.wpuf-style ul.wpuf-form .wpuf-fields select,
147
+ .wpuf-form-add.wpuf-style ul.wpuf-form .wpuf-fields select {
148
+ border: 1px solid #eee;
149
+ padding: 2px;
150
+ height: 2em;
151
+ -webkit-border-radius: 3px;
152
+ -moz-border-radius: 3px;
153
+ border-radius: 3px;
154
+ min-width: 150px;
155
+ max-width: 100%;
156
+ }
157
+ #form-preview-stage.wpuf-style ul.wpuf-form .wpuf-fields select[multiple],
158
+ .wpuf-form-add.wpuf-style ul.wpuf-form .wpuf-fields select[multiple] {
159
+ height: auto;
160
+ }
161
+ #form-preview-stage.wpuf-style ul.wpuf-form .wpuf-submit input[type=submit],
162
  .wpuf-form-add.wpuf-style ul.wpuf-form .wpuf-submit input[type=submit] {
163
  font-size: 16px;
164
  padding: 5px 15px;
174
  text-decoration: none;
175
  text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799;
176
  }
177
+ #form-preview-stage.wpuf-style ul.wpuf-form .wpuf-submit input[type=submit]:disabled,
178
  .wpuf-form-add.wpuf-style ul.wpuf-form .wpuf-submit input[type=submit]:disabled {
179
  background: #dddddd;
180
  border-color: #dddddd;
233
  float: left;
234
  width: 70%;
235
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
236
  ul.wpuf-form li .wpuf-fields .wpuf-radio-inline,
237
  ul.wpuf-form li .wpuf-fields .wpuf-checkbox-inline {
238
  display: inline-block;
862
  .ui-timepicker-rtl dl dd {
863
  margin: 0 65px 10px 10px;
864
  }
865
+ .pass-strength-result {
866
  border-style: solid;
867
  border-width: 1px;
868
  float: left;
874
  background-color: #eee;
875
  border-color: #ddd !important;
876
  }
877
+ .pass-strength-result.bad {
878
  background-color: #ffb78c;
879
  border-color: #ff853c !important;
880
  }
881
+ .pass-strength-result.good {
882
  background-color: #ffec8b;
883
  border-color: #fc0 !important;
884
  }
885
+ .pass-strength-result.short {
886
  background-color: #ffa0a0;
887
  border-color: #f04040 !important;
888
  }
889
+ .pass-strength-result.strong {
890
  background-color: #c3ff88;
891
  border-color: #8dff1c !important;
892
  }
assets/js-templates/form-components.php CHANGED
@@ -1,5 +1,5 @@
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>
1
  <script type="text/x-template" id="tmpl-wpuf-builder-stage">
2
+ <div id="form-preview-stage" class="wpuf-style">
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>
assets/js/frontend-form.js CHANGED
@@ -49,11 +49,24 @@
49
  // this.insertImage();
50
 
51
  //comfirmation alert for canceling subscription
52
- $( ':submit[name="wpuf_cancel_subscription"]').click(function(){
53
- if ( !confirm( 'Are you sure you want to cancel your current subscription ?' ) ) {
54
- return false;
55
- }
56
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57
  });
58
  },
59
 
@@ -847,7 +860,7 @@
847
  } else {
848
  // it's a rich textarea
849
  setTimeout(function () {
850
- tinyMCE.get(field).onKeyDown.add( function(ed, event) {
851
  WP_User_Frontend.editorLimit.tinymce.onKeyDown(ed, event, limit);
852
  } );
853
 
49
  // this.insertImage();
50
 
51
  //comfirmation alert for canceling subscription
52
+ $( ':submit[name="wpuf_user_subscription_cancel"]').click(function(e){
53
+ e.preventDefault();
 
 
54
 
55
+ swal({
56
+ text: wpuf_frontend.cancelSubMsg,
57
+ type: 'warning',
58
+ showCancelButton: true,
59
+ confirmButtonColor: '#d54e21',
60
+ confirmButtonText: wpuf_frontend.delete_it,
61
+ cancelButtonText: wpuf_frontend.cancel_it,
62
+ confirmButtonClass: 'btn btn-success',
63
+ cancelButtonClass: 'btn btn-danger',
64
+ }).then(function ( isConfirmed ) {
65
+ if ( !isConfirmed ) {
66
+ return false;
67
+ }
68
+ $('#wpuf_cancel_subscription').submit();
69
+ });
70
  });
71
  },
72
 
860
  } else {
861
  // it's a rich textarea
862
  setTimeout(function () {
863
+ tinyMCE.get(field).onKeyDown.add(function(ed, event) {
864
  WP_User_Frontend.editorLimit.tinymce.onKeyDown(ed, event, limit);
865
  } );
866
 
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(c){var d=this,e=0,f=a(':hidden[name="wpuf_multistep_type"]').val();if(null!=f){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"==f&&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 g=a(".wpuf-multistep-progressbar"),h=a(".wpuf-progress-percentage");a(".wpuf-multistep-progressbar").progressbar({change:function(){h.text(g.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(e,f),a("fieldset .wpuf-multistep-prev-btn, fieldset .wpuf-multistep-next-btn").click(function(g){if(a(this).hasClass("wpuf-multistep-next-btn")){0!=d.formStepCheck("",a(this).closest("fieldset"))&&c.change_fieldset(++e,f)}else a(this).hasClass("wpuf-multistep-prev-btn")&&c.change_fieldset(--e,f);var h=document.querySelector("form.wpuf-form-add"),i=h.getBoundingClientRect();return b.scrollTo({top:i.top,behavior:"smooth"}),!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);
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_user_subscription_cancel"]').click(function(b){b.preventDefault(),swal({text:wpuf_frontend.cancelSubMsg,type:"warning",showCancelButton:!0,confirmButtonColor:"#d54e21",confirmButtonText:wpuf_frontend.delete_it,cancelButtonText:wpuf_frontend.cancel_it,confirmButtonClass:"btn btn-success",cancelButtonClass:"btn btn-danger"}).then(function(b){if(!b)return!1;a("#wpuf_cancel_subscription").submit()})})},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(c){var d=this,e=0,f=a(':hidden[name="wpuf_multistep_type"]').val();if(null!=f){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"==f&&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 g=a(".wpuf-multistep-progressbar"),h=a(".wpuf-progress-percentage");a(".wpuf-multistep-progressbar").progressbar({change:function(){h.text(g.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(e,f),a("fieldset .wpuf-multistep-prev-btn, fieldset .wpuf-multistep-next-btn").click(function(g){if(a(this).hasClass("wpuf-multistep-next-btn")){0!=d.formStepCheck("",a(this).closest("fieldset"))&&c.change_fieldset(++e,f)}else a(this).hasClass("wpuf-multistep-prev-btn")&&c.change_fieldset(--e,f);var h=document.querySelector("form.wpuf-form-add"),i=h.getBoundingClientRect();return b.scrollTo({top:i.top,behavior:"smooth"}),!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/upload.js CHANGED
@@ -111,12 +111,8 @@
111
  },
112
 
113
  upload: function (uploader) {
114
-
115
-
116
  this.count = uploader.files.length - this.removed_files.length ;
117
  this.showHide();
118
-
119
-
120
  },
121
 
122
  progress: function (up, file) {
@@ -198,13 +194,22 @@
198
  var self = this,
199
  el = $(e.currentTarget);
200
 
201
- if ( confirm(wpuf_frontend_upload.confirmMsg) ) {
 
 
 
 
 
 
 
 
 
202
  var data = {
203
  'attach_id' : el.data('attach_id'),
204
  'nonce' : wpuf_frontend_upload.nonce,
205
  'action' : 'wpuf_file_del'
206
  };
207
- this.removed_files.push(data);
208
  jQuery('#del_attach').val(el.data('attach_id'));
209
  jQuery.post(wpuf_frontend_upload.ajaxurl, data, function() {
210
  self.perFileCount--;
@@ -214,7 +219,7 @@
214
  self.showHide();
215
  self.uploader.refresh();
216
  });
217
- }
218
  },
219
 
220
  removeExtraAttachment : function( attach_id ) {
111
  },
112
 
113
  upload: function (uploader) {
 
 
114
  this.count = uploader.files.length - this.removed_files.length ;
115
  this.showHide();
 
 
116
  },
117
 
118
  progress: function (up, file) {
194
  var self = this,
195
  el = $(e.currentTarget);
196
 
197
+ swal({
198
+ text: wpuf_frontend_upload.confirmMsg,
199
+ type: 'warning',
200
+ showCancelButton: true,
201
+ confirmButtonColor: '#d54e21',
202
+ confirmButtonText: wpuf_frontend_upload.delete_it,
203
+ cancelButtonText: wpuf_frontend_upload.cancel_it,
204
+ confirmButtonClass: 'btn btn-success',
205
+ cancelButtonClass: 'btn btn-danger',
206
+ }).then(function () {
207
  var data = {
208
  'attach_id' : el.data('attach_id'),
209
  'nonce' : wpuf_frontend_upload.nonce,
210
  'action' : 'wpuf_file_del'
211
  };
212
+ self.removed_files.push(data);
213
  jQuery('#del_attach').val(el.data('attach_id'));
214
  jQuery.post(wpuf_frontend_upload.ajaxurl, data, function() {
215
  self.perFileCount--;
219
  self.showHide();
220
  self.uploader.refresh();
221
  });
222
+ });
223
  },
224
 
225
  removeExtraAttachment : function( attach_id ) {
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,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);
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);swal({text:wpuf_frontend_upload.confirmMsg,type:"warning",showCancelButton:!0,confirmButtonColor:"#d54e21",confirmButtonText:wpuf_frontend_upload.delete_it,cancelButtonText:wpuf_frontend_upload.cancel_it,confirmButtonClass:"btn btn-success",cancelButtonClass:"btn btn-danger"}).then(function(){var a={attach_id:d.data("attach_id"),nonce:wpuf_frontend_upload.nonce,action:"wpuf_file_del"};c.removed_files.push(a),jQuery("#del_attach").val(d.data("attach_id")),jQuery.post(wpuf_frontend_upload.ajaxurl,a,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
@@ -123,11 +123,6 @@ Vue.component('builder-stage', {
123
  cancelButtonClass: 'btn btn-danger',
124
  }).then(function () {
125
  self.$store.commit('delete_form_field_element', index);
126
- swal(
127
- 'Deleted!',
128
- 'The field has been deleted.',
129
- 'success'
130
- );
131
  }, function() {
132
 
133
  });
123
  cancelButtonClass: 'btn btn-danger',
124
  }).then(function () {
125
  self.$store.commit('delete_form_field_element', index);
 
 
 
 
 
126
  }, function() {
127
 
128
  });
assets/js/wpuf-form-builder.js CHANGED
@@ -618,7 +618,7 @@
618
  }
619
  });
620
 
621
- $( cond_fields ).on('click', function(e) {
622
  var form_fields = wpuf_form_builder.form_fields,
623
  options = '';
624
  options += '<option value="-1">- select -</option>';
618
  }
619
  });
620
 
621
+ $( cond_fields ).on('focus', function(e) {
622
  var form_fields = wpuf_form_builder.form_fields,
623
  options = '';
624
  options += '<option value="-1">- select -</option>';
assets/less/frontend-forms.less CHANGED
@@ -129,10 +129,63 @@
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] {
@@ -214,54 +267,6 @@ ul.wpuf-form {
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;
@@ -959,7 +964,7 @@ ul.wpuf_packs {
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;
129
  font-size: 13px;
130
  }
131
 
132
+ #form-preview-stage,
133
  .wpuf-form-add{
134
 
135
  &.wpuf-style{
136
  ul.wpuf-form{
137
+
138
+ .wpuf-fields {
139
+ input[type=text],
140
+ input[type=password],
141
+ input[type=email],
142
+ input[type=url],
143
+ input[type=number],
144
+ input[type=tel],
145
+ textarea {
146
+ background: #fafafa;
147
+ -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
148
+ -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
149
+ box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
150
+ border: 1px solid #ddd;
151
+ color: #888;
152
+ width: 95%;
153
+ }
154
+
155
+ input[type=text]:focus,
156
+ input[type=password]:focus,
157
+ input[type=email]:focus,
158
+ input[type=url]:focus,
159
+ input[type=number]:focus,
160
+ textarea:focus {
161
+ color: #373737;
162
+ }
163
+ textarea {
164
+ padding-left: 3px;
165
+ width: 95%;
166
+ }
167
+ input[type=text],
168
+ input[type=password],
169
+ input[type=email],
170
+ input[type=url],
171
+ input[type=number] {
172
+ padding: 5px;
173
+ }
174
+
175
+ select {
176
+ border: 1px solid @borderColor;
177
+ padding: 2px;
178
+ height: 2em;
179
+ .border-radius(3px);
180
+ min-width: 150px;
181
+ max-width: 100%;
182
+ }
183
+
184
+ select[multiple] {
185
+ height: auto;
186
+ }
187
+ }
188
+
189
  .wpuf-submit{
190
 
191
  input[type=submit] {
267
  float: left;
268
  width: 70%;
269
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
270
  .wpuf-radio-inline,
271
  .wpuf-checkbox-inline{
272
  display: inline-block;
964
  .ui-timepicker-rtl dl dd { margin: 0 65px 10px 10px; }
965
 
966
  // Password Strength
967
+ .pass-strength-result {
968
  border-style: solid;
969
  border-width: 1px;
970
  float: left;
class/asset-loader.php CHANGED
@@ -44,11 +44,16 @@ class WPUF_Assets {
44
  'ajaxurl' => admin_url( 'admin-ajax.php' ),
45
  'error_message' => __( 'Please fix the errors to proceed', 'wp-user-frontend' ),
46
  'nonce' => wp_create_nonce( 'wpuf_nonce' ),
47
- 'word_limit' => __( 'Word limit reached', 'wp-user-frontend' )
 
 
 
48
  ) );
49
 
50
  wp_localize_script( 'wpuf-upload', 'wpuf_frontend_upload', array(
51
  'confirmMsg' => __( 'Are you sure?', 'wp-user-frontend' ),
 
 
52
  'nonce' => wp_create_nonce( 'wpuf_nonce' ),
53
  'ajaxurl' => admin_url( 'admin-ajax.php' ),
54
  'plupload' => array(
44
  'ajaxurl' => admin_url( 'admin-ajax.php' ),
45
  'error_message' => __( 'Please fix the errors to proceed', 'wp-user-frontend' ),
46
  'nonce' => wp_create_nonce( 'wpuf_nonce' ),
47
+ 'word_limit' => __( 'Word limit reached', 'wp-user-frontend' ),
48
+ 'cancelSubMsg' => __( 'Are you sure you want to cancel your current subscription ?', 'wp-user-frontend' ),
49
+ 'delete_it' => __( 'Yes', 'wp-user-frontend' ),
50
+ 'cancel_it' => __( 'No', 'wp-user-frontend' ),
51
  ) );
52
 
53
  wp_localize_script( 'wpuf-upload', 'wpuf_frontend_upload', array(
54
  'confirmMsg' => __( 'Are you sure?', 'wp-user-frontend' ),
55
+ 'delete_it' => __( 'Yes, delete it', 'wp-user-frontend' ),
56
+ 'cancel_it' => __( 'No, cancel it', 'wp-user-frontend' ),
57
  'nonce' => wp_create_nonce( 'wpuf_nonce' ),
58
  'ajaxurl' => admin_url( 'admin-ajax.php' ),
59
  'plupload' => array(
class/frontend-form-post.php CHANGED
@@ -954,6 +954,14 @@ class WPUF_Frontend_Form_Post extends WPUF_Render_Form {
954
  // delete any previous value
955
  delete_post_meta( $post_id, $file_input['name'] );
956
 
 
 
 
 
 
 
 
 
957
  //to track how many files are being uploaded
958
  $file_numbers = 0;
959
 
@@ -966,7 +974,7 @@ class WPUF_Frontend_Form_Post extends WPUF_Render_Form {
966
  }
967
 
968
  wpuf_associate_attachment( $attachment_id, $post_id );
969
- add_post_meta( $post_id, $file_input['name'], $attachment_id );
970
 
971
  // file title, caption, desc update
972
  $file_data = isset( $_POST['wpuf_files_data'][$attachment_id] ) ? $_POST['wpuf_files_data'][$attachment_id] : false;
954
  // delete any previous value
955
  delete_post_meta( $post_id, $file_input['name'] );
956
 
957
+ if ( count( $file_input['value'] ) > 1 ) {
958
+ $image_ids = maybe_serialize( $file_input['value'] );
959
+ } else {
960
+ $image_ids = $file_input['value'][0];
961
+ }
962
+
963
+ add_post_meta( $post_id, $file_input['name'], $image_ids );
964
+
965
  //to track how many files are being uploaded
966
  $file_numbers = 0;
967
 
974
  }
975
 
976
  wpuf_associate_attachment( $attachment_id, $post_id );
977
+ //add_post_meta( $post_id, $file_input['name'], $attachment_id );
978
 
979
  // file title, caption, desc update
980
  $file_data = isset( $_POST['wpuf_files_data'][$attachment_id] ) ? $_POST['wpuf_files_data'][$attachment_id] : false;
class/render-form.php CHANGED
@@ -285,6 +285,16 @@ class WPUF_Render_Form {
285
 
286
  break;
287
 
 
 
 
 
 
 
 
 
 
 
288
  default:
289
  // if it's an array, implode with this->separator
290
  if ( is_array( $_POST[$value['name']] ) ) {
@@ -1309,7 +1319,7 @@ class WPUF_Render_Form {
1309
  ?>
1310
 
1311
  <div class="wpuf-fields">
1312
- <input id="pass1" type="password" class="password <?php echo ' wpuf_'.$attr['name'].'_'.$form_id; ?>" data-required="<?php echo $attr['required'] ?>" data-type="password"<?php $this->required_html5( $attr ); ?> data-repeat="<?php echo $repeat_pass ? 'true' : 'false'; ?>" name="pass1" placeholder="<?php echo esc_attr( $attr['placeholder'] ); ?>" value="" size="<?php echo esc_attr( $attr['size'] ) ?>" />
1313
  <?php $this->help_text( $attr ); ?>
1314
  </div>
1315
 
@@ -1324,7 +1334,7 @@ class WPUF_Render_Form {
1324
  ?>
1325
 
1326
  <div class="wpuf-fields">
1327
- <input id="pass2" type="password" class="password <?php echo ' wpuf_'.$attr['name'].'_'.$form_id; ?>" data-required="<?php echo $attr['required'] ?>" data-type="confirm_password"<?php $this->required_html5( $attr ); ?> name="pass2" value="" placeholder="<?php echo esc_attr( $attr['placeholder'] ); ?>" size="<?php echo esc_attr( $attr['size'] ) ?>" />
1328
  </div>
1329
 
1330
  <?php
@@ -1342,23 +1352,23 @@ class WPUF_Render_Form {
1342
  </div>
1343
 
1344
  <div class="wpuf-fields">
1345
- <div id="pass-strength-result" style="display: block"><?php _e( 'Strength indicator', 'wp-user-frontend' ); ?></div>
1346
  </div>
1347
 
1348
  <script type="text/javascript">
1349
  jQuery(function($) {
1350
  function check_pass_strength() {
1351
- var pass1 = $('#pass1').val(),
1352
- pass2 = $('#pass2').val(),
1353
  strength;
1354
 
1355
  if ( typeof pass2 === undefined ) {
1356
  pass2 = pass1;
1357
  }
1358
 
1359
- $('#pass-strength-result').removeClass('short bad good strong');
1360
  if (!pass1) {
1361
- $('#pass-strength-result').html(pwsL10n.empty);
1362
  return;
1363
  }
1364
 
@@ -1366,25 +1376,25 @@ class WPUF_Render_Form {
1366
 
1367
  switch (strength) {
1368
  case 2:
1369
- $('#pass-strength-result').addClass('bad').html(pwsL10n.bad);
1370
  break;
1371
  case 3:
1372
- $('#pass-strength-result').addClass('good').html(pwsL10n.good);
1373
  break;
1374
  case 4:
1375
- $('#pass-strength-result').addClass('strong').html(pwsL10n.strong);
1376
  break;
1377
  case 5:
1378
- $('#pass-strength-result').addClass('short').html(pwsL10n.mismatch);
1379
  break;
1380
  default:
1381
- $('#pass-strength-result').addClass('short').html(pwsL10n['short']);
1382
  }
1383
  }
1384
 
1385
- $('#pass1').val('').keyup(check_pass_strength);
1386
- $('#pass2').val('').keyup(check_pass_strength);
1387
- $('#pass-strength-result').show();
1388
  });
1389
  </script>
1390
  <?php
@@ -1638,6 +1648,17 @@ class WPUF_Render_Form {
1638
  if ( $post_id ) {
1639
  if ( $this->is_meta( $attr ) ) {
1640
  $images = $this->get_meta( $post_id, $attr['name'], $type, false );
 
 
 
 
 
 
 
 
 
 
 
1641
  $has_images = true;
1642
  } else {
1643
 
285
 
286
  break;
287
 
288
+ case 'map':
289
+ $data = array();
290
+ $map_field_data = sanitize_text_field( trim( $_POST[$value['name']] ) );
291
+
292
+ if ( !empty( $map_field_data ) ) {
293
+ list($data['address'], $data['lat'], $data['lng']) = explode(" || ", $map_field_data);
294
+ $meta_key_value[$value['name']] = $data;
295
+ }
296
+ break;
297
+
298
  default:
299
  // if it's an array, implode with this->separator
300
  if ( is_array( $_POST[$value['name']] ) ) {
1319
  ?>
1320
 
1321
  <div class="wpuf-fields">
1322
+ <input id="<?php echo $attr['name'].'_'.$form_id .'_1'; ?>" type="password" class="password <?php echo ' wpuf_'.$attr['name'].'_'.$form_id; ?>" data-required="<?php echo $attr['required'] ?>" data-type="password"<?php $this->required_html5( $attr ); ?> data-repeat="<?php echo $repeat_pass ? 'true' : 'false'; ?>" name="pass1" placeholder="<?php echo esc_attr( $attr['placeholder'] ); ?>" value="" size="<?php echo esc_attr( $attr['size'] ) ?>" />
1323
  <?php $this->help_text( $attr ); ?>
1324
  </div>
1325
 
1334
  ?>
1335
 
1336
  <div class="wpuf-fields">
1337
+ <input id="<?php echo $attr['name'].'_'.$form_id .'_2'; ?>" type="password" class="password <?php echo ' wpuf_'.$attr['name'].'_'.$form_id; ?>" data-required="<?php echo $attr['required'] ?>" data-type="confirm_password"<?php $this->required_html5( $attr ); ?> name="pass2" value="" placeholder="<?php echo esc_attr( $attr['placeholder'] ); ?>" size="<?php echo esc_attr( $attr['size'] ) ?>" />
1338
  </div>
1339
 
1340
  <?php
1352
  </div>
1353
 
1354
  <div class="wpuf-fields">
1355
+ <div class="pass-strength-result" id="pass-strength-result_<?php echo $form_id; ?>" style="display: block"><?php _e( 'Strength indicator', 'wp-user-frontend' ); ?></div>
1356
  </div>
1357
 
1358
  <script type="text/javascript">
1359
  jQuery(function($) {
1360
  function check_pass_strength() {
1361
+ var pass1 = $("#<?php echo $attr['name'].'_'.$form_id .'_1'; ?>").val(),
1362
+ pass2 = $("#<?php echo $attr['name'].'_'.$form_id .'_2'; ?>").val(),
1363
  strength;
1364
 
1365
  if ( typeof pass2 === undefined ) {
1366
  pass2 = pass1;
1367
  }
1368
 
1369
+ $("#pass-strength-result_<?php echo $form_id; ?>").removeClass('short bad good strong');
1370
  if (!pass1) {
1371
+ $("#pass-strength-result_<?php echo $form_id; ?>").html(pwsL10n.empty);
1372
  return;
1373
  }
1374
 
1376
 
1377
  switch (strength) {
1378
  case 2:
1379
+ $("#pass-strength-result_<?php echo $form_id; ?>").addClass('bad').html(pwsL10n.bad);
1380
  break;
1381
  case 3:
1382
+ $("#pass-strength-result_<?php echo $form_id; ?>").addClass('good').html(pwsL10n.good);
1383
  break;
1384
  case 4:
1385
+ $("#pass-strength-result_<?php echo $form_id; ?>").addClass('strong').html(pwsL10n.strong);
1386
  break;
1387
  case 5:
1388
+ $("#pass-strength-result_<?php echo $form_id; ?>").addClass('short').html(pwsL10n.mismatch);
1389
  break;
1390
  default:
1391
+ $("#pass-strength-result_<?php echo $form_id; ?>").addClass('short').html(pwsL10n['short']);
1392
  }
1393
  }
1394
 
1395
+ $("#<?php echo $attr['name'].'_'.$form_id .'_1'; ?>").val('').keyup(check_pass_strength);
1396
+ $("#<?php echo $attr['name'].'_'.$form_id .'_2'; ?>").val('').keyup(check_pass_strength);
1397
+ $("#pass-strength-result_<?php echo $form_id; ?>").show();
1398
  });
1399
  </script>
1400
  <?php
1648
  if ( $post_id ) {
1649
  if ( $this->is_meta( $attr ) ) {
1650
  $images = $this->get_meta( $post_id, $attr['name'], $type, false );
1651
+
1652
+ if ( $images ) {
1653
+ if( is_serialized( $images[0] ) ) {
1654
+ $images = maybe_unserialize( $images[0] );
1655
+ }
1656
+
1657
+ if ( is_array( $images[0] ) ) {
1658
+ $images = $images[0];
1659
+ }
1660
+ }
1661
+
1662
  $has_images = true;
1663
  } else {
1664
 
class/subscription.php CHANGED
@@ -771,11 +771,12 @@ class WPUF_Subscription {
771
 
772
  <?php _e( '<p><i>To cancel the pack, press the following cancel button</i></p>', 'wp-user-frontend' ); ?>
773
 
774
- <form action="" method="post">
775
  <?php wp_nonce_field( 'wpuf-sub-cancel' ); ?>
776
  <input type="hidden" name="user_id" value="<?php echo get_current_user_id(); ?>">
777
  <input type="hidden" name="gateway" value="<?php echo $payment_gateway; ?>">
778
- <input type="submit" name="wpuf_cancel_subscription" class="btn btn-sm btn-danger" value="<?php _e( 'Cancel', 'wp-user-frontend' ); ?>">
 
779
  </form>
780
  <?php
781
  }
771
 
772
  <?php _e( '<p><i>To cancel the pack, press the following cancel button</i></p>', 'wp-user-frontend' ); ?>
773
 
774
+ <form action="" id="wpuf_cancel_subscription" method="post">
775
  <?php wp_nonce_field( 'wpuf-sub-cancel' ); ?>
776
  <input type="hidden" name="user_id" value="<?php echo get_current_user_id(); ?>">
777
  <input type="hidden" name="gateway" value="<?php echo $payment_gateway; ?>">
778
+ <input type="hidden" name="wpuf_cancel_subscription" value="Cancel">
779
+ <input type="submit" name="wpuf_user_subscription_cancel" class="btn btn-sm btn-danger" value="<?php _e( 'Cancel', 'wp-user-frontend' ); ?>">
780
  </form>
781
  <?php
782
  }
class/upload.php CHANGED
@@ -53,12 +53,16 @@ class WPUF_Upload {
53
  $guest_post = true;
54
  }
55
 
 
 
 
 
 
56
  //if it is registration form, let the user upload the file
57
  if ( get_post_type( $form_id ) == 'wpuf_profile' ) {
58
  $guest_post = true;
59
  }
60
 
61
-
62
  if ( ! $guest_post ) {
63
  die( 'error' );
64
  }
53
  $guest_post = true;
54
  }
55
 
56
+ // check if the request coming from weForms & allow users to upload when require login option is disabled
57
+ if ( isset( $form_settings['require_login'] ) && $form_settings['require_login'] == 'false' ) {
58
+ $guest_post = true;
59
+ }
60
+
61
  //if it is registration form, let the user upload the file
62
  if ( get_post_type( $form_id ) == 'wpuf_profile' ) {
63
  $guest_post = true;
64
  }
65
 
 
66
  if ( ! $guest_post ) {
67
  die( 'error' );
68
  }
includes/free/class-login.php CHANGED
@@ -113,14 +113,18 @@ class WPUF_Simple_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;
113
  return $user;
114
  }
115
 
116
+ $recaptcha = wpuf_get_option( 'login_form_recaptcha', 'wpuf_profile', 'off');
 
 
 
 
 
117
 
118
+ if ( $recaptcha == 'on' ) {
119
+ if ( isset ( $_POST["g-recaptcha-response"] ) ) {
120
+ if ( empty( $_POST['g-recaptcha-response'] ) ) {
121
+ $user = new WP_Error( 'WPUFLoginCaptchaError', 'Empty reCaptcha Field.' );
122
+ } else {
123
+ $no_captcha = 1;
124
+ $invisible_captcha = 0;
125
+
126
+ WPUF_Render_Form::init()->validate_re_captcha( $no_captcha, $invisible_captcha );
127
+ }
128
  }
129
  }
130
  return $user;
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.9.2\n"
6
  "Report-Msgid-Bugs-To: https://wedevs.com/contact/\n"
7
- "POT-Creation-Date: 2018-09-19 09:12:03+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -138,7 +138,7 @@ msgstr ""
138
 
139
  #: admin/class-admin-subscription.php:216
140
  #: admin/class-admin-subscription.php:570 class/frontend-account.php:244
141
- #: class/subscription.php:865 includes/class-user-subscription.php:307
142
  #: templates/subscriptions/pack-details.php:26
143
  msgid "Free"
144
  msgstr ""
@@ -146,26 +146,28 @@ msgstr ""
146
  #: admin/class-admin-subscription.php:234
147
  #: admin/form-builder/class-wpuf-form-builder-field-settings.php:66
148
  #: admin/form-builder/class-wpuf-form-builder-field-settings.php:140
149
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:526
150
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:584
 
151
  #: admin/form.php:805 admin/html/form-settings-display.php:41
152
  #: admin/post-forms-list-table.php:344 admin/settings-options.php:112
153
  #: admin/settings-options.php:123 admin/settings-options.php:215
154
  #: admin/settings-options.php:226 admin/template.php:70
155
- #: includes/free/form-element.php:477
156
  msgid "Yes"
157
  msgstr ""
158
 
159
  #: admin/class-admin-subscription.php:236
160
  #: admin/form-builder/class-wpuf-form-builder-field-settings.php:67
161
  #: admin/form-builder/class-wpuf-form-builder-field-settings.php:141
162
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:527
163
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:585
 
164
  #: admin/form.php:806 admin/html/form-settings-display.php:40
165
  #: admin/post-forms-list-table.php:345 admin/settings-options.php:113
166
  #: admin/settings-options.php:124 admin/settings-options.php:216
167
  #: admin/settings-options.php:227 admin/template.php:71
168
- #: includes/free/form-element.php:478
169
  msgid "No"
170
  msgstr ""
171
 
@@ -296,7 +298,7 @@ msgstr ""
296
 
297
  #: admin/class-admin-subscription.php:754
298
  #: admin/form-builder/class-wpuf-admin-form-builder.php:329
299
- #: class/payment.php:199 class/subscription.php:778
300
  #: includes/class-list-table-subscribers.php:128
301
  #: lib/class-wedevs-insights.php:667 templates/dashboard/subscription.php:61
302
  msgid "Cancel"
@@ -332,7 +334,7 @@ msgstr ""
332
 
333
  #: admin/class-tools.php:39 admin/class-tools.php:95
334
  #: admin/post-forms-list-table.php:43 class/transactions-list-table.php:86
335
- #: includes/class-list-table-subscribers.php:126 wpuf-functions.php:2534
336
  msgid "All"
337
  msgstr ""
338
 
@@ -512,14 +514,14 @@ msgstr ""
512
 
513
  #: admin/form-builder/assets/js/components/form-featured_image/template.php:6
514
  #: admin/form-builder/assets/js/components/form-image_upload/template.php:6
515
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:779
516
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:813
517
- #: admin/form.php:688 admin/form.php:714 class/render-form.php:1659
518
  msgid "Select Image"
519
  msgstr ""
520
 
521
  #: admin/form-builder/assets/js/components/form-post_content/template.php:4
522
- #: class/render-form.php:1039
523
  msgid "Insert Photo"
524
  msgstr ""
525
 
@@ -552,10 +554,12 @@ msgid "Are you sure you want to delete this field?"
552
  msgstr ""
553
 
554
  #: admin/form-builder/class-wpuf-admin-form-builder.php:326
 
555
  msgid "Yes, delete it"
556
  msgstr ""
557
 
558
  #: admin/form-builder/class-wpuf-admin-form-builder.php:327
 
559
  msgid "No, cancel it"
560
  msgstr ""
561
 
@@ -573,10 +577,10 @@ msgid "This field must contain at least one choice"
573
  msgstr ""
574
 
575
  #: admin/form-builder/class-wpuf-admin-form-builder.php:332
576
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:454
577
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:497
578
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:556
579
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:614
580
  msgid "Option"
581
  msgstr ""
582
 
@@ -703,13 +707,13 @@ msgid "Select option"
703
  msgstr ""
704
 
705
  #: admin/form-builder/class-wpuf-form-builder-field-settings.php:125
706
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:726
707
  #: admin/template.php:82 admin/template.php:575
708
  msgid "Meta Key"
709
  msgstr ""
710
 
711
  #: admin/form-builder/class-wpuf-form-builder-field-settings.php:129
712
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:730
713
  #: admin/template.php:83 admin/template.php:576
714
  msgid "Name of the meta key this field will save to"
715
  msgstr ""
@@ -722,320 +726,328 @@ msgstr ""
722
  msgid "Select Yes if you want to show the field data in single post."
723
  msgstr ""
724
 
725
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:167
726
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:237
 
 
 
 
 
 
 
 
727
  #: admin/template.php:126 admin/template.php:186
728
  msgid "Placeholder text"
729
  msgstr ""
730
 
731
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:171
732
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:241
733
  #: admin/template.php:127
734
  msgid "Text for HTML5 placeholder attribute"
735
  msgstr ""
736
 
737
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:176
738
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:249
739
  #: admin/template.php:131 admin/template.php:191
740
  msgid "Default value"
741
  msgstr ""
742
 
743
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:180
744
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:253
745
  #: admin/template.php:132
746
  msgid "The default value this field will have"
747
  msgstr ""
748
 
749
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:185
750
  #: admin/template.php:136
751
  msgid "Size"
752
  msgstr ""
753
 
754
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:190
755
  #: admin/template.php:137
756
  msgid "Size of this input field"
757
  msgstr ""
758
 
759
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:197
760
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:272
761
  #: admin/template.php:141 admin/template.php:206
762
  msgid "Word Restriction"
763
  msgstr ""
764
 
765
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:201
766
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:276
767
  #: admin/template.php:145 admin/template.php:210
768
  msgid "Numebr of words the author to be restricted in"
769
  msgstr ""
770
 
771
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:219
772
  #: admin/template.php:176
773
  msgid "Rows"
774
  msgstr ""
775
 
776
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:223
777
  msgid "Number of rows in textarea"
778
  msgstr ""
779
 
780
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:228
781
  #: admin/template.php:181
782
  msgid "Columns"
783
  msgstr ""
784
 
785
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:232
786
  msgid "Number of columns in textarea"
787
  msgstr ""
788
 
789
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:258
790
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:364
791
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:371
792
  #: admin/template.php:196
793
  msgid "Textarea"
794
  msgstr ""
795
 
796
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:261
797
  #: admin/template.php:199
798
  msgid "Normal"
799
  msgstr ""
800
 
801
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:262
802
  #: admin/template.php:200
803
  msgid "Rich textarea"
804
  msgstr ""
805
 
806
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:263
807
  #: admin/template.php:201
808
  msgid "Teeny Rich textarea"
809
  msgstr ""
810
 
811
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:307
812
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:455
813
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:498
814
  #: admin/form.php:910
815
  msgid "- select -"
816
  msgstr ""
817
 
818
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:325
819
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:332
820
  msgid "Text"
821
  msgstr ""
822
 
823
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:404
824
  #: admin/template.php:398 admin/template.php:422 admin/template.php:454
825
  #: admin/template.php:486 templates/dashboard/posts.php:85
826
  #: templates/dashboard.php:124
827
  msgid "Options"
828
  msgstr ""
829
 
830
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:409
831
  msgid "Add options for the form field"
832
  msgstr ""
833
 
834
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:428
835
  #: admin/form.php:793 admin/template.php:449 admin/template.php:481
836
  msgid "Select Text"
837
  msgstr ""
838
 
839
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:432
840
  #: admin/form.php:797 admin/template.php:438 admin/template.php:470
841
  msgid ""
842
  "First element of the select dropdown. Leave this empty if you don't want to "
843
  "show this field"
844
  msgstr ""
845
 
846
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:440
847
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:447
848
  #: admin/template-post.php:156
849
  msgid "Dropdown"
850
  msgstr ""
851
 
852
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:483
853
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:490
854
  #: admin/form.php:781 admin/template-post.php:157
855
  msgid "Multi Select"
856
  msgstr ""
857
 
858
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:523
859
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:581
860
  #: admin/form.php:802
861
  msgid "Show in inline list"
862
  msgstr ""
863
 
864
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:533
865
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:591
866
  #: admin/form.php:812
867
  msgid "Show this option in an inline list"
868
  msgstr ""
869
 
870
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:541
871
  msgid "Radio"
872
  msgstr ""
873
 
874
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:548
875
  msgid "Radio Field"
876
  msgstr ""
877
 
878
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:599
879
  #: admin/form.php:782 admin/template-post.php:158
880
  msgid "Checkbox"
881
  msgstr ""
882
 
883
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:606
884
  msgid "Checkbox Field"
885
  msgstr ""
886
 
887
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:636
888
  msgid "Open in : "
889
  msgstr ""
890
 
891
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:639
892
  msgid "Same Window"
893
  msgstr ""
894
 
895
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:640
896
  msgid "New Window"
897
  msgstr ""
898
 
899
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:646
900
  msgid "Choose whether the link will open in new tab or same window"
901
  msgstr ""
902
 
903
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:651
904
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:658
905
  msgid "URL"
906
  msgstr ""
907
 
908
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:690
909
  msgid "Email Address"
910
  msgstr ""
911
 
912
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:697
913
  #: admin/html/form-submission-restriction.php:12 admin/html/support.php:224
914
  #: class/transactions-list-table.php:49 includes/class-privacy.php:371
915
  #: includes/free/edit-user.php:153 templates/registration-form.php:44
916
  msgid "Email"
917
  msgstr ""
918
 
919
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:735
920
  #: admin/template.php:582
921
  msgid "Meta Value"
922
  msgstr ""
923
 
924
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:739
925
  #: admin/template.php:583
926
  msgid "Enter the meta value"
927
  msgstr ""
928
 
929
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:745
930
  msgid "Hidden Field"
931
  msgstr ""
932
 
933
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:777
934
  #: admin/form.php:686
935
  msgid "Button Label"
936
  msgstr ""
937
 
938
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:782
939
  #: admin/form.php:691
940
  msgid "Enter a label for the Select button"
941
  msgstr ""
942
 
943
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:786
944
  #: admin/form.php:695 admin/template-post.php:105 admin/template.php:646
945
  msgid "Max. file size"
946
  msgstr ""
947
 
948
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:790
949
  #: admin/form.php:699 admin/template-post.php:93 admin/template.php:634
950
  msgid "Enter maximum upload size limit in KB"
951
  msgstr ""
952
 
953
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:794
954
  #: admin/template.php:651
955
  msgid "Max. files"
956
  msgstr ""
957
 
958
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:798
959
  #: admin/template.php:635
960
  msgid "Number of images can be uploaded"
961
  msgstr ""
962
 
963
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:804
964
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:811
965
  #: includes/free/form-element.php:8
966
  msgid "Image Upload"
967
  msgstr ""
968
 
969
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:840
970
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:926
971
  #: admin/template.php:544 admin/template.php:604 admin/template.php:683
972
- #: class/upload.php:164 templates/dashboard/posts.php:76
973
- #: templates/dashboard.php:86 wpuf-functions.php:784
974
  msgid "Title"
975
  msgstr ""
976
 
977
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:844
978
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:930
979
  msgid "Title of the section"
980
  msgstr ""
981
 
982
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:849
983
- #: admin/template.php:609 class/upload.php:166 wpuf-functions.php:790
984
  msgid "Description"
985
  msgstr ""
986
 
987
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:853
988
  msgid "Some details text about the section"
989
  msgstr ""
990
 
991
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:859
992
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:866
993
  msgid "Section Break"
994
  msgstr ""
995
 
996
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:867
997
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:906
998
  msgid "Some description about this section"
999
  msgstr ""
1000
 
1001
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:888
1002
  #: admin/template.php:549
1003
  msgid "HTML Codes"
1004
  msgstr ""
1005
 
1006
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:892
1007
  msgid "Paste your HTML codes, WordPress shortcodes will also work here"
1008
  msgstr ""
1009
 
1010
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:898
1011
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:905
1012
  msgid "Custom HTML"
1013
  msgstr ""
1014
 
1015
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:938
1016
  #: admin/template.php:703
1017
  msgid "Enable noCaptcha"
1018
  msgstr ""
1019
 
1020
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:939
1021
  #: admin/template.php:699
1022
  msgid "Enable Invisible reCaptcha"
1023
  msgstr ""
1024
 
1025
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:944
1026
  msgid "Select reCaptcha type"
1027
  msgstr ""
1028
 
1029
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:950
1030
  #: includes/free/form-element.php:31
1031
  msgid "reCaptcha"
1032
  msgstr ""
1033
 
1034
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:955
1035
  msgid "Site key and Secret key"
1036
  msgstr ""
1037
 
1038
- #: admin/form-builder/class-wpuf-form-builder-field-settings.php:957
1039
  msgid ""
1040
  "You need to set Site key and Secret key in <a href=\"%s\" "
1041
  "target=\"_blank\">Settings</a> in order to use \"Recaptcha\" field. <a "
@@ -1213,7 +1225,7 @@ msgid "Taxonomies"
1213
  msgstr ""
1214
 
1215
  #: admin/form.php:440 admin/html/form-settings-post.php:22
1216
- #: class/render-form.php:743
1217
  msgid "Save Draft"
1218
  msgstr ""
1219
 
@@ -2436,7 +2448,7 @@ msgid ""
2436
  msgstr ""
2437
 
2438
  #: admin/installer.php:77 admin/settings-options.php:23
2439
- #: includes/free/admin/shortcode-button.php:82 wpuf-functions.php:1547
2440
  msgid "Dashboard"
2441
  msgstr ""
2442
 
@@ -2451,7 +2463,8 @@ msgstr ""
2451
 
2452
  #: admin/installer.php:88 class/subscription.php:356 class/subscription.php:376
2453
  #: class/subscription.php:377 class/subscription.php:378
2454
- #: includes/free/admin/shortcode-button.php:102 wpuf-functions.php:1550
 
2455
  msgid "Subscription"
2456
  msgstr ""
2457
 
@@ -2533,7 +2546,7 @@ msgid "Form Name"
2533
  msgstr ""
2534
 
2535
  #: admin/post-forms-list-table.php:299 admin/premium.php:39
2536
- #: includes/free/admin/form-builder/class-wpuf-form-builder-field-settings-free.php:195
2537
  #: includes/free/form-element.php:30
2538
  msgid "Shortcode"
2539
  msgstr ""
@@ -2546,36 +2559,40 @@ msgstr ""
2546
  msgid "Draft"
2547
  msgstr ""
2548
 
2549
- #: admin/posting.php:66 class/asset-loader.php:51 class/render-form.php:1677
2550
- #: wpuf.php:521
2551
  msgid "Are you sure?"
2552
  msgstr ""
2553
 
2554
- #: admin/posting.php:72 class/asset-loader.php:57 wpuf.php:529
2555
  msgid "Allowed Files"
2556
  msgstr ""
2557
 
2558
- #: admin/posting.php:75 class/asset-loader.php:60 wpuf.php:535
2559
  msgid "Maximum number of files reached!"
2560
  msgstr ""
2561
 
2562
- #: admin/posting.php:76 class/asset-loader.php:61 wpuf.php:536
2563
  msgid "The file you have uploaded exceeds the file size limit. Please try again."
2564
  msgstr ""
2565
 
2566
- #: admin/posting.php:77 class/asset-loader.php:62 wpuf.php:537
2567
  msgid "You have uploaded an incorrect file type. Please try again."
2568
  msgstr ""
2569
 
2570
- #: admin/posting.php:96
2571
  msgid "WPUF Form"
2572
  msgstr ""
2573
 
2574
- #: admin/posting.php:167
 
 
 
 
2575
  msgid "WPUF Custom Fields"
2576
  msgstr ""
2577
 
2578
- #: admin/posting.php:218
2579
  msgid "No custom fields found."
2580
  msgstr ""
2581
 
@@ -2616,7 +2633,7 @@ msgid "Advanced Fields"
2616
  msgstr ""
2617
 
2618
  #: admin/premium.php:33
2619
- #: includes/free/admin/form-builder/class-wpuf-form-builder-field-settings-free.php:113
2620
  #: includes/free/form-element.php:15
2621
  msgid "Country List"
2622
  msgstr ""
@@ -2630,12 +2647,12 @@ msgid "Date Field"
2630
  msgstr ""
2631
 
2632
  #: admin/premium.php:36
2633
- #: includes/free/admin/form-builder/class-wpuf-form-builder-field-settings-free.php:179
2634
  msgid "Google Map"
2635
  msgstr ""
2636
 
2637
  #: admin/premium.php:37
2638
- #: includes/free/admin/form-builder/class-wpuf-form-builder-field-settings-free.php:225
2639
  #: includes/free/form-element.php:33
2640
  msgid "Action Hook"
2641
  msgstr ""
@@ -2653,7 +2670,7 @@ msgid "Repeater"
2653
  msgstr ""
2654
 
2655
  #: admin/premium.php:42
2656
- #: includes/free/admin/form-builder/class-wpuf-form-builder-field-settings-free.php:97
2657
  #: includes/free/form-element.php:13
2658
  msgid "File Upload"
2659
  msgstr ""
@@ -2687,7 +2704,7 @@ msgid ""
2687
  msgstr ""
2688
 
2689
  #: admin/premium.php:71 admin/premium.php:74
2690
- #: includes/free/admin/form-builder/class-wpuf-form-builder-field-settings-free.php:46
2691
  #: includes/free/form-element.php:474
2692
  msgid "Conditional Logic"
2693
  msgstr ""
@@ -3455,6 +3472,10 @@ msgstr ""
3455
  msgid "Word limit reached"
3456
  msgstr ""
3457
 
 
 
 
 
3458
  #: class/frontend-account.php:37
3459
  msgid "Post Submission"
3460
  msgstr ""
@@ -3578,7 +3599,7 @@ msgstr ""
3578
  msgid "You can't edit a post while in pending mode."
3579
  msgstr ""
3580
 
3581
- #: class/frontend-form-post.php:286 includes/free/class-login.php:390
3582
  msgid "Empty reCaptcha Field"
3583
  msgstr ""
3584
 
@@ -3609,7 +3630,7 @@ msgstr ""
3609
  msgid "Something went wrong"
3610
  msgstr ""
3611
 
3612
- #: class/frontend-form-post.php:1115
3613
  msgid "Email successfully verified. Please Login."
3614
  msgstr ""
3615
 
@@ -3634,7 +3655,7 @@ msgid "You already have activated a free package previously."
3634
  msgstr ""
3635
 
3636
  #: class/payment.php:139 includes/class-customizer.php:59
3637
- #: wpuf-functions.php:1551
3638
  msgid "Billing Address"
3639
  msgstr ""
3640
 
@@ -3762,33 +3783,33 @@ msgstr ""
3762
  msgid "Invisible reCAPTCHA validation failed"
3763
  msgstr ""
3764
 
3765
- #: class/render-form.php:347
3766
  msgid "Your selected form is no longer available."
3767
  msgstr ""
3768
 
3769
- #: class/render-form.php:352
3770
  msgid "Please make sure you've published your form."
3771
  msgstr ""
3772
 
3773
- #: class/render-form.php:1321 includes/free/edit-profile.php:194
3774
  #: templates/registration-form.php:65
3775
  msgid "Confirm Password"
3776
  msgstr ""
3777
 
3778
- #: class/render-form.php:1345 includes/free/edit-profile.php:203
3779
  #: templates/dashboard/edit-profile.php:59
3780
  msgid "Strength indicator"
3781
  msgstr ""
3782
 
3783
- #: class/render-form.php:1410
3784
  msgid "-- Select --"
3785
  msgstr ""
3786
 
3787
- #: class/render-form.php:1475
3788
  msgid "This field is no longer available."
3789
  msgstr ""
3790
 
3791
- #: class/render-form.php:1677 class/transactions-list-table.php:115
3792
  #: class/transactions-list-table.php:181 includes/free/edit-user.php:101
3793
  #: templates/dashboard/posts.php:172 templates/dashboard.php:263
3794
  msgid "Delete"
@@ -3854,69 +3875,69 @@ msgstr ""
3854
  msgid "<p><i>To cancel the pack, press the following cancel button</i></p>"
3855
  msgstr ""
3856
 
3857
- #: class/subscription.php:815
3858
  msgid "Day"
3859
  msgid_plural "Days"
3860
  msgstr[0] ""
3861
  msgstr[1] ""
3862
 
3863
- #: class/subscription.php:816
3864
  msgid "Week"
3865
  msgid_plural "Weeks"
3866
  msgstr[0] ""
3867
  msgstr[1] ""
3868
 
3869
- #: class/subscription.php:817
3870
  msgid "Month"
3871
  msgid_plural "Months"
3872
  msgstr[0] ""
3873
  msgstr[1] ""
3874
 
3875
- #: class/subscription.php:818
3876
  msgid "Year"
3877
  msgid_plural "Years"
3878
  msgstr[0] ""
3879
  msgstr[1] ""
3880
 
3881
- #: class/subscription.php:840
3882
  msgid "One time payment"
3883
  msgstr ""
3884
 
3885
- #: class/subscription.php:847
3886
  msgid "Every"
3887
  msgstr ""
3888
 
3889
- #: class/subscription.php:848
3890
  msgid "for"
3891
  msgstr ""
3892
 
3893
- #: class/subscription.php:848
3894
  msgid "installments"
3895
  msgstr ""
3896
 
3897
- #: class/subscription.php:854
3898
  msgid "Trial available for first %s %s"
3899
  msgstr ""
3900
 
3901
- #: class/subscription.php:858
3902
  msgid "Buy Now"
3903
  msgstr ""
3904
 
3905
- #: class/subscription.php:862
3906
  msgid "Sign Up"
3907
  msgstr ""
3908
 
3909
- #: class/subscription.php:925
3910
  msgid "There is a <strong>%s</strong> charge to add a new post."
3911
  msgstr ""
3912
 
3913
- #: class/subscription.php:942
3914
  msgid ""
3915
  "Your Subscription pack exhausted. There is a <strong>%s</strong> charge to "
3916
  "add a new post."
3917
  msgstr ""
3918
 
3919
- #: class/subscription.php:987
3920
  msgid "You must <a href=\"%s\">purchase a pack</a> before posting"
3921
  msgstr ""
3922
 
@@ -3994,7 +4015,7 @@ msgstr ""
3994
  msgid "No transactions found."
3995
  msgstr ""
3996
 
3997
- #: class/upload.php:165 wpuf-functions.php:787
3998
  msgid "Caption"
3999
  msgstr ""
4000
 
@@ -4110,7 +4131,8 @@ msgstr ""
4110
  msgid "Optional"
4111
  msgstr ""
4112
 
4113
- #: includes/class-dokan-integration.php:37 wpuf-functions.php:1548
 
4114
  msgid "Posts"
4115
  msgstr ""
4116
 
@@ -4215,20 +4237,20 @@ msgstr ""
4215
  msgid "Someone has requested a password reset for the following account:"
4216
  msgstr ""
4217
 
4218
- #: includes/class-login-widget.php:137 includes/free/class-login.php:799
4219
- #: includes/free/class-login.php:880
4220
  msgid "Username: %s"
4221
  msgstr ""
4222
 
4223
- #: includes/class-login-widget.php:138 includes/free/class-login.php:881
4224
  msgid "If this was a mistake, just ignore this email and nothing will happen."
4225
  msgstr ""
4226
 
4227
- #: includes/class-login-widget.php:139 includes/free/class-login.php:882
4228
  msgid "To reset your password, visit the following address:"
4229
  msgstr ""
4230
 
4231
- #: includes/class-login-widget.php:144 includes/free/class-login.php:891
4232
  msgid "[%s] Password Reset"
4233
  msgstr ""
4234
 
@@ -4239,7 +4261,7 @@ msgid ""
4239
  msgstr ""
4240
 
4241
  #: includes/class-login-widget.php:206 includes/class-login-widget.php:238
4242
- #: includes/free/class-login.php:275 includes/free/class-registration.php:124
4243
  #: includes/free/form-element.php:345 templates/registration-form.php:72
4244
  msgid "Register"
4245
  msgstr ""
@@ -4285,8 +4307,8 @@ msgstr ""
4285
  msgid "Remember Me"
4286
  msgstr ""
4287
 
4288
- #: includes/class-login-widget.php:268 includes/free/class-login.php:271
4289
- #: includes/free/class-login.php:327 templates/login-form.php:45
4290
  msgid "Log In"
4291
  msgstr ""
4292
 
@@ -4682,43 +4704,47 @@ msgstr ""
4682
  msgid "Dismiss this notice."
4683
  msgstr ""
4684
 
4685
- #: includes/free/admin/form-builder/class-wpuf-form-builder-field-settings-free.php:65
4686
  #: includes/free/form-element.php:11
4687
  msgid "Repeat Field"
4688
  msgstr ""
4689
 
4690
- #: includes/free/admin/form-builder/class-wpuf-form-builder-field-settings-free.php:81
4691
  msgid "Date / Time"
4692
  msgstr ""
4693
 
4694
- #: includes/free/admin/form-builder/class-wpuf-form-builder-field-settings-free.php:129
4695
  #: includes/free/form-element.php:16
4696
  msgid "Numeric Field"
4697
  msgstr ""
4698
 
4699
- #: includes/free/admin/form-builder/class-wpuf-form-builder-field-settings-free.php:145
4700
  #: includes/free/form-element.php:17
4701
  msgid "Address Field"
4702
  msgstr ""
4703
 
4704
- #: includes/free/admin/form-builder/class-wpuf-form-builder-field-settings-free.php:161
4705
  #: includes/free/form-element.php:18
4706
  msgid "Step Start"
4707
  msgstr ""
4708
 
4709
- #: includes/free/admin/form-builder/class-wpuf-form-builder-field-settings-free.php:210
4710
  #: includes/free/form-element.php:32
4711
  msgid "Really Simple Captcha"
4712
  msgstr ""
4713
 
4714
- #: includes/free/admin/form-builder/class-wpuf-form-builder-field-settings-free.php:240
4715
  msgid "Term & Conditions"
4716
  msgstr ""
4717
 
4718
- #: includes/free/admin/form-builder/class-wpuf-form-builder-field-settings-free.php:255
4719
  msgid "Ratings"
4720
  msgstr ""
4721
 
 
 
 
 
4722
  #: includes/free/admin/shortcode-builder.php:5
4723
  msgid "Select a form to insert"
4724
  msgstr ""
@@ -4743,41 +4769,41 @@ msgstr ""
4743
  msgid " Add Form"
4744
  msgstr ""
4745
 
4746
- #: includes/free/class-login.php:279
4747
  msgid "Lost Password"
4748
  msgstr ""
4749
 
4750
- #: includes/free/class-login.php:317
4751
  msgid ""
4752
  "Please enter your username or email address. You will receive a link to "
4753
  "create a new password via email."
4754
  msgstr ""
4755
 
4756
- #: includes/free/class-login.php:327
4757
  msgid "Your password has been reset. %s"
4758
  msgstr ""
4759
 
4760
- #: includes/free/class-login.php:331
4761
  msgid "Enter your new password below.."
4762
  msgstr ""
4763
 
4764
- #: includes/free/class-login.php:341
4765
  msgid "Check your e-mail for the confirmation link."
4766
  msgstr ""
4767
 
4768
- #: includes/free/class-login.php:345
4769
  msgid "You are now logged out."
4770
  msgstr ""
4771
 
4772
- #: includes/free/class-login.php:379 includes/free/class-registration.php:212
4773
  msgid "Username is required."
4774
  msgstr ""
4775
 
4776
- #: includes/free/class-login.php:384 includes/free/class-registration.php:217
4777
  msgid "Password is required."
4778
  msgstr ""
4779
 
4780
- #: includes/free/class-login.php:406 includes/free/class-registration.php:192
4781
  #: includes/free/class-registration.php:197
4782
  #: includes/free/class-registration.php:202
4783
  #: includes/free/class-registration.php:207
@@ -4790,86 +4816,86 @@ msgstr ""
4790
  msgid "Error"
4791
  msgstr ""
4792
 
4793
- #: includes/free/class-login.php:406 includes/free/class-registration.php:242
4794
  msgid "A user could not be found with this email address."
4795
  msgstr ""
4796
 
4797
- #: includes/free/class-login.php:536
4798
  msgid "Please enter your password."
4799
  msgstr ""
4800
 
4801
- #: includes/free/class-login.php:541
4802
  msgid "Passwords do not match."
4803
  msgstr ""
4804
 
4805
- #: includes/free/class-login.php:584
4806
  msgid "Enter a username or e-mail address."
4807
  msgstr ""
4808
 
4809
- #: includes/free/class-login.php:592
4810
  msgid "There is no user registered with that email address."
4811
  msgstr ""
4812
 
4813
- #: includes/free/class-login.php:610
4814
  msgid "Invalid username or e-mail."
4815
  msgstr ""
4816
 
4817
- #: includes/free/class-login.php:624
4818
  msgid "Password reset is not allowed for this user"
4819
  msgstr ""
4820
 
4821
- #: includes/free/class-login.php:678 includes/free/class-login.php:690
4822
  msgid "Invalid key"
4823
  msgstr ""
4824
 
4825
- #: includes/free/class-login.php:683
4826
  msgid "Invalid Login"
4827
  msgstr ""
4828
 
4829
- #: includes/free/class-login.php:714
4830
  msgid ""
4831
  "<strong>Your account is not active.</strong><br>Please check your email for "
4832
  "activation link. <br><a href=\"%s\">Click here</a> to resend the activation "
4833
  "link"
4834
  msgstr ""
4835
 
4836
- #: includes/free/class-login.php:770 includes/free/class-login.php:834
4837
  msgid "Your account has been activated"
4838
  msgstr ""
4839
 
4840
- #: includes/free/class-login.php:797
4841
  msgid "[%s] Your username and password info"
4842
  msgstr ""
4843
 
4844
- #: includes/free/class-login.php:800
4845
  msgid "To set your password, visit the following address:"
4846
  msgstr ""
4847
 
4848
- #: includes/free/class-login.php:810
4849
  msgid "[%s] Account has been activated"
4850
  msgstr ""
4851
 
4852
- #: includes/free/class-login.php:812
4853
  msgid "Hi %s,"
4854
  msgstr ""
4855
 
4856
- #: includes/free/class-login.php:813
4857
  msgid "Congrats! Your account has been activated. To login visit the following url:"
4858
  msgstr ""
4859
 
4860
- #: includes/free/class-login.php:815
4861
  msgid "Thanks"
4862
  msgstr ""
4863
 
4864
- #: includes/free/class-login.php:878
4865
  msgid "Someone requested that the password be reset for the following account:"
4866
  msgstr ""
4867
 
4868
- #: includes/free/class-login.php:897
4869
  msgid "The e-mail could not be sent."
4870
  msgstr ""
4871
 
4872
- #: includes/free/class-login.php:897
4873
  msgid "Possible reason: your host may have disabled the mail() function."
4874
  msgstr ""
4875
 
@@ -5459,11 +5485,12 @@ msgstr ""
5459
  msgid "Hello %1$s, (not %1$s? <a href=\"%2$s\">Sign out</a>)"
5460
  msgstr ""
5461
 
5462
- #: templates/dashboard/dashboard.php:13
5463
- msgid ""
5464
- "From your account dashboard you can view your dashboard, manage your <a "
5465
- "href=\"%1$s\">posts</a>, <a href=\"%2$s\">subscription</a> and <a "
5466
- "href=\"%3$s\">edit your password and profile</a>."
 
5467
  msgstr ""
5468
 
5469
  #: templates/dashboard/edit-profile.php:10
@@ -5662,215 +5689,215 @@ msgstr ""
5662
  msgid "CSV"
5663
  msgstr ""
5664
 
5665
- #: wpuf-functions.php:1549
5666
  msgid "Edit Profile"
5667
  msgstr ""
5668
 
5669
- #: wpuf-functions.php:1656
5670
  msgid "United Arab Emirates Dirham"
5671
  msgstr ""
5672
 
5673
- #: wpuf-functions.php:1657
5674
  msgid "Australian Dollars"
5675
  msgstr ""
5676
 
5677
- #: wpuf-functions.php:1658
5678
  msgid "Argentine Peso"
5679
  msgstr ""
5680
 
5681
- #: wpuf-functions.php:1659
5682
  msgid "Bangladeshi Taka"
5683
  msgstr ""
5684
 
5685
- #: wpuf-functions.php:1660
5686
  msgid "Brazilian Real"
5687
  msgstr ""
5688
 
5689
- #: wpuf-functions.php:1661
5690
  msgid "Bulgarian Lev"
5691
  msgstr ""
5692
 
5693
- #: wpuf-functions.php:1662
5694
  msgid "Canadian Dollars"
5695
  msgstr ""
5696
 
5697
- #: wpuf-functions.php:1663
5698
  msgid "Chilean Peso"
5699
  msgstr ""
5700
 
5701
- #: wpuf-functions.php:1664
5702
  msgid "Chinese Yuan"
5703
  msgstr ""
5704
 
5705
- #: wpuf-functions.php:1665
5706
  msgid "Colombian Peso"
5707
  msgstr ""
5708
 
5709
- #: wpuf-functions.php:1666
5710
  msgid "Czech Koruna"
5711
  msgstr ""
5712
 
5713
- #: wpuf-functions.php:1667
5714
  msgid "Danish Krone"
5715
  msgstr ""
5716
 
5717
- #: wpuf-functions.php:1668
5718
  msgid "Dominican Peso"
5719
  msgstr ""
5720
 
5721
- #: wpuf-functions.php:1669
5722
  msgid "Algerian Dinar"
5723
  msgstr ""
5724
 
5725
- #: wpuf-functions.php:1670
5726
  msgid "Euros"
5727
  msgstr ""
5728
 
5729
- #: wpuf-functions.php:1671
5730
  msgid "Hong Kong Dollar"
5731
  msgstr ""
5732
 
5733
- #: wpuf-functions.php:1672
5734
  msgid "Croatia kuna"
5735
  msgstr ""
5736
 
5737
- #: wpuf-functions.php:1673
5738
  msgid "Hungarian Forint"
5739
  msgstr ""
5740
 
5741
- #: wpuf-functions.php:1674
5742
  msgid "Icelandic krona"
5743
  msgstr ""
5744
 
5745
- #: wpuf-functions.php:1675
5746
  msgid "Indonesia Rupiah"
5747
  msgstr ""
5748
 
5749
- #: wpuf-functions.php:1676
5750
  msgid "Indian Rupee"
5751
  msgstr ""
5752
 
5753
- #: wpuf-functions.php:1677
5754
  msgid "Nepali Rupee"
5755
  msgstr ""
5756
 
5757
- #: wpuf-functions.php:1678
5758
  msgid "Israeli Shekel"
5759
  msgstr ""
5760
 
5761
- #: wpuf-functions.php:1679
5762
  msgid "Japanese Yen"
5763
  msgstr ""
5764
 
5765
- #: wpuf-functions.php:1680
5766
  msgid "Lao Kip"
5767
  msgstr ""
5768
 
5769
- #: wpuf-functions.php:1681
5770
  msgid "South Korean Won"
5771
  msgstr ""
5772
 
5773
- #: wpuf-functions.php:1682
5774
  msgid "Malaysian Ringgits"
5775
  msgstr ""
5776
 
5777
- #: wpuf-functions.php:1683
5778
  msgid "Mexican Peso"
5779
  msgstr ""
5780
 
5781
- #: wpuf-functions.php:1684
5782
  msgid "Nigerian Naira"
5783
  msgstr ""
5784
 
5785
- #: wpuf-functions.php:1685
5786
  msgid "Norwegian Krone"
5787
  msgstr ""
5788
 
5789
- #: wpuf-functions.php:1686
5790
  msgid "New Zealand Dollar"
5791
  msgstr ""
5792
 
5793
- #: wpuf-functions.php:1687
5794
  msgid "Omani Rial"
5795
  msgstr ""
5796
 
5797
- #: wpuf-functions.php:1688
5798
  msgid "Iranian Rial"
5799
  msgstr ""
5800
 
5801
- #: wpuf-functions.php:1689
5802
  msgid "Pakistani Rupee"
5803
  msgstr ""
5804
 
5805
- #: wpuf-functions.php:1690
5806
  msgid "Paraguayan Guaraní"
5807
  msgstr ""
5808
 
5809
- #: wpuf-functions.php:1691
5810
  msgid "Philippine Pesos"
5811
  msgstr ""
5812
 
5813
- #: wpuf-functions.php:1692
5814
  msgid "Polish Zloty"
5815
  msgstr ""
5816
 
5817
- #: wpuf-functions.php:1693
5818
  msgid "Pounds Sterling"
5819
  msgstr ""
5820
 
5821
- #: wpuf-functions.php:1694
5822
  msgid "Romanian Leu"
5823
  msgstr ""
5824
 
5825
- #: wpuf-functions.php:1695
5826
  msgid "Russian Ruble"
5827
  msgstr ""
5828
 
5829
- #: wpuf-functions.php:1696
5830
  msgid "Saudi Riyal"
5831
  msgstr ""
5832
 
5833
- #: wpuf-functions.php:1697
5834
  msgid "Singapore Dollar"
5835
  msgstr ""
5836
 
5837
- #: wpuf-functions.php:1698
5838
  msgid "South African rand"
5839
  msgstr ""
5840
 
5841
- #: wpuf-functions.php:1699
5842
  msgid "Swedish Krona"
5843
  msgstr ""
5844
 
5845
- #: wpuf-functions.php:1700
5846
  msgid "Swiss Franc"
5847
  msgstr ""
5848
 
5849
- #: wpuf-functions.php:1701
5850
  msgid "Taiwan New Dollars"
5851
  msgstr ""
5852
 
5853
- #: wpuf-functions.php:1702
5854
  msgid "Thai Baht"
5855
  msgstr ""
5856
 
5857
- #: wpuf-functions.php:1703
5858
  msgid "Turkish Lira"
5859
  msgstr ""
5860
 
5861
- #: wpuf-functions.php:1704
5862
  msgid "US Dollar"
5863
  msgstr ""
5864
 
5865
- #: wpuf-functions.php:1705
5866
  msgid "Vietnamese Dong"
5867
  msgstr ""
5868
 
5869
- #: wpuf-functions.php:1706
5870
  msgid "Egyptian Pound"
5871
  msgstr ""
5872
 
5873
- #: wpuf-functions.php:2535
5874
  msgid "None"
5875
  msgstr ""
5876
 
@@ -5890,11 +5917,11 @@ msgstr ""
5890
  msgid "Your Post Has Been Expired"
5891
  msgstr ""
5892
 
5893
- #: wpuf.php:517
5894
  msgid "Please Cancel Your Currently Active Pack first!"
5895
  msgstr ""
5896
 
5897
- #: wpuf.php:674
5898
  msgid "Error: Nonce verification failed"
5899
  msgstr ""
5900
 
@@ -5976,7 +6003,7 @@ msgctxt "enhanced select"
5976
  msgid "Searching&hellip;"
5977
  msgstr ""
5978
 
5979
- #: wpuf-functions.php:1160
5980
  msgctxt "tag delimiter"
5981
  msgid ","
5982
  msgstr ""
2
  # This file is distributed under the GPL2 or later.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WP User Frontend 2.9.3\n"
6
  "Report-Msgid-Bugs-To: https://wedevs.com/contact/\n"
7
+ "POT-Creation-Date: 2018-11-02 09:13:18+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
138
 
139
  #: admin/class-admin-subscription.php:216
140
  #: admin/class-admin-subscription.php:570 class/frontend-account.php:244
141
+ #: class/subscription.php:866 includes/class-user-subscription.php:307
142
  #: templates/subscriptions/pack-details.php:26
143
  msgid "Free"
144
  msgstr ""
146
  #: admin/class-admin-subscription.php:234
147
  #: admin/form-builder/class-wpuf-form-builder-field-settings.php:66
148
  #: admin/form-builder/class-wpuf-form-builder-field-settings.php:140
149
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:154
150
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:544
151
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:603
152
  #: admin/form.php:805 admin/html/form-settings-display.php:41
153
  #: admin/post-forms-list-table.php:344 admin/settings-options.php:112
154
  #: admin/settings-options.php:123 admin/settings-options.php:215
155
  #: admin/settings-options.php:226 admin/template.php:70
156
+ #: class/asset-loader.php:49 includes/free/form-element.php:477 wpuf.php:515
157
  msgid "Yes"
158
  msgstr ""
159
 
160
  #: admin/class-admin-subscription.php:236
161
  #: admin/form-builder/class-wpuf-form-builder-field-settings.php:67
162
  #: admin/form-builder/class-wpuf-form-builder-field-settings.php:141
163
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:155
164
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:545
165
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:604
166
  #: admin/form.php:806 admin/html/form-settings-display.php:40
167
  #: admin/post-forms-list-table.php:345 admin/settings-options.php:113
168
  #: admin/settings-options.php:124 admin/settings-options.php:216
169
  #: admin/settings-options.php:227 admin/template.php:71
170
+ #: class/asset-loader.php:50 includes/free/form-element.php:478 wpuf.php:516
171
  msgid "No"
172
  msgstr ""
173
 
298
 
299
  #: admin/class-admin-subscription.php:754
300
  #: admin/form-builder/class-wpuf-admin-form-builder.php:329
301
+ #: class/payment.php:199 class/subscription.php:779
302
  #: includes/class-list-table-subscribers.php:128
303
  #: lib/class-wedevs-insights.php:667 templates/dashboard/subscription.php:61
304
  msgid "Cancel"
334
 
335
  #: admin/class-tools.php:39 admin/class-tools.php:95
336
  #: admin/post-forms-list-table.php:43 class/transactions-list-table.php:86
337
+ #: includes/class-list-table-subscribers.php:126 wpuf-functions.php:2608
338
  msgid "All"
339
  msgstr ""
340
 
514
 
515
  #: admin/form-builder/assets/js/components/form-featured_image/template.php:6
516
  #: admin/form-builder/assets/js/components/form-image_upload/template.php:6
517
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:802
518
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:836
519
+ #: admin/form.php:688 admin/form.php:714 class/render-form.php:1680
520
  msgid "Select Image"
521
  msgstr ""
522
 
523
  #: admin/form-builder/assets/js/components/form-post_content/template.php:4
524
+ #: class/render-form.php:1049
525
  msgid "Insert Photo"
526
  msgstr ""
527
 
554
  msgstr ""
555
 
556
  #: admin/form-builder/class-wpuf-admin-form-builder.php:326
557
+ #: admin/posting.php:69 class/asset-loader.php:55 wpuf.php:525
558
  msgid "Yes, delete it"
559
  msgstr ""
560
 
561
  #: admin/form-builder/class-wpuf-admin-form-builder.php:327
562
+ #: admin/posting.php:70 class/asset-loader.php:56 wpuf.php:526
563
  msgid "No, cancel it"
564
  msgstr ""
565
 
577
  msgstr ""
578
 
579
  #: admin/form-builder/class-wpuf-admin-form-builder.php:332
580
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:470
581
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:514
582
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:574
583
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:633
584
  msgid "Option"
585
  msgstr ""
586
 
707
  msgstr ""
708
 
709
  #: admin/form-builder/class-wpuf-form-builder-field-settings.php:125
710
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:748
711
  #: admin/template.php:82 admin/template.php:575
712
  msgid "Meta Key"
713
  msgstr ""
714
 
715
  #: admin/form-builder/class-wpuf-form-builder-field-settings.php:129
716
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:752
717
  #: admin/template.php:83 admin/template.php:576
718
  msgid "Name of the meta key this field will save to"
719
  msgstr ""
726
  msgid "Select Yes if you want to show the field data in single post."
727
  msgstr ""
728
 
729
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:151
730
+ msgid "Hide Field Label in Post"
731
+ msgstr ""
732
+
733
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:161
734
+ msgid "Select Yes if you want to hide the field label in single post."
735
+ msgstr ""
736
+
737
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:181
738
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:251
739
  #: admin/template.php:126 admin/template.php:186
740
  msgid "Placeholder text"
741
  msgstr ""
742
 
743
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:185
744
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:255
745
  #: admin/template.php:127
746
  msgid "Text for HTML5 placeholder attribute"
747
  msgstr ""
748
 
749
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:190
750
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:263
751
  #: admin/template.php:131 admin/template.php:191
752
  msgid "Default value"
753
  msgstr ""
754
 
755
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:194
756
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:267
757
  #: admin/template.php:132
758
  msgid "The default value this field will have"
759
  msgstr ""
760
 
761
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:199
762
  #: admin/template.php:136
763
  msgid "Size"
764
  msgstr ""
765
 
766
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:204
767
  #: admin/template.php:137
768
  msgid "Size of this input field"
769
  msgstr ""
770
 
771
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:211
772
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:286
773
  #: admin/template.php:141 admin/template.php:206
774
  msgid "Word Restriction"
775
  msgstr ""
776
 
777
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:215
778
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:290
779
  #: admin/template.php:145 admin/template.php:210
780
  msgid "Numebr of words the author to be restricted in"
781
  msgstr ""
782
 
783
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:233
784
  #: admin/template.php:176
785
  msgid "Rows"
786
  msgstr ""
787
 
788
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:237
789
  msgid "Number of rows in textarea"
790
  msgstr ""
791
 
792
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:242
793
  #: admin/template.php:181
794
  msgid "Columns"
795
  msgstr ""
796
 
797
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:246
798
  msgid "Number of columns in textarea"
799
  msgstr ""
800
 
801
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:272
802
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:379
803
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:386
804
  #: admin/template.php:196
805
  msgid "Textarea"
806
  msgstr ""
807
 
808
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:275
809
  #: admin/template.php:199
810
  msgid "Normal"
811
  msgstr ""
812
 
813
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:276
814
  #: admin/template.php:200
815
  msgid "Rich textarea"
816
  msgstr ""
817
 
818
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:277
819
  #: admin/template.php:201
820
  msgid "Teeny Rich textarea"
821
  msgstr ""
822
 
823
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:321
824
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:471
825
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:515
826
  #: admin/form.php:910
827
  msgid "- select -"
828
  msgstr ""
829
 
830
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:339
831
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:346
832
  msgid "Text"
833
  msgstr ""
834
 
835
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:420
836
  #: admin/template.php:398 admin/template.php:422 admin/template.php:454
837
  #: admin/template.php:486 templates/dashboard/posts.php:85
838
  #: templates/dashboard.php:124
839
  msgid "Options"
840
  msgstr ""
841
 
842
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:425
843
  msgid "Add options for the form field"
844
  msgstr ""
845
 
846
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:444
847
  #: admin/form.php:793 admin/template.php:449 admin/template.php:481
848
  msgid "Select Text"
849
  msgstr ""
850
 
851
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:448
852
  #: admin/form.php:797 admin/template.php:438 admin/template.php:470
853
  msgid ""
854
  "First element of the select dropdown. Leave this empty if you don't want to "
855
  "show this field"
856
  msgstr ""
857
 
858
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:456
859
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:463
860
  #: admin/template-post.php:156
861
  msgid "Dropdown"
862
  msgstr ""
863
 
864
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:500
865
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:507
866
  #: admin/form.php:781 admin/template-post.php:157
867
  msgid "Multi Select"
868
  msgstr ""
869
 
870
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:541
871
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:600
872
  #: admin/form.php:802
873
  msgid "Show in inline list"
874
  msgstr ""
875
 
876
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:551
877
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:610
878
  #: admin/form.php:812
879
  msgid "Show this option in an inline list"
880
  msgstr ""
881
 
882
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:559
883
  msgid "Radio"
884
  msgstr ""
885
 
886
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:566
887
  msgid "Radio Field"
888
  msgstr ""
889
 
890
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:618
891
  #: admin/form.php:782 admin/template-post.php:158
892
  msgid "Checkbox"
893
  msgstr ""
894
 
895
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:625
896
  msgid "Checkbox Field"
897
  msgstr ""
898
 
899
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:656
900
  msgid "Open in : "
901
  msgstr ""
902
 
903
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:659
904
  msgid "Same Window"
905
  msgstr ""
906
 
907
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:660
908
  msgid "New Window"
909
  msgstr ""
910
 
911
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:666
912
  msgid "Choose whether the link will open in new tab or same window"
913
  msgstr ""
914
 
915
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:671
916
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:678
917
  msgid "URL"
918
  msgstr ""
919
 
920
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:711
921
  msgid "Email Address"
922
  msgstr ""
923
 
924
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:718
925
  #: admin/html/form-submission-restriction.php:12 admin/html/support.php:224
926
  #: class/transactions-list-table.php:49 includes/class-privacy.php:371
927
  #: includes/free/edit-user.php:153 templates/registration-form.php:44
928
  msgid "Email"
929
  msgstr ""
930
 
931
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:757
932
  #: admin/template.php:582
933
  msgid "Meta Value"
934
  msgstr ""
935
 
936
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:761
937
  #: admin/template.php:583
938
  msgid "Enter the meta value"
939
  msgstr ""
940
 
941
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:767
942
  msgid "Hidden Field"
943
  msgstr ""
944
 
945
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:800
946
  #: admin/form.php:686
947
  msgid "Button Label"
948
  msgstr ""
949
 
950
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:805
951
  #: admin/form.php:691
952
  msgid "Enter a label for the Select button"
953
  msgstr ""
954
 
955
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:809
956
  #: admin/form.php:695 admin/template-post.php:105 admin/template.php:646
957
  msgid "Max. file size"
958
  msgstr ""
959
 
960
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:813
961
  #: admin/form.php:699 admin/template-post.php:93 admin/template.php:634
962
  msgid "Enter maximum upload size limit in KB"
963
  msgstr ""
964
 
965
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:817
966
  #: admin/template.php:651
967
  msgid "Max. files"
968
  msgstr ""
969
 
970
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:821
971
  #: admin/template.php:635
972
  msgid "Number of images can be uploaded"
973
  msgstr ""
974
 
975
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:827
976
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:834
977
  #: includes/free/form-element.php:8
978
  msgid "Image Upload"
979
  msgstr ""
980
 
981
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:864
982
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:951
983
  #: admin/template.php:544 admin/template.php:604 admin/template.php:683
984
+ #: class/upload.php:168 templates/dashboard/posts.php:76
985
+ #: templates/dashboard.php:86 wpuf-functions.php:795
986
  msgid "Title"
987
  msgstr ""
988
 
989
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:868
990
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:955
991
  msgid "Title of the section"
992
  msgstr ""
993
 
994
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:873
995
+ #: admin/template.php:609 class/upload.php:170 wpuf-functions.php:801
996
  msgid "Description"
997
  msgstr ""
998
 
999
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:877
1000
  msgid "Some details text about the section"
1001
  msgstr ""
1002
 
1003
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:883
1004
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:890
1005
  msgid "Section Break"
1006
  msgstr ""
1007
 
1008
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:891
1009
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:931
1010
  msgid "Some description about this section"
1011
  msgstr ""
1012
 
1013
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:913
1014
  #: admin/template.php:549
1015
  msgid "HTML Codes"
1016
  msgstr ""
1017
 
1018
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:917
1019
  msgid "Paste your HTML codes, WordPress shortcodes will also work here"
1020
  msgstr ""
1021
 
1022
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:923
1023
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:930
1024
  msgid "Custom HTML"
1025
  msgstr ""
1026
 
1027
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:963
1028
  #: admin/template.php:703
1029
  msgid "Enable noCaptcha"
1030
  msgstr ""
1031
 
1032
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:964
1033
  #: admin/template.php:699
1034
  msgid "Enable Invisible reCaptcha"
1035
  msgstr ""
1036
 
1037
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:969
1038
  msgid "Select reCaptcha type"
1039
  msgstr ""
1040
 
1041
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:975
1042
  #: includes/free/form-element.php:31
1043
  msgid "reCaptcha"
1044
  msgstr ""
1045
 
1046
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:980
1047
  msgid "Site key and Secret key"
1048
  msgstr ""
1049
 
1050
+ #: admin/form-builder/class-wpuf-form-builder-field-settings.php:982
1051
  msgid ""
1052
  "You need to set Site key and Secret key in <a href=\"%s\" "
1053
  "target=\"_blank\">Settings</a> in order to use \"Recaptcha\" field. <a "
1225
  msgstr ""
1226
 
1227
  #: admin/form.php:440 admin/html/form-settings-post.php:22
1228
+ #: class/render-form.php:753
1229
  msgid "Save Draft"
1230
  msgstr ""
1231
 
2448
  msgstr ""
2449
 
2450
  #: admin/installer.php:77 admin/settings-options.php:23
2451
+ #: includes/free/admin/shortcode-button.php:82 wpuf-functions.php:1621
2452
  msgid "Dashboard"
2453
  msgstr ""
2454
 
2463
 
2464
  #: admin/installer.php:88 class/subscription.php:356 class/subscription.php:376
2465
  #: class/subscription.php:377 class/subscription.php:378
2466
+ #: includes/free/admin/shortcode-button.php:102
2467
+ #: templates/dashboard/dashboard.php:18 wpuf-functions.php:1624
2468
  msgid "Subscription"
2469
  msgstr ""
2470
 
2546
  msgstr ""
2547
 
2548
  #: admin/post-forms-list-table.php:299 admin/premium.php:39
2549
+ #: includes/free/admin/form-builder/class-wpuf-form-builder-field-settings-free.php:196
2550
  #: includes/free/form-element.php:30
2551
  msgid "Shortcode"
2552
  msgstr ""
2559
  msgid "Draft"
2560
  msgstr ""
2561
 
2562
+ #: admin/posting.php:68 class/asset-loader.php:54 class/render-form.php:1698
2563
+ #: wpuf.php:524
2564
  msgid "Are you sure?"
2565
  msgstr ""
2566
 
2567
+ #: admin/posting.php:76 class/asset-loader.php:62 wpuf.php:534
2568
  msgid "Allowed Files"
2569
  msgstr ""
2570
 
2571
+ #: admin/posting.php:79 class/asset-loader.php:65 wpuf.php:540
2572
  msgid "Maximum number of files reached!"
2573
  msgstr ""
2574
 
2575
+ #: admin/posting.php:80 class/asset-loader.php:66 wpuf.php:541
2576
  msgid "The file you have uploaded exceeds the file size limit. Please try again."
2577
  msgstr ""
2578
 
2579
+ #: admin/posting.php:81 class/asset-loader.php:67 wpuf.php:542
2580
  msgid "You have uploaded an incorrect file type. Please try again."
2581
  msgstr ""
2582
 
2583
+ #: admin/posting.php:100
2584
  msgid "WPUF Form"
2585
  msgstr ""
2586
 
2587
+ #: admin/posting.php:130
2588
+ msgid "Purpose of this metabox"
2589
+ msgstr ""
2590
+
2591
+ #: admin/posting.php:174
2592
  msgid "WPUF Custom Fields"
2593
  msgstr ""
2594
 
2595
+ #: admin/posting.php:225
2596
  msgid "No custom fields found."
2597
  msgstr ""
2598
 
2633
  msgstr ""
2634
 
2635
  #: admin/premium.php:33
2636
+ #: includes/free/admin/form-builder/class-wpuf-form-builder-field-settings-free.php:114
2637
  #: includes/free/form-element.php:15
2638
  msgid "Country List"
2639
  msgstr ""
2647
  msgstr ""
2648
 
2649
  #: admin/premium.php:36
2650
+ #: includes/free/admin/form-builder/class-wpuf-form-builder-field-settings-free.php:180
2651
  msgid "Google Map"
2652
  msgstr ""
2653
 
2654
  #: admin/premium.php:37
2655
+ #: includes/free/admin/form-builder/class-wpuf-form-builder-field-settings-free.php:226
2656
  #: includes/free/form-element.php:33
2657
  msgid "Action Hook"
2658
  msgstr ""
2670
  msgstr ""
2671
 
2672
  #: admin/premium.php:42
2673
+ #: includes/free/admin/form-builder/class-wpuf-form-builder-field-settings-free.php:98
2674
  #: includes/free/form-element.php:13
2675
  msgid "File Upload"
2676
  msgstr ""
2704
  msgstr ""
2705
 
2706
  #: admin/premium.php:71 admin/premium.php:74
2707
+ #: includes/free/admin/form-builder/class-wpuf-form-builder-field-settings-free.php:47
2708
  #: includes/free/form-element.php:474
2709
  msgid "Conditional Logic"
2710
  msgstr ""
3472
  msgid "Word limit reached"
3473
  msgstr ""
3474
 
3475
+ #: class/asset-loader.php:48 wpuf.php:514
3476
+ msgid "Are you sure you want to cancel your current subscription ?"
3477
+ msgstr ""
3478
+
3479
  #: class/frontend-account.php:37
3480
  msgid "Post Submission"
3481
  msgstr ""
3599
  msgid "You can't edit a post while in pending mode."
3600
  msgstr ""
3601
 
3602
+ #: class/frontend-form-post.php:286 includes/free/class-login.php:394
3603
  msgid "Empty reCaptcha Field"
3604
  msgstr ""
3605
 
3630
  msgid "Something went wrong"
3631
  msgstr ""
3632
 
3633
+ #: class/frontend-form-post.php:1123
3634
  msgid "Email successfully verified. Please Login."
3635
  msgstr ""
3636
 
3655
  msgstr ""
3656
 
3657
  #: class/payment.php:139 includes/class-customizer.php:59
3658
+ #: wpuf-functions.php:1625
3659
  msgid "Billing Address"
3660
  msgstr ""
3661
 
3783
  msgid "Invisible reCAPTCHA validation failed"
3784
  msgstr ""
3785
 
3786
+ #: class/render-form.php:357
3787
  msgid "Your selected form is no longer available."
3788
  msgstr ""
3789
 
3790
+ #: class/render-form.php:362
3791
  msgid "Please make sure you've published your form."
3792
  msgstr ""
3793
 
3794
+ #: class/render-form.php:1331 includes/free/edit-profile.php:194
3795
  #: templates/registration-form.php:65
3796
  msgid "Confirm Password"
3797
  msgstr ""
3798
 
3799
+ #: class/render-form.php:1355 includes/free/edit-profile.php:203
3800
  #: templates/dashboard/edit-profile.php:59
3801
  msgid "Strength indicator"
3802
  msgstr ""
3803
 
3804
+ #: class/render-form.php:1420
3805
  msgid "-- Select --"
3806
  msgstr ""
3807
 
3808
+ #: class/render-form.php:1485
3809
  msgid "This field is no longer available."
3810
  msgstr ""
3811
 
3812
+ #: class/render-form.php:1698 class/transactions-list-table.php:115
3813
  #: class/transactions-list-table.php:181 includes/free/edit-user.php:101
3814
  #: templates/dashboard/posts.php:172 templates/dashboard.php:263
3815
  msgid "Delete"
3875
  msgid "<p><i>To cancel the pack, press the following cancel button</i></p>"
3876
  msgstr ""
3877
 
3878
+ #: class/subscription.php:816
3879
  msgid "Day"
3880
  msgid_plural "Days"
3881
  msgstr[0] ""
3882
  msgstr[1] ""
3883
 
3884
+ #: class/subscription.php:817
3885
  msgid "Week"
3886
  msgid_plural "Weeks"
3887
  msgstr[0] ""
3888
  msgstr[1] ""
3889
 
3890
+ #: class/subscription.php:818
3891
  msgid "Month"
3892
  msgid_plural "Months"
3893
  msgstr[0] ""
3894
  msgstr[1] ""
3895
 
3896
+ #: class/subscription.php:819
3897
  msgid "Year"
3898
  msgid_plural "Years"
3899
  msgstr[0] ""
3900
  msgstr[1] ""
3901
 
3902
+ #: class/subscription.php:841
3903
  msgid "One time payment"
3904
  msgstr ""
3905
 
3906
+ #: class/subscription.php:848
3907
  msgid "Every"
3908
  msgstr ""
3909
 
3910
+ #: class/subscription.php:849
3911
  msgid "for"
3912
  msgstr ""
3913
 
3914
+ #: class/subscription.php:849
3915
  msgid "installments"
3916
  msgstr ""
3917
 
3918
+ #: class/subscription.php:855
3919
  msgid "Trial available for first %s %s"
3920
  msgstr ""
3921
 
3922
+ #: class/subscription.php:859
3923
  msgid "Buy Now"
3924
  msgstr ""
3925
 
3926
+ #: class/subscription.php:863
3927
  msgid "Sign Up"
3928
  msgstr ""
3929
 
3930
+ #: class/subscription.php:926
3931
  msgid "There is a <strong>%s</strong> charge to add a new post."
3932
  msgstr ""
3933
 
3934
+ #: class/subscription.php:943
3935
  msgid ""
3936
  "Your Subscription pack exhausted. There is a <strong>%s</strong> charge to "
3937
  "add a new post."
3938
  msgstr ""
3939
 
3940
+ #: class/subscription.php:988
3941
  msgid "You must <a href=\"%s\">purchase a pack</a> before posting"
3942
  msgstr ""
3943
 
4015
  msgid "No transactions found."
4016
  msgstr ""
4017
 
4018
+ #: class/upload.php:169 wpuf-functions.php:798
4019
  msgid "Caption"
4020
  msgstr ""
4021
 
4131
  msgid "Optional"
4132
  msgstr ""
4133
 
4134
+ #: includes/class-dokan-integration.php:37 templates/dashboard/dashboard.php:14
4135
+ #: wpuf-functions.php:1622
4136
  msgid "Posts"
4137
  msgstr ""
4138
 
4237
  msgid "Someone has requested a password reset for the following account:"
4238
  msgstr ""
4239
 
4240
+ #: includes/class-login-widget.php:137 includes/free/class-login.php:803
4241
+ #: includes/free/class-login.php:884
4242
  msgid "Username: %s"
4243
  msgstr ""
4244
 
4245
+ #: includes/class-login-widget.php:138 includes/free/class-login.php:885
4246
  msgid "If this was a mistake, just ignore this email and nothing will happen."
4247
  msgstr ""
4248
 
4249
+ #: includes/class-login-widget.php:139 includes/free/class-login.php:886
4250
  msgid "To reset your password, visit the following address:"
4251
  msgstr ""
4252
 
4253
+ #: includes/class-login-widget.php:144 includes/free/class-login.php:895
4254
  msgid "[%s] Password Reset"
4255
  msgstr ""
4256
 
4261
  msgstr ""
4262
 
4263
  #: includes/class-login-widget.php:206 includes/class-login-widget.php:238
4264
+ #: includes/free/class-login.php:279 includes/free/class-registration.php:124
4265
  #: includes/free/form-element.php:345 templates/registration-form.php:72
4266
  msgid "Register"
4267
  msgstr ""
4307
  msgid "Remember Me"
4308
  msgstr ""
4309
 
4310
+ #: includes/class-login-widget.php:268 includes/free/class-login.php:275
4311
+ #: includes/free/class-login.php:331 templates/login-form.php:45
4312
  msgid "Log In"
4313
  msgstr ""
4314
 
4704
  msgid "Dismiss this notice."
4705
  msgstr ""
4706
 
4707
+ #: includes/free/admin/form-builder/class-wpuf-form-builder-field-settings-free.php:66
4708
  #: includes/free/form-element.php:11
4709
  msgid "Repeat Field"
4710
  msgstr ""
4711
 
4712
+ #: includes/free/admin/form-builder/class-wpuf-form-builder-field-settings-free.php:82
4713
  msgid "Date / Time"
4714
  msgstr ""
4715
 
4716
+ #: includes/free/admin/form-builder/class-wpuf-form-builder-field-settings-free.php:130
4717
  #: includes/free/form-element.php:16
4718
  msgid "Numeric Field"
4719
  msgstr ""
4720
 
4721
+ #: includes/free/admin/form-builder/class-wpuf-form-builder-field-settings-free.php:146
4722
  #: includes/free/form-element.php:17
4723
  msgid "Address Field"
4724
  msgstr ""
4725
 
4726
+ #: includes/free/admin/form-builder/class-wpuf-form-builder-field-settings-free.php:162
4727
  #: includes/free/form-element.php:18
4728
  msgid "Step Start"
4729
  msgstr ""
4730
 
4731
+ #: includes/free/admin/form-builder/class-wpuf-form-builder-field-settings-free.php:211
4732
  #: includes/free/form-element.php:32
4733
  msgid "Really Simple Captcha"
4734
  msgstr ""
4735
 
4736
+ #: includes/free/admin/form-builder/class-wpuf-form-builder-field-settings-free.php:241
4737
  msgid "Term & Conditions"
4738
  msgstr ""
4739
 
4740
+ #: includes/free/admin/form-builder/class-wpuf-form-builder-field-settings-free.php:256
4741
  msgid "Ratings"
4742
  msgstr ""
4743
 
4744
+ #: includes/free/admin/form-builder/class-wpuf-form-builder-field-settings-free.php:271
4745
+ msgid "Embed"
4746
+ msgstr ""
4747
+
4748
  #: includes/free/admin/shortcode-builder.php:5
4749
  msgid "Select a form to insert"
4750
  msgstr ""
4769
  msgid " Add Form"
4770
  msgstr ""
4771
 
4772
+ #: includes/free/class-login.php:283
4773
  msgid "Lost Password"
4774
  msgstr ""
4775
 
4776
+ #: includes/free/class-login.php:321
4777
  msgid ""
4778
  "Please enter your username or email address. You will receive a link to "
4779
  "create a new password via email."
4780
  msgstr ""
4781
 
4782
+ #: includes/free/class-login.php:331
4783
  msgid "Your password has been reset. %s"
4784
  msgstr ""
4785
 
4786
+ #: includes/free/class-login.php:335
4787
  msgid "Enter your new password below.."
4788
  msgstr ""
4789
 
4790
+ #: includes/free/class-login.php:345
4791
  msgid "Check your e-mail for the confirmation link."
4792
  msgstr ""
4793
 
4794
+ #: includes/free/class-login.php:349
4795
  msgid "You are now logged out."
4796
  msgstr ""
4797
 
4798
+ #: includes/free/class-login.php:383 includes/free/class-registration.php:212
4799
  msgid "Username is required."
4800
  msgstr ""
4801
 
4802
+ #: includes/free/class-login.php:388 includes/free/class-registration.php:217
4803
  msgid "Password is required."
4804
  msgstr ""
4805
 
4806
+ #: includes/free/class-login.php:410 includes/free/class-registration.php:192
4807
  #: includes/free/class-registration.php:197
4808
  #: includes/free/class-registration.php:202
4809
  #: includes/free/class-registration.php:207
4816
  msgid "Error"
4817
  msgstr ""
4818
 
4819
+ #: includes/free/class-login.php:410 includes/free/class-registration.php:242
4820
  msgid "A user could not be found with this email address."
4821
  msgstr ""
4822
 
4823
+ #: includes/free/class-login.php:540
4824
  msgid "Please enter your password."
4825
  msgstr ""
4826
 
4827
+ #: includes/free/class-login.php:545
4828
  msgid "Passwords do not match."
4829
  msgstr ""
4830
 
4831
+ #: includes/free/class-login.php:588
4832
  msgid "Enter a username or e-mail address."
4833
  msgstr ""
4834
 
4835
+ #: includes/free/class-login.php:596
4836
  msgid "There is no user registered with that email address."
4837
  msgstr ""
4838
 
4839
+ #: includes/free/class-login.php:614
4840
  msgid "Invalid username or e-mail."
4841
  msgstr ""
4842
 
4843
+ #: includes/free/class-login.php:628
4844
  msgid "Password reset is not allowed for this user"
4845
  msgstr ""
4846
 
4847
+ #: includes/free/class-login.php:682 includes/free/class-login.php:694
4848
  msgid "Invalid key"
4849
  msgstr ""
4850
 
4851
+ #: includes/free/class-login.php:687
4852
  msgid "Invalid Login"
4853
  msgstr ""
4854
 
4855
+ #: includes/free/class-login.php:718
4856
  msgid ""
4857
  "<strong>Your account is not active.</strong><br>Please check your email for "
4858
  "activation link. <br><a href=\"%s\">Click here</a> to resend the activation "
4859
  "link"
4860
  msgstr ""
4861
 
4862
+ #: includes/free/class-login.php:774 includes/free/class-login.php:838
4863
  msgid "Your account has been activated"
4864
  msgstr ""
4865
 
4866
+ #: includes/free/class-login.php:801
4867
  msgid "[%s] Your username and password info"
4868
  msgstr ""
4869
 
4870
+ #: includes/free/class-login.php:804
4871
  msgid "To set your password, visit the following address:"
4872
  msgstr ""
4873
 
4874
+ #: includes/free/class-login.php:814
4875
  msgid "[%s] Account has been activated"
4876
  msgstr ""
4877
 
4878
+ #: includes/free/class-login.php:816
4879
  msgid "Hi %s,"
4880
  msgstr ""
4881
 
4882
+ #: includes/free/class-login.php:817
4883
  msgid "Congrats! Your account has been activated. To login visit the following url:"
4884
  msgstr ""
4885
 
4886
+ #: includes/free/class-login.php:819
4887
  msgid "Thanks"
4888
  msgstr ""
4889
 
4890
+ #: includes/free/class-login.php:882
4891
  msgid "Someone requested that the password be reset for the following account:"
4892
  msgstr ""
4893
 
4894
+ #: includes/free/class-login.php:901
4895
  msgid "The e-mail could not be sent."
4896
  msgstr ""
4897
 
4898
+ #: includes/free/class-login.php:901
4899
  msgid "Possible reason: your host may have disabled the mail() function."
4900
  msgstr ""
4901
 
5485
  msgid "Hello %1$s, (not %1$s? <a href=\"%2$s\">Sign out</a>)"
5486
  msgstr ""
5487
 
5488
+ #: templates/dashboard/dashboard.php:22
5489
+ msgid "edit your password and profile"
5490
+ msgstr ""
5491
+
5492
+ #: templates/dashboard/dashboard.php:46
5493
+ msgid "From your account dashboard you can view your dashboard, manage your %s"
5494
  msgstr ""
5495
 
5496
  #: templates/dashboard/edit-profile.php:10
5689
  msgid "CSV"
5690
  msgstr ""
5691
 
5692
+ #: wpuf-functions.php:1623
5693
  msgid "Edit Profile"
5694
  msgstr ""
5695
 
5696
+ #: wpuf-functions.php:1730
5697
  msgid "United Arab Emirates Dirham"
5698
  msgstr ""
5699
 
5700
+ #: wpuf-functions.php:1731
5701
  msgid "Australian Dollars"
5702
  msgstr ""
5703
 
5704
+ #: wpuf-functions.php:1732
5705
  msgid "Argentine Peso"
5706
  msgstr ""
5707
 
5708
+ #: wpuf-functions.php:1733
5709
  msgid "Bangladeshi Taka"
5710
  msgstr ""
5711
 
5712
+ #: wpuf-functions.php:1734
5713
  msgid "Brazilian Real"
5714
  msgstr ""
5715
 
5716
+ #: wpuf-functions.php:1735
5717
  msgid "Bulgarian Lev"
5718
  msgstr ""
5719
 
5720
+ #: wpuf-functions.php:1736
5721
  msgid "Canadian Dollars"
5722
  msgstr ""
5723
 
5724
+ #: wpuf-functions.php:1737
5725
  msgid "Chilean Peso"
5726
  msgstr ""
5727
 
5728
+ #: wpuf-functions.php:1738
5729
  msgid "Chinese Yuan"
5730
  msgstr ""
5731
 
5732
+ #: wpuf-functions.php:1739
5733
  msgid "Colombian Peso"
5734
  msgstr ""
5735
 
5736
+ #: wpuf-functions.php:1740
5737
  msgid "Czech Koruna"
5738
  msgstr ""
5739
 
5740
+ #: wpuf-functions.php:1741
5741
  msgid "Danish Krone"
5742
  msgstr ""
5743
 
5744
+ #: wpuf-functions.php:1742
5745
  msgid "Dominican Peso"
5746
  msgstr ""
5747
 
5748
+ #: wpuf-functions.php:1743
5749
  msgid "Algerian Dinar"
5750
  msgstr ""
5751
 
5752
+ #: wpuf-functions.php:1744
5753
  msgid "Euros"
5754
  msgstr ""
5755
 
5756
+ #: wpuf-functions.php:1745
5757
  msgid "Hong Kong Dollar"
5758
  msgstr ""
5759
 
5760
+ #: wpuf-functions.php:1746
5761
  msgid "Croatia kuna"
5762
  msgstr ""
5763
 
5764
+ #: wpuf-functions.php:1747
5765
  msgid "Hungarian Forint"
5766
  msgstr ""
5767
 
5768
+ #: wpuf-functions.php:1748
5769
  msgid "Icelandic krona"
5770
  msgstr ""
5771
 
5772
+ #: wpuf-functions.php:1749
5773
  msgid "Indonesia Rupiah"
5774
  msgstr ""
5775
 
5776
+ #: wpuf-functions.php:1750
5777
  msgid "Indian Rupee"
5778
  msgstr ""
5779
 
5780
+ #: wpuf-functions.php:1751
5781
  msgid "Nepali Rupee"
5782
  msgstr ""
5783
 
5784
+ #: wpuf-functions.php:1752
5785
  msgid "Israeli Shekel"
5786
  msgstr ""
5787
 
5788
+ #: wpuf-functions.php:1753
5789
  msgid "Japanese Yen"
5790
  msgstr ""
5791
 
5792
+ #: wpuf-functions.php:1754
5793
  msgid "Lao Kip"
5794
  msgstr ""
5795
 
5796
+ #: wpuf-functions.php:1755
5797
  msgid "South Korean Won"
5798
  msgstr ""
5799
 
5800
+ #: wpuf-functions.php:1756
5801
  msgid "Malaysian Ringgits"
5802
  msgstr ""
5803
 
5804
+ #: wpuf-functions.php:1757
5805
  msgid "Mexican Peso"
5806
  msgstr ""
5807
 
5808
+ #: wpuf-functions.php:1758
5809
  msgid "Nigerian Naira"
5810
  msgstr ""
5811
 
5812
+ #: wpuf-functions.php:1759
5813
  msgid "Norwegian Krone"
5814
  msgstr ""
5815
 
5816
+ #: wpuf-functions.php:1760
5817
  msgid "New Zealand Dollar"
5818
  msgstr ""
5819
 
5820
+ #: wpuf-functions.php:1761
5821
  msgid "Omani Rial"
5822
  msgstr ""
5823
 
5824
+ #: wpuf-functions.php:1762
5825
  msgid "Iranian Rial"
5826
  msgstr ""
5827
 
5828
+ #: wpuf-functions.php:1763
5829
  msgid "Pakistani Rupee"
5830
  msgstr ""
5831
 
5832
+ #: wpuf-functions.php:1764
5833
  msgid "Paraguayan Guaraní"
5834
  msgstr ""
5835
 
5836
+ #: wpuf-functions.php:1765
5837
  msgid "Philippine Pesos"
5838
  msgstr ""
5839
 
5840
+ #: wpuf-functions.php:1766
5841
  msgid "Polish Zloty"
5842
  msgstr ""
5843
 
5844
+ #: wpuf-functions.php:1767
5845
  msgid "Pounds Sterling"
5846
  msgstr ""
5847
 
5848
+ #: wpuf-functions.php:1768
5849
  msgid "Romanian Leu"
5850
  msgstr ""
5851
 
5852
+ #: wpuf-functions.php:1769
5853
  msgid "Russian Ruble"
5854
  msgstr ""
5855
 
5856
+ #: wpuf-functions.php:1770
5857
  msgid "Saudi Riyal"
5858
  msgstr ""
5859
 
5860
+ #: wpuf-functions.php:1771
5861
  msgid "Singapore Dollar"
5862
  msgstr ""
5863
 
5864
+ #: wpuf-functions.php:1772
5865
  msgid "South African rand"
5866
  msgstr ""
5867
 
5868
+ #: wpuf-functions.php:1773
5869
  msgid "Swedish Krona"
5870
  msgstr ""
5871
 
5872
+ #: wpuf-functions.php:1774
5873
  msgid "Swiss Franc"
5874
  msgstr ""
5875
 
5876
+ #: wpuf-functions.php:1775
5877
  msgid "Taiwan New Dollars"
5878
  msgstr ""
5879
 
5880
+ #: wpuf-functions.php:1776
5881
  msgid "Thai Baht"
5882
  msgstr ""
5883
 
5884
+ #: wpuf-functions.php:1777
5885
  msgid "Turkish Lira"
5886
  msgstr ""
5887
 
5888
+ #: wpuf-functions.php:1778
5889
  msgid "US Dollar"
5890
  msgstr ""
5891
 
5892
+ #: wpuf-functions.php:1779
5893
  msgid "Vietnamese Dong"
5894
  msgstr ""
5895
 
5896
+ #: wpuf-functions.php:1780
5897
  msgid "Egyptian Pound"
5898
  msgstr ""
5899
 
5900
+ #: wpuf-functions.php:2609
5901
  msgid "None"
5902
  msgstr ""
5903
 
5917
  msgid "Your Post Has Been Expired"
5918
  msgstr ""
5919
 
5920
+ #: wpuf.php:520
5921
  msgid "Please Cancel Your Currently Active Pack first!"
5922
  msgstr ""
5923
 
5924
+ #: wpuf.php:679
5925
  msgid "Error: Nonce verification failed"
5926
  msgstr ""
5927
 
6003
  msgid "Searching&hellip;"
6004
  msgstr ""
6005
 
6006
+ #: wpuf-functions.php:1234
6007
  msgctxt "tag delimiter"
6008
  msgid ","
6009
  msgstr ""
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.8
7
  Requires PHP: 5.4
8
- Stable tag: 2.9.2
9
  License: GPLv2
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -230,6 +230,15 @@ redirected to the edit page with that post id. Then you'll see the edit post for
230
 
231
  == Changelog ==
232
 
 
 
 
 
 
 
 
 
 
233
  = v2.9.2 (20 September, 2018) =
234
 
235
  * **Fix:** Delete & drag icon showing inappropriately
5
  Requires at least: 4.0
6
  Tested up to: 4.9.8
7
  Requires PHP: 5.4
8
+ Stable tag: 2.9.3
9
  License: GPLv2
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
 
230
 
231
  == Changelog ==
232
 
233
+ = v2.9.3 (02 November, 2018) =
234
+
235
+ * **Fix:** NoCaptcha reCaptcha compatibility issue
236
+ * **Fix:** Empty URL field label showing with the post on frontend
237
+ * **New:** Add option to hide field label
238
+ * **New:** Use theme style for all input fields
239
+ * **New:** Added SweetAlert pop up box for image delete & subscription cancel confirmaton
240
+ * **Improved:** Showing user display name instead of username on the frontend dashboard
241
+
242
  = v2.9.2 (20 September, 2018) =
243
 
244
  * **Fix:** Delete & drag icon showing inappropriately
templates/dashboard.php CHANGED
@@ -1,7 +1,7 @@
1
  <div class="wpuf-dashboard-container">
2
 
3
  <h2 class="page-head">
4
- <span class="colour"><?php printf( __( "%s's Dashboard", 'wp-user-frontend' ), $userdata->user_login ); ?></span>
5
  </h2>
6
 
7
  <?php if ( wpuf_get_option( 'show_post_count', 'wpuf_dashboard', 'on' ) == 'on' ) { ?>
1
  <div class="wpuf-dashboard-container">
2
 
3
  <h2 class="page-head">
4
+ <span class="colour"><?php printf( __( "%s's Dashboard", 'wp-user-frontend' ), $userdata->display_name ); ?></span>
5
  </h2>
6
 
7
  <?php if ( wpuf_get_option( 'show_post_count', 'wpuf_dashboard', 'on' ) == 'on' ) { ?>
templates/dashboard/dashboard.php CHANGED
@@ -9,10 +9,41 @@
9
  ?></p>
10
 
11
  <p><?php
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  printf(
13
- __( 'From your account dashboard you can view your dashboard, manage your <a href="%1$s">posts</a>, <a href="%2$s">subscription</a> and <a href="%3$s">edit your password and profile</a>.', 'wp-user-frontend' ),
14
- esc_url( add_query_arg( array( 'section' => 'posts' ), get_permalink() ) ),
15
- esc_url( add_query_arg( array( 'section' => 'subscription' ), get_permalink() ) ),
16
- esc_url( add_query_arg( array( 'section' => 'edit-profile' ), get_permalink() ) )
17
  );
18
  ?></p>
9
  ?></p>
10
 
11
  <p><?php
12
+ $tabs = array(
13
+ 'posts' => array(
14
+ 'label' => __( 'Posts', 'wp-user-frontend' ),
15
+ 'url' => esc_url( add_query_arg( array( 'section' => 'posts' ), get_permalink() ) ),
16
+ ),
17
+ 'subscription' => array(
18
+ 'label' => __( 'Subscription', 'wp-user-frontend' ),
19
+ 'url' => esc_url( add_query_arg( array( 'section' => 'subscription' ), get_permalink() ) ),
20
+ ),
21
+ 'edit-profile' => array(
22
+ 'label' => __( 'edit your password and profile', 'wp-user-frontend' ),
23
+ 'url' => esc_url( add_query_arg( array( 'section' => 'edit-profile' ), get_permalink() ) ),
24
+ ),
25
+ );
26
+
27
+ if( 'off' == wpuf_get_option( 'show_subscriptions', 'wpuf_my_account', 'on' ) ) {
28
+ unset($tabs['subscription']);
29
+ }
30
+
31
+ $links = '';
32
+ $count = 1;
33
+ $total_tabs = count($tabs);
34
+
35
+ foreach ( $tabs as $key => $tab ) {
36
+ if ( $total_tabs == $count ) {
37
+ $links .= ' <a href="'.$tab['url'].'">'.$tab['label'].'</a>';
38
+ continue;
39
+ }
40
+
41
+ $links .= '<a href="'.$tab['url'].'">'.$tab['label'].'</a>, ';
42
+ $count++;
43
+ }
44
+
45
  printf(
46
+ __( 'From your account dashboard you can view your dashboard, manage your %s', 'wp-user-frontend' ),
47
+ $links
 
 
48
  );
49
  ?></p>
wpuf-functions.php CHANGED
@@ -673,7 +673,8 @@ function wpuf_show_custom_fields( $content ) {
673
  $attr['name'] = $attr['input_type'];
674
  }
675
 
676
- $field_value = get_post_meta( $post->ID, $attr['name'] );
 
677
 
678
  $return_for_no_cond = 0;
679
 
@@ -733,10 +734,20 @@ function wpuf_show_custom_fields( $content ) {
733
  switch ( $attr['input_type'] ) {
734
  case 'image_upload':
735
  case 'file_upload':
 
736
 
737
- $image_html = '<li><label>' . $attr['label'] . ':</label> ';
 
 
738
 
739
  if ( $field_value ) {
 
 
 
 
 
 
 
740
 
741
  foreach ($field_value as $attachment_id) {
742
  if ( $attr['input_type'] == 'image_upload' ) {
@@ -817,7 +828,13 @@ function wpuf_show_custom_fields( $content ) {
817
  $value = $countries[$value];
818
  }
819
  }
820
- $address_html .= '<li><label>' . $attr['address'][$field_key]['label'] . ': </label> ';
 
 
 
 
 
 
821
  $address_html .= ' '.$value.'</li>';
822
  }
823
 
@@ -839,21 +856,38 @@ function wpuf_show_custom_fields( $content ) {
839
  $new = implode( ', ', $newvalue );
840
 
841
  if ( $new ) {
842
- $html .= sprintf( '<li><label>%s</label>: %s</li>', $attr['label'], make_clickable( $new ) );
 
 
 
 
 
 
843
  }
844
  break;
845
 
846
  case 'url':
847
  $value = get_post_meta( $post->ID, $attr['name'] , true );
848
 
 
 
 
 
849
  if ( $attr['template'] == 'embed' ) {
 
 
850
  $preview_width = isset($attr['preview_width']) ? $attr['preview_width'] : '123';
851
  $preview_height = isset($attr['preview_height']) ? $attr['preview_height'] : '456';
 
852
 
853
  $preview = "<li>";
854
- $preview .= sprintf( "<label>%s: </label>", $attr['label'] );
 
 
 
 
855
  $preview .= "<div class='wpuf-embed-preview'>";
856
- $preview .= '[embed width="'.$preview_width.'" height="'.$preview_height.'"]'.$value.'[/embed]';
857
  $preview .= "</div>";
858
  $preview .= "</li>";
859
 
@@ -862,13 +896,28 @@ function wpuf_show_custom_fields( $content ) {
862
  }
863
 
864
  $open_in = $attr['open_window'] == 'same' ? '' : '_blank';
865
- $link = sprintf( "<li><label>%s</label>: <a href='%s' target = '%s'>%s</a></li>", $attr['label'], $value, $open_in, $value);
 
 
 
 
 
 
 
 
866
  $html.= $link;
867
  break;
868
 
869
  case 'date':
870
  $value = get_post_meta( $post->ID, $attr['name'], true );
871
- $html .= sprintf( '<li><label>%s</label>: %s</li>', $attr['label'], make_clickable( $value ) );
 
 
 
 
 
 
 
872
  break;
873
 
874
  default:
@@ -883,7 +932,13 @@ function wpuf_show_custom_fields( $content ) {
883
  $modified_value = implode( $separator, $new );
884
 
885
  if ( $modified_value ) {
886
- $html .= sprintf( '<li><label>%s</label>: %s</li>', $attr['label'], make_clickable( $modified_value ) );
 
 
 
 
 
 
887
  }
888
  } elseif ( ( $attr['input_type'] == 'checkbox' || $attr['input_type'] == 'multiselect' ) && is_array( $value[0] ) ) {
889
 
@@ -891,7 +946,13 @@ function wpuf_show_custom_fields( $content ) {
891
  $modified_value = implode( $separator, $value[0] );
892
 
893
  if ( $modified_value ) {
894
- $html .= sprintf( '<li><label>%s</label>: %s</li>', $attr['label'], make_clickable( $modified_value ) );
 
 
 
 
 
 
895
  }
896
  }
897
 
@@ -900,7 +961,13 @@ function wpuf_show_custom_fields( $content ) {
900
  $new = implode( ', ', $value );
901
 
902
  if ( $new ) {
903
- $html .= sprintf( '<li><label>%s</label>: %s</li>', $attr['label'], make_clickable( $new ) );
 
 
 
 
 
 
904
  }
905
  }
906
 
@@ -914,7 +981,7 @@ function wpuf_show_custom_fields( $content ) {
914
  return $content . $html;
915
  }
916
 
917
- add_filter( 'the_content', 'wpuf_show_custom_fields', 7 );
918
 
919
  /**
920
  * Map display shortcode
@@ -935,12 +1002,19 @@ function wpuf_shortcode_map( $location, $post_id = null, $args = array(), $meta_
935
  return;
936
  }
937
 
938
- $default = array('width' => 450, 'height' => 250, 'zoom' => 12);
939
- $args = wp_parse_args( $args, $default );
940
 
941
- list( $def_lat, $def_long ) = explode( ',', $location );
942
- $def_lat = $def_lat ? $def_lat : 0;
943
- $def_long = $def_long ? $def_long : 0;
 
 
 
 
 
 
 
944
  ?>
945
 
946
  <div class="google-map" style="margin: 10px 0; height: <?php echo $args['height']; ?>px; width: <?php echo $args['width']; ?>px;" id="wpuf-map-<?php echo $meta_key . $post->ID; ?>"></div>
673
  $attr['name'] = $attr['input_type'];
674
  }
675
 
676
+ $field_value = get_post_meta( $post->ID, $attr['name'] );
677
+ $hide_label = isset( $attr['hide_field_label'] ) ? $attr['hide_field_label'] : 'no';
678
 
679
  $return_for_no_cond = 0;
680
 
734
  switch ( $attr['input_type'] ) {
735
  case 'image_upload':
736
  case 'file_upload':
737
+ $image_html = '<li>';
738
 
739
+ if ( $hide_label == 'no' ) {
740
+ $image_html .= '<label>' . $attr['label'] . ':</label> ';
741
+ }
742
 
743
  if ( $field_value ) {
744
+ if( is_serialized( $field_value[0] ) ) {
745
+ $field_value = maybe_unserialize( $field_value[0] );
746
+ }
747
+
748
+ if ( is_array( $field_value[0] ) ) {
749
+ $field_value = $field_value[0];
750
+ }
751
 
752
  foreach ($field_value as $attachment_id) {
753
  if ( $attr['input_type'] == 'image_upload' ) {
828
  $value = $countries[$value];
829
  }
830
  }
831
+
832
+ $address_html .= '<li>';
833
+
834
+ if ( $hide_label == 'no' ) {
835
+ $address_html .= '<label>' . $attr['address'][$field_key]['label'] . ': </label> ';
836
+ }
837
+
838
  $address_html .= ' '.$value.'</li>';
839
  }
840
 
856
  $new = implode( ', ', $newvalue );
857
 
858
  if ( $new ) {
859
+ $html .= '<li>';
860
+
861
+ if ( $hide_label == 'no' ) {
862
+ $html .= '<label>' . $attr['label'] . ': </label>';
863
+ }
864
+
865
+ $html .= make_clickable( $new ) . '</li>';
866
  }
867
  break;
868
 
869
  case 'url':
870
  $value = get_post_meta( $post->ID, $attr['name'] , true );
871
 
872
+ if ( empty( $value ) ) {
873
+ break;
874
+ }
875
+
876
  if ( $attr['template'] == 'embed' ) {
877
+ global $wp_embed;
878
+
879
  $preview_width = isset($attr['preview_width']) ? $attr['preview_width'] : '123';
880
  $preview_height = isset($attr['preview_height']) ? $attr['preview_height'] : '456';
881
+ $shortcode = '[embed width="'.$preview_width.'" height="'.$preview_height.'"]'.$value.'[/embed]';
882
 
883
  $preview = "<li>";
884
+
885
+ if ( $hide_label == 'no' ) {
886
+ $preview .= sprintf( "<label>%s: </label>", $attr['label'] );
887
+ }
888
+
889
  $preview .= "<div class='wpuf-embed-preview'>";
890
+ $preview .= $wp_embed->run_shortcode( $shortcode );
891
  $preview .= "</div>";
892
  $preview .= "</li>";
893
 
896
  }
897
 
898
  $open_in = $attr['open_window'] == 'same' ? '' : '_blank';
899
+
900
+ $link = '<li>';
901
+
902
+ if ( $hide_label == 'no' ) {
903
+ $link .= '<label>' .$attr['label']. '</label>:';
904
+ }
905
+
906
+ $link .= sprintf( " <a href='%s' target = '%s'>%s</a></li>", $value, $open_in, $value);
907
+
908
  $html.= $link;
909
  break;
910
 
911
  case 'date':
912
  $value = get_post_meta( $post->ID, $attr['name'], true );
913
+
914
+ $html .= '<li>';
915
+
916
+ if ( $hide_label == 'no' ) {
917
+ $html .= '<label>' .$attr['label']. '</label>:';
918
+ }
919
+
920
+ $html .= sprintf( ' %s</li>', make_clickable( $value ) );
921
  break;
922
 
923
  default:
932
  $modified_value = implode( $separator, $new );
933
 
934
  if ( $modified_value ) {
935
+ $html .= '<li>';
936
+
937
+ if ( $hide_label == 'no' ) {
938
+ $html .= '<label>' .$attr['label']. '</label>:';
939
+ }
940
+
941
+ $html .= sprintf( ' %s</li>', make_clickable( $modified_value ) );
942
  }
943
  } elseif ( ( $attr['input_type'] == 'checkbox' || $attr['input_type'] == 'multiselect' ) && is_array( $value[0] ) ) {
944
 
946
  $modified_value = implode( $separator, $value[0] );
947
 
948
  if ( $modified_value ) {
949
+ $html .= '<li>';
950
+
951
+ if ( $hide_label == 'no' ) {
952
+ $html .= '<label>' .$attr['label']. '</label>:';
953
+ }
954
+
955
+ $html .= sprintf( ' %s</li>', make_clickable( $modified_value ) );
956
  }
957
  }
958
 
961
  $new = implode( ', ', $value );
962
 
963
  if ( $new ) {
964
+ $html .= '<li>';
965
+
966
+ if ( $hide_label == 'no' ) {
967
+ $html .= '<label>' .$attr['label']. '</label>:';
968
+ }
969
+
970
+ $html .= sprintf( ' %s</li>', make_clickable( $new ) );
971
  }
972
  }
973
 
981
  return $content . $html;
982
  }
983
 
984
+ add_filter( 'the_content', 'wpuf_show_custom_fields', 10 );
985
 
986
  /**
987
  * Map display shortcode
1002
  return;
1003
  }
1004
 
1005
+ $default = array('width' => 450, 'height' => 250, 'zoom' => 12);
1006
+ $args = wp_parse_args( $args, $default );
1007
 
1008
+ if ( is_array( $location ) ) {
1009
+ $def_address = isset( $location['address'] ) ? $location['address'] : '';
1010
+ $def_lat = isset( $location['lat'] ) ? $location['lat'] : '';
1011
+ $def_long = isset( $location['lng'] ) ? $location['lng'] : '';
1012
+ $location = implode( ' || ', $location );
1013
+ } else {
1014
+ list( $def_lat, $def_long ) = explode( ',', $location );
1015
+ $def_lat = $def_lat ? $def_lat : 0;
1016
+ $def_long = $def_long ? $def_long : 0;
1017
+ }
1018
  ?>
1019
 
1020
  <div class="google-map" style="margin: 10px 0; height: <?php echo $args['height']; ?>px; width: <?php echo $args['width']; ?>px;" id="wpuf-map-<?php echo $meta_key . $post->ID; ?>"></div>
wpuf.php CHANGED
@@ -4,15 +4,15 @@ 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.9.2
8
  Author URI: https://tareq.co
9
  License: GPL2 or later
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
- Text Domain: wpuf
12
  Domain Path: /languages
13
  */
14
 
15
- define( 'WPUF_VERSION', '2.9.2' );
16
  define( 'WPUF_FILE', __FILE__ );
17
  define( 'WPUF_ROOT', dirname( __FILE__ ) );
18
  define( 'WPUF_ROOT_URI', plugins_url( '', __FILE__ ) );
@@ -510,7 +510,10 @@ final class WP_User_Frontend {
510
  'ajaxurl' => admin_url( 'admin-ajax.php' ),
511
  'error_message' => __( 'Please fix the errors to proceed', 'wp-user-frontend' ),
512
  'nonce' => wp_create_nonce( 'wpuf_nonce' ),
513
- 'word_limit' => __( 'Word limit reached', 'wp-user-frontend' )
 
 
 
514
  )) );
515
 
516
  wp_localize_script( 'wpuf-subscriptions', 'wpuf_subscription', apply_filters( 'wpuf_subscription_js_data' , array(
@@ -519,6 +522,8 @@ final class WP_User_Frontend {
519
 
520
  wp_localize_script( 'wpuf-upload', 'wpuf_frontend_upload', array(
521
  'confirmMsg' => __( 'Are you sure?', 'wp-user-frontend' ),
 
 
522
  'nonce' => wp_create_nonce( 'wpuf_nonce' ),
523
  'ajaxurl' => admin_url( 'admin-ajax.php' ),
524
  'plupload' => array(
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.9.3
8
  Author URI: https://tareq.co
9
  License: GPL2 or later
10
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
+ Text Domain: wp-user-frontend
12
  Domain Path: /languages
13
  */
14
 
15
+ define( 'WPUF_VERSION', '2.9.3' );
16
  define( 'WPUF_FILE', __FILE__ );
17
  define( 'WPUF_ROOT', dirname( __FILE__ ) );
18
  define( 'WPUF_ROOT_URI', plugins_url( '', __FILE__ ) );
510
  'ajaxurl' => admin_url( 'admin-ajax.php' ),
511
  'error_message' => __( 'Please fix the errors to proceed', 'wp-user-frontend' ),
512
  'nonce' => wp_create_nonce( 'wpuf_nonce' ),
513
+ 'word_limit' => __( 'Word limit reached', 'wp-user-frontend' ),
514
+ 'cancelSubMsg' => __( 'Are you sure you want to cancel your current subscription ?', 'wp-user-frontend' ),
515
+ 'delete_it' => __( 'Yes', 'wp-user-frontend' ),
516
+ 'cancel_it' => __( 'No', 'wp-user-frontend' ),
517
  )) );
518
 
519
  wp_localize_script( 'wpuf-subscriptions', 'wpuf_subscription', apply_filters( 'wpuf_subscription_js_data' , array(
522
 
523
  wp_localize_script( 'wpuf-upload', 'wpuf_frontend_upload', array(
524
  'confirmMsg' => __( 'Are you sure?', 'wp-user-frontend' ),
525
+ 'delete_it' => __( 'Yes, delete it', 'wp-user-frontend' ),
526
+ 'cancel_it' => __( 'No, cancel it', 'wp-user-frontend' ),
527
  'nonce' => wp_create_nonce( 'wpuf_nonce' ),
528
  'ajaxurl' => admin_url( 'admin-ajax.php' ),
529
  'plupload' => array(