Custom Contact Forms - Version 3.5.7

Version Description

  • custom-contact-forms.php - fixed home page form redirect bug
  • css/custom-contact-forms-admin.css - manager tables restyled
Download this release

Release Info

Developer tlovett1
Plugin Icon 128x128 Custom Contact Forms
Version 3.5.7
Comparing to
See all releases

Code changes from version 3.5.6 to 3.5.7

css/custom-contact-forms-admin.css CHANGED
@@ -55,12 +55,28 @@
55
  margin:20px 1em 1em 5px;
56
  }
57
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
  #customcontactforms-admin #field-options {
59
  clear:both;
60
  width:1000px;
61
  margin:20px 1em 1em 5px;
62
  }
63
-
64
  #customcontactforms-admin #field-options #edit-field-options {
65
  float:left;
66
  width:500px;
@@ -158,6 +174,7 @@
158
  margin:1px 1em 1em 5px;
159
  width:1000px;
160
  }
 
161
  #customcontactforms-admin #manage-styles label {
162
  display:block;
163
  }
@@ -196,6 +213,7 @@
196
  #customcontactforms-admin #manage-fields {
197
  width:1000px;
198
  }
 
199
  #customcontactforms-admin #manage-fields .field-instructions {
200
  float:left;
201
  }
@@ -215,9 +233,11 @@
215
  width:1000px;
216
  margin-right:10px;
217
  }
 
218
  #customcontactforms-admin #manage-fixed-fields {
219
  width:1000px;
220
  }
 
221
  #customcontactforms-admin .nobordertop {
222
  border-top:none;
223
  }
@@ -247,11 +267,8 @@
247
  #customcontactforms-admin #plugin-nav {
248
  clear:both;
249
  max-width:1000px;
250
- text-align:center;
251
- border-bottom:1px #ccc dashed;
252
- margin:0 0 10px 0;
253
- padding:0 0 6px 0;
254
  }
 
255
  #customcontactforms-admin #plugin-nav li {
256
  border-right:1px solid #666; display:inline; padding:0 8px 0 3px;
257
  }
@@ -265,16 +282,19 @@
265
  border-spacing:0;
266
  width:680px;
267
  padding:0px;
268
- margin:0;
269
  -moz-border-radius:10px;
270
  -khtml-border-radius:10px;
271
  -webkit-border-radius:10px;
272
  border-radius:15px;
273
  position:fixed;
274
- left:20%;
275
  background-color:white;
276
  top:20px;
277
  bottom:20px;
 
 
 
278
  }
279
  #ccf-usage-popover div.popover-header {
280
  background-color:#efefef;
@@ -320,4 +340,106 @@
320
  -khtml-border-radius:6px;
321
  -webkit-border-radius:6px;
322
  border-radius:6px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
323
  }
55
  margin:20px 1em 1em 5px;
56
  }
57
 
58
+ #customcontactforms-admin #form-submissions {
59
+ clear:both;
60
+ width:1000px;
61
+ margin:10px 1em 1em 5px;
62
+ }
63
+ #customcontactforms-admin #form-submissions .submission-content { }
64
+ #customcontactforms-admin #form-submissions tr { border-top:1px solid #666; }
65
+ #customcontactforms-admin #form-submissions td { border:0; }
66
+ #customcontactforms-admin #form-submissions ul { min-height:30px; width:95%; margin:3px auto 2px auto; }
67
+ #customcontactforms-admin #form-submissions ul li { float:left; margin-right:9px; }
68
+ #customcontactforms-admin #form-submissions ul li p { display:block; }
69
+ #customcontactforms-admin #form-submissions ul li div { font-weight:bold; border-bottom:1px solid #666; padding:2px; text-align:left; }
70
+
71
+ #customcontactforms-admin #form-submissions table.first { float:left; width:48%; border-collapse:collapse; margin-right:10px; }
72
+ #customcontactforms-admin #form-submissions table.second { margin-left:48%; border-collapse:collapse; width:48%; }
73
+
74
+
75
  #customcontactforms-admin #field-options {
76
  clear:both;
77
  width:1000px;
78
  margin:20px 1em 1em 5px;
79
  }
 
80
  #customcontactforms-admin #field-options #edit-field-options {
81
  float:left;
82
  width:500px;
174
  margin:1px 1em 1em 5px;
175
  width:1000px;
176
  }
177
+ #customcontactforms-admin #manage-styles td { border:0; }
178
  #customcontactforms-admin #manage-styles label {
179
  display:block;
180
  }
213
  #customcontactforms-admin #manage-fields {
214
  width:1000px;
215
  }
216
+ #customcontactforms-admin #manage-fields td { border:0; }
217
  #customcontactforms-admin #manage-fields .field-instructions {
218
  float:left;
219
  }
233
  width:1000px;
234
  margin-right:10px;
235
  }
236
+ #customcontactforms-admin #manage-forms td { border:0; }
237
  #customcontactforms-admin #manage-fixed-fields {
238
  width:1000px;
239
  }
240
+ #customcontactforms-admin #manage-fixed-fields td { border:0; }
241
  #customcontactforms-admin .nobordertop {
242
  border-top:none;
243
  }
267
  #customcontactforms-admin #plugin-nav {
268
  clear:both;
269
  max-width:1000px;
 
 
 
 
270
  }
271
+ #customcontactforms-admin #plugin-nav { text-align:center; border-bottom:1px #ccc dashed; margin:0 0 10px 0; padding:0 0 6px 0; }
272
  #customcontactforms-admin #plugin-nav li {
273
  border-right:1px solid #666; display:inline; padding:0 8px 0 3px;
274
  }
282
  border-spacing:0;
283
  width:680px;
284
  padding:0px;
285
+ margin:0 0 0 -340px;
286
  -moz-border-radius:10px;
287
  -khtml-border-radius:10px;
288
  -webkit-border-radius:10px;
289
  border-radius:15px;
290
  position:fixed;
291
+ left:50%;
292
  background-color:white;
293
  top:20px;
294
  bottom:20px;
295
+ -moz-box-shadow:0 0 14px #123;
296
+ -webkit-box-shadow: 0 0 14px #123;
297
+ box-shadow:0 0 14px #123;
298
  }
299
  #ccf-usage-popover div.popover-header {
300
  background-color:#efefef;
340
  -khtml-border-radius:6px;
341
  -webkit-border-radius:6px;
342
  border-radius:6px;
343
+ }
344
+
345
+ .modal-overlay {
346
+ position:fixed;
347
+ top:0;
348
+ left:0;
349
+ bottom:0;
350
+ width:100%;
351
+ height:100%;
352
+ background-color:rgba(0,0,0.5);
353
+ z-index:20;
354
+ }
355
+
356
+ .modal-window {
357
+ position:fixed;
358
+ top:140px;
359
+ left:50%;
360
+ width:300px;
361
+ height:auto;
362
+ text-align:center;
363
+ /*max-height:200px;
364
+ text-align:left;
365
+ overflow:scroll;*/
366
+ margin-left:-150px;
367
+ padding:20px;
368
+ border:10px solid #efefef;
369
+ background-color:#fff;
370
+ -moz-border-radius:6px;
371
+ -webkit-border-radius:6px;
372
+ border-radius:6px;
373
+ -moz-box-shadow:0 0 14px #123;
374
+ -webkit-box-shadow: 0 0 14px #123;
375
+ box-shadow:0 0 14px #123;
376
+ z-index:5;
377
+ }
378
+
379
+ .debug-window {
380
+ position:fixed;
381
+ top:20px;
382
+ left:50%;
383
+ bottom:20px;
384
+ width:500px;
385
+ text-align:center;
386
+ text-align:left;
387
+ overflow:scroll;
388
+ margin-left:-250px;
389
+ padding:20px;
390
+ border:10px solid #efefef;
391
+ background-color:#fff;
392
+ -moz-border-radius:6px;
393
+ -webkit-border-radius:6px;
394
+ border-radius:6px;
395
+ -moz-box-shadow:0 0 14px #123;
396
+ -webkit-box-shadow: 0 0 14px #123;
397
+ box-shadow:0 0 14px #123;
398
+ z-index:5;
399
+ }
400
+
401
+ .modal-close-btn {
402
+ position:absolute;
403
+ top:0;
404
+ right:4px;
405
+ margin:0;
406
+ padding:0;
407
+ text-decoration:none;
408
+ color:#000;
409
+ font-size:16px;
410
+ }
411
+
412
+ .modal-close-btn:before {
413
+ position:relative;
414
+ top:-1px;
415
+ }
416
+
417
+ .save-box {
418
+ width:150px;
419
+ height:auto;
420
+ padding:0px;
421
+ margin:0 0 0 -75px;
422
+ border:12px solid #efefef;
423
+ background-color:#fff;
424
+ -moz-border-radius:12px;
425
+ -webkit-border-radius:12px;
426
+ border-radius:12px;
427
+ -moz-box-shadow:0 0 14px #123;
428
+ -webkit-box-shadow: 0 0 14px #123;
429
+ box-shadow:0 0 14px #123;
430
+ z-index:5;
431
+ position:fixed;
432
+ left:50%;
433
+ top:40%;
434
+ }
435
+ .save-box p { text-align:center; width:100%; font-weight:bold; font-size:16px; }
436
+ .save-box-close-btn {
437
+ position:absolute;
438
+ top:0;
439
+ right:4px;
440
+ margin:0;
441
+ padding:0;
442
+ text-decoration:none;
443
+ color:#000;
444
+ font-size:16px;
445
  }
custom-contact-forms.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Custom Contact Forms
4
  Plugin URI: http://taylorlovett.com/wordpress-plugins
5
  Description: Guaranteed to be 1000X more customizable and intuitive than Fast Secure Contact Forms or Contact Form 7. Customize every aspect of your forms without any knowledge of CSS: borders, padding, sizes, colors. Ton's of great features. Required fields, captchas, tooltip popovers, unlimited fields/forms/form styles, use a custom thank you page or built-in popover with a custom success message set for each form. <a href="options-general.php?page=custom-contact-forms">Settings</a>
6
- Version: 3.5.6
7
  Author: Taylor Lovett
8
  Author URI: http://www.taylorlovett.com
9
  */
@@ -467,7 +467,7 @@ if (!class_exists('CustomContactForms')) {
467
  </td>
468
  <td><input type="hidden" name="fid" value="<?php echo $fields[$i]->id; ?>" />
469
  <span class="fields-options-expand"></span>
470
- <input type="submit" name="field_edit" value="Edit" />
471
  <input type="submit" name="field_delete" class="delete_button" value="Delete" /></td>
472
 
473
  </tr>
@@ -579,7 +579,7 @@ if (!class_exists('CustomContactForms')) {
579
 
580
  <td><input type="hidden" name="fid" value="<?php echo $fields[$i]->id; ?>" />
581
  <span class="fixed-fields-options-expand"></span>
582
- <input type="submit" name="field_edit" value="Edit" /></td>
583
  </tr>
584
  <tr <?php if ($z % 2 == 0) echo ' class="evenrow"'; ?> style="border:none;">
585
  <td class="fixed-fields-extra-options" colspan="7" style="border-bottom:1px solid black;">Field Instructions: <input type="text" name="field[field_instructions]" class="width200" value="<?php echo $fields[$i]->field_instructions; ?>" /> - <?php echo $this->fixed_fields[$fields[$i]->field_slug]; ?></td>
@@ -622,7 +622,7 @@ if (!class_exists('CustomContactForms')) {
622
  <td class="label"><input type="text" name="option[option_label]" value="<?php echo $option->option_label; ?>" class="width100" /></td>
623
  <td class="option-value"><input type="text" name="option[option_value]" value="<?php echo $option->option_value; ?>" class="width100" /></td>
624
  <td class="action">
625
- <input type="submit" value="Edit" name="edit_field_option" />
626
  <input type="submit"class="delete_button" value="Delete" name="delete_field_option" />
627
  </td>
628
  <input type="hidden" name="oid" value="<?php echo $option->id; ?>" />
@@ -690,7 +690,7 @@ if (!class_exists('CustomContactForms')) {
690
  <td><select name="form[form_style]"><?php echo $sty_opt; ?></select></td>
691
  <td><input type="hidden" name="fid" value="<?php echo $forms[$i]->id; ?>" />
692
  <span class="form-options-expand"></span>
693
- <input type="submit" name="form_edit" value="Edit" />
694
  <input type="submit" name="form_delete" class="delete_button" value="Delete" />
695
  </td>
696
  </tr>
@@ -859,7 +859,7 @@ if (!class_exists('CustomContactForms')) {
859
  On Archives</label>
860
  </li>
861
  <li>
862
- <input type="submit" value="Update" name="general_settings" />
863
  </li>
864
  </ul>
865
  </form>
@@ -1069,7 +1069,7 @@ if (!class_exists('CustomContactForms')) {
1069
  <label>Font Family:</label><input type="text" maxlength="20" value="<?php echo $style->form_fontfamily; ?>" name="style[form_fontfamily]" /><br />
1070
  <label>Textarea Background<br />Color:</label><input class="colorfield" type="text" maxlength="20" value="<?php echo $style->textarea_backgroundcolor; ?>" name="style[textarea_backgroundcolor]" /><br />
1071
  <label>Success Popover<br />Border Color:</label><input class="colorfield" type="text" maxlength="20" value="<?php echo $style->success_popover_bordercolor; ?>" name="style[success_popover_bordercolor]" /><br />
1072
- <input type="submit" class="submit-styles" name="style_edit" value="Update Style" /><br />
1073
  <input type="submit" class="submit-styles delete_button" name="style_delete" value="Delete Style" />
1074
  </td>
1075
 
@@ -1314,7 +1314,7 @@ the field names you want required by commas. Remember to use underscores instead
1314
  $style_class = $style->style_slug;
1315
  }
1316
  $form_title = parent::decodeOption($form->form_title, 1, 1);
1317
- $action = (!empty($form->form_action)) ? $form->form_action : get_permalink();
1318
  $out .= '<form id="'.$form_id.'" method="'.strtolower($form->form_method).'" action="'.$action.'" class="'.$style_class.'">' . "\n";
1319
  $out .= parent::decodeOption($form->custom_code, 1, 1) . "\n";
1320
  if (!empty($form_title)) $out .= '<h4 id="h4-' . $form->id . '-' . $form_key . '">' . $form_title . '</h4>' . "\n";
3
  Plugin Name: Custom Contact Forms
4
  Plugin URI: http://taylorlovett.com/wordpress-plugins
5
  Description: Guaranteed to be 1000X more customizable and intuitive than Fast Secure Contact Forms or Contact Form 7. Customize every aspect of your forms without any knowledge of CSS: borders, padding, sizes, colors. Ton's of great features. Required fields, captchas, tooltip popovers, unlimited fields/forms/form styles, use a custom thank you page or built-in popover with a custom success message set for each form. <a href="options-general.php?page=custom-contact-forms">Settings</a>
6
+ Version: 3.5.7
7
  Author: Taylor Lovett
8
  Author URI: http://www.taylorlovett.com
9
  */
467
  </td>
468
  <td><input type="hidden" name="fid" value="<?php echo $fields[$i]->id; ?>" />
469
  <span class="fields-options-expand"></span>
470
+ <input type="submit" name="field_edit" value="Save" />
471
  <input type="submit" name="field_delete" class="delete_button" value="Delete" /></td>
472
 
473
  </tr>
579
 
580
  <td><input type="hidden" name="fid" value="<?php echo $fields[$i]->id; ?>" />
581
  <span class="fixed-fields-options-expand"></span>
582
+ <input type="submit" name="field_edit" value="Save" /></td>
583
  </tr>
584
  <tr <?php if ($z % 2 == 0) echo ' class="evenrow"'; ?> style="border:none;">
585
  <td class="fixed-fields-extra-options" colspan="7" style="border-bottom:1px solid black;">Field Instructions: <input type="text" name="field[field_instructions]" class="width200" value="<?php echo $fields[$i]->field_instructions; ?>" /> - <?php echo $this->fixed_fields[$fields[$i]->field_slug]; ?></td>
622
  <td class="label"><input type="text" name="option[option_label]" value="<?php echo $option->option_label; ?>" class="width100" /></td>
623
  <td class="option-value"><input type="text" name="option[option_value]" value="<?php echo $option->option_value; ?>" class="width100" /></td>
624
  <td class="action">
625
+ <input type="submit" value="Save" name="edit_field_option" />
626
  <input type="submit"class="delete_button" value="Delete" name="delete_field_option" />
627
  </td>
628
  <input type="hidden" name="oid" value="<?php echo $option->id; ?>" />
690
  <td><select name="form[form_style]"><?php echo $sty_opt; ?></select></td>
691
  <td><input type="hidden" name="fid" value="<?php echo $forms[$i]->id; ?>" />
692
  <span class="form-options-expand"></span>
693
+ <input type="submit" name="form_edit" value="Save" />
694
  <input type="submit" name="form_delete" class="delete_button" value="Delete" />
695
  </td>
696
  </tr>
859
  On Archives</label>
860
  </li>
861
  <li>
862
+ <input type="submit" value="Save Settings" name="general_settings" />
863
  </li>
864
  </ul>
865
  </form>
1069
  <label>Font Family:</label><input type="text" maxlength="20" value="<?php echo $style->form_fontfamily; ?>" name="style[form_fontfamily]" /><br />
1070
  <label>Textarea Background<br />Color:</label><input class="colorfield" type="text" maxlength="20" value="<?php echo $style->textarea_backgroundcolor; ?>" name="style[textarea_backgroundcolor]" /><br />
1071
  <label>Success Popover<br />Border Color:</label><input class="colorfield" type="text" maxlength="20" value="<?php echo $style->success_popover_bordercolor; ?>" name="style[success_popover_bordercolor]" /><br />
1072
+ <input type="submit" class="submit-styles" name="style_edit" value="Save" /><br />
1073
  <input type="submit" class="submit-styles delete_button" name="style_delete" value="Delete Style" />
1074
  </td>
1075
 
1314
  $style_class = $style->style_slug;
1315
  }
1316
  $form_title = parent::decodeOption($form->form_title, 1, 1);
1317
+ $action = (!empty($form->form_action)) ? $form->form_action : $_SERVER['REQUEST_URI'];
1318
  $out .= '<form id="'.$form_id.'" method="'.strtolower($form->form_method).'" action="'.$action.'" class="'.$style_class.'">' . "\n";
1319
  $out .= parent::decodeOption($form->custom_code, 1, 1) . "\n";
1320
  if (!empty($form_title)) $out .= '<h4 id="h4-' . $form->id . '-' . $form_key . '">' . $form_title . '</h4>' . "\n";
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.taylorlovett.com
4
  Tags: contact form, web form, custom contact form, custom forms, captcha form, contact fields, form mailers
5
  Requires at least: 2.8.1
6
  Tested up to: 3.0.1
7
- Stable tag: 3.5.6
8
 
9
  Gauranteed to be the most customizable and intuitive contact form plugin for Wordpress.
10
 
@@ -76,6 +76,10 @@ Visit http://www.taylorlovett.com/wordpress-plugins for screenshots. Right now a
76
 
77
  == Changelog ==
78
 
 
 
 
 
79
  = 3.5.6 =
80
  * custom-contact-forms.php - fixed email field will set reply to on emails
81
  * custom-contact-forms-mailer.php - fixed email set as reply to on outgoing form emails
4
  Tags: contact form, web form, custom contact form, custom forms, captcha form, contact fields, form mailers
5
  Requires at least: 2.8.1
6
  Tested up to: 3.0.1
7
+ Stable tag: 3.5.7
8
 
9
  Gauranteed to be the most customizable and intuitive contact form plugin for Wordpress.
10
 
76
 
77
  == Changelog ==
78
 
79
+ = 3.5.7 =
80
+ * custom-contact-forms.php - fixed home page form redirect bug
81
+ * css/custom-contact-forms-admin.css - manager tables restyled
82
+
83
  = 3.5.6 =
84
  * custom-contact-forms.php - fixed email field will set reply to on emails
85
  * custom-contact-forms-mailer.php - fixed email set as reply to on outgoing form emails