Contact Form & SMTP Plugin for WordPress by PirateForms - Version 2.2.3

Version Description

  • 2017-10-24
Download this release

Release Info

Developer codeinwp
Plugin Icon 128x128 Contact Form & SMTP Plugin for WordPress by PirateForms
Version 2.2.3
Comparing to
See all releases

Code changes from version 2.2.2 to 2.2.3

CHANGELOG.md CHANGED
@@ -1,4 +1,9 @@
1
 
 
 
 
 
 
2
  ### v2.2.2 - 2017-10-20
3
  **Changes:**
4
  * Hide email entries in frontend queries.
1
 
2
+ ### v2.2.3 - 2017-10-24
3
+ **Changes:**
4
+ * Improves compatibility with Hestia theme.
5
+ * Adds option to set form label classes.
6
+
7
  ### v2.2.2 - 2017-10-20
8
  **Changes:**
9
  * Hide email entries in frontend queries.
admin/css/upsell.css CHANGED
@@ -1,5 +1,4 @@
1
  #pf-pro-features .pro-features-header {
2
- -webkit-box-sizing: border-box;
3
  box-sizing: border-box;
4
  padding: 20px 30px 30px;
5
  border-top: 5px solid #252b37;
@@ -46,7 +45,6 @@
46
 
47
  #pf-pro-features .slogan a:focus {
48
  outline: none;
49
- -webkit-box-shadow: none;
50
  box-shadow: none;
51
  }
52
 
@@ -95,13 +93,11 @@
95
  #pf-pro-features .pro-feature {
96
  display: table;
97
  float: left;
98
- -webkit-box-sizing: border-box;
99
  box-sizing: border-box;
100
  width: 100%;
101
  margin: 30px 0 0;
102
  padding: 30px;
103
  background-color: #fff;
104
- -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1);
105
  box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1);
106
  }
107
 
@@ -113,7 +109,6 @@
113
  }
114
 
115
  #pf-pro-features .pro-feature .pro-feature-features {
116
- -webkit-box-sizing: border-box;
117
  box-sizing: border-box;
118
  padding: 0 0 20px;
119
  }
1
  #pf-pro-features .pro-features-header {
 
2
  box-sizing: border-box;
3
  padding: 20px 30px 30px;
4
  border-top: 5px solid #252b37;
45
 
46
  #pf-pro-features .slogan a:focus {
47
  outline: none;
 
48
  box-shadow: none;
49
  }
50
 
93
  #pf-pro-features .pro-feature {
94
  display: table;
95
  float: left;
 
96
  box-sizing: border-box;
97
  width: 100%;
98
  margin: 30px 0 0;
99
  padding: 30px;
100
  background-color: #fff;
 
101
  box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1);
102
  }
103
 
109
  }
110
 
111
  #pf-pro-features .pro-feature .pro-feature-features {
 
112
  box-sizing: border-box;
113
  padding: 0 0 20px;
114
  }
admin/css/wp-admin.css CHANGED
@@ -1,5 +1,4 @@
1
  .pirate-forms-nav-tabs a {
2
- -webkit-box-shadow: none !important;
3
  box-shadow: none !important;
4
  }
5
 
@@ -283,7 +282,6 @@ div.pirate_dashicons > form > div > label {
283
  }
284
 
285
  .pirate-custom-emails a:hover {
286
- -webkit-box-shadow: none;
287
  box-shadow: none;
288
  -webkit-transform: translateY(4px);
289
  -ms-transform: translateY(4px);
@@ -298,7 +296,6 @@ div.pirate_dashicons > form > div > label {
298
  border-radius: 3px;
299
  color: #fff;
300
  background: #ff7f65;
301
- -webkit-box-shadow: 0 4px 0 #da6f5a;
302
  box-shadow: 0 4px 0 #da6f5a;
303
  font-size: 12px;
304
  font-weight: 700;
@@ -361,11 +358,13 @@ div.pirate_dashicons > form > div > label {
361
  .pirate-forms-test-button {
362
  margin-left: 10px;
363
  }
364
- input#save.pirate-forms-save-button{
365
- margin-right:10px;
 
366
  }
367
- .pirate-forms-grouped input[type=radio]{
368
- margin-top: 0px;
369
- margin-left:5px;
370
  margin-right: 10px;
371
- }
 
1
  .pirate-forms-nav-tabs a {
 
2
  box-shadow: none !important;
3
  }
4
 
282
  }
283
 
284
  .pirate-custom-emails a:hover {
 
285
  box-shadow: none;
286
  -webkit-transform: translateY(4px);
287
  -ms-transform: translateY(4px);
296
  border-radius: 3px;
297
  color: #fff;
298
  background: #ff7f65;
 
299
  box-shadow: 0 4px 0 #da6f5a;
300
  font-size: 12px;
301
  font-weight: 700;
358
  .pirate-forms-test-button {
359
  margin-left: 10px;
360
  }
361
+
362
+ input#save.pirate-forms-save-button {
363
+ margin-right: 10px;
364
  }
365
+
366
+ .pirate-forms-grouped input[type=radio] {
367
+ margin-top: 0;
368
  margin-right: 10px;
369
+ margin-left: 5px;
370
+ }
includes/class-pirateforms-html.php CHANGED
@@ -68,7 +68,12 @@ class PirateForms_HTML {
68
  private function get_label( $args ) {
69
  $html = '';
70
  if ( isset( $args['label'] ) ) {
71
- $html .= '<label for="' . esc_attr( $args['id'] ) . '">';
 
 
 
 
 
72
  if ( isset( $args['label']['value'] ) ) {
73
  $html .= esc_html( $args['label']['value'] );
74
  }
68
  private function get_label( $args ) {
69
  $html = '';
70
  if ( isset( $args['label'] ) ) {
71
+ $html .= '<label for="' . esc_attr( $args['id'] ) . '"';
72
+
73
+ if ( isset( $args['label']['class'] ) ) {
74
+ $html .= 'class="' . esc_attr( $args['label']['class'] ) . '"';
75
+ }
76
+ $html .= '>';
77
  if ( isset( $args['label']['value'] ) ) {
78
  $html .= esc_html( $args['label']['value'] );
79
  }
includes/class-pirateforms.php CHANGED
@@ -69,7 +69,7 @@ class PirateForms {
69
  public function __construct() {
70
 
71
  $this->plugin_name = 'pirateforms';
72
- $this->version = '2.2.2';
73
 
74
  $this->load_dependencies();
75
  $this->set_locale();
69
  public function __construct() {
70
 
71
  $this->plugin_name = 'pirateforms';
72
+ $this->version = '2.2.3';
73
 
74
  $this->load_dependencies();
75
  $this->set_locale();
languages/pirate-forms.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the GPLv2.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Free & Simple Contact Form Plugin - Pirateforms 2.1.0\n"
6
  "Report-Msgid-Bugs-To: https://github.com/Codeinwp/pirate-forms/issues\n"
7
- "POT-Creation-Date: 2017-08-26 09:03:11+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -24,31 +24,39 @@ msgstr ""
24
  "X-Poedit-Bookmarks: \n"
25
  "X-Textdomain-Support: yes\n"
26
 
27
- #: admin/class-pirateforms-admin.php:120 admin/class-pirateforms-admin.php:144
 
 
 
 
28
  msgid "Settings"
29
  msgstr ""
30
 
31
- #: admin/class-pirateforms-admin.php:151
32
  msgid "More Features"
33
  msgstr ""
34
 
35
- #: admin/class-pirateforms-admin.php:209 admin/class-pirateforms-admin.php:213
36
  msgid "Send Message"
37
  msgstr ""
38
 
39
- #: admin/class-pirateforms-admin.php:231
 
 
 
 
40
  msgid "Form processing options"
41
  msgstr ""
42
 
43
- #: admin/class-pirateforms-admin.php:238
44
  msgid "Contact notification email address"
45
  msgstr ""
46
 
47
- #: admin/class-pirateforms-admin.php:241
48
  msgid "Insert [email] to use the contact form submitter's email."
49
  msgstr ""
50
 
51
- #: admin/class-pirateforms-admin.php:241
52
  msgid ""
53
  "The notification email will be sent from this address both to the "
54
  "recipients below and the contact form submitter (if this is activated below "
@@ -56,38 +64,38 @@ msgid ""
56
  "should match your site's domain)."
57
  msgstr ""
58
 
59
- #: admin/class-pirateforms-admin.php:257
60
  msgid "Contact submission recipients"
61
  msgstr ""
62
 
63
- #: admin/class-pirateforms-admin.php:260
64
  msgid ""
65
  "Email address(es) to receive contact submission notifications. You can "
66
  "separate multiple emails with a comma."
67
  msgstr ""
68
 
69
- #: admin/class-pirateforms-admin.php:276
70
  msgid "Store submissions in the database"
71
  msgstr ""
72
 
73
- #: admin/class-pirateforms-admin.php:279
74
  msgid ""
75
  "Should the submissions be stored in the admin area? If chosen, contact form "
76
- "submissions will be saved in Contacts on the left (appears after this "
77
- "option is activated)."
78
  msgstr ""
79
 
80
- #: admin/class-pirateforms-admin.php:289 admin/class-pirateforms-admin.php:308
81
- #: admin/class-pirateforms-admin.php:462 admin/class-pirateforms-admin.php:683
82
- #: admin/class-pirateforms-admin.php:726
83
  msgid "Yes"
84
  msgstr ""
85
 
86
- #: admin/class-pirateforms-admin.php:295
87
  msgid "Add a nonce to the contact form:"
88
  msgstr ""
89
 
90
- #: admin/class-pirateforms-admin.php:298
91
  msgid ""
92
  "Should the form use a WordPress nonce? This helps reduce spam by ensuring "
93
  "that the form submittor is on the site when submitting the form rather than "
@@ -96,251 +104,271 @@ msgid ""
96
  "forms not being able to be submitted with an error of \"Nonce failed!\""
97
  msgstr ""
98
 
99
- #: admin/class-pirateforms-admin.php:314
100
  msgid "Send email confirmation to form submitter"
101
  msgstr ""
102
 
103
- #: admin/class-pirateforms-admin.php:317
104
  msgid ""
105
  "Adding text here will send an email to the form submitter. The email uses "
106
  "the \"Successful form submission text\" field from the \"Alert Messages\" "
107
  "tab as the subject line. Plain text only here, no HTML."
108
  msgstr ""
109
 
110
- #: admin/class-pirateforms-admin.php:333
111
  msgid "Success Page"
112
  msgstr ""
113
 
114
- #: admin/class-pirateforms-admin.php:336
115
  msgid ""
116
  "Select the page that displays after a successful form submission. The page "
117
  "will be displayed without pausing on the email form, so please be sure to "
118
  "configure a relevant thank you message in this page."
119
  msgstr ""
120
 
121
- #: admin/class-pirateforms-admin.php:351
 
 
 
 
 
 
 
 
 
 
 
122
  #: admin/partials/pirateforms-settings-display.php:31
123
  msgid "Fields Settings"
124
  msgstr ""
125
 
126
- #: admin/class-pirateforms-admin.php:359 admin/class-pirateforms-admin.php:509
127
  msgid "Name"
128
  msgstr ""
129
 
130
- #: admin/class-pirateforms-admin.php:368 admin/class-pirateforms-admin.php:387
131
  #: admin/class-pirateforms-admin.php:406 admin/class-pirateforms-admin.php:425
132
- #: admin/class-pirateforms-admin.php:443
 
133
  msgid "Do not display"
134
  msgstr ""
135
 
136
- #: admin/class-pirateforms-admin.php:369 admin/class-pirateforms-admin.php:388
137
  #: admin/class-pirateforms-admin.php:407 admin/class-pirateforms-admin.php:426
138
- #: admin/class-pirateforms-admin.php:444
 
139
  msgid "Display but not required"
140
  msgstr ""
141
 
142
- #: admin/class-pirateforms-admin.php:370 admin/class-pirateforms-admin.php:389
143
  #: admin/class-pirateforms-admin.php:408 admin/class-pirateforms-admin.php:427
144
- #: admin/class-pirateforms-admin.php:445
 
145
  msgid "Required"
146
  msgstr ""
147
 
148
- #: admin/class-pirateforms-admin.php:378
149
  msgid "Email address"
150
  msgstr ""
151
 
152
- #: admin/class-pirateforms-admin.php:397 admin/class-pirateforms-admin.php:535
153
- #: admin/class-pirateforms-admin.php:537
154
  msgid "Subject"
155
  msgstr ""
156
 
157
- #: admin/class-pirateforms-admin.php:416 admin/class-pirateforms-admin.php:548
158
  msgid "Message"
159
  msgstr ""
160
 
161
- #: admin/class-pirateforms-admin.php:435
 
162
  msgid "Attachment"
163
  msgstr ""
164
 
165
- #: admin/class-pirateforms-admin.php:453
166
- msgid "Add a reCAPTCHA"
 
 
 
 
 
 
 
 
 
 
 
 
167
  msgstr ""
168
 
169
- #: admin/class-pirateforms-admin.php:470
170
  msgid "Site key"
171
  msgstr ""
172
 
173
- #: admin/class-pirateforms-admin.php:473
174
  msgid "Create an account here "
175
  msgstr ""
176
 
177
- #: admin/class-pirateforms-admin.php:473
178
  msgid "to get the Site key and the Secret key for the reCaptcha."
179
  msgstr ""
180
 
181
- #: admin/class-pirateforms-admin.php:489
182
  msgid "Secret key"
183
  msgstr ""
184
 
185
- #: admin/class-pirateforms-admin.php:502
186
  #: admin/partials/pirateforms-settings-display.php:34
187
  msgid "Fields Labels"
188
  msgstr ""
189
 
190
- #: admin/class-pirateforms-admin.php:511
191
  msgid "Your Name"
192
  msgstr ""
193
 
194
- #: admin/class-pirateforms-admin.php:522
195
  msgid "Email"
196
  msgstr ""
197
 
198
- #: admin/class-pirateforms-admin.php:524
199
  msgid "Your Email"
200
  msgstr ""
201
 
202
- #: admin/class-pirateforms-admin.php:550
203
  msgid "Your message"
204
  msgstr ""
205
 
206
- #: admin/class-pirateforms-admin.php:561
207
  msgid "Submit button"
208
  msgstr ""
209
 
210
- #: admin/class-pirateforms-admin.php:574
211
  #: admin/partials/pirateforms-settings-display.php:37
212
  msgid "Alert Messages"
213
  msgstr ""
214
 
215
- #: admin/class-pirateforms-admin.php:581
216
  msgid "Name required and missing"
217
  msgstr ""
218
 
219
- #: admin/class-pirateforms-admin.php:583
220
  msgid "Enter your name"
221
  msgstr ""
222
 
223
- #: admin/class-pirateforms-admin.php:594
224
  msgid "E-mail required and missing"
225
  msgstr ""
226
 
227
- #: admin/class-pirateforms-admin.php:596
228
  msgid "Enter valid email"
229
  msgstr ""
230
 
231
- #: admin/class-pirateforms-admin.php:607
232
  msgid "Subject required and missing"
233
  msgstr ""
234
 
235
- #: admin/class-pirateforms-admin.php:609
236
  msgid "Please enter a subject"
237
  msgstr ""
238
 
239
- #: admin/class-pirateforms-admin.php:620
240
  msgid "Question/comment is missing"
241
  msgstr ""
242
 
243
- #: admin/class-pirateforms-admin.php:622
244
  msgid "Enter your question or comment"
245
  msgstr ""
246
 
247
- #: admin/class-pirateforms-admin.php:633
248
  msgid "Attachment is missing"
249
  msgstr ""
250
 
251
- #: admin/class-pirateforms-admin.php:635
252
  msgid "Please add an attachment"
253
  msgstr ""
254
 
255
- #: admin/class-pirateforms-admin.php:646
256
  msgid "Successful form submission text"
257
  msgstr ""
258
 
259
- #: admin/class-pirateforms-admin.php:649
260
  msgid ""
261
  "This text is used on the page if no Success Page is chosen above. This is "
262
  "also used as the confirmation email title, if one is set to send out."
263
  msgstr ""
264
 
265
- #: admin/class-pirateforms-admin.php:653
266
  msgid "Thanks, your email was sent successfully!"
267
  msgstr ""
268
 
269
- #: admin/class-pirateforms-admin.php:664
270
  msgid "SMTP Options"
271
  msgstr ""
272
 
273
- #: admin/class-pirateforms-admin.php:671
274
  msgid "Use SMTP to send emails?"
275
  msgstr ""
276
 
277
- #: admin/class-pirateforms-admin.php:674
278
  msgid "Instead of PHP mail function"
279
  msgstr ""
280
 
281
- #: admin/class-pirateforms-admin.php:689
282
  msgid "SMTP Host"
283
  msgstr ""
284
 
285
- #: admin/class-pirateforms-admin.php:701
286
  msgid "SMTP Port"
287
  msgstr ""
288
 
289
- #: admin/class-pirateforms-admin.php:713
290
  msgid "Use SMTP Authentication?"
291
  msgstr ""
292
 
293
- #: admin/class-pirateforms-admin.php:716 admin/class-pirateforms-admin.php:735
294
  msgid ""
295
  "If you check this box, make sure the SMTP Username and SMTP Password are "
296
  "completed."
297
  msgstr ""
298
 
299
- #: admin/class-pirateforms-admin.php:732
300
  msgid "Security?"
301
  msgstr ""
302
 
303
- #: admin/class-pirateforms-admin.php:745
304
- msgid "No"
305
- msgstr ""
306
-
307
- #: admin/class-pirateforms-admin.php:746
308
  msgid "SSL"
309
  msgstr ""
310
 
311
- #: admin/class-pirateforms-admin.php:747
312
  msgid "TLS"
313
  msgstr ""
314
 
315
- #: admin/class-pirateforms-admin.php:754
316
  msgid "SMTP Username"
317
  msgstr ""
318
 
319
- #: admin/class-pirateforms-admin.php:766
320
  msgid "SMTP Password"
321
  msgstr ""
322
 
323
- #: admin/class-pirateforms-admin.php:874
324
  msgid "Mail Status"
325
  msgstr ""
326
 
327
- #: admin/class-pirateforms-admin.php:894
328
  msgid "Status not captured"
329
  msgstr ""
330
 
331
- #: admin/class-pirateforms-admin.php:894
332
- msgid "Mail sent successfully!"
333
  msgstr ""
334
 
335
- #: admin/class-pirateforms-admin.php:894
336
- msgid "Mail sending failed!"
337
  msgstr ""
338
 
339
- #: admin/class-pirateforms-admin.php:933
340
  msgid "Sent email successfully!"
341
  msgstr ""
342
 
343
- #: admin/class-pirateforms-admin.php:933
344
  msgid "Sent email failed!"
345
  msgstr ""
346
 
@@ -464,11 +492,15 @@ msgid ""
464
  "newsletter."
465
  msgstr ""
466
 
467
- #: includes/class-pirateforms-util.php:122
 
 
 
 
468
  msgid "Form submission blocked!"
469
  msgstr ""
470
 
471
- #: includes/class-pirateforms-util.php:138
472
  msgid "None"
473
  msgstr ""
474
 
@@ -494,93 +526,102 @@ msgid ""
494
  "version for more features"
495
  msgstr ""
496
 
497
- #: includes/class-pirateforms.php:242
498
  msgid "Edit Entry"
499
  msgstr ""
500
 
501
- #: includes/class-pirateforms.php:243
502
  msgid "View Entry"
503
  msgstr ""
504
 
505
- #: includes/class-pirateforms.php:244
506
  msgid "All Entries"
507
  msgstr ""
508
 
509
- #: includes/class-pirateforms.php:245
510
  msgid "Search Entries"
511
  msgstr ""
512
 
513
- #: includes/class-pirateforms.php:246
514
  msgid "Parent Entries:"
515
  msgstr ""
516
 
517
- #: includes/class-pirateforms.php:247
518
  msgid "No entries found."
519
  msgstr ""
520
 
521
- #: includes/class-pirateforms.php:248
522
  msgid "No entries found in Trash."
523
  msgstr ""
524
 
525
- #: includes/class-pirateforms.php:252
526
  msgid "Entries from Pirate Forms"
527
  msgstr ""
528
 
529
- #: public/class-pirateforms-public.php:330
 
 
 
 
530
  msgid "Submit"
531
  msgstr ""
532
 
533
- #: public/class-pirateforms-public.php:426
534
  msgid "Sorry, an error occured."
535
  msgstr ""
536
 
537
- #: public/class-pirateforms-public.php:484
538
  msgid "Nonce failed!"
539
  msgstr ""
540
 
541
- #: public/class-pirateforms-public.php:493
 
542
  msgid "Form submission failed!"
543
  msgstr ""
544
 
545
- #: public/class-pirateforms-public.php:505
546
- msgid "Contact form submission from"
547
  msgstr ""
548
 
549
- #: public/class-pirateforms-public.php:516
550
  msgid "Please enter one or more Contact submission recipients"
551
  msgstr ""
552
 
553
- #: public/class-pirateforms-public.php:531
554
- msgid "IP address: "
555
  msgstr ""
556
 
557
- #: public/class-pirateforms-public.php:532
558
- msgid "IP search:"
559
  msgstr ""
560
 
561
- #: public/class-pirateforms-public.php:537
562
- msgid "Came from: "
563
  msgstr ""
564
 
565
- #: public/class-pirateforms-public.php:541
566
- msgid "Sent from page: "
567
  msgstr ""
568
 
569
- #: public/class-pirateforms-public.php:733
570
- #: public/class-pirateforms-public.php:745
571
  msgid "Wrong reCAPTCHA"
572
  msgstr ""
573
 
574
- #: public/class-pirateforms-public.php:778
575
- msgid "Uploaded file is not allowed for file type"
 
 
 
 
576
  msgstr ""
577
 
578
- #: public/class-pirateforms-public.php:786
579
- msgid "Uploaded file is too large"
580
  msgstr ""
581
 
582
- #: public/class-pirateforms-public.php:802
583
- msgid "There was an unknown error uploading the file."
584
  msgstr ""
585
 
586
  #. Plugin Name of the plugin/theme
@@ -603,22 +644,22 @@ msgstr ""
603
  msgid "http://themeisle.com"
604
  msgstr ""
605
 
606
- #: includes/class-pirateforms.php:238
607
  msgctxt "post type general name"
608
  msgid "Entries"
609
  msgstr ""
610
 
611
- #: includes/class-pirateforms.php:239
612
  msgctxt "post type singular name"
613
  msgid "Entry"
614
  msgstr ""
615
 
616
- #: includes/class-pirateforms.php:240
617
  msgctxt "admin menu"
618
  msgid "Entries"
619
  msgstr ""
620
 
621
- #: includes/class-pirateforms.php:241
622
  msgctxt "add new on admin bar"
623
  msgid "Entry"
624
  msgstr ""
2
  # This file is distributed under the GPLv2.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Free & Simple Contact Form Plugin - Pirateforms 2.2.2\n"
6
  "Report-Msgid-Bugs-To: https://github.com/Codeinwp/pirate-forms/issues\n"
7
+ "POT-Creation-Date: 2017-10-23 10:41:06+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
24
  "X-Poedit-Bookmarks: \n"
25
  "X-Textdomain-Support: yes\n"
26
 
27
+ #: admin/class-pirateforms-admin.php:76
28
+ msgid "Please specify the Site Key and Secret Key."
29
+ msgstr ""
30
+
31
+ #: admin/class-pirateforms-admin.php:123 admin/class-pirateforms-admin.php:147
32
  msgid "Settings"
33
  msgstr ""
34
 
35
+ #: admin/class-pirateforms-admin.php:154
36
  msgid "More Features"
37
  msgstr ""
38
 
39
+ #: admin/class-pirateforms-admin.php:212 admin/class-pirateforms-admin.php:216
40
  msgid "Send Message"
41
  msgstr ""
42
 
43
+ #: admin/class-pirateforms-admin.php:240
44
+ msgid "To use this option, please ensure Akismet is activated with a valid key."
45
+ msgstr ""
46
+
47
+ #: admin/class-pirateforms-admin.php:248
48
  msgid "Form processing options"
49
  msgstr ""
50
 
51
+ #: admin/class-pirateforms-admin.php:255
52
  msgid "Contact notification email address"
53
  msgstr ""
54
 
55
+ #: admin/class-pirateforms-admin.php:258
56
  msgid "Insert [email] to use the contact form submitter's email."
57
  msgstr ""
58
 
59
+ #: admin/class-pirateforms-admin.php:258
60
  msgid ""
61
  "The notification email will be sent from this address both to the "
62
  "recipients below and the contact form submitter (if this is activated below "
64
  "should match your site's domain)."
65
  msgstr ""
66
 
67
+ #: admin/class-pirateforms-admin.php:274
68
  msgid "Contact submission recipients"
69
  msgstr ""
70
 
71
+ #: admin/class-pirateforms-admin.php:277
72
  msgid ""
73
  "Email address(es) to receive contact submission notifications. You can "
74
  "separate multiple emails with a comma."
75
  msgstr ""
76
 
77
+ #: admin/class-pirateforms-admin.php:293
78
  msgid "Store submissions in the database"
79
  msgstr ""
80
 
81
+ #: admin/class-pirateforms-admin.php:296
82
  msgid ""
83
  "Should the submissions be stored in the admin area? If chosen, contact form "
84
+ "submissions will be saved under \"All Entries\" on the left (appears after "
85
+ "this option is activated)."
86
  msgstr ""
87
 
88
+ #: admin/class-pirateforms-admin.php:306 admin/class-pirateforms-admin.php:325
89
+ #: admin/class-pirateforms-admin.php:381 admin/class-pirateforms-admin.php:723
90
+ #: admin/class-pirateforms-admin.php:766
91
  msgid "Yes"
92
  msgstr ""
93
 
94
+ #: admin/class-pirateforms-admin.php:312
95
  msgid "Add a nonce to the contact form:"
96
  msgstr ""
97
 
98
+ #: admin/class-pirateforms-admin.php:315
99
  msgid ""
100
  "Should the form use a WordPress nonce? This helps reduce spam by ensuring "
101
  "that the form submittor is on the site when submitting the form rather than "
104
  "forms not being able to be submitted with an error of \"Nonce failed!\""
105
  msgstr ""
106
 
107
+ #: admin/class-pirateforms-admin.php:331
108
  msgid "Send email confirmation to form submitter"
109
  msgstr ""
110
 
111
+ #: admin/class-pirateforms-admin.php:334
112
  msgid ""
113
  "Adding text here will send an email to the form submitter. The email uses "
114
  "the \"Successful form submission text\" field from the \"Alert Messages\" "
115
  "tab as the subject line. Plain text only here, no HTML."
116
  msgstr ""
117
 
118
+ #: admin/class-pirateforms-admin.php:350
119
  msgid "Success Page"
120
  msgstr ""
121
 
122
+ #: admin/class-pirateforms-admin.php:353
123
  msgid ""
124
  "Select the page that displays after a successful form submission. The page "
125
  "will be displayed without pausing on the email form, so please be sure to "
126
  "configure a relevant thank you message in this page."
127
  msgstr ""
128
 
129
+ #: admin/class-pirateforms-admin.php:368
130
+ msgid "Integrate with Akismet?"
131
+ msgstr ""
132
+
133
+ #: admin/class-pirateforms-admin.php:371
134
+ msgid ""
135
+ "Checking this option will verify the content of the message with Akismet to "
136
+ "check if it's spam. If it is determined to be spam, the message will be "
137
+ "blocked. %s"
138
+ msgstr ""
139
+
140
+ #: admin/class-pirateforms-admin.php:389
141
  #: admin/partials/pirateforms-settings-display.php:31
142
  msgid "Fields Settings"
143
  msgstr ""
144
 
145
+ #: admin/class-pirateforms-admin.php:397 admin/class-pirateforms-admin.php:549
146
  msgid "Name"
147
  msgstr ""
148
 
 
149
  #: admin/class-pirateforms-admin.php:406 admin/class-pirateforms-admin.php:425
150
+ #: admin/class-pirateforms-admin.php:444 admin/class-pirateforms-admin.php:463
151
+ #: admin/class-pirateforms-admin.php:481
152
  msgid "Do not display"
153
  msgstr ""
154
 
 
155
  #: admin/class-pirateforms-admin.php:407 admin/class-pirateforms-admin.php:426
156
+ #: admin/class-pirateforms-admin.php:445 admin/class-pirateforms-admin.php:464
157
+ #: admin/class-pirateforms-admin.php:482
158
  msgid "Display but not required"
159
  msgstr ""
160
 
 
161
  #: admin/class-pirateforms-admin.php:408 admin/class-pirateforms-admin.php:427
162
+ #: admin/class-pirateforms-admin.php:446 admin/class-pirateforms-admin.php:465
163
+ #: admin/class-pirateforms-admin.php:483
164
  msgid "Required"
165
  msgstr ""
166
 
167
+ #: admin/class-pirateforms-admin.php:416
168
  msgid "Email address"
169
  msgstr ""
170
 
171
+ #: admin/class-pirateforms-admin.php:435 admin/class-pirateforms-admin.php:575
172
+ #: admin/class-pirateforms-admin.php:577
173
  msgid "Subject"
174
  msgstr ""
175
 
176
+ #: admin/class-pirateforms-admin.php:454 admin/class-pirateforms-admin.php:588
177
  msgid "Message"
178
  msgstr ""
179
 
180
+ #: admin/class-pirateforms-admin.php:473
181
+ #: public/class-pirateforms-public.php:980
182
  msgid "Attachment"
183
  msgstr ""
184
 
185
+ #: admin/class-pirateforms-admin.php:491
186
+ msgid "Add a spam trap"
187
+ msgstr ""
188
+
189
+ #: admin/class-pirateforms-admin.php:500 admin/class-pirateforms-admin.php:785
190
+ msgid "No"
191
+ msgstr ""
192
+
193
+ #: admin/class-pirateforms-admin.php:501
194
+ msgid "Custom"
195
+ msgstr ""
196
+
197
+ #: admin/class-pirateforms-admin.php:502
198
+ msgid "Google reCAPTCHA"
199
  msgstr ""
200
 
201
+ #: admin/class-pirateforms-admin.php:510
202
  msgid "Site key"
203
  msgstr ""
204
 
205
+ #: admin/class-pirateforms-admin.php:513
206
  msgid "Create an account here "
207
  msgstr ""
208
 
209
+ #: admin/class-pirateforms-admin.php:513
210
  msgid "to get the Site key and the Secret key for the reCaptcha."
211
  msgstr ""
212
 
213
+ #: admin/class-pirateforms-admin.php:529
214
  msgid "Secret key"
215
  msgstr ""
216
 
217
+ #: admin/class-pirateforms-admin.php:542
218
  #: admin/partials/pirateforms-settings-display.php:34
219
  msgid "Fields Labels"
220
  msgstr ""
221
 
222
+ #: admin/class-pirateforms-admin.php:551
223
  msgid "Your Name"
224
  msgstr ""
225
 
226
+ #: admin/class-pirateforms-admin.php:562
227
  msgid "Email"
228
  msgstr ""
229
 
230
+ #: admin/class-pirateforms-admin.php:564
231
  msgid "Your Email"
232
  msgstr ""
233
 
234
+ #: admin/class-pirateforms-admin.php:590
235
  msgid "Your message"
236
  msgstr ""
237
 
238
+ #: admin/class-pirateforms-admin.php:601
239
  msgid "Submit button"
240
  msgstr ""
241
 
242
+ #: admin/class-pirateforms-admin.php:614
243
  #: admin/partials/pirateforms-settings-display.php:37
244
  msgid "Alert Messages"
245
  msgstr ""
246
 
247
+ #: admin/class-pirateforms-admin.php:621
248
  msgid "Name required and missing"
249
  msgstr ""
250
 
251
+ #: admin/class-pirateforms-admin.php:623
252
  msgid "Enter your name"
253
  msgstr ""
254
 
255
+ #: admin/class-pirateforms-admin.php:634
256
  msgid "E-mail required and missing"
257
  msgstr ""
258
 
259
+ #: admin/class-pirateforms-admin.php:636
260
  msgid "Enter valid email"
261
  msgstr ""
262
 
263
+ #: admin/class-pirateforms-admin.php:647
264
  msgid "Subject required and missing"
265
  msgstr ""
266
 
267
+ #: admin/class-pirateforms-admin.php:649
268
  msgid "Please enter a subject"
269
  msgstr ""
270
 
271
+ #: admin/class-pirateforms-admin.php:660
272
  msgid "Question/comment is missing"
273
  msgstr ""
274
 
275
+ #: admin/class-pirateforms-admin.php:662
276
  msgid "Enter your question or comment"
277
  msgstr ""
278
 
279
+ #: admin/class-pirateforms-admin.php:673
280
  msgid "Attachment is missing"
281
  msgstr ""
282
 
283
+ #: admin/class-pirateforms-admin.php:675
284
  msgid "Please add an attachment"
285
  msgstr ""
286
 
287
+ #: admin/class-pirateforms-admin.php:686
288
  msgid "Successful form submission text"
289
  msgstr ""
290
 
291
+ #: admin/class-pirateforms-admin.php:689
292
  msgid ""
293
  "This text is used on the page if no Success Page is chosen above. This is "
294
  "also used as the confirmation email title, if one is set to send out."
295
  msgstr ""
296
 
297
+ #: admin/class-pirateforms-admin.php:693
298
  msgid "Thanks, your email was sent successfully!"
299
  msgstr ""
300
 
301
+ #: admin/class-pirateforms-admin.php:704
302
  msgid "SMTP Options"
303
  msgstr ""
304
 
305
+ #: admin/class-pirateforms-admin.php:711
306
  msgid "Use SMTP to send emails?"
307
  msgstr ""
308
 
309
+ #: admin/class-pirateforms-admin.php:714
310
  msgid "Instead of PHP mail function"
311
  msgstr ""
312
 
313
+ #: admin/class-pirateforms-admin.php:729
314
  msgid "SMTP Host"
315
  msgstr ""
316
 
317
+ #: admin/class-pirateforms-admin.php:741
318
  msgid "SMTP Port"
319
  msgstr ""
320
 
321
+ #: admin/class-pirateforms-admin.php:753
322
  msgid "Use SMTP Authentication?"
323
  msgstr ""
324
 
325
+ #: admin/class-pirateforms-admin.php:756 admin/class-pirateforms-admin.php:775
326
  msgid ""
327
  "If you check this box, make sure the SMTP Username and SMTP Password are "
328
  "completed."
329
  msgstr ""
330
 
331
+ #: admin/class-pirateforms-admin.php:772
332
  msgid "Security?"
333
  msgstr ""
334
 
335
+ #: admin/class-pirateforms-admin.php:786
 
 
 
 
336
  msgid "SSL"
337
  msgstr ""
338
 
339
+ #: admin/class-pirateforms-admin.php:787
340
  msgid "TLS"
341
  msgstr ""
342
 
343
+ #: admin/class-pirateforms-admin.php:794
344
  msgid "SMTP Username"
345
  msgstr ""
346
 
347
+ #: admin/class-pirateforms-admin.php:806
348
  msgid "SMTP Password"
349
  msgstr ""
350
 
351
+ #: admin/class-pirateforms-admin.php:919
352
  msgid "Mail Status"
353
  msgstr ""
354
 
355
+ #: admin/class-pirateforms-admin.php:942
356
  msgid "Status not captured"
357
  msgstr ""
358
 
359
+ #: admin/class-pirateforms-admin.php:942
360
+ msgid "Mail sending failed!"
361
  msgstr ""
362
 
363
+ #: admin/class-pirateforms-admin.php:942
364
+ msgid "Mail sent successfully!"
365
  msgstr ""
366
 
367
+ #: admin/class-pirateforms-admin.php:991
368
  msgid "Sent email successfully!"
369
  msgstr ""
370
 
371
+ #: admin/class-pirateforms-admin.php:991
372
  msgid "Sent email failed!"
373
  msgstr ""
374
 
492
  "newsletter."
493
  msgstr ""
494
 
495
+ #: includes/class-pirateforms-html.php:183
496
+ msgid "Upload file"
497
+ msgstr ""
498
+
499
+ #: includes/class-pirateforms-util.php:150
500
  msgid "Form submission blocked!"
501
  msgstr ""
502
 
503
+ #: includes/class-pirateforms-util.php:166
504
  msgid "None"
505
  msgstr ""
506
 
526
  "version for more features"
527
  msgstr ""
528
 
529
+ #: includes/class-pirateforms.php:251
530
  msgid "Edit Entry"
531
  msgstr ""
532
 
533
+ #: includes/class-pirateforms.php:252
534
  msgid "View Entry"
535
  msgstr ""
536
 
537
+ #: includes/class-pirateforms.php:253
538
  msgid "All Entries"
539
  msgstr ""
540
 
541
+ #: includes/class-pirateforms.php:254
542
  msgid "Search Entries"
543
  msgstr ""
544
 
545
+ #: includes/class-pirateforms.php:255
546
  msgid "Parent Entries:"
547
  msgstr ""
548
 
549
+ #: includes/class-pirateforms.php:256
550
  msgid "No entries found."
551
  msgstr ""
552
 
553
+ #: includes/class-pirateforms.php:257
554
  msgid "No entries found in Trash."
555
  msgstr ""
556
 
557
+ #: includes/class-pirateforms.php:261
558
  msgid "Entries from Pirate Forms"
559
  msgstr ""
560
 
561
+ #: public/class-pirateforms-public.php:104
562
+ msgid "I'm human!"
563
+ msgstr ""
564
+
565
+ #: public/class-pirateforms-public.php:358
566
  msgid "Submit"
567
  msgstr ""
568
 
569
+ #: public/class-pirateforms-public.php:458
570
  msgid "Sorry, an error occured."
571
  msgstr ""
572
 
573
+ #: public/class-pirateforms-public.php:520
574
  msgid "Nonce failed!"
575
  msgstr ""
576
 
577
+ #: public/class-pirateforms-public.php:528
578
+ #: public/class-pirateforms-public.php:585
579
  msgid "Form submission failed!"
580
  msgstr ""
581
 
582
+ #: public/class-pirateforms-public.php:541
583
+ msgid "Contact form submission from %s"
584
  msgstr ""
585
 
586
+ #: public/class-pirateforms-public.php:550
587
  msgid "Please enter one or more Contact submission recipients"
588
  msgstr ""
589
 
590
+ #: public/class-pirateforms-public.php:565
591
+ msgid "IP address"
592
  msgstr ""
593
 
594
+ #: public/class-pirateforms-public.php:566
595
+ msgid "IP search"
596
  msgstr ""
597
 
598
+ #: public/class-pirateforms-public.php:571
599
+ msgid "Came from"
600
  msgstr ""
601
 
602
+ #: public/class-pirateforms-public.php:575
603
+ msgid "Sent from page"
604
  msgstr ""
605
 
606
+ #: public/class-pirateforms-public.php:793
607
+ #: public/class-pirateforms-public.php:805
608
  msgid "Wrong reCAPTCHA"
609
  msgstr ""
610
 
611
+ #: public/class-pirateforms-public.php:814
612
+ msgid "Submission blocked!"
613
+ msgstr ""
614
+
615
+ #: public/class-pirateforms-public.php:942
616
+ msgid "Uploaded file type is not allowed for %s"
617
  msgstr ""
618
 
619
+ #: public/class-pirateforms-public.php:950
620
+ msgid "Uploaded file is too large %s"
621
  msgstr ""
622
 
623
+ #: public/class-pirateforms-public.php:964
624
+ msgid "There was an unknown error uploading the file %s"
625
  msgstr ""
626
 
627
  #. Plugin Name of the plugin/theme
644
  msgid "http://themeisle.com"
645
  msgstr ""
646
 
647
+ #: includes/class-pirateforms.php:247
648
  msgctxt "post type general name"
649
  msgid "Entries"
650
  msgstr ""
651
 
652
+ #: includes/class-pirateforms.php:248
653
  msgctxt "post type singular name"
654
  msgid "Entry"
655
  msgstr ""
656
 
657
+ #: includes/class-pirateforms.php:249
658
  msgctxt "admin menu"
659
  msgid "Entries"
660
  msgstr ""
661
 
662
+ #: includes/class-pirateforms.php:250
663
  msgctxt "add new on admin bar"
664
  msgid "Entry"
665
  msgstr ""
pirate-forms.php CHANGED
@@ -16,7 +16,7 @@
16
  * Plugin Name: Free & Simple Contact Form Plugin - Pirateforms
17
  * Plugin URI: http://themeisle.com/plugins/pirate-forms/
18
  * Description: Easily creates a nice looking, simple contact form on your WP site.
19
- * Version: 2.2.2
20
  * Author: Themeisle
21
  * Author URI: http://themeisle.com
22
  * Text Domain: pirate-forms
@@ -36,7 +36,7 @@ if ( ! defined( 'WPINC' ) ) {
36
  define( 'PIRATEFORMS_NAME', 'Pirate Forms' );
37
  define( 'PIRATEFORMS_SLUG', 'pirate-forms' );
38
  define( 'PIRATEFORMS_USELL_LINK', 'https://themeisle.com/plugins/pirate-forms-extended/' );
39
- define( 'PIRATE_FORMS_VERSION', '2.2.2' );
40
  define( 'PIRATEFORMS_DIR', trailingslashit( plugin_dir_path( __FILE__ ) ) );
41
  define( 'PIRATEFORMS_URL', plugin_dir_url( __FILE__ ) );
42
  define( 'PIRATEFORMS_BASENAME', plugin_basename( __FILE__ ) );
16
  * Plugin Name: Free & Simple Contact Form Plugin - Pirateforms
17
  * Plugin URI: http://themeisle.com/plugins/pirate-forms/
18
  * Description: Easily creates a nice looking, simple contact form on your WP site.
19
+ * Version: 2.2.3
20
  * Author: Themeisle
21
  * Author URI: http://themeisle.com
22
  * Text Domain: pirate-forms
36
  define( 'PIRATEFORMS_NAME', 'Pirate Forms' );
37
  define( 'PIRATEFORMS_SLUG', 'pirate-forms' );
38
  define( 'PIRATEFORMS_USELL_LINK', 'https://themeisle.com/plugins/pirate-forms-extended/' );
39
+ define( 'PIRATE_FORMS_VERSION', '2.2.3' );
40
  define( 'PIRATEFORMS_DIR', trailingslashit( plugin_dir_path( __FILE__ ) ) );
41
  define( 'PIRATEFORMS_URL', plugin_dir_url( __FILE__ ) );
42
  define( 'PIRATEFORMS_BASENAME', plugin_basename( __FILE__ ) );
public/class-pirateforms-public.php CHANGED
@@ -182,13 +182,14 @@ class PirateForms_Public {
182
  if ( ! empty( $pirate_forms_options ) ) :
183
  $field = $pirate_forms_options['pirateformsopt_name_field'];
184
  $label = $pirate_forms_options['pirateformsopt_label_name'];
 
185
 
186
  /**
187
  ****** Name field */
188
  if ( ! empty( $field ) && ! empty( $label ) ) :
189
  $required = $field === 'req' ? true : false;
190
  $wrap_classes = array(
191
- 'col-sm-6 col-lg-6 contact_name_wrap pirate_forms_three_inputs form_field_wrap',
192
  );
193
  // If this field was submitted with invalid data
194
  if ( isset( $_SESSION[ $error_key ]['contact-name'] ) ) {
@@ -217,7 +218,7 @@ class PirateForms_Public {
217
  if ( ! empty( $field ) && ! empty( $label ) ) :
218
  $required = $field === 'req' ? true : false;
219
  $wrap_classes = array(
220
- 'col-sm-6 col-lg-6 contact_email_wrap pirate_forms_three_inputs form_field_wrap',
221
  );
222
  // If this field was submitted with invalid data
223
  if ( isset( $_SESSION[ $error_key ]['contact-email'] ) ) {
@@ -246,7 +247,7 @@ class PirateForms_Public {
246
  if ( ! empty( $field ) && ! empty( $label ) ) :
247
  $required = $field === 'req' ? true : false;
248
  $wrap_classes = array(
249
- 'contact_subject_wrap pirate_forms_three_inputs form_field_wrap col-md-12',
250
  );
251
  // If this field was submitted with invalid data
252
  if ( isset( $_SESSION[ $error_key ]['contact-subject'] ) ) {
@@ -274,7 +275,7 @@ class PirateForms_Public {
274
  ****** Message field */
275
  if ( ! empty( $field ) && ! empty( $label ) ) :
276
  $required = $field === 'req' ? true : false;
277
- $wrap_classes = array( 'col-sm-12 col-lg-12 form_field_wrap contact_message_wrap ' );
278
  // If this field was submitted with invalid data
279
  if ( isset( $_SESSION[ $error_key ]['contact-message'] ) ) {
280
  $wrap_classes[] = 'error';
@@ -300,7 +301,7 @@ class PirateForms_Public {
300
  ****** Message field */
301
  if ( ! empty( $field ) && 'no' !== $field ) :
302
  $required = $field === 'req' ? true : false;
303
- $wrap_classes = array( 'col-sm-12 col-lg-12 form_field_wrap contact_attachment_wrap' );
304
  // If this field was submitted with invalid data
305
  if ( isset( $_SESSION[ $error_key ]['contact-attachment'] ) ) {
306
  $wrap_classes[] = 'error';
@@ -330,7 +331,7 @@ class PirateForms_Public {
330
  'id' => 'pirate-forms-captcha',
331
  'wrap' => array(
332
  'type' => 'div',
333
- 'class' => implode( ' ', apply_filters( 'pirateform_wrap_classes_captcha', array( 'col-xs-12 col-sm-6 col-lg-6 form_field_wrap form_captcha_wrap' ) ) ),
334
  ),
335
  );
336
  endif;
@@ -342,7 +343,7 @@ class PirateForms_Public {
342
  'id' => 'pirate-forms-maps-custom',
343
  'wrap' => array(
344
  'type' => 'div',
345
- 'class' => implode( ' ', apply_filters( 'pirateform_wrap_classes_spam', array( 'col-xs-12 col-sm-6 col-lg-6 form_field_wrap pirateform_wrap_classes_spam_wrap' ) ) ),
346
  ),
347
  );
348
  endif;
@@ -362,7 +363,7 @@ class PirateForms_Public {
362
  'class' => 'pirate-forms-submit-button btn btn-primary',
363
  'wrap' => array(
364
  'type' => 'div',
365
- 'class' => implode( ' ', apply_filters( 'pirateform_wrap_classes_submit', array( 'col-xs-12 col-sm-6 col-lg-6 form_field_wrap contact_submit_wrap' ) ) ),
366
  ),
367
  'value' => $pirateformsopt_label_submit_btn,
368
  );
@@ -453,11 +454,11 @@ class PirateForms_Public {
453
  public function render_errors( $form_builder ) {
454
  $output = '';
455
  if ( ! empty( $form_builder->errors ) ) :
456
- $output .= '<div class="col-sm-12 col-lg-12 pirate_forms_error_box">';
457
  $output .= '<p>' . __( 'Sorry, an error occured.', 'pirate-forms' ) . '</p>';
458
  $output .= '</div>';
459
  foreach ( $form_builder->errors as $err ) :
460
- $output .= '<div class="col-sm-12 col-lg-12 pirate_forms_error_box">';
461
  $output .= "<p>$err</p>";
462
  $output .= '</div>';
463
  endforeach;
@@ -474,7 +475,8 @@ class PirateForms_Public {
474
  */
475
  public function render_thankyou( $form_builder ) {
476
  if ( ! empty( $form_builder->thank_you_message ) ) {
477
- echo '<div class="col-sm-12 col-lg-12 pirate_forms_thankyou_wrap"><p>' . $form_builder->thank_you_message . '</p></div>';
 
478
  }
479
  }
480
 
182
  if ( ! empty( $pirate_forms_options ) ) :
183
  $field = $pirate_forms_options['pirateformsopt_name_field'];
184
  $label = $pirate_forms_options['pirateformsopt_label_name'];
185
+ $subjectField = $pirate_forms_options['pirateformsopt_subject_field'];
186
 
187
  /**
188
  ****** Name field */
189
  if ( ! empty( $field ) && ! empty( $label ) ) :
190
  $required = $field === 'req' ? true : false;
191
  $wrap_classes = array(
192
+ ( ! empty( $subjectField ) ? 'col-xs-12 col-sm-4' : 'col-xs-12 col-sm-6' ) . ' contact_name_wrap pirate_forms_three_inputs form_field_wrap',
193
  );
194
  // If this field was submitted with invalid data
195
  if ( isset( $_SESSION[ $error_key ]['contact-name'] ) ) {
218
  if ( ! empty( $field ) && ! empty( $label ) ) :
219
  $required = $field === 'req' ? true : false;
220
  $wrap_classes = array(
221
+ ( ! empty( $subjectField ) ? 'col-xs-12 col-sm-4' : 'col-xs-12 col-sm-6' ) . ' contact_email_wrap pirate_forms_three_inputs form_field_wrap',
222
  );
223
  // If this field was submitted with invalid data
224
  if ( isset( $_SESSION[ $error_key ]['contact-email'] ) ) {
247
  if ( ! empty( $field ) && ! empty( $label ) ) :
248
  $required = $field === 'req' ? true : false;
249
  $wrap_classes = array(
250
+ 'col-xs-12 col-sm-4 contact_subject_wrap pirate_forms_three_inputs form_field_wrap',
251
  );
252
  // If this field was submitted with invalid data
253
  if ( isset( $_SESSION[ $error_key ]['contact-subject'] ) ) {
275
  ****** Message field */
276
  if ( ! empty( $field ) && ! empty( $label ) ) :
277
  $required = $field === 'req' ? true : false;
278
+ $wrap_classes = array( 'col-xs-12 form_field_wrap contact_message_wrap ' );
279
  // If this field was submitted with invalid data
280
  if ( isset( $_SESSION[ $error_key ]['contact-message'] ) ) {
281
  $wrap_classes[] = 'error';
301
  ****** Message field */
302
  if ( ! empty( $field ) && 'no' !== $field ) :
303
  $required = $field === 'req' ? true : false;
304
+ $wrap_classes = array( 'col-xs-12 form_field_wrap contact_attachment_wrap' );
305
  // If this field was submitted with invalid data
306
  if ( isset( $_SESSION[ $error_key ]['contact-attachment'] ) ) {
307
  $wrap_classes[] = 'error';
331
  'id' => 'pirate-forms-captcha',
332
  'wrap' => array(
333
  'type' => 'div',
334
+ 'class' => implode( ' ', apply_filters( 'pirateform_wrap_classes_captcha', array( 'col-xs-12 col-sm-6 form_field_wrap form_captcha_wrap' ) ) ),
335
  ),
336
  );
337
  endif;
343
  'id' => 'pirate-forms-maps-custom',
344
  'wrap' => array(
345
  'type' => 'div',
346
+ 'class' => implode( ' ', apply_filters( 'pirateform_wrap_classes_spam', array( 'col-xs-12 col-sm-6 form_field_wrap pirateform_wrap_classes_spam_wrap' ) ) ),
347
  ),
348
  );
349
  endif;
363
  'class' => 'pirate-forms-submit-button btn btn-primary',
364
  'wrap' => array(
365
  'type' => 'div',
366
+ 'class' => implode( ' ', apply_filters( 'pirateform_wrap_classes_submit', array( 'col-xs-12 col-sm-6 form_field_wrap contact_submit_wrap' ) ) ),
367
  ),
368
  'value' => $pirateformsopt_label_submit_btn,
369
  );
454
  public function render_errors( $form_builder ) {
455
  $output = '';
456
  if ( ! empty( $form_builder->errors ) ) :
457
+ $output .= '<div class="col-xs-12 pirate_forms_error_box">';
458
  $output .= '<p>' . __( 'Sorry, an error occured.', 'pirate-forms' ) . '</p>';
459
  $output .= '</div>';
460
  foreach ( $form_builder->errors as $err ) :
461
+ $output .= '<div class="col-xs-12 pirate_forms_error_box">';
462
  $output .= "<p>$err</p>";
463
  $output .= '</div>';
464
  endforeach;
475
  */
476
  public function render_thankyou( $form_builder ) {
477
  if ( ! empty( $form_builder->thank_you_message ) ) {
478
+ echo '<div class="col-xs-12 pirate_forms_thankyou_wrap"><p>' . $form_builder->thank_you_message
479
+ . '</p></div>';
480
  }
481
  }
482
 
public/css/front.css CHANGED
@@ -1,5 +1,5 @@
1
  /*
2
- Version: 2.2.2
3
  */
4
  .pirate_forms_wrap .form_field_wrap {
5
  margin-bottom: 20px;
@@ -49,49 +49,48 @@ Version: 2.2.2
49
  }
50
 
51
  .pirate-forms-file-upload-hidden {
52
- display: none;
53
- visibility: hidden;
54
- position: absolute;
55
- left: -9999px;
56
  }
57
 
58
  .pirate-forms-file-upload {
59
- display: block;
60
- width: auto;
61
  }
 
62
  .pirate-forms-file-upload label {
63
- display: block;
64
- margin-bottom: 5px;
65
  }
66
 
67
  .pirate-forms-file-upload-wrapper {
68
- position: relative;
69
- margin-bottom: 5px;
70
  }
71
 
72
  .pirate-forms-file-upload-input {
73
- width: 70% !important;
74
- outline: none !important;
75
- border: none !important;
76
- -moz-transition: all 0.2s ease-in;
77
- -o-transition: all 0.2s ease-in;
78
- -webkit-transition: all 0.2s ease-in;
79
- transition: all 0.2s ease-in;
80
- float: left;
81
- /* IE 9 Fix */
82
- }
83
- .pirate-forms-file-upload-input:hover, .pirate-forms-file-upload-input:focus {
84
- outline: none;
85
  }
86
 
87
  .pirate-forms-file-upload-button {
88
- cursor: pointer;
89
- display: inline-block;
90
- margin-left: -1px;
91
- float: left;
92
- /* IE 9 Fix */
93
- -moz-transition: all 0.2s ease-in;
94
- -o-transition: all 0.2s ease-in;
95
- -webkit-transition: all 0.2s ease-in;
96
- transition: all 0.2s ease-in;
97
  }
1
  /*
2
+ Version: 2.2.3
3
  */
4
  .pirate_forms_wrap .form_field_wrap {
5
  margin-bottom: 20px;
49
  }
50
 
51
  .pirate-forms-file-upload-hidden {
52
+ display: none;
53
+ visibility: hidden;
54
+ position: absolute;
55
+ left: -9999px;
56
  }
57
 
58
  .pirate-forms-file-upload {
59
+ display: block;
60
+ width: auto;
61
  }
62
+
63
  .pirate-forms-file-upload label {
64
+ display: block;
65
+ margin-bottom: 5px;
66
  }
67
 
68
  .pirate-forms-file-upload-wrapper {
69
+ position: relative;
70
+ margin-bottom: 5px;
71
  }
72
 
73
  .pirate-forms-file-upload-input {
74
+ float: left;
75
+ width: 70% !important;
76
+ border: none !important;
77
+ outline: none !important;
78
+ -webkit-transition: all 0.2s ease-in;
79
+ transition: all 0.2s ease-in;
80
+ /* IE 9 Fix */
81
+ }
82
+
83
+ .pirate-forms-file-upload-input:hover,
84
+ .pirate-forms-file-upload-input:focus {
85
+ outline: none;
86
  }
87
 
88
  .pirate-forms-file-upload-button {
89
+ display: inline-block;
90
+ float: left;
91
+ margin-left: -1px;
92
+ cursor: pointer;
93
+ /* IE 9 Fix */
94
+ -webkit-transition: all 0.2s ease-in;
95
+ transition: all 0.2s ease-in;
 
 
96
  }
readme.md CHANGED
@@ -134,6 +134,12 @@ Activating the Pirate Contact Form plugin is just like any other plugin. If you'
134
  4. Screenshot 4. Enabling SMTP
135
 
136
  ## Changelog ##
 
 
 
 
 
 
137
  ### 2.2.2 - 2017-10-20 ###
138
 
139
  * Hide email entries in frontend queries.
134
  4. Screenshot 4. Enabling SMTP
135
 
136
  ## Changelog ##
137
+ ### 2.2.3 - 2017-10-24 ###
138
+
139
+ * Improves compatibility with Hestia theme.
140
+ * Adds option to set form label classes.
141
+
142
+
143
  ### 2.2.2 - 2017-10-20 ###
144
 
145
  * Hide email entries in frontend queries.
readme.txt CHANGED
@@ -134,6 +134,12 @@ Activating the Pirate Contact Form plugin is just like any other plugin. If you'
134
  4. Screenshot 4. Enabling SMTP
135
 
136
  == Changelog ==
 
 
 
 
 
 
137
  = 2.2.2 - 2017-10-20 =
138
 
139
  * Hide email entries in frontend queries.
134
  4. Screenshot 4. Enabling SMTP
135
 
136
  == Changelog ==
137
+ = 2.2.3 - 2017-10-24 =
138
+
139
+ * Improves compatibility with Hestia theme.
140
+ * Adds option to set form label classes.
141
+
142
+
143
  = 2.2.2 - 2017-10-20 =
144
 
145
  * Hide email entries in frontend queries.
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit76139e0a99dd7565c21326150584317c::getLoader();
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit418527605c85d2c1198711fa22e21975::getLoader();
vendor/autoload_52.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
6
 
7
- return ComposerAutoloaderInit8c658c377f50ec1d91d09e0f12dba411::getLoader();
4
 
5
  require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
6
 
7
+ return ComposerAutoloaderInit6cafb48bf9ec24bd352ed0d2404ac643::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit76139e0a99dd7565c21326150584317c
6
  {
7
  private static $loader;
8
 
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit76139e0a99dd7565c21326150584317c
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit76139e0a99dd7565c21326150584317c', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit76139e0a99dd7565c21326150584317c', 'loadClassLoader'));
25
 
26
  $map = require __DIR__ . '/autoload_namespaces.php';
27
  foreach ($map as $namespace => $path) {
@@ -42,14 +42,14 @@ class ComposerAutoloaderInit76139e0a99dd7565c21326150584317c
42
 
43
  $includeFiles = require __DIR__ . '/autoload_files.php';
44
  foreach ($includeFiles as $fileIdentifier => $file) {
45
- composerRequire76139e0a99dd7565c21326150584317c($fileIdentifier, $file);
46
  }
47
 
48
  return $loader;
49
  }
50
  }
51
 
52
- function composerRequire76139e0a99dd7565c21326150584317c($fileIdentifier, $file)
53
  {
54
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
55
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit418527605c85d2c1198711fa22e21975
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit418527605c85d2c1198711fa22e21975', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit418527605c85d2c1198711fa22e21975', 'loadClassLoader'));
25
 
26
  $map = require __DIR__ . '/autoload_namespaces.php';
27
  foreach ($map as $namespace => $path) {
42
 
43
  $includeFiles = require __DIR__ . '/autoload_files.php';
44
  foreach ($includeFiles as $fileIdentifier => $file) {
45
+ composerRequire418527605c85d2c1198711fa22e21975($fileIdentifier, $file);
46
  }
47
 
48
  return $loader;
49
  }
50
  }
51
 
52
+ function composerRequire418527605c85d2c1198711fa22e21975($fileIdentifier, $file)
53
  {
54
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
55
  require $file;
vendor/composer/autoload_real_52.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real_52.php generated by xrstf/composer-php52
4
 
5
- class ComposerAutoloaderInit8c658c377f50ec1d91d09e0f12dba411 {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit8c658c377f50ec1d91d09e0f12dba411 {
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit8c658c377f50ec1d91d09e0f12dba411', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit8c658c377f50ec1d91d09e0f12dba411', 'loadClassLoader'));
25
 
26
  $vendorDir = dirname(dirname(__FILE__));
27
  $baseDir = dirname($vendorDir);
2
 
3
  // autoload_real_52.php generated by xrstf/composer-php52
4
 
5
+ class ComposerAutoloaderInit6cafb48bf9ec24bd352ed0d2404ac643 {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit6cafb48bf9ec24bd352ed0d2404ac643', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit6cafb48bf9ec24bd352ed0d2404ac643', 'loadClassLoader'));
25
 
26
  $vendorDir = dirname(dirname(__FILE__));
27
  $baseDir = dirname($vendorDir);