Custom Contact Forms - Version 5.0.0.0

Version Description

  • Admin user interface improved 1000% with drag-and-drop fields as well as save/delete buttons.
  • Import bug fixed
Download this release

Release Info

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

Code changes from version 4.8.0.0 to 5.0.0.0

css/custom-contact-forms-admin.css CHANGED
@@ -31,9 +31,15 @@
31
  background:#F2F2F2 url(../images/white-grad.png) repeat-x scroll left top;
32
  text-shadow:0 1px 0 #FFFFFF;
33
  }
34
- #customcontactforms-admin .loading-img {
35
  display:none;
36
  }
 
 
 
 
 
 
37
  #customcontactforms-admin input[type=submit], .ccf-popover input[type=submit] {
38
  -moz-background-clip:border;
39
  -moz-background-inline-policy:continuous;
@@ -247,12 +253,12 @@
247
  #customcontactforms-admin #manage-field-options {
248
  float:left;
249
  clear:left;
250
- width:49%;
251
  }
252
  #customcontactforms-admin #create-field-options {
253
  float:left;
254
  clear:none;
255
- width:49%;
256
  margin:0 0em 1em 10px;
257
  }
258
 
@@ -345,9 +351,41 @@
345
 
346
  }
347
  #customcontactforms-admin #manage-fields td { border:0; }
348
- #customcontactforms-admin #manage-fields .row-one {
349
- margin-bottom:0px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
350
  }
 
 
 
 
351
  #customcontactforms-admin #manage-fields .row-two {
352
  margin-top:6px;
353
  }
@@ -366,28 +404,32 @@
366
  }
367
  #customcontactforms-admin #manage-forms {
368
  }
 
369
  #customcontactforms-admin .fattach {
370
- margin:20px 6px 6px 6px;
371
  clear:both;
372
- -moz-border-radius:6px;
373
- padding:6px 6px 6px 15px;
374
- -webkit-border-radius:6px;
375
- border-radius:6px;
376
- -moz-box-shadow:0 0 2px #123;
377
- -webkit-box-shadow: 0 0 2px #123;
378
- box-shadow:0 0 2px #123;
379
  background-color:#FFFEEB;
380
  display:block;
381
- height:56px;
382
- width:90%;
 
383
  }
384
- #customcontactforms-admin .form-attach, #customcontactforms-admin .field-attach {
385
- width:49%; float:left; text-align:left; clear:none;
386
  }
387
- #customcontactforms-admin .form-detach, #customcontactforms-admin .field-detach {
388
- width:49%; float:left; text-align:left; clear:none;
389
  }
390
  #customcontactforms-admin #manage-forms td { border:0; }
 
 
 
 
 
 
 
 
391
  #customcontactforms-admin #manage-fixed-fields {
392
 
393
  }
@@ -607,4 +649,18 @@
607
  }
608
 
609
  #message { margin-bottom:9px; }
610
- #message-textarea { height: 196px; width: 95%; margin-bottom:9px; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  background:#F2F2F2 url(../images/white-grad.png) repeat-x scroll left top;
32
  text-shadow:0 1px 0 #FFFFFF;
33
  }
34
+ #customcontactforms-admin .loading-img, #customcontactforms-admin .loading-img-inner, #customcontactforms-admin .loading-img-field-config {
35
  display:none;
36
  }
37
+
38
+ #customcontactforms-admin .loading-img-container {
39
+ width:16px;
40
+ height:16px;
41
+ display:inline-block;
42
+ }
43
  #customcontactforms-admin input[type=submit], .ccf-popover input[type=submit] {
44
  -moz-background-clip:border;
45
  -moz-background-inline-policy:continuous;
253
  #customcontactforms-admin #manage-field-options {
254
  float:left;
255
  clear:left;
256
+ width:59%;
257
  }
258
  #customcontactforms-admin #create-field-options {
259
  float:left;
260
  clear:none;
261
+ width:38%;
262
  margin:0 0em 1em 10px;
263
  }
264
 
351
 
352
  }
353
  #customcontactforms-admin #manage-fields td { border:0; }
354
+ #customcontactforms-admin #manage-fields .one, #customcontactforms-admin #manage-fields .two {
355
+ float:left; width:33%; margin-bottom:10px;
356
+ }
357
+ #customcontactforms-admin #manage-fields .one label , #customcontactforms-admin #manage-fields .two label {
358
+ float:left; width:100px; padding-right:10px;
359
+ }
360
+ #customcontactforms-admin #manage-fields .three label { padding-right:10px; display:inline-block; }
361
+ #customcontactforms-admin #manage-fields .one textarea, #customcontactforms-admin #manage-fields .two textarea {
362
+ float:left; width:220px; height:100px;
363
+ }
364
+ #customcontactforms-admin #manage-fields .three {
365
+ float:left; width:33%; margin-bottom:10px;
366
+ }
367
+
368
+
369
+
370
+
371
+
372
+ #customcontactforms-admin #manage-fixed-fields .one, #customcontactforms-admin #manage-fixed-fields .two {
373
+ float:left; width:33%; margin-bottom:10px;
374
+ }
375
+ #customcontactforms-admin #manage-fixed-fields .one label , #customcontactforms-admin #manage-fixed-fields .two label {
376
+ float:left; width:100px; padding-right:10px;
377
+ }
378
+ #customcontactforms-admin #manage-fixed-fields .three label { padding-right:10px; display:inline-block; }
379
+ #customcontactforms-admin #manage-fixed-fields .one textarea, #customcontactforms-admin #manage-fixed-fields .two textarea {
380
+ float:left; width:220px; height:100px;
381
+ }
382
+ #customcontactforms-admin #manage-fixed-fields .three {
383
+ float:left; width:33%; margin-bottom:10px;
384
  }
385
+
386
+
387
+
388
+
389
  #customcontactforms-admin #manage-fields .row-two {
390
  margin-top:6px;
391
  }
404
  }
405
  #customcontactforms-admin #manage-forms {
406
  }
407
+ #customcontactforms-admin .fattach span { font-weight:bold; }
408
  #customcontactforms-admin .fattach {
409
+ margin:20px auto 6px auto;
410
  clear:both;
411
+ padding:6px;
 
 
 
 
 
 
412
  background-color:#FFFEEB;
413
  display:block;
414
+ width:98%;
415
+ border:1px solid #999;
416
+ min-height:100px;
417
  }
418
+ #customcontactforms-admin .fattach .attach {
419
+ width:49%; float:right; text-align:left; clear:none;
420
  }
421
+ #customcontactforms-admin .fattach .attached {
422
+ width:49%; text-align:left; clear:none;
423
  }
424
  #customcontactforms-admin #manage-forms td { border:0; }
425
+ #customcontactforms-admin #manage-forms .left { float:left; width:48%; text-align:left; }
426
+ #customcontactforms-admin #manage-forms .right { float:right; width:48%; text-align:left; }
427
+ #customcontactforms-admin #manage-forms .left li, #customcontactforms-admin #manage-forms .right li { clear:both; }
428
+ #customcontactforms-admin #manage-forms .left ul, #customcontactforms-admin #manage-forms .right ul { border:1px solid #999; padding:6px; }
429
+ #customcontactforms-admin #manage-forms .left textarea, #customcontactforms-admin #manage-forms .right textarea { width:250px; height:100px; }
430
+ #customcontactforms-admin #manage-forms .left ul ul { border:0; float:left; }
431
+ #customcontactforms-admin #manage-forms .left label, #customcontactforms-admin #manage-forms .right label { display:block; float:left; width:200px; }
432
+ #customcontactforms-admin #manage-forms .left span, #customcontactforms-admin #manage-forms .right span { font-weight:bold; font-style:italic; }
433
  #customcontactforms-admin #manage-fixed-fields {
434
 
435
  }
649
  }
650
 
651
  #message { margin-bottom:9px; }
652
+ #message-textarea { height: 196px; width: 95%; margin-bottom:9px; }
653
+
654
+ #customcontactforms-admin .widefat { min-width:1060px; }
655
+
656
+ .widefat thead th:first-of-type {
657
+ -webkit-border-top-left-radius: 0px;
658
+ border-top-left-radius: 0px;
659
+ }
660
+
661
+ .widefat thead th:last-of-type {
662
+ -webkit-border-top-right-radius: 0px;
663
+ border-top-right-radius: 0px;
664
+ }
665
+
666
+ #customcontactforms-admin .sortable li span { display:block; width:20px; text-align:center; height:18px; padding-right:10px; float:left; }
css/custom-contact-forms.css CHANGED
@@ -3,7 +3,6 @@ form.customcontactform, form.customcontactform-sidebar {
3
  margin:8px;
4
  width:95%;
5
  max-width:600px;
6
- font-size:11px;
7
  padding:4px;
8
  }
9
  form.customcontactform-sidebar { width:100%; }
@@ -25,8 +24,6 @@ form.customcontactform div input, form.customcontactform div select, form.custom
25
  width:17em;
26
  padding:4px;
27
  margin:0;
28
- font-size:1.3em;
29
- font-family:Verdana, Arial, Helvetica, sans-serif;
30
  -moz-border-radius:4px;
31
  -khtml-border-radius:4px;
32
  -webkit-border-radius:4px;
@@ -39,15 +36,16 @@ form.customcontactform div textarea, form.customcontactform-sidebar div textarea
39
  width:17em;
40
  padding:4px;
41
  margin:0;
42
- font-size:1.3em;
43
- font-family:Verdana, Arial, Helvetica, sans-serif;
44
  -moz-border-radius:6px;
45
  -khtml-border-radius:6px;
46
  -webkit-border-radius:6px;
47
  border-radius:6px;
48
  height:5em;
49
  }
50
- form.customcontactform div select { font-size:1.3em; width:auto; margin-right:9px; min-width:17em; padding:2px; }
 
51
  form.customcontactform-sidebar div input[type=text],
52
  form.customcontactform-sidebar div select,
53
  form.customcontactform-sidebar div textarea { width:95%; max-width:16em; margin:2px 0 4px 0; }
3
  margin:8px;
4
  width:95%;
5
  max-width:600px;
 
6
  padding:4px;
7
  }
8
  form.customcontactform-sidebar { width:100%; }
24
  width:17em;
25
  padding:4px;
26
  margin:0;
 
 
27
  -moz-border-radius:4px;
28
  -khtml-border-radius:4px;
29
  -webkit-border-radius:4px;
36
  width:17em;
37
  padding:4px;
38
  margin:0;
39
+ font-family:inherit;
40
+ font-size:inherit;
41
  -moz-border-radius:6px;
42
  -khtml-border-radius:6px;
43
  -webkit-border-radius:6px;
44
  border-radius:6px;
45
  height:5em;
46
  }
47
+ form.customcontactform .submit { padding:3px; }
48
+ form.customcontactform div select { width:auto; margin-right:9px; min-width:17em; padding:2px; }
49
  form.customcontactform-sidebar div input[type=text],
50
  form.customcontactform-sidebar div select,
51
  form.customcontactform-sidebar div textarea { width:95%; max-width:16em; margin:2px 0 4px 0; }
custom-contact-forms-admin.php CHANGED
@@ -76,7 +76,6 @@ if (!class_exists('CustomContactFormsAdmin')) {
76
  $settings['import_styles'] = ($_POST['ccf_import_styles'] == 1) ? true : false;
77
  $settings['import_saved_submissions'] = ($_POST['ccf_import_saved_submissions'] == 1) ? true : false;
78
  $settings['mode'] = ($_POST['ccf_clear_import']) ? 'clear_import' : 'merge_import';
79
- print_r($_FILES);
80
  $transit->importFromFile($_FILES['import_file'], $settings);
81
  ccf_utils::redirect('options-general.php?page=custom-contact-forms');
82
  }
@@ -146,17 +145,17 @@ if (!class_exists('CustomContactFormsAdmin')) {
146
  }
147
 
148
 
149
- function getFieldsForm() {
150
  $fields = parent::selectAllFields();
151
  $out = '';
152
  foreach ($fields as $field) {
153
- $out .= '<option value="'.$field->id.'">'.$field->field_slug.'</option>' . "\n";
 
154
  }
155
  return $out;
156
  }
157
 
158
  function handleAJAX() {
159
-
160
  if (!wp_verify_nonce($_POST['nonce'], 'ccf_nonce')) exit(__('Invalid request.', 'custom-contact-forms'));
161
  $output = $this->handleAdminPostRequests();
162
  $response = json_encode( $output );
@@ -192,7 +191,7 @@ if (!class_exists('CustomContactFormsAdmin')) {
192
  $js_lang = array(
193
  'attaching' => __('Attaching', 'custom-contact-forms'),
194
  'detaching' => __('Detaching', 'custom-contact-forms'),
195
- 'detach_button' => __('Detach', 'custom-contact-forms'),
196
  'attach_button' => __('Attach', 'custom-contact-forms'),
197
  'saving' => __('Saving', 'custom-contact-forms'),
198
  'more_options' => __('More Options', 'custom-contact-forms'),
@@ -203,6 +202,7 @@ if (!class_exists('CustomContactFormsAdmin')) {
203
  'error' => __('An error has occured. Please try again later.', 'custom-contact-forms'),
204
  'nothing_to_show' => __('Nothing to show.', 'custom-contact-forms'),
205
  'nothing_attached' => __('Nothing Attached!', 'custom-contact-forms'),
 
206
  'nonce' => wp_create_nonce('ccf_nonce')
207
  );
208
  $js_ajax = array('plugin_dir' => plugins_url() . '/custom-contact-forms',
@@ -214,7 +214,7 @@ if (!class_exists('CustomContactFormsAdmin')) {
214
  wp_enqueue_script('jquery-ui-core');
215
  wp_enqueue_script('jquery-ui-tabs');
216
  wp_enqueue_script('jquery-ui-dialog');
217
-
218
  wp_enqueue_script('jquery-tools', plugins_url() . '/custom-contact-forms/js/jquery.tools.min.js');
219
  wp_enqueue_script('jquery-ui-widget', plugins_url() . '/custom-contact-forms/js/jquery.ui.widget.js');
220
  //wp_enqueue_script('jquery-ui-dialog', plugins_url() . '/custom-contact-forms/js/jquery.ui.dialog.js', array('jquery', 'jquery-ui-core', 'jquery-ui-tabs'));
@@ -236,6 +236,8 @@ if (!class_exists('CustomContactFormsAdmin')) {
236
  }
237
 
238
  function handleAdminPostRequests() {
 
 
239
  $out = array('success' => true);
240
  if (isset($_POST['object_create'])) {
241
  if ($_POST['object_type'] == 'form') {
@@ -254,24 +256,11 @@ if (!class_exists('CustomContactFormsAdmin')) {
254
  return $out;
255
  }
256
 
257
- if (isset($_POST['object_attach'])) {
258
  if ($_POST['object_type'] == 'form') {
259
- if (parent::addFieldToForm($_POST['attach_object_id'], $_POST['object_id']) != false)
260
- $this->action_complete = __('A field was successful attached!', 'custom-contact-forms');
261
  } elseif ($_POST['object_type'] == 'field') {
262
- if (parent::addFieldOptionToField($_POST['attach_object_id'], $_POST['object_id']) != false)
263
- $this->action_complete = __('A field option was successful attached!', 'custom-contact-forms');
264
- }
265
- return $out;
266
- }
267
-
268
- if (isset($_POST['object_detach'])) {
269
- if ($_POST['object_type'] == 'form') {
270
- if (parent::detachField($_POST['detach_object_id'], $_POST['object_id']) != false)
271
- $this->action_complete = __('A field was successful detached!', 'custom-contact-forms');
272
- } elseif ($_POST['object_type'] == 'field') {
273
- if (parent::detachFieldOption($_POST['detach_object_id'], $_POST['object_id']) != false)
274
- $this->action_complete = __('A field option was successful detached!', 'custom-contact-forms');
275
  }
276
  return $out;
277
  }
@@ -283,24 +272,13 @@ if (!class_exists('CustomContactFormsAdmin')) {
283
  if (isset($obj['object_do']) && $obj['object_do'] == 1) {
284
  if ($obj['object_type'] == 'form') {
285
  parent::updateForm($obj['values'], $obj['object_id']);
286
- if (isset($obj['detach_confirm']) && $obj['detach_confirm'] == 1 && $obj['detach'] > 0) {
287
- parent::detachField($obj['detach'], $obj['object_id']);
288
- } if (isset($obj['attach_confirm']) && $obj['attach_confirm'] == 1 && $obj['attach'] > 0) {
289
- parent::addFieldToForm($obj['attach'], $obj['object_id']);
290
- }
291
  } elseif ($obj['object_type'] == 'field') {
292
  parent::updateField($obj['values'], $obj['object_id']);
293
- if (isset($obj['detach_confirm']) && $obj['detach_confirm'] == 1 && $obj['detach'] > 0) {
294
- parent::detachFieldOption($obj['detach'], $obj['object_id']);
295
- } if (isset($obj['attach_confirm']) && $obj['attach_confirm'] == 1 && $obj['attach'] > 0) {
296
- parent::addFieldOptionToField($obj['attach'], $obj['object_id']);
297
- }
298
  } elseif ($obj['object_type'] == 'field_option') parent::updateFieldOption($obj['values'], $obj['object_id']);
299
  elseif ($obj['object_type'] == 'style') parent::updateStyle($obj['values'], $obj['object_id']);
300
  $out['objects'][] = $obj;
301
  }
302
  }
303
- $this->action_complete = __('Your bulk action has been completed!', 'custom-contact-forms');
304
  }
305
 
306
  elseif ($_POST['object_bulk_action'] == 'delete') {
@@ -316,7 +294,6 @@ if (!class_exists('CustomContactFormsAdmin')) {
316
  $out['objects'][] = $obj;
317
  }
318
  }
319
- $this->action_complete = __('Your bulk action has been completed!', 'custom-contact-forms');
320
  }
321
  }
322
  return $out;
@@ -337,10 +314,8 @@ if (!class_exists('CustomContactFormsAdmin')) {
337
 
338
  function printAdminPage() {
339
  $admin_options = parent::getAdminOptions();
340
- $show_checkbox_warning = false;
341
  if ($admin_options['show_install_popover'] == 1) {
342
  $admin_options['show_install_popover'] = 0;
343
- $show_checkbox_warning = true;
344
  ?>
345
  <script type="text/javascript" language="javascript">
346
  $j(document).ready(function() {
@@ -401,12 +376,6 @@ if (!class_exists('CustomContactFormsAdmin')) {
401
  <input type="text" name="email" value="Your Email" onclick="value=''" />
402
  <input type="submit" value="Sign Up for Free" />
403
  </form>
404
-
405
- <?php if ($show_checkbox_warning) { ?>
406
- <div class="checkbox-warning">
407
- <span>ATTENTION:</span> Custom Contact Forms 4.7 changes the way checkbox fields work. In order to make use of checkboxes, as of 4.7, you must attach field options to your checkbox fields. Upon upgrading to version 4.7, your old checkbox fields will not work until you create field options and attach them.
408
- </div>
409
- <?php } ?>
410
 
411
  <?php if (!empty($this->action_complete)) { ?>
412
  <div id="message" class="updated below-h2">
@@ -426,7 +395,7 @@ if (!class_exists('CustomContactFormsAdmin')) {
426
  <label for="object[form_slug]">*
427
  <?php _e("Form Slug:", 'custom-contact-forms'); ?>
428
  </label>
429
- <input type="text" maxlength="100" name="object[form_slug]" />
430
  <br />
431
  <?php _e("This is just a unique way for CCF to refer to your form. Must be unique from other slugs and contain only underscores and alphanumeric characters.", 'custom-contact-forms'); ?>
432
  </li>
@@ -434,7 +403,7 @@ if (!class_exists('CustomContactFormsAdmin')) {
434
  <label for="object[form_title]">
435
  <?php _e("Form Title:", 'custom-contact-forms'); ?>
436
  </label>
437
- <input type="text" maxlength="200" name="object[form_title]" />
438
  <?php _e("This text is displayed above the form as the heading.", 'custom-contact-forms'); ?>
439
  </li>
440
  <li>
@@ -448,21 +417,21 @@ if (!class_exists('CustomContactFormsAdmin')) {
448
  <label for="object[submit_button_text]">
449
  <?php _e("Submit Button Text:", 'custom-contact-forms'); ?>
450
  </label>
451
- <input type="text" maxlength="200" name="object[submit_button_text]" />
452
  </li>
453
  <li>
454
  <label for="object[form_email]">
455
  <?php _e("Form Destination Email:", 'custom-contact-forms'); ?>
456
  </label>
457
- <input type="text" name="object[form_email]" />
458
  <br />
459
- <?php _e("Will receive all submissions from this form; if left blank it will use the default specified in general settings.", 'custom-contact-forms'); ?>
460
  </li>
461
  <li>
462
  <label for="object[form_email_subject]">
463
  <?php _e("Form Email Subject:", 'custom-contact-forms'); ?>
464
  </label>
465
- <input type="text" name="object[form_email_subject]" />
466
  <br />
467
  <?php _e("When submitted and configured accordingly, the form will send an email with this subject.", 'custom-contact-forms'); ?>
468
  </li>
@@ -470,7 +439,7 @@ if (!class_exists('CustomContactFormsAdmin')) {
470
  <label for="object[form_email_name]">
471
  <?php _e("Form Email Name:", 'custom-contact-forms'); ?>
472
  </label>
473
- <input type="text" name="object[form_email_name]" />
474
  <br />
475
  <?php _e("When submitted and configured accordingly, the form will send an email with this as the email 'from name'.", 'custom-contact-forms'); ?>
476
  </li>
@@ -480,7 +449,7 @@ if (!class_exists('CustomContactFormsAdmin')) {
480
  <label for="object[form_success_message]">
481
  <?php _e("Form Success Message:", 'custom-contact-forms'); ?>
482
  </label>
483
- <input type="text" name="object[form_success_message]" />
484
  <br />
485
  <?php _e("Will be displayed in a popover when the form is filled out successfully when no custom success page is specified; if left blank it will use the default specified in general settings.", 'custom-contact-forms'); ?>
486
  </li>
@@ -488,7 +457,7 @@ if (!class_exists('CustomContactFormsAdmin')) {
488
  <label for="object[form_success_title]">
489
  <?php _e("Form Success Message Title:", 'custom-contact-forms'); ?>
490
  </label>
491
- <input type="text" name="object[form_success_title]" />
492
  <br />
493
  <?php _e("Will be displayed in a popover when the form is filled out successfully when no custom success page is specified; if left blank it will use the default specified in general settings.", 'custom-contact-forms'); ?>
494
  </li>
@@ -496,7 +465,7 @@ if (!class_exists('CustomContactFormsAdmin')) {
496
  <label for="object[form_thank_you_page]">
497
  <?php _e("Custom Success URL:", 'custom-contact-forms'); ?>
498
  </label>
499
- <input type="text" name="object[form_thank_you_page]" />
500
  <br />
501
  <?php _e("If this is filled out, users will be sent to this page when they successfully fill out this form. If it is left blank, a popover showing the form's 'success message' will be displayed on form success.", 'custom-contact-forms'); ?>
502
  </li>
@@ -526,6 +495,7 @@ if (!class_exists('CustomContactFormsAdmin')) {
526
  <li class="attach"><span class="ccf-red">*</span> <?php _e('You should go to the form manager to attach fields to this form after you create it.', 'custom-contact-forms'); ?></li>
527
  </ul>
528
  </form>
 
529
  </div>
530
  </div>
531
 
@@ -539,21 +509,21 @@ if (!class_exists('CustomContactFormsAdmin')) {
539
  <tr>
540
  <th scope="col" class="manage-column check-col"><input type="checkbox" class="checkall" /></th>
541
  <th scope="col" class="manage-column form-code"><?php _e("Form Display Code", 'custom-contact-forms'); ?></th>
542
- <th scope="col" class="manage-column form-slug"><?php _e("Slug", 'custom-contact-forms'); ?></th>
543
- <th scope="col" class="manage-column form-slug"><?php _e("Destination Email", 'custom-contact-forms'); ?></th>
544
  <th scope="col" class="manage-column form-title"><?php _e("Title", 'custom-contact-forms'); ?></th>
545
- <th scope="col" class="manage-column form-button"><?php _e("Button Text", 'custom-contact-forms'); ?></th>
546
  <th scope="col" class="manage-column form-style"><?php _e("Style", 'custom-contact-forms'); ?></th>
547
  <th scope="col" class="manage-column form-expand"></th>
548
  </tr>
549
  </thead>
 
550
  <tbody>
551
  <?php
552
  $forms = parent::selectAllForms();
553
  for ($i = 0; $i < count($forms); $i++) {
554
  $form_methods = '<option>Post</option><option>Get</option>';
555
  $form_methods = str_replace('<option>'.$forms[$i]->form_method.'</option>', '<option selected="selected">'.$forms[$i]->form_method.'</option>', $form_methods);
556
- $add_fields = $this->getFieldsForm();
557
  $this_style = parent::selectStyle($forms[$i]->form_style, '');
558
  if ($this_style != NULL)
559
  $sty_opt = str_replace('<option value="'.$forms[$i]->form_style.'">'.$this_style->style_slug.'</option>', '<option value="'.$forms[$i]->form_style.'" selected="selected">'.$this_style->style_slug.'</option>', $style_options);
@@ -561,123 +531,111 @@ if (!class_exists('CustomContactFormsAdmin')) {
561
  $sty_opt = $style_options;
562
  ?>
563
  <tr class="row-form-<?php echo $forms[$i]->id; ?> <?php if ($i % 2 == 0) echo 'ccf-evenrow'; ?>">
564
- <td><input type="checkbox" class="object-check" value="1" name="objects[<?php echo $i; ?>][object_do]" /></td>
565
- <td><span class="ccf-bold">[customcontact form=<?php echo $forms[$i]->id ?>]</span></td>
566
- <td><input type="text" class="ccf-width75" name="objects[<?php echo $i; ?>][values][form_slug]" value="<?php echo $forms[$i]->form_slug; ?>" /></td>
567
- <td><input type="text" name="objects[<?php echo $i; ?>][values][form_email]" value="<?php echo $forms[$i]->form_email; ?>" /></td>
568
- <td><input type="text" class="ccf-width125" name="objects[<?php echo $i; ?>][values][form_title]" value="<?php echo $forms[$i]->form_title; ?>" /></td>
569
- <td><input class="ccf-width100" type="text" name="objects[<?php echo $i; ?>][values][submit_button_text]" value="<?php echo $forms[$i]->submit_button_text; ?>" /></td>
570
- <td><select name="objects[<?php echo $i; ?>][values][form_style]" class="form_style_input">
571
  <?php echo $sty_opt; ?>
572
  </select></td>
573
- <td><input class="object-id" type="hidden" name="objects[<?php echo $i; ?>][object_id]" value="<?php echo $forms[$i]->id; ?>" />
574
- <input type="hidden" class="object-type" name="objects[<?php echo $i; ?>][object_type]" value="form" />
575
- <span class="form-options-expand"></span>
576
- </td>
 
 
 
577
  </tr>
578
  <tr class="row-form-<?php echo $forms[$i]->id; ?> <?php if ($i % 2 == 0) echo 'ccf-evenrow'; ?>">
579
- <td class="form-extra-options ccf-center" colspan="8"><table class="form-extra-options-table">
580
- <tbody>
581
- <tr>
582
- <td class="ccf-bold"><?php _e("Method", 'custom-contact-forms'); ?></td>
583
- <td class="ccf-bold"><?php _e("Form Action", 'custom-contact-forms'); ?></td>
584
- <td class="ccf-bold"><?php _e("Email Subject", 'custom-contact-forms'); ?></td>
585
- <td class="ccf-bold"><?php _e("Email From Name", 'custom-contact-forms'); ?></td>
586
- <td class="ccf-bold"><?php _e("Success Message Title", 'custom-contact-forms'); ?></td>
587
- <td class="ccf-bold"><?php _e("Success Message", 'custom-contact-forms'); ?></td>
588
- <td class="ccf-bold"><?php _e("Custom Success URL", 'custom-contact-forms'); ?></td>
589
- </tr>
590
- <tr>
591
- <td><a href="javascript:void(0)" class="toollink" title="<?php _e("The Form Method is the method by which information is transfer through your form. If you aren't an expert with HTML and PHP, leave this as Post.", 'custom-contact-forms'); ?>">(?)</a>
592
- <select name="objects[<?php echo $i; ?>][values][form_method]">
593
  <?php echo $form_methods; ?>
594
- </select></td>
595
- <td><a href="javascript:void(0)" class="toollink" title="<?php _e("This lets you process your forms through alternate scripts. If you use a service like InfusionSoft or Aweber, set this to be the same form action as the code provided to you by that service, otherwise leave this blank.", 'custom-contact-forms'); ?>">(?)</a>
596
- <input class="ccf-width100" type="text" name="objects[<?php echo $i; ?>][values][form_action]" value="<?php echo $forms[$i]->form_action; ?>" /></td>
597
- <td><a href="javascript:void(0)" class="toollink" title="<?php _e("This is the form email subject sent to the destination email address. If left blank, the default from General Settings will be used.", 'custom-contact-forms'); ?>">(?)</a>
598
- <input class="ccf-width100" type="text" name="objects[<?php echo $i; ?>][values][form_email_subject]" maxlength="250" value="<?php echo $forms[$i]->form_email_subject; ?>" /></td>
599
- <td><a href="javascript:void(0)" class="toollink" title="<?php _e("This is the from name of the email sent on successful form submission. If left blank, the default from General Settings will be used.", 'custom-contact-forms'); ?>">(?)</a>
600
- <input class="ccf-width100" type="text" name="objects[<?php echo $i; ?>][values][form_email_name]" maxlength="100" value="<?php echo $forms[$i]->form_email_name; ?>" /></td>
601
- <td><a href="javascript:void(0)" class="toollink" title="<?php _e("This will be displayed as the header in a popover when the form is filled out successfully when no custom success page is specified; if left blank it will use the default specified in general settings.", 'custom-contact-forms'); ?>">(?)</a>
602
- <input class="ccf-width100" type="text" name="objects[<?php echo $i; ?>][values][form_success_title]" value="<?php echo $forms[$i]->form_success_title; ?>" /></td>
603
- <td><a href="javascript:void(0)" class="toollink" title="<?php _e("This will be displayed in a popover when the form is filled out successfully when no custom success page is specified; if left blank it will use the default specified in general settings.", 'custom-contact-forms'); ?>">(?)</a>
604
- <input type="text" name="objects[<?php echo $i; ?>][values][form_success_message]" class="ccf-width100" value="<?php echo $forms[$i]->form_success_message; ?>" /></td>
605
- <td><a href="javascript:void(0)" class="toollink" title="<?php _e("If this is filled out, users will be sent to this thank you page when they successfully fill out this form. If it is left blank, a popover showing the form's 'success message' will be displayed on form success.", 'custom-contact-forms'); ?>">(?)</a>
606
- <input type="text" class="ccf-width100" name="objects[<?php echo $i; ?>][values][form_thank_you_page]" value="<?php echo $forms[$i]->form_thank_you_page; ?>" /></td>
607
- </tr>
608
- <tr>
609
- <td colspan="7"><a href="javascript:void(0)" class="toollink" title="<?php _e("The form display code above ([customcontact form=x]) will only work in Wordpress pages and posts. If you want to display this form in a theme file such as page.php, header.php, index.php, category.php, etc, then insert this PHP snippet.", 'custom-contact-forms'); ?>">(?)</a>
610
- <label for="theme_code_<?php echo $forms[$i]->id; ?>"><span><?php _e("Code to Display Form in Theme Files:", 'custom-contact-forms'); ?>
611
- </span></label>
612
- <input type="text" class="ccf-width225" value="&lt;?php if (function_exists('serveCustomContactForm')) { serveCustomContactForm(<?php echo $forms[$i]->id; ?>); } ?&gt;" name="theme_code_<?php echo $forms[$i]->id; ?>" />
613
- <a href="javascript:void(0)" class="toollink" title="<?php _e("This field allows you to insert HTML directly after the starting <form> tag.", 'custom-contact-forms'); ?>">(?)</a>
614
- <label for="objects[<?php echo $i; ?>][values][custom_code]"><?php _e("Custom Code:", 'custom-contact-forms'); ?></label>
615
- <input name="objects[<?php echo $i; ?>][values][custom_code]" type="text" class="ccf-width100" value="<?php echo $forms[$i]->custom_code; ?>" />
616
- <a href="javascript:void(0)" class="toollink" title="<?php _e("Insert the page id's that your form will be used on. This will make it so the plugin will only load JS and CSS files on these select pages. This will improve your site's load time.", 'custom-contact-forms'); ?>">(?)</a>
617
- <label for="objects[<?php echo $i; ?>][values][form_pages]"><?php _e("Form Pages:", 'custom-contact-forms'); ?></label>
618
- <input name="objects[<?php echo $i; ?>][values][form_pages]" type="text" class="ccf-width75" value="<?php echo $forms[$i]->form_pages; ?>" /></td>
619
- <input name="objects[<?php echo $i; ?>][values][form_access_update]" type="hidden" value="1" /></td>
620
- <a href="javascript:void(0)" class="toollink" title="<?php _e("If you want to show this form to only certain types of users, you can uncheck boxes accordingly. To show this form to anyone, check all the boxes. This will only take effect if 'Form Access Capabilities' is enabled in general settings.", 'custom-contact-forms'); ?>">(?)</a>&nbsp;
621
- <label for="form_access">Can View Form:</label>&nbsp;
622
-
623
- <?php
624
  $roles = parent::getRolesArray();
625
  $access_array = parent::getFormAccessArray($forms[$i]->form_access);
626
  foreach ($roles as $role) {
627
  ?>
628
- <input type="checkbox" <?php if (parent::formHasRole($access_array, $role)) { echo 'checked="checked"'; } ?> name="objects[<?php echo $i; ?>][values][form_access][]" value="<?php echo $role; ?>" />
629
- <?php
630
- echo $role;
 
631
  }
632
- ?>
633
- </tr>
634
- <tr>
635
- <td colspan="7">
636
- <div class="fattach">
637
- <div class="form-detach">
638
- <label for="detach_object_id"><span>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
639
  <?php _e("Attached Fields:", 'custom-contact-forms'); ?>
640
- </span></label>
641
  <?php
642
  $attached_fields = parent::getAttachedFieldsArray($forms[$i]->id);
643
- if (empty($attached_fields)) echo '<select class="onObject' . $forms[$i]->id . ' objectTypeForm detach-field detach-object" name="objects['.$i.'][detach]"><option value="-1">Nothing Attached!</option></select> ';
644
- else {
645
- echo '<select name="objects['.$i.'][detach]" class="onObject' . $forms[$i]->id . ' detach-object detach-field objectTypeForm">';
646
  foreach($attached_fields as $attached_field) {
647
  $this_field = parent::selectField($attached_field, '');
648
- echo ' <option value="'.$this_field->id.'">'.$this_field->field_slug.'</option>';
 
 
 
649
  }
650
- echo '</select>';
651
- }
652
  ?>
653
- <span class="form-detach-check">
654
- <input type="checkbox" class="detach-check" value="1" name="objects[<?php echo $i; ?>][detach_confirm]" />
655
- <span class="detach-lang"><?php _e('(Check to detach field)', 'custom-contact-forms'); ?></span>
656
- </span>
657
- <br />
658
- <span class="ccf-red ccf-bold">*</span>
659
- <?php _e("Attach fields in the order you want them displayed.", 'custom-contact-forms'); ?>
660
  </div>
661
- <div class="form-attach">
662
- <label for="field_id"><span>
663
- <?php _e("Attach Field:", 'custom-contact-forms'); ?>
664
- </span></label>
665
- <select class="onObject<?php echo $forms[$i]->id; ?> attach-object attach-field objectTypeForm" name="objects[<?php echo $i; ?>][attach]">
666
- <?php echo $add_fields; ?>
667
- </select>
668
- <span class="form-attach-check">
669
- <input class="attach-check" type="checkbox" name="objects[<?php echo $i; ?>][attach_confirm]" value="1" />
670
- <span class="attach-lang"><?php _e("(Check to attach field)", "custom-contact-forms"); ?></span>
671
- </span>
672
- <br />
673
- <span class="ccf-red ccf-bold">*</span>
674
- <?php _e("Attach fixed fields or ones you", 'custom-contact-forms'); ?>
675
- <a href="#create-fields">
676
- <?php _e("create", 'custom-contact-forms'); ?>
677
- </a>. </div></div></td>
678
- </tr>
679
- </tbody>
680
- </table></td>
681
  </tr>
682
  <?php
683
  }
@@ -688,21 +646,17 @@ if (!class_exists('CustomContactFormsAdmin')) {
688
  <option>inset</option><option>outset</option>';
689
  ?>
690
  </tbody>
691
-
692
  <tfoot>
693
- <tr>
694
  <tr>
695
  <th scope="col" class="manage-column check-col"><input type="checkbox" class="checkall" /></th>
696
- <th scope="col" class="manage-column form-code"><?php _e("Form Code", 'custom-contact-forms'); ?></th>
697
- <th scope="col" class="manage-column form-slug"><?php _e("Slug", 'custom-contact-forms'); ?></th>
698
- <th scope="col" class="manage-column form-slug"><?php _e("Destination Email", 'custom-contact-forms'); ?></th>
699
  <th scope="col" class="manage-column form-title"><?php _e("Title", 'custom-contact-forms'); ?></th>
700
- <th scope="col" class="manage-column form-button"><?php _e("Button Text", 'custom-contact-forms'); ?></th>
701
  <th scope="col" class="manage-column form-style"><?php _e("Style", 'custom-contact-forms'); ?></th>
702
  <th scope="col" class="manage-column form-expand"></th>
703
  </tr>
704
- </tr>
705
-
706
  </tfoot>
707
  </table>
708
  <select class="bulk-dropdown" name="object_bulk_action">
@@ -727,7 +681,7 @@ if (!class_exists('CustomContactFormsAdmin')) {
727
  <label for="field_slug">*
728
  <?php _e("Field Slug:", 'custom-contact-forms'); ?>
729
  </label>
730
- <input name="object[field_slug]" type="text" maxlength="40" />
731
  <br />
732
  <?php _e("This is just a unique way for CCF to refer to your field. Must be unique from other slugs and contain only underscores and alphanumeric characters.", 'custom-contact-forms'); ?>
733
  </li>
@@ -735,7 +689,7 @@ if (!class_exists('CustomContactFormsAdmin')) {
735
  <label for="field_label">
736
  <?php _e("Field Label:", 'custom-contact-forms'); ?>
737
  </label>
738
- <input name="object[field_label]" type="text" maxlength="100" />
739
  <br />
740
  <?php _e("The field label is displayed next to the field and is visible to the user.", 'custom-contact-forms'); ?>
741
  </li>
@@ -758,20 +712,19 @@ if (!class_exists('CustomContactFormsAdmin')) {
758
  <label for="field_value">
759
  <?php _e("Initial Value:", 'custom-contact-forms'); ?>
760
  </label>
761
- <input name="object[field_value]" type="text" maxlength="50" />
762
  <br />
763
- (
764
  <?php _e("This is the initial value of the field. If you set the type as checkbox, it is recommend you set this to what the checkbox is implying. For example if I were creating the checkbox
765
  'Are you human?', I would set the initial value to 'Yes'.", 'custom-contact-forms'); ?>
766
  <?php _e("If you set the field type as 'Dropdown' or 'Radio', you should enter the slug of the", 'custom-contact-forms'); ?>
767
  <a href="#manage-field-options" title="<?php _e("Create a Field Option", 'custom-contact-forms'); ?>"><?php _e("field option", 'custom-contact-forms'); ?></a>
768
  <?php _e("you would like initially selected.", 'custom-contact-forms'); ?>
769
- ) </li>
770
  <li>
771
  <label for="field_maxlength">
772
  <?php _e("Max Length:", 'custom-contact-forms'); ?>
773
  </label>
774
- <input class="ccf-width50" size="10" name="object[field_maxlength]" type="text" maxlength="4" />
775
  <br />
776
  <?php _e("0 for no limit; only applies to Text fields", 'custom-contact-forms'); ?>
777
  </li>
@@ -796,7 +749,7 @@ if (!class_exists('CustomContactFormsAdmin')) {
796
  <label for="field_instructions">
797
  <?php _e("Field Instructions:", 'custom-contact-forms'); ?>
798
  </label>
799
- <input name="object[field_instructions]" type="text" />
800
  <br />
801
  <?php _e("If this is filled out, a tooltip popover displaying this text will show when the field is selected.", 'custom-contact-forms'); ?>
802
  </li>
@@ -804,7 +757,7 @@ if (!class_exists('CustomContactFormsAdmin')) {
804
  <label for="field_class">
805
  <?php _e("Field Class:", 'custom-contact-forms'); ?>
806
  </label>
807
- <input name="object[field_class]" type="text" />
808
  <br />
809
  <?php _e("If you manage your own .css stylesheet, you can use this to attach a class to this field. Leaving this blank will do nothing.", 'custom-contact-forms'); ?>
810
  </li>
@@ -812,7 +765,7 @@ if (!class_exists('CustomContactFormsAdmin')) {
812
  <label for="field_error">
813
  <?php _e("Field Error:", 'custom-contact-forms'); ?>
814
  </label>
815
- <input name="object[field_error]" type="text" />
816
  <br />
817
  <?php _e("If a user leaves this field blank and the field is required, this error message will be shown. A generic default will show if left blank.", 'custom-contact-forms'); ?>
818
  </li>
@@ -820,7 +773,7 @@ if (!class_exists('CustomContactFormsAdmin')) {
820
  <label for="field_max_upload_size">
821
  <?php _e("Max File Size Allowed:", 'custom-contact-forms'); ?>
822
  </label>
823
- <input name="object[field_max_upload_size]" value="5000" type="text" /> <?php _e('KB', 'custom-contact-forms'); ?>
824
  <br />
825
  <?php _e("If a user tries to upload a file larger than the max upload size, an error message will be displayed.", 'custom-contact-forms'); ?>
826
  </li>
@@ -828,9 +781,9 @@ if (!class_exists('CustomContactFormsAdmin')) {
828
  <label for="field_allowed_file_extensions">
829
  <?php _e("Allowed File Extensions for Upload:", 'custom-contact-forms'); ?>
830
  </label>
831
- <input name="object[field_allowed_file_extensions]" type="text" />
832
  <br />
833
- <?php _e("If a user tries to upload a file with an extension not in this list, an error will be shown. Separate file extensions with a comma. Ex: doc, jpg, jpeg, txt", 'custom-contact-forms'); ?>
834
  </li>
835
  <li>
836
  <input type="hidden" name="object[user_field]" value="1" />
@@ -841,6 +794,7 @@ if (!class_exists('CustomContactFormsAdmin')) {
841
 
842
  </ul>
843
  </form>
 
844
  </div>
845
  </div>
846
 
@@ -858,7 +812,6 @@ if (!class_exists('CustomContactFormsAdmin')) {
858
  <th scope="col" class="manage-column field-type"><?php _e("Type", 'custom-contact-forms'); ?></th>
859
  <th scope="col" class="manage-column field-value"><?php _e("Initial Value", 'custom-contact-forms'); ?></th>
860
  <th scope="col" class="manage-column field-required"><?php _e("Required", 'custom-contact-forms'); ?></th>
861
- <th scope="col" class="manage-column field-maxlength"><?php _e("Maxlength", 'custom-contact-forms'); ?></th>
862
  <th scope="col" class="manage-column field-expand"></th>
863
  </tr>
864
  </thead>
@@ -873,14 +826,14 @@ if (!class_exists('CustomContactFormsAdmin')) {
873
 
874
  ?>
875
  <tr class="row-field-<?php echo $fields[$i]->id; ?> <?php if ($z % 2 == 1) echo ' ccf-evenrow'; ?>">
876
- <td><input class="object-check" type="checkbox" value="1" name="objects[<?php echo $i; ?>][object_do]" /></td>
877
- <td><input type="text" name="objects[<?php echo $i; ?>][values][field_slug]" class="ccf-width100" maxlength="50" value="<?php echo $fields[$i]->field_slug; ?>" /></td>
878
- <td><input type="text" name="objects[<?php echo $i; ?>][values][field_label]" maxlength="100" value="<?php echo $fields[$i]->field_label; ?>" /></td>
879
- <td><select name="objects[<?php echo $i; ?>][values][field_type]">
880
  <?php echo $field_types; ?>
881
  </select></td>
882
- <td><input type="text" name="objects[<?php echo $i; ?>][values][field_value]" maxlength="50" class="ccf-width75" value="<?php echo $fields[$i]->field_value; ?>" /></td>
883
- <td><select name="objects[<?php echo $i; ?>][values][field_required]">
884
  <option value="1">
885
  <?php _e("Yes", 'custom-contact-forms'); ?>
886
  </option>
@@ -888,94 +841,103 @@ if (!class_exists('CustomContactFormsAdmin')) {
888
  <?php _e("No", 'custom-contact-forms'); ?>
889
  </option>
890
  </select></td>
891
- <td><?php if ($fields[$i]->field_type == 'Dropdown' || $fields[$i]->field_type == 'Radio' || $fields[$i]->field_type == 'Checkbox') { ?>
892
- <b>-</b>
893
- <?php } else { ?>
894
- <input type="text" class="ccf-width50" name="objects[<?php echo $i; ?>][values][field_maxlength]" value="<?php echo $fields[$i]->field_maxlength; ?>" />
895
- <?php } ?>
896
- </td>
897
- <td><input type="hidden" class="object-type" name="objects[<?php echo $i; ?>][object_type]" value="field" />
898
- <input type="hidden" class="object-id" name="objects[<?php echo $i; ?>][object_id]" value="<?php echo $fields[$i]->id; ?>" />
899
- <span class="fields-options-expand"></span>
900
- </tr>
901
  <?php $show_field_options = ($fields[$i]->field_type == 'Radio' || $fields[$i]->field_type == 'Dropdown' || $fields[$i]->field_type == 'Checkbox') ? true : false; ?>
902
  <tr class="row-field-<?php echo $fields[$i]->id; ?> <?php if ($z % 2 == 1) echo 'ccf-evenrow'; ?>">
903
- <td class="fields-extra-options" colspan="8">
904
- <div class="row-one">
 
905
  <a href="javascript:void(0)" class="toollink" title="<?php _e('If this is filled out, a tooltip popover displaying this text will show when the field is selected.', 'custom-contact-forms'); ?>">(?)</a>
906
- <label for="field_instructions">
907
  <?php _e("Field Instructions:", 'custom-contact-forms'); ?>
908
  </label>
909
- <input type="text" class="ccf-width150" name="objects[<?php echo $i; ?>][values][field_instructions]" value="<?php echo $fields[$i]->field_instructions; ?>" />
910
- <a href="javascript:void(0)" class="toollink" title="<?php _e('If you manage a .CSS file for your theme, you could create a class in that file and add it to this field. If the form attaching this field is using a "Form Style" other than the default, styles inherited from the "Field Class" might be overwritten.', 'custom-contact-forms'); ?>">(?)</a>
911
- <label for="field_class">
912
- <?php _e("Field Class:", 'custom-contact-forms'); ?>
913
- </label>
914
- <input type="text" class="ccf-width100" name="objects[<?php echo $i; ?>][values][field_class]" value="<?php echo $fields[$i]->field_class; ?>" />
915
  <a href="javascript:void(0)" class="toollink" title="<?php _e('This lets you customize the error message displayed when this field is required and left blank.', 'custom-contact-forms'); ?>">(?)</a>
916
- <label for="field_error">
917
- <?php _e("Field Error:", 'custom-contact-forms'); ?>
918
  </label>
919
- <input type="text" class="ccf-width200" name="objects[<?php echo $i; ?>][values][field_error]" value="<?php echo $fields[$i]->field_error; ?>" />
920
  </div>
921
- <?php if ($fields[$i]->field_type == 'File') { ?>
922
- <div class="row-two">
923
- <a href="javascript:void(0)" class="toollink" title="<?php _e('If a user tries to upload a file greater than the value in this field, an error will be shown. Upload size is in KB. If this is left blank or set to 0, then there will be no maximum file size for this field.', 'custom-contact-forms'); ?>">(?)</a>
924
- <label for="field_max_upload_size"><?php _e("Max Upload Size", 'custom-contact-forms'); ?></label>
925
- <input type="text" class="ccf-width100" name="objects[<?php echo $i; ?>][values][field_max_upload_size]" value="<?php echo $fields[$i]->field_max_upload_size; ?>" /><?php _e('KB', 'custom-contact-forms'); ?>
926
- <a href="javascript:void(0)" class="toollink" title="<?php _e('If a user tries to upload a file with an extension not in this list, an error will be shown. If this is left blank, then all file extensions will be accepted. Separate file extensions with a comma. Ex: doc, jpg, jpeg, bmp, gif, txt', 'custom-contact-forms'); ?>">(?)</a>
927
- <label for="field_allowed_file_extensions"><?php _e("Allowed File Extensions", 'custom-contact-forms'); ?></label>
928
- <input type="text" class="ccf-width200" name="objects[<?php echo $i; ?>][values][field_allowed_file_extensions]" value="<?php $exts = unserialize($fields[$i]->field_allowed_file_extensions); echo (!empty($exts)) ? @implode(', ', $exts) : ''; ?>" />
929
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
930
  <?php } ?>
 
931
  <?php
932
  if ($show_field_options) { ?>
933
- <div class="fattach">
934
- <div class="field-detach">
935
- <span class="ccf-bold">Detach Options:</span>
936
- <?php if (empty($attached_options)) { ?>
937
- <select class="onObject<?php echo $fields[$i]->id ?> detach-object detach-field-option objectTypeField" name="objects[<?php echo $i; ?>][detach]">
938
- <option value="-1">Nothing Attached!</option>
939
- </select>
940
- <?php } else { ?>
941
- <select name="objects[<?php echo $i; ?>][detach]" class="onObject<?php echo $fields[$i]->id ?> detach-object detach-field-option objectTypeField">
942
- <?php
943
- foreach ($attached_options as $option_id) {
944
- $option = parent::selectFieldOption($option_id);
945
- ?>
946
- <option value="<?php echo $option_id; ?>"><?php echo $option->option_slug; ?></option>
947
- <?php
948
- }
949
- ?>
950
- </select>
951
- <?php } ?>
952
- <span class="field-detach-check">
953
- <input class="detach-check" type="checkbox" name="objects[<?php echo $i; ?>][detach_confirm]" value="1" />
954
- <span class="detach-lang">(Check to detach option)</span>
955
- </span><br />
956
- <span class="ccf-red ccf-bold">*</span>
957
- <?php _e("Detach field options you", 'custom-contact-forms'); ?>
958
- <a href="#create-field-options">
959
- <?php _e("create", 'custom-contact-forms'); ?>
960
- </a>. </div>
961
- <?php $all_options = $this->getFieldOptionsForm(); ?>
962
- <div class="field-attach">
963
- <span class="ccf-bold">Attach Options:</span>
964
- <?php if (empty($all_options)) { ?>
965
- <b>No Field Options to Attach</b>
966
- <?php } else { ?>
967
- <select name="objects[<?php echo $i; ?>][attach]" class="onObject<?php echo $fields[$i]->id ?> attach-object attach-field-option objectTypeField">
968
- <?php echo $all_options; ?>
969
- </select>
970
- <span class="field-attach-check">
971
- <input type="checkbox" class="attach-check" name="objects[<?php echo $i; ?>][attach_confirm]" value="1" />
972
- <?php } ?>
973
- <span class="attach-lang">(Check to attach option)</span>
974
- </span><br />
975
- <span class="ccf-red ccf-bold">*</span>
976
- <?php _e("Attach field options in the order you want them to display.", 'custom-contact-forms'); ?>
977
- </div>
978
- </div>
979
  <?php } ?>
980
  </td>
981
  </tr>
@@ -992,7 +954,6 @@ if (!class_exists('CustomContactFormsAdmin')) {
992
  <th scope="col" class="manage-column field-type"><?php _e("Type", 'custom-contact-forms'); ?></th>
993
  <th scope="col" class="manage-column field-value"><?php _e("Initial Value", 'custom-contact-forms'); ?></th>
994
  <th scope="col" class="manage-column field-required"><?php _e("Required", 'custom-contact-forms'); ?></th>
995
- <th scope="col" class="manage-column field-maxlength"><?php _e("Maxlength", 'custom-contact-forms'); ?></th>
996
  <th scope="col" class="manage-column field-expand"></th>
997
  </tr>
998
  </tfoot>
@@ -1018,7 +979,6 @@ if (!class_exists('CustomContactFormsAdmin')) {
1018
  <th scope="col" class="manage-column field-type"><?php _e("Type", 'custom-contact-forms'); ?></th>
1019
  <th scope="col" class="manage-column field-value"><?php _e("Initial Value", 'custom-contact-forms'); ?></th>
1020
  <th scope="col" class="manage-column field-value"><?php _e("Required", 'custom-contact-forms'); ?></th>
1021
- <th scope="col" class="manage-column field-maxlength"><?php _e("Maxlength", 'custom-contact-forms'); ?></th>
1022
  <th scope="col" class="manage-column field-expand"></th>
1023
  </tr>
1024
  </thead>
@@ -1032,21 +992,21 @@ if (!class_exists('CustomContactFormsAdmin')) {
1032
 
1033
  ?>
1034
  <tr class="row-field-<?php echo $fields[$i]->id; ?> <?php if ($z % 2 == 0) echo 'ccf-evenrow'; ?>">
1035
- <td><input class="object-check" type="checkbox" value="1" name="objects[<?php echo $i; ?>][object_do]" /></td>
1036
  <td><?php echo $fields[$i]->field_slug; ?></td>
1037
  <td><?php if ($fields[$i]->field_slug == 'resetButton') { _e('None', 'custom-contact-forms'); } else { ?>
1038
- <input type="text" name="objects[<?php echo $i; ?>][values][field_label]" maxlength="100" value="<?php echo $fields[$i]->field_label; ?>" />
1039
  <?php } ?></td>
1040
  <td><?php echo $fields[$i]->field_type; ?>
1041
  <td><?php if ($fields[$i]->field_type != 'Checkbox') { ?>
1042
- <input type="text" name="objects[<?php echo $i; ?>][values][field_value]" class="ccf-width75" maxlength="50" value="<?php echo $fields[$i]->field_value; ?>" />
1043
  <?php } else {
1044
  echo $fields[$i]->field_value;
1045
  ?>
1046
  <?php } ?>
1047
  </td>
1048
  <td><?php if ($fields[$i]->field_slug == 'fixedEmail' || $fields[$i]->field_slug == 'emailSubject' || $fields[$i]->field_slug == 'fixedWebsite' || $fields[$i]->field_slug == 'usaStates' || $fields[$i]->field_slug == 'datePicker' || $fields[$i]->field_slug == 'allCountries') { ?>
1049
- <select name="objects[<?php echo $i; ?>][values][field_required]">
1050
  <option value="1">
1051
  <?php _e("Yes", 'custom-contact-forms'); ?>
1052
  </option>
@@ -1063,35 +1023,58 @@ if (!class_exists('CustomContactFormsAdmin')) {
1063
  }
1064
  ?>
1065
  </td>
1066
- <td><?php if ($fields[$i]->field_type != 'Checkbox' && $fields[$i]->field_slug != 'resetButton' && $fields[$i]->field_slug != 'allCountries' && $fields[$i]->field_slug != 'usaStates') { ?>
1067
- <input type="text" class="ccf-width50" name="objects[<?php echo $i; ?>][values][field_maxlength]" value="<?php echo $fields[$i]->field_maxlength; ?>" />
1068
- <?php } else { _e('None', 'custom-contact-forms'); } ?>
1069
- </td>
1070
- <td><input type="hidden" name="objects[<?php echo $i; ?>][object_type]" value="field" />
1071
- <input type="hidden" class="object-id" name="objects[<?php echo $i; ?>][object_id]" value="<?php echo $fields[$i]->id; ?>" />
1072
- <span class="fixed-fields-options-expand"></span>
1073
  </tr>
1074
  <tr class="row-field-<?php echo $fields[$i]->id; ?> <?php if ($z % 2 == 0) echo 'ccf-evenrow'; ?>">
1075
- <td class="fixed-fields-extra-options" colspan="8">
1076
- <a href="javascript:void(0)" class="toollink" title="<?php _e('If you manage a .CSS file for your theme, you could create a class in that file and add it to this field. If the form attaching this field is using a "Form Style" other than the default, styles inherited from the "Field Class" might be overwritten.', 'custom-contact-forms'); ?>">(?)</a>
1077
- <label for="field_class">
1078
- <?php _e('Field Class:', 'custom-contact-forms'); ?>
1079
- </label>
1080
- <input type="text" value="<?php echo $fields[$i]->field_class; ?>" name="objects[<?php echo $i; ?>][values][field_class]" />
1081
- <?php if ($fields[$i]->field_slug != 'resetButton') { ?>
1082
- <a href="javascript:void(0)" class="toollink" title="<?php _e('If this is filled out, a tooltip popover displaying this text will show when the field is selected.', 'custom-contact-forms'); ?>">(?)</a>
1083
- <label for="field_instructions">
1084
- <?php _e("Field Instructions:", 'custom-contact-forms'); ?>
1085
- </label>
1086
- <input type="text" name="objects[<?php echo $i; ?>][values][field_instructions]" class="ccf-width200" value="<?php echo $fields[$i]->field_instructions; ?>" />
1087
- <a href="javascript:void(0)" class="toollink" title="<?php _e('This lets you customize the error message displayed when this field is required and left blank.', 'custom-contact-forms'); ?>">(?)</a>
1088
- <label for="field_error">
1089
- <?php _e("Field Error:", 'custom-contact-forms'); ?>
1090
- </label>
1091
- <input type="text" class="ccf-width200" name="objects[<?php echo $i; ?>][values][field_error]" value="<?php echo $fields[$i]->field_error; ?>" />
1092
- <br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1093
  <?php } ?>
1094
- <div class="field_descrip"><?php echo $GLOBALS['ccf_fixed_fields'][$fields[$i]->field_slug]; ?></div></td>
 
1095
  </tr>
1096
  <?php
1097
  }
@@ -1106,7 +1089,6 @@ if (!class_exists('CustomContactFormsAdmin')) {
1106
  <th scope="col" class="manage-column field-type"><?php _e("Type", 'custom-contact-forms'); ?></th>
1107
  <th scope="col" class="manage-column field-value"><?php _e("Initial Value", 'custom-contact-forms'); ?></th>
1108
  <th scope="col" class="manage-column field-value"><?php _e("Required", 'custom-contact-forms'); ?></th>
1109
- <th scope="col" class="manage-column field-maxlength"><?php _e("Maxlength", 'custom-contact-forms'); ?></th>
1110
  <th scope="col" class="manage-column field-expand"></th>
1111
  </tr>
1112
  </tfoot>
@@ -1134,6 +1116,7 @@ if (!class_exists('CustomContactFormsAdmin')) {
1134
  <th><?php _e("Label", 'custom-contact-forms'); ?></th>
1135
  <th><?php _e("Value", 'custom-contact-forms'); ?></th>
1136
  <th><?php _e("Is Dead", 'custom-contact-forms'); ?></th>
 
1137
  </tr>
1138
  </thead>
1139
  <tfoot>
@@ -1143,6 +1126,7 @@ if (!class_exists('CustomContactFormsAdmin')) {
1143
  <th><?php _e("Label", 'custom-contact-forms'); ?></th>
1144
  <th><?php _e("Value", 'custom-contact-forms'); ?></th>
1145
  <th><?php _e("Is Dead", 'custom-contact-forms'); ?></th>
 
1146
  </tr>
1147
  </tfoot>
1148
  <tbody>
@@ -1153,16 +1137,18 @@ if (!class_exists('CustomContactFormsAdmin')) {
1153
  foreach ($options as $option) {
1154
  ?>
1155
  <tr class="row-field_option-<?php echo $option->id; ?> <?php if ($i % 2 == 1) echo 'evenrow-field-options'; ?>">
1156
- <td><input type="checkbox" class="object-check" name="objects[<?php echo $i; ?>][object_do]" value="1" /> </td>
1157
- <td><input type="hidden" name="objects[<?php echo $i; ?>][object_type]" value="field_option" />
1158
-
1159
- <input class="object-id" type="hidden" name="objects[<?php echo $i; ?>][object_id]" value="<?php echo $option->id; ?>" />
1160
-
1161
- <input type="text" maxlength="20" name="<?php ?>objects[<?php echo $i; ?>][values][option_slug]" value="<?php echo $option->option_slug; ?>" class="ccf-width50" /></td>
1162
- <td><input type="text" name="objects[<?php echo $i; ?>][values][option_label]" value="<?php echo $option->option_label; ?>" class="ccf-width100" /></td>
1163
- <td><input type="text" name="objects[<?php echo $i; ?>][values][option_value]" value="<?php echo $option->option_value; ?>" class="ccf-width100" /></td>
1164
- <td><select name="objects[<?php echo $i; ?>][values][option_dead]"><option value="0"><?php _e('No', 'custom-contact-forms'); ?></option><option <?php if ($option->option_dead == 1) echo 'selected="selected"'; ?> value="1"><?php _e('Yes', 'custom-contact-forms'); ?></option></select></td>
1165
-
 
 
1166
  </tr>
1167
  <?php
1168
  $i++;
@@ -1178,8 +1164,8 @@ if (!class_exists('CustomContactFormsAdmin')) {
1178
  </table>
1179
  <select class="bulk-dropdown" name="object_bulk_action">
1180
  <option value="0"><?php _e('Bulk Actions', 'custom-contact-forms'); ?></option>
1181
- <option value="edit"><?php _e('Save', 'custom-contact-forms'); ?></option>
1182
- <option value="delete"><?php _e('Delete', 'custom-contact-forms'); ?></option></select>
1183
  <input type="submit" class="bulk-apply" name="object_bulk_apply" value="<?php _e('Apply', 'custom-contact-forms'); ?>" /> <img src="<?php echo plugins_url(); ?>/custom-contact-forms/images/wpspin_light.gif" width="16" height="16" class="loading-img" />
1184
  </form>
1185
  </div>
@@ -1198,7 +1184,7 @@ if (!class_exists('CustomContactFormsAdmin')) {
1198
  <label for="object[option_slug]">*
1199
  <?php _e("Option Slug:", 'custom-contact-forms'); ?>
1200
  </label>
1201
- <input maxlength="20" type="text" name="object[option_slug]" />
1202
  <br />
1203
  <?php _e("Used to identify this option, solely for admin purposes; must be unique, and contain only letters, numbers, and underscores. Example: 'slug_one'", 'custom-contact-forms'); ?>
1204
  </li>
@@ -1206,7 +1192,7 @@ if (!class_exists('CustomContactFormsAdmin')) {
1206
  <label for="object[option_label]">*
1207
  <?php _e("Option Label:", 'custom-contact-forms'); ?>
1208
  </label>
1209
- <input type="text" name="object[option_label]" />
1210
  <br />
1211
  <?php _e("This is what is shown to the user in the dropdown or radio field. Example: 'United States'", 'custom-contact-forms'); ?>
1212
  </li>
@@ -1214,14 +1200,15 @@ if (!class_exists('CustomContactFormsAdmin')) {
1214
  <label for="object[option_value]">
1215
  <?php _e("Option Value:", 'custom-contact-forms'); ?>
1216
  </label>
1217
- <input type="text" name="object[option_value]" /> <a href="javascript:void(0)" class="toollink" title="<?php _e("This is the actual value of the option which is not shown to the user. This can be the same thing as the label. An example pairing of label => value is: 'The color green' => 'green' or 'Yes' => '1'.", 'custom-contact-forms'); ?>">(?)</a>
1218
  <br />
1219
- <?php _e('This is the actual value of the option which is not shown to the user. This can be the same thing as the label. An example pairing of label => value is: "The color green" => "green" or "Yes" => "1".', 'custom-contact-forms'); ?>
1220
  </li>
1221
  <li>
1222
  <label for="object[option_dead]"><?php _e("Is Dead Option:", 'custom-contact-forms'); ?></label>
1223
  <select name="object[option_dead]"><option value="0"><?php _e('No', 'custom-contact-forms'); ?></option><option value="1"><?php _e('Yes', 'custom-contact-forms'); ?></option></select>
1224
- <a href="javascript:void(0)" class="toollink" title="<?php _e("A dead option is something like 'Please Select One'. This is a useful tool for required dropdown fields. If a dead option is submitted by a user for a required dropdown field, then the user will have to go back and fill out the field again.", 'custom-contact-forms'); ?>">(?)</a>
 
1225
  </li>
1226
  <li>
1227
  <input name="object_type" type="hidden" value="field_option" />
@@ -1532,6 +1519,7 @@ if (!class_exists('CustomContactFormsAdmin')) {
1532
  </li>
1533
  </ul>
1534
  </form>
 
1535
  </div>
1536
  </div>
1537
  <a name="manage-styles"></a>
@@ -1558,213 +1546,218 @@ if (!class_exists('CustomContactFormsAdmin')) {
1558
  foreach ($styles as $style) {
1559
  ?>
1560
  <tr class="row-style-<?php echo $style->id; ?> <?php if ($i % 2 == 0) echo 'ccf-evenrow'; ?>">
1561
- <td> <label><input type="checkbox" class="object-check" value="1" name="objects[<?php echo $i; ?>][object_do]" />
1562
  * <?php _e("Slug:", 'custom-contact-forms'); ?>
1563
  </label>
1564
- <input type="text" maxlength="30" value="<?php echo $style->style_slug; ?>" name="objects[<?php echo $i; ?>][values][style_slug]" />
1565
  <br />
1566
  <label>
1567
  <?php _e("Font Family:", 'custom-contact-forms'); ?>
1568
  </label>
1569
- <input type="text" maxlength="120" value="<?php echo $style->form_fontfamily; ?>" name="objects[<?php echo $i; ?>][values][form_fontfamily]" />
1570
  <br />
1571
  <label>
1572
  <?php _e("Textarea Background", 'custom-contact-forms'); ?>
1573
  <br />
1574
  <?php _e("Color:", 'custom-contact-forms'); ?>
1575
  </label>
1576
- <input class="colorfield" type="text" maxlength="20" value="<?php echo $style->textarea_backgroundcolor; ?>" name="objects[<?php echo $i; ?>][values][textarea_backgroundcolor]" />
1577
  <br />
1578
  <label>
1579
  <?php _e("Success Popover", 'custom-contact-forms'); ?>
1580
  <br />
1581
  <?php _e("Border Color:", 'custom-contact-forms'); ?>
1582
  </label>
1583
- <input class="colorfield" type="text" maxlength="20" value="<?php echo $style->success_popover_bordercolor; ?>" name="objects[<?php echo $i; ?>][values][success_popover_bordercolor]" />
1584
  <br />
1585
  <label>
1586
  <?php _e("Tooltip", 'custom-contact-forms'); ?>
1587
  <a href="javascript:void(0)" class="toollink" title="<?php _e("A tooltip is the little box that fades in displaying 'Field Instructions' when a user selects a particular field.", 'custom-contact-forms'); ?>">(?)</a>
1588
  <?php _e("Font Color:", 'custom-contact-forms'); ?>
1589
  </label>
1590
- <input class="colorfield" type="text" maxlength="20" value="<?php echo $style->tooltip_fontcolor; ?>" name="objects[<?php echo $i; ?>][values][tooltip_fontcolor]" />
1591
- </td>
 
 
 
 
 
1592
  <td><label>
1593
  <?php _e("Form Width:", 'custom-contact-forms'); ?>
1594
  </label>
1595
- <input type="text" maxlength="20" value="<?php echo $style->form_width; ?>" name="objects[<?php echo $i; ?>][values][form_width]" />
1596
  <br />
1597
  <label>
1598
  <?php _e("Text Field Width:", 'custom-contact-forms'); ?>
1599
  </label>
1600
- <input type="text" maxlength="20" value="<?php echo $style->input_width; ?>" name="objects[<?php echo $i; ?>][values][input_width]" />
1601
  <br />
1602
  <label>
1603
  <?php _e("Textarea Width:", 'custom-contact-forms'); ?>
1604
  </label>
1605
- <input type="text" maxlength="20" value="<?php echo $style->textarea_width; ?>" name="objects[<?php echo $i; ?>][values][textarea_width]" />
1606
  <br />
1607
  <label>
1608
  <?php _e("Textarea Height:", 'custom-contact-forms'); ?>
1609
  </label>
1610
- <input type="text" maxlength="20" value="<?php echo $style->textarea_height; ?>" name="objects[<?php echo $i; ?>][values][textarea_height]" />
1611
  <br />
1612
  <label>
1613
  <?php _e("Dropdown Width:", 'custom-contact-forms'); ?>
1614
  </label>
1615
- <input type="text" maxlength="20" value="<?php echo $style->dropdown_width; ?>" name="objects[<?php echo $i; ?>][values][dropdown_width]" />
1616
  <br />
1617
  <label>
1618
  <?php _e("Label Margin:", 'custom-contact-forms'); ?>
1619
  </label>
1620
- <input type="text" maxlength="20" value="<?php echo $style->label_margin; ?>" name="objects[<?php echo $i; ?>][values][label_margin]" />
1621
  <br />
1622
  <label>
1623
  <?php _e("Success Popover", 'custom-contact-forms'); ?>
1624
  <br />
1625
  <?php _e("Height:", 'custom-contact-forms'); ?>
1626
  </label>
1627
- <input type="text" maxlength="20" value="<?php echo $style->success_popover_height; ?>" name="objects[<?php echo $i; ?>][values][success_popover_height]" />
1628
  <br />
1629
  </td>
1630
  <td><label>
1631
  <?php _e("Label Width:", 'custom-contact-forms'); ?>
1632
  </label>
1633
- <input type="text" maxlength="20" value="<?php echo $style->label_width; ?>" name="objects[<?php echo $i; ?>][values][label_width]" />
1634
  <br />
1635
  <label>
1636
  <?php _e("Button Width:", 'custom-contact-forms'); ?>
1637
  </label>
1638
- <input type="text" maxlength="20" value="<?php echo $style->submit_width; ?>" name="objects[<?php echo $i; ?>][values][submit_width]" />
1639
  <br />
1640
  <label>
1641
  <?php _e("Button Height:", 'custom-contact-forms'); ?>
1642
  </label>
1643
- <input type="text" maxlength="20" value="<?php echo $style->submit_height; ?>" name="objects[<?php echo $i; ?>][values][submit_height]" />
1644
  <br />
1645
  <label>
1646
  <?php _e("Field Background Color:", 'custom-contact-forms'); ?>
1647
  </label>
1648
- <input class="colorfield" type="text" maxlength="20" value="<?php echo $style->field_backgroundcolor; ?>" name="objects[<?php echo $i; ?>][values][field_backgroundcolor]" />
1649
  <br />
1650
  <label>
1651
  <?php _e("Title Margin:", 'custom-contact-forms'); ?>
1652
  </label>
1653
- <input type="text" maxlength="20" value="<?php echo $style->title_margin; ?>" name="objects[<?php echo $i; ?>][values][title_margin]" />
1654
  <br />
1655
  <label>
1656
  <?php _e("Success Popover", 'custom-contact-forms'); ?>
1657
  <br />
1658
  <?php _e("Title Font Size:", 'custom-contact-forms'); ?>
1659
  </label>
1660
- <input type="text" maxlength="20" value="<?php echo $style->success_popover_title_fontsize; ?>" name="objects[<?php echo $i; ?>][values][success_popover_title_fontsize]" />
1661
  <label>
1662
  <?php _e("Form Background Color:", 'custom-contact-forms'); ?>
1663
  </label>
1664
- <input type="text" class="colorfield" maxlength="20" value="<?php echo $style->form_backgroundcolor; ?>" name="objects[<?php echo $i; ?>][values][form_backgroundcolor]" />
1665
  </td>
1666
  <td><label>
1667
  <?php _e("Title Font Size:", 'custom-contact-forms'); ?>
1668
  </label>
1669
- <input type="text" maxlength="20" value="<?php echo $style->title_fontsize; ?>" name="objects[<?php echo $i; ?>][values][title_fontsize]" />
1670
  <br />
1671
  <label>
1672
  <?php _e("Label Font Size:", 'custom-contact-forms'); ?>
1673
  </label>
1674
- <input type="text" maxlength="20" value="<?php echo $style->label_fontsize; ?>" name="objects[<?php echo $i; ?>][values][label_fontsize]" />
1675
  <br />
1676
  <label>
1677
  <?php _e("Field Font Size:", 'custom-contact-forms'); ?>
1678
  </label>
1679
- <input type="text" maxlength="20" value="<?php echo $style->field_fontsize; ?>" name="objects[<?php echo $i; ?>][values][field_fontsize]" />
1680
  <br />
1681
  <label>
1682
  <?php _e("Button Font Size:", 'custom-contact-forms'); ?>
1683
  </label>
1684
- <input type="text" maxlength="20" value="<?php echo $style->submit_fontsize; ?>" name="objects[<?php echo $i; ?>][values][submit_fontsize]" />
1685
  <br />
1686
  <label>
1687
  <?php _e("Form Padding:", 'custom-contact-forms'); ?>
1688
  </label>
1689
- <input type="text" maxlength="20" value="<?php echo $style->form_padding; ?>" name="objects[<?php echo $i; ?>][values][form_padding]" />
1690
  <br />
1691
  <label>
1692
  <?php _e("Success Popover", 'custom-contact-forms'); ?>
1693
  <br />
1694
  <?php _e("Font Size:", 'custom-contact-forms'); ?>
1695
  </label>
1696
- <input type="text" maxlength="20" value="<?php echo $style->success_popover_fontsize; ?>" name="objects[<?php echo $i; ?>][values][success_popover_fontsize]" />
1697
  <br />
1698
  <label>
1699
  <?php _e("Tooltip", 'custom-contact-forms'); ?>
1700
  <a href="javascript:void(0)" class="toollink" title="<?php _e("A tooltip is the little box that fades in displaying 'Field Instructions' when a user selects a particular field.", 'custom-contact-forms'); ?>">(?)</a>
1701
  <?php _e("Background Color:", 'custom-contact-forms'); ?>
1702
  </label>
1703
- <input class="colorfield" type="text" maxlength="20" value="<?php echo $style->tooltip_backgroundcolor; ?>" name="objects[<?php echo $i; ?>][values][tooltip_backgroundcolor]" />
1704
  </td>
1705
  <td><label>
1706
  <?php _e("Title Font Color:", 'custom-contact-forms'); ?>
1707
  </label>
1708
- <input class="colorfield" type="text" maxlength="20" value="<?php echo $style->title_fontcolor; ?>" name="objects[<?php echo $i; ?>][values][title_fontcolor]" />
1709
  <br />
1710
  <label>
1711
  <?php _e("Label Font Color:", 'custom-contact-forms'); ?>
1712
  </label>
1713
- <input class="colorfield" type="text" maxlength="20" value="<?php echo $style->label_fontcolor; ?>" name="objects[<?php echo $i; ?>][values][label_fontcolor]" />
1714
  <br />
1715
  <label>
1716
  <?php _e("Field Font Color:", 'custom-contact-forms'); ?>
1717
  </label>
1718
- <input class="colorfield" type="text" maxlength="20" value="<?php echo $style->field_fontcolor; ?>" name="objects[<?php echo $i; ?>][values][field_fontcolor]" />
1719
  <br />
1720
  <label>
1721
  <?php _e("Button Font Color:", 'custom-contact-forms'); ?>
1722
  </label>
1723
- <input class="colorfield" type="text" maxlength="20" value="<?php echo $style->submit_fontcolor; ?>" name="objects[<?php echo $i; ?>][values][submit_fontcolor]" />
1724
  <br />
1725
  <label>
1726
  <?php _e("Form Margin:", 'custom-contact-forms'); ?>
1727
  </label>
1728
- <input type="text" maxlength="20" value="<?php echo $style->form_margin; ?>" name="objects[<?php echo $i; ?>][values][form_margin]" />
1729
  <br />
1730
  <label>
1731
  <?php _e("Success Popover", 'custom-contact-forms'); ?>
1732
  <br />
1733
  <?php _e("Font Color:", 'custom-contact-forms'); ?>
1734
  </label>
1735
- <input class="colorfield" type="text" maxlength="20" value="<?php echo $style->success_popover_fontcolor; ?>" name="objects[<?php echo $i; ?>][values][success_popover_fontcolor]" />
1736
  <br />
1737
  <label>
1738
  <?php _e("Tooltip Font Size:", 'custom-contact-forms'); ?>
1739
  </label>
1740
- <input type="text" maxlength="20" value="<?php echo $style->tooltip_fontsize; ?>" name="objects[<?php echo $i; ?>][values][tooltip_fontsize]" />
1741
  </td>
1742
  <td><label>
1743
  <?php _e("Form Border Style:", 'custom-contact-forms'); ?>
1744
  </label>
1745
- <select name="object[form_borderstyle]">
1746
  <?php echo str_replace('<option>'.$style->form_borderstyle.'</option>', '<option selected="selected">'.$style->form_borderstyle.'</option>', $border_style_options); ?>
1747
  </select>
1748
  <br />
1749
  <label>
1750
  <?php _e("Form Border Width:", 'custom-contact-forms'); ?>
1751
  </label>
1752
- <input type="text" maxlength="20" value="<?php echo $style->form_borderwidth; ?>" name="objects[<?php echo $i; ?>][values][form_borderwidth]" />
1753
  <br />
1754
  <label>
1755
  <?php _e("Form Border Color:", 'custom-contact-forms'); ?>
1756
  </label>
1757
- <input class="colorfield" type="text" maxlength="20" value="<?php echo $style->form_bordercolor; ?>" name="objects[<?php echo $i; ?>][values][form_bordercolor]" />
1758
  <br />
1759
  <label>
1760
  <?php _e("Field Border Color:", 'custom-contact-forms'); ?>
1761
  </label>
1762
- <input class="colorfield" type="text" maxlength="20" value="<?php echo $style->field_bordercolor; ?>" name="objects[<?php echo $i; ?>][values][field_bordercolor]" />
1763
  <br />
1764
  <label>
1765
  <?php _e("Field Border Style:", 'custom-contact-forms'); ?>
1766
  </label>
1767
- <select name="objects[<?php echo $i; ?>][values][field_borderstyle]">
1768
  <?php echo str_replace('<option>'.$style->field_borderstyle.'</option>', '<option selected="selected">'.$style->field_borderstyle.'</option>', $border_style_options); ?>
1769
  </select>
1770
  <br />
@@ -1773,15 +1766,13 @@ if (!class_exists('CustomContactFormsAdmin')) {
1773
  <br />
1774
  <?php _e("Title Font Color:", 'custom-contact-forms'); ?>
1775
  </label>
1776
- <input class="colorfield" type="text" maxlength="20" value="<?php echo $style->success_popover_title_fontcolor; ?>" name="objects[<?php echo $i; ?>][values][success_popover_title_fontcolor]" />
1777
  <br />
1778
  <label>
1779
  <?php _e("Field Border Roundness:", 'custom-contact-forms'); ?>
1780
  </label>
1781
- <input name="objects[<?php echo $i; ?>][values][field_borderround]" value="<?php echo $style->field_borderround; ?>" type="text" maxlength="20" />
1782
- <br />
1783
- <input type="hidden" name="objects[<?php echo $i; ?>][object_type]" value="style" />
1784
- <input class="object-id" name="objects[<?php echo $i; ?>][object_id]" type="hidden" value="<?php echo $style->id; ?>" />
1785
  </td>
1786
  </tr>
1787
  <?php
@@ -1886,7 +1877,7 @@ if (!class_exists('CustomContactFormsAdmin')) {
1886
  <div id="advanced">
1887
  <div id="custom-html" class="postbox">
1888
  <h3 class="hndle"><span>
1889
- <?php _e("Custom HTML Forms (Advanced)", 'custom-contact-forms'); ?>
1890
  </span></h3>
1891
  <div class="inside">
1892
  <p>
@@ -1997,7 +1988,7 @@ if (!class_exists('CustomContactFormsAdmin')) {
1997
  $data = new CustomContactFormsUserData(array('form_id' => $data_object->data_formid, 'data_time' => $data_object->data_time, 'form_page' => $data_object->data_formpage, 'encoded_data' => $data_object->data_value));
1998
  ?>
1999
  <tr class="row-form_submission-<?php echo $data_object->id; ?> submission-top <?php if ($i % 2 == 0) echo 'ccf-evenrow'; ?>">
2000
- <td><input type="checkbox" class="object-check" value="1" name="objects[<?php echo $i; ?>][object_do]" /></td>
2001
  <td><?php echo date('F d, Y h:i:s A', $data->getDataTime()); ?></td>
2002
  <td><?php
2003
  if ($data->getFormID() > 0) {
@@ -2011,12 +2002,14 @@ if (!class_exists('CustomContactFormsAdmin')) {
2011
  <td><?php echo $data->getFormPage(); ?> </td>
2012
  <td><?php echo $data->getFormID(); ?> </td>
2013
  <td class="ccf-alignright">
2014
- <span class="submission-content-expand"></span>
2015
- <input type="hidden" name="objects[<?php echo $i; ?>][object_type]" value="form_submission" />
2016
- <input class="object-id" type="hidden" name="objects[<?php echo $i; ?>][object_id]" value="<?php echo $data_object->id; ?>" />
 
 
2017
  </td>
2018
  </tr>
2019
- <tr class="row-form_submission-<?php echo $data_object->id; ?> submission-content <?php if ($i % 2 == 0) echo 'ccf-evenrow'; ?>">
2020
  <td colspan="6"><ul>
2021
  <?php
2022
  $data_array = $data->getDataArray();
@@ -2243,21 +2236,7 @@ if (!class_exists('CustomContactFormsAdmin')) {
2243
  <li class="descrip">
2244
  <?php _e("This lets you switch the form code between HTML and XHTML.", 'custom-contact-forms'); ?>
2245
  </li>
2246
- <li>
2247
- <label for="form_page_inclusion_only">
2248
- <?php _e("Restrict Frontend JS and CSS to Form Pages Only:", 'custom-contact-forms'); ?>
2249
- </label>
2250
- <select name="settings[form_page_inclusion_only]">
2251
- <option value="1">
2252
- <?php _e("Yes", 'custom-contact-forms'); ?>
2253
- </option>
2254
- <option value="0" <?php if ($admin_options['form_page_inclusion_only'] == 0) echo 'selected="selected"'; ?>>
2255
- <?php _e("No", 'custom-contact-forms'); ?>
2256
- </option></select>
2257
- </li>
2258
- <li class="descrip">
2259
- <?php _e("Within each form in the form manager, you can specify the page id's on which that form will be used. If you set this to 'Yes', the plugin will only include CSS and JS files on pages/posts where a CCF form is inserted. If this is set to 'No', CSS and JS files for this plugin will be included on every page of your site except in the admin area.", 'custom-contact-forms'); ?>
2260
- </li>
2261
  </ul>
2262
  <ul class="gright">
2263
  <li>
@@ -2321,20 +2300,19 @@ if (!class_exists('CustomContactFormsAdmin')) {
2321
  <?php _e("Enabling this shows tooltips containing field instructions on forms in the widget.", 'custom-contact-forms'); ?>
2322
  </li>
2323
  <li>
2324
- <label for="admin_ajax">
2325
- <?php _e("Fancy Admin AJAX Abilities:", 'custom-contact-forms'); ?>
2326
  </label>
2327
- <select name="settings[admin_ajax]">
2328
  <option value="1">
2329
- <?php _e("Enabled", 'custom-contact-forms'); ?>
2330
- </option>
2331
- <option value="0" <?php if ($admin_options['admin_ajax'] == 0) echo 'selected="selected"'; ?>>
2332
- <?php _e("Disabled", 'custom-contact-forms'); ?>
2333
  </option>
2334
- </select>
2335
- </li>
 
 
2336
  <li class="descrip">
2337
- <?php _e("If you enable this, creating, editing and modifying forms, fields, styles, etc in the admin panel will be done using AJAX. This means that clicking things like 'Edit' or 'Delete' will not cause the page to reload thus managing your forms will be much smoother and quicker. If you are having problems with things not saving, deleting, or inserting correctly, then disable this and fill out a bug report below.", 'custom-contact-forms'); ?>
2338
  </li>
2339
  <li>
2340
  <label for="default_form_bad_permissions">
76
  $settings['import_styles'] = ($_POST['ccf_import_styles'] == 1) ? true : false;
77
  $settings['import_saved_submissions'] = ($_POST['ccf_import_saved_submissions'] == 1) ? true : false;
78
  $settings['mode'] = ($_POST['ccf_clear_import']) ? 'clear_import' : 'merge_import';
 
79
  $transit->importFromFile($_FILES['import_file'], $settings);
80
  ccf_utils::redirect('options-general.php?page=custom-contact-forms');
81
  }
145
  }
146
 
147
 
148
+ function getFieldsForm($show_field_type = false) {
149
  $fields = parent::selectAllFields();
150
  $out = '';
151
  foreach ($fields as $field) {
152
+ $type = ($show_field_type) ? ' ('.$field->field_type.')' : '';
153
+ $out .= '<option value="'.$field->id.'">'.$field->field_slug . $type . '</option>' . "\n";
154
  }
155
  return $out;
156
  }
157
 
158
  function handleAJAX() {
 
159
  if (!wp_verify_nonce($_POST['nonce'], 'ccf_nonce')) exit(__('Invalid request.', 'custom-contact-forms'));
160
  $output = $this->handleAdminPostRequests();
161
  $response = json_encode( $output );
191
  $js_lang = array(
192
  'attaching' => __('Attaching', 'custom-contact-forms'),
193
  'detaching' => __('Detaching', 'custom-contact-forms'),
194
+ 'update_button' => __('Save', 'custom-contact-forms'),
195
  'attach_button' => __('Attach', 'custom-contact-forms'),
196
  'saving' => __('Saving', 'custom-contact-forms'),
197
  'more_options' => __('More Options', 'custom-contact-forms'),
202
  'error' => __('An error has occured. Please try again later.', 'custom-contact-forms'),
203
  'nothing_to_show' => __('Nothing to show.', 'custom-contact-forms'),
204
  'nothing_attached' => __('Nothing Attached!', 'custom-contact-forms'),
205
+ 'no_fields' => __('No Fields', 'custom-contact-forms'),
206
  'nonce' => wp_create_nonce('ccf_nonce')
207
  );
208
  $js_ajax = array('plugin_dir' => plugins_url() . '/custom-contact-forms',
214
  wp_enqueue_script('jquery-ui-core');
215
  wp_enqueue_script('jquery-ui-tabs');
216
  wp_enqueue_script('jquery-ui-dialog');
217
+ wp_enqueue_script('jquery-ui-sortable');
218
  wp_enqueue_script('jquery-tools', plugins_url() . '/custom-contact-forms/js/jquery.tools.min.js');
219
  wp_enqueue_script('jquery-ui-widget', plugins_url() . '/custom-contact-forms/js/jquery.ui.widget.js');
220
  //wp_enqueue_script('jquery-ui-dialog', plugins_url() . '/custom-contact-forms/js/jquery.ui.dialog.js', array('jquery', 'jquery-ui-core', 'jquery-ui-tabs'));
236
  }
237
 
238
  function handleAdminPostRequests() {
239
+ //print_r($_POST);
240
+ //print_r(unserialize(stripslashes($_POST[attached_array])));
241
  $out = array('success' => true);
242
  if (isset($_POST['object_create'])) {
243
  if ($_POST['object_type'] == 'form') {
256
  return $out;
257
  }
258
 
259
+ if (isset($_POST['attached_save'])) {
260
  if ($_POST['object_type'] == 'form') {
261
+ parent::updateForm(array('form_fields' => unserialize(stripslashes($_POST[attached_array]))), $_POST['object_id']);
 
262
  } elseif ($_POST['object_type'] == 'field') {
263
+ parent::updateField(array('field_options' => unserialize(stripslashes($_POST[attached_array]))), $_POST['object_id']);
 
 
 
 
 
 
 
 
 
 
 
 
264
  }
265
  return $out;
266
  }
272
  if (isset($obj['object_do']) && $obj['object_do'] == 1) {
273
  if ($obj['object_type'] == 'form') {
274
  parent::updateForm($obj['values'], $obj['object_id']);
 
 
 
 
 
275
  } elseif ($obj['object_type'] == 'field') {
276
  parent::updateField($obj['values'], $obj['object_id']);
 
 
 
 
 
277
  } elseif ($obj['object_type'] == 'field_option') parent::updateFieldOption($obj['values'], $obj['object_id']);
278
  elseif ($obj['object_type'] == 'style') parent::updateStyle($obj['values'], $obj['object_id']);
279
  $out['objects'][] = $obj;
280
  }
281
  }
 
282
  }
283
 
284
  elseif ($_POST['object_bulk_action'] == 'delete') {
294
  $out['objects'][] = $obj;
295
  }
296
  }
 
297
  }
298
  }
299
  return $out;
314
 
315
  function printAdminPage() {
316
  $admin_options = parent::getAdminOptions();
 
317
  if ($admin_options['show_install_popover'] == 1) {
318
  $admin_options['show_install_popover'] = 0;
 
319
  ?>
320
  <script type="text/javascript" language="javascript">
321
  $j(document).ready(function() {
376
  <input type="text" name="email" value="Your Email" onclick="value=''" />
377
  <input type="submit" value="Sign Up for Free" />
378
  </form>
 
 
 
 
 
 
379
 
380
  <?php if (!empty($this->action_complete)) { ?>
381
  <div id="message" class="updated below-h2">
395
  <label for="object[form_slug]">*
396
  <?php _e("Form Slug:", 'custom-contact-forms'); ?>
397
  </label>
398
+ <input type="text" class="ccf-width250" maxlength="100" name="object[form_slug]" />
399
  <br />
400
  <?php _e("This is just a unique way for CCF to refer to your form. Must be unique from other slugs and contain only underscores and alphanumeric characters.", 'custom-contact-forms'); ?>
401
  </li>
403
  <label for="object[form_title]">
404
  <?php _e("Form Title:", 'custom-contact-forms'); ?>
405
  </label>
406
+ <input class="ccf-width250" type="text" maxlength="200" name="object[form_title]" />
407
  <?php _e("This text is displayed above the form as the heading.", 'custom-contact-forms'); ?>
408
  </li>
409
  <li>
417
  <label for="object[submit_button_text]">
418
  <?php _e("Submit Button Text:", 'custom-contact-forms'); ?>
419
  </label>
420
+ <input class="ccf-width250" type="text" maxlength="200" name="object[submit_button_text]" />
421
  </li>
422
  <li>
423
  <label for="object[form_email]">
424
  <?php _e("Form Destination Email:", 'custom-contact-forms'); ?>
425
  </label>
426
+ <input class="ccf-width250" type="text" name="object[form_email]" />
427
  <br />
428
+ <?php _e("Will receive all submissions from this form; if left blank it will use the default specified in general settings. You can have form submissions sent to multiple emails by separating them with semicolons.", 'custom-contact-forms'); ?>
429
  </li>
430
  <li>
431
  <label for="object[form_email_subject]">
432
  <?php _e("Form Email Subject:", 'custom-contact-forms'); ?>
433
  </label>
434
+ <input class="ccf-width250" type="text" name="object[form_email_subject]" />
435
  <br />
436
  <?php _e("When submitted and configured accordingly, the form will send an email with this subject.", 'custom-contact-forms'); ?>
437
  </li>
439
  <label for="object[form_email_name]">
440
  <?php _e("Form Email Name:", 'custom-contact-forms'); ?>
441
  </label>
442
+ <input class="ccf-width250" type="text" name="object[form_email_name]" />
443
  <br />
444
  <?php _e("When submitted and configured accordingly, the form will send an email with this as the email 'from name'.", 'custom-contact-forms'); ?>
445
  </li>
449
  <label for="object[form_success_message]">
450
  <?php _e("Form Success Message:", 'custom-contact-forms'); ?>
451
  </label>
452
+ <input class="ccf-width250" type="text" name="object[form_success_message]" />
453
  <br />
454
  <?php _e("Will be displayed in a popover when the form is filled out successfully when no custom success page is specified; if left blank it will use the default specified in general settings.", 'custom-contact-forms'); ?>
455
  </li>
457
  <label for="object[form_success_title]">
458
  <?php _e("Form Success Message Title:", 'custom-contact-forms'); ?>
459
  </label>
460
+ <input class="ccf-width250" type="text" name="object[form_success_title]" />
461
  <br />
462
  <?php _e("Will be displayed in a popover when the form is filled out successfully when no custom success page is specified; if left blank it will use the default specified in general settings.", 'custom-contact-forms'); ?>
463
  </li>
465
  <label for="object[form_thank_you_page]">
466
  <?php _e("Custom Success URL:", 'custom-contact-forms'); ?>
467
  </label>
468
+ <input class="ccf-width250" type="text" name="object[form_thank_you_page]" />
469
  <br />
470
  <?php _e("If this is filled out, users will be sent to this page when they successfully fill out this form. If it is left blank, a popover showing the form's 'success message' will be displayed on form success.", 'custom-contact-forms'); ?>
471
  </li>
495
  <li class="attach"><span class="ccf-red">*</span> <?php _e('You should go to the form manager to attach fields to this form after you create it.', 'custom-contact-forms'); ?></li>
496
  </ul>
497
  </form>
498
+ <div class="ccf-clear"></div>
499
  </div>
500
  </div>
501
 
509
  <tr>
510
  <th scope="col" class="manage-column check-col"><input type="checkbox" class="checkall" /></th>
511
  <th scope="col" class="manage-column form-code"><?php _e("Form Display Code", 'custom-contact-forms'); ?></th>
512
+ <th scope="col" class="manage-column form-slug"><?php _e("Theme Display Code", 'custom-contact-forms'); ?></th>
513
+ <th scope="col" class="manage-column form-slug"><?php _e("Slug", 'custom-contact-forms'); ?></th>
514
  <th scope="col" class="manage-column form-title"><?php _e("Title", 'custom-contact-forms'); ?></th>
 
515
  <th scope="col" class="manage-column form-style"><?php _e("Style", 'custom-contact-forms'); ?></th>
516
  <th scope="col" class="manage-column form-expand"></th>
517
  </tr>
518
  </thead>
519
+
520
  <tbody>
521
  <?php
522
  $forms = parent::selectAllForms();
523
  for ($i = 0; $i < count($forms); $i++) {
524
  $form_methods = '<option>Post</option><option>Get</option>';
525
  $form_methods = str_replace('<option>'.$forms[$i]->form_method.'</option>', '<option selected="selected">'.$forms[$i]->form_method.'</option>', $form_methods);
526
+ $add_fields = $this->getFieldsForm(true);
527
  $this_style = parent::selectStyle($forms[$i]->form_style, '');
528
  if ($this_style != NULL)
529
  $sty_opt = str_replace('<option value="'.$forms[$i]->form_style.'">'.$this_style->style_slug.'</option>', '<option value="'.$forms[$i]->form_style.'" selected="selected">'.$this_style->style_slug.'</option>', $style_options);
531
  $sty_opt = $style_options;
532
  ?>
533
  <tr class="row-form-<?php echo $forms[$i]->id; ?> <?php if ($i % 2 == 0) echo 'ccf-evenrow'; ?>">
534
+ <td><input type="checkbox" class="object-check" value="1" name="objects[<?php echo $forms[$i]->id; ?>][object_do]" /></td>
535
+ <td><input type="text" class="ccf-width175" value="[customcontact form=<?php echo $forms[$i]->id; ?>]" name="post_code_<?php echo $forms[$i]->id; ?>" /></td>
536
+ <td><input type="text" class="ccf-width125" value="&lt;?php if (function_exists('serveCustomContactForm')) { serveCustomContactForm(<?php echo $forms[$i]->id; ?>); } ?&gt;" name="theme_code_<?php echo $forms[$i]->id; ?>" /></td>
537
+ <td><input type="text" class="ccf-width175" name="objects[<?php echo $forms[$i]->id; ?>][values][form_slug]" value="<?php echo $forms[$i]->form_slug; ?>" /></td>
538
+ <td><input type="text" class="ccf-width175" name="objects[<?php echo $forms[$i]->id; ?>][values][form_title]" value="<?php echo $forms[$i]->form_title; ?>" /></td>
539
+ <td><select name="objects[<?php echo $forms[$i]->id; ?>][values][form_style]" class="form_style_input">
 
540
  <?php echo $sty_opt; ?>
541
  </select></td>
542
+ <td><input class="object-id" type="hidden" name="objects[<?php echo $forms[$i]->id; ?>][object_id]" value="<?php echo $forms[$i]->id; ?>" />
543
+ <input type="hidden" class="object-type" name="objects[<?php echo $forms[$i]->id; ?>][object_type]" value="form" />
544
+ <input type="button" class="single-save" value="<?php _e('Save', 'custom-contact-forms'); ?>" />
545
+ <input type="button" class="single-delete" value="<?php _e('Delete', 'custom-contact-forms'); ?>" />
546
+ <input type="button" class="form-options-expand-link" value="<?php _e('Options', 'custom-contact-forms'); ?>" />
547
+ <div class="loading-img-container"><img src="<?php echo plugins_url(); ?>/custom-contact-forms/images/wpspin_light.gif" width="16" height="16" class="ccf-hide loading-img-inner-form-<?php echo $forms[$i]->id; ?>" /></div>
548
+ </td>
549
  </tr>
550
  <tr class="row-form-<?php echo $forms[$i]->id; ?> <?php if ($i % 2 == 0) echo 'ccf-evenrow'; ?>">
551
+ <td class="form-extra-options ccf-center ccf-hide" colspan="8">
552
+
553
+ <div class="left">
554
+ <span>Email</span>
555
+ <ul>
556
+ <li><label><a href="javascript:void(0)" class="toollink" title="<?php _e("Form submissions will be emailed to this address.", 'custom-contact-forms'); ?>">(?)</a> Destination Email:</label> <input type="text" name="objects[<?php echo $forms[$i]->id; ?>][values][form_email]" class="ccf-width250" value="<?php echo $forms[$i]->form_email; ?>" /></li>
557
+ <li><label><a href="javascript:void(0)" class="toollink" title="<?php _e("This is the form email subject sent to the destination email address. If left blank, the default from General Settings will be used.", 'custom-contact-forms'); ?>">(?)</a> Email Subject:</label> <input class="ccf-width250" type="text" name="objects[<?php echo $forms[$i]->id; ?>][values][form_email_subject]" maxlength="250" value="<?php echo $forms[$i]->form_email_subject; ?>" /></li>
558
+ <li><label><a href="javascript:void(0)" class="toollink" title="<?php _e("This is the from name of the email sent on successful form submission. If left blank, the default from General Settings will be used.", 'custom-contact-forms'); ?>">(?)</a> Email From Name:</label> <input class="ccf-width250" type="text" name="objects[<?php echo $forms[$i]->id; ?>][values][form_email_name]" maxlength="100" value="<?php echo $forms[$i]->form_email_name; ?>" /></li>
559
+ </ul>
560
+ <span>Advanced</span>
561
+ <ul>
562
+ <li><label><a href="javascript:void(0)" class="toollink" title="<?php _e("The Form Method is the method by which information is transfer through your form. If you aren't an expert with HTML and PHP, leave this as Post.", 'custom-contact-forms'); ?>">(?)</a> Method:</label> <select name="objects[<?php echo $forms[$i]->id; ?>][values][form_method]">
 
 
563
  <?php echo $form_methods; ?>
564
+ </select></li>
565
+ <li><label><a href="javascript:void(0)" class="toollink" title="<?php _e("This lets you process your forms through alternate scripts. If you use a service like InfusionSoft or Aweber, set this to be the same form action as the code provided to you by that service, otherwise leave this blank.", 'custom-contact-forms'); ?>">(?)</a> Form Action:</label> <input class="ccf-width250" type="text" name="objects[<?php echo $forms[$i]->id; ?>][values][form_action]" value="<?php echo $forms[$i]->form_action; ?>" /></li>
566
+ <li><label><a href="javascript:void(0)" class="toollink" title="<?php _e("Insert the page id's that your form will be used on. This will make it so the plugin will only load JS and CSS files on these select pages. This will improve your site's load time.", 'custom-contact-forms'); ?>">(?)</a> Form Pages:</label> <input class="ccf-width250" name="objects[<?php echo $forms[$i]->id; ?>][values][form_pages]" type="text" value="<?php echo $forms[$i]->form_pages; ?>" /></li>
567
+ <li><label><a href="javascript:void(0)" class="toollink" title="<?php _e("If you want to show this form to only certain types of users, you can uncheck boxes accordingly. To show this form to anyone, check all the boxes. This will only take effect if 'Form Access Capabilities' is enabled in general settings.", 'custom-contact-forms'); ?>">(?)</a> Form Access:</label>
568
+ <ul><?php
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
569
  $roles = parent::getRolesArray();
570
  $access_array = parent::getFormAccessArray($forms[$i]->form_access);
571
  foreach ($roles as $role) {
572
  ?>
573
+ <li><input type="checkbox" <?php if (parent::formHasRole($access_array, $role)) { echo 'checked="checked"'; } ?> name="objects[<?php echo $forms[$i]->id; ?>][values][form_access][]" value="<?php echo $role; ?>" />
574
+ <?php echo $role; ?>
575
+ </li>
576
+ <?php
577
  }
578
+ ?></ul><input name="objects[<?php echo $forms[$i]->id; ?>][values][form_access_update]" type="hidden" value="1" />
579
+ </li>
580
+ <li></li>
581
+ </ul>
582
+ </div>
583
+ <div class="right">
584
+ <span>Successful Submission</span>
585
+ <ul>
586
+ <li><label><a href="javascript:void(0)" class="toollink" title="<?php _e("If this is filled out, users will be sent to this thank you page when they successfully fill out this form. If it is left blank, a popover showing the form's 'success message' will be displayed on form success.", 'custom-contact-forms'); ?>">(?)</a> Custom Success URL:</label> <input class="ccf-width250" type="text" name="objects[<?php echo $forms[$i]->id; ?>][values][form_thank_you_page]" value="<?php echo $forms[$i]->form_thank_you_page; ?>" /></li>
587
+ <li><label><a href="javascript:void(0)" class="toollink" title="<?php _e("This will be displayed as the header in a popover when the form is filled out successfully when no custom success page is specified; if left blank it will use the default specified in general settings.", 'custom-contact-forms'); ?>">(?)</a> Success Message Title:</label> <input class="ccf-width250" type="text" name="objects[<?php echo $forms[$i]->id; ?>][values][form_success_title]" value="<?php echo $forms[$i]->form_success_title; ?>" /></li>
588
+ <li><label><a href="javascript:void(0)" class="toollink" title="<?php _e("This will be displayed in a popover when the form is filled out successfully when no custom success page is specified; if left blank it will use the default specified in general settings.", 'custom-contact-forms'); ?>">(?)</a> Success Message:</label> <textarea name="objects[<?php echo $forms[$i]->id; ?>][values][form_success_message]"><?php echo $forms[$i]->form_success_message; ?></textarea></li>
589
+ </ul>
590
+
591
+ <span>Customization</span>
592
+ <ul>
593
+ <li><label><a href="javascript:void(0)" class="toollink" title="<?php _e("This text will display on the form submit button.", 'custom-contact-forms'); ?>">(?)</a> Button Text:</label> <input class="ccf-width250" type="text" name="objects[<?php echo $forms[$i]->id; ?>][values][submit_button_text]" value="<?php echo $forms[$i]->submit_button_text; ?>" /></li>
594
+ <li><label><a href="javascript:void(0)" class="toollink" title="<?php _e("This field allows you to insert HTML directly after the starting <form> tag.", 'custom-contact-forms'); ?>">(?)</a> Custom Code:</label> <textarea name="objects[<?php echo $forms[$i]->id; ?>][values][custom_code]"><?php echo $forms[$i]->custom_code; ?></textarea></li>
595
+ </ul>
596
+ </div>
597
+ <div class="ccf-clear"></div>
598
+ <div class="fattach">
599
+
600
+ <div class="attach">
601
+ <p><label><span>
602
+ <?php _e("Add A Field:", 'custom-contact-forms'); ?>
603
+ </span></label></p>
604
+ <select class="onObject<?php echo $forms[$i]->id; ?> attach-object field-dropdown objectTypeForm" name="objects[<?php echo $forms[$i]->id; ?>][attach]">
605
+ <?php echo $add_fields; ?>
606
+ </select> <input class="attach-button" type="button" value="<?php _e('Attach', 'custom-contact-forms'); ?>" />
607
+ <p>
608
+ <span class="ccf-red ccf-bold">*</span>
609
+ <?php _e("Attach fixed fields or ones you", 'custom-contact-forms'); ?>
610
+ <a href="#create-fields">
611
+ <?php _e("create", 'custom-contact-forms'); ?>
612
+ </a>. </p></div>
613
+
614
+ <div class="attached">
615
+ <p><span>
616
  <?php _e("Attached Fields:", 'custom-contact-forms'); ?>
617
+ </span></p>
618
  <?php
619
  $attached_fields = parent::getAttachedFieldsArray($forms[$i]->id);
620
+
621
+ echo '<ul class="onObject'.$forms[$i]->id.' sortable field-list ccfsort" id="'.$form->form_slug . '">';
 
622
  foreach($attached_fields as $attached_field) {
623
  $this_field = parent::selectField($attached_field, '');
624
+ ?>
625
+ <li class="field<?php echo $this_field->id; ?> ui-state-default"><span>&times;</span> <?php
626
+ echo $this_field->field_slug;?> (<?php echo $this_field->field_type;?>)</li>
627
+ <?php
628
  }
629
+ echo '</ul>';
 
630
  ?>
631
+ <input class="attached-update-button" type="button" value="<?php _e('Save Field Configuration', 'custom-contact-forms'); ?>" />
632
+ <img src="<?php echo plugins_url(); ?>/custom-contact-forms/images/wpspin_light.gif" width="16" height="16" class="ccf-hide loading-img-field-config-form-<?php echo $forms[$i]->id; ?>" />
633
+
 
 
 
 
634
  </div>
635
+ <div class="ccf-clear"></div>
636
+ </div>
637
+
638
+ </td>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
639
  </tr>
640
  <?php
641
  }
646
  <option>inset</option><option>outset</option>';
647
  ?>
648
  </tbody>
649
+
650
  <tfoot>
 
651
  <tr>
652
  <th scope="col" class="manage-column check-col"><input type="checkbox" class="checkall" /></th>
653
+ <th scope="col" class="manage-column form-code"><?php _e("Form Display Code", 'custom-contact-forms'); ?></th>
654
+ <th scope="col" class="manage-column form-slug"><?php _e("Theme Display Code", 'custom-contact-forms'); ?></th>
655
+ <th scope="col" class="manage-column form-slug"><?php _e("Slug", 'custom-contact-forms'); ?></th>
656
  <th scope="col" class="manage-column form-title"><?php _e("Title", 'custom-contact-forms'); ?></th>
 
657
  <th scope="col" class="manage-column form-style"><?php _e("Style", 'custom-contact-forms'); ?></th>
658
  <th scope="col" class="manage-column form-expand"></th>
659
  </tr>
 
 
660
  </tfoot>
661
  </table>
662
  <select class="bulk-dropdown" name="object_bulk_action">
681
  <label for="field_slug">*
682
  <?php _e("Field Slug:", 'custom-contact-forms'); ?>
683
  </label>
684
+ <input class="ccf-width250" name="object[field_slug]" type="text" maxlength="40" />
685
  <br />
686
  <?php _e("This is just a unique way for CCF to refer to your field. Must be unique from other slugs and contain only underscores and alphanumeric characters.", 'custom-contact-forms'); ?>
687
  </li>
689
  <label for="field_label">
690
  <?php _e("Field Label:", 'custom-contact-forms'); ?>
691
  </label>
692
+ <input class="ccf-width250" name="object[field_label]" type="text" maxlength="100" />
693
  <br />
694
  <?php _e("The field label is displayed next to the field and is visible to the user.", 'custom-contact-forms'); ?>
695
  </li>
712
  <label for="field_value">
713
  <?php _e("Initial Value:", 'custom-contact-forms'); ?>
714
  </label>
715
+ <input class="ccf-width250" name="object[field_value]" type="text" maxlength="50" />
716
  <br />
 
717
  <?php _e("This is the initial value of the field. If you set the type as checkbox, it is recommend you set this to what the checkbox is implying. For example if I were creating the checkbox
718
  'Are you human?', I would set the initial value to 'Yes'.", 'custom-contact-forms'); ?>
719
  <?php _e("If you set the field type as 'Dropdown' or 'Radio', you should enter the slug of the", 'custom-contact-forms'); ?>
720
  <a href="#manage-field-options" title="<?php _e("Create a Field Option", 'custom-contact-forms'); ?>"><?php _e("field option", 'custom-contact-forms'); ?></a>
721
  <?php _e("you would like initially selected.", 'custom-contact-forms'); ?>
722
+ </li>
723
  <li>
724
  <label for="field_maxlength">
725
  <?php _e("Max Length:", 'custom-contact-forms'); ?>
726
  </label>
727
+ <input class="ccf-width250" size="10" name="object[field_maxlength]" type="text" maxlength="4" />
728
  <br />
729
  <?php _e("0 for no limit; only applies to Text fields", 'custom-contact-forms'); ?>
730
  </li>
749
  <label for="field_instructions">
750
  <?php _e("Field Instructions:", 'custom-contact-forms'); ?>
751
  </label>
752
+ <input class="ccf-width250" name="object[field_instructions]" type="text" />
753
  <br />
754
  <?php _e("If this is filled out, a tooltip popover displaying this text will show when the field is selected.", 'custom-contact-forms'); ?>
755
  </li>
757
  <label for="field_class">
758
  <?php _e("Field Class:", 'custom-contact-forms'); ?>
759
  </label>
760
+ <input class="ccf-width250" name="object[field_class]" type="text" />
761
  <br />
762
  <?php _e("If you manage your own .css stylesheet, you can use this to attach a class to this field. Leaving this blank will do nothing.", 'custom-contact-forms'); ?>
763
  </li>
765
  <label for="field_error">
766
  <?php _e("Field Error:", 'custom-contact-forms'); ?>
767
  </label>
768
+ <input class="ccf-width250" name="object[field_error]" type="text" />
769
  <br />
770
  <?php _e("If a user leaves this field blank and the field is required, this error message will be shown. A generic default will show if left blank.", 'custom-contact-forms'); ?>
771
  </li>
773
  <label for="field_max_upload_size">
774
  <?php _e("Max File Size Allowed:", 'custom-contact-forms'); ?>
775
  </label>
776
+ <input class="ccf-width250" name="object[field_max_upload_size]" value="5000" type="text" /> <?php _e('KB', 'custom-contact-forms'); ?>
777
  <br />
778
  <?php _e("If a user tries to upload a file larger than the max upload size, an error message will be displayed.", 'custom-contact-forms'); ?>
779
  </li>
781
  <label for="field_allowed_file_extensions">
782
  <?php _e("Allowed File Extensions for Upload:", 'custom-contact-forms'); ?>
783
  </label>
784
+ <input class="ccf-width250" name="object[field_allowed_file_extensions]" type="text" />
785
  <br />
786
+ <?php _e("If a user tries to upload a file with an extension not in this list, an error will be shown. Separate file extensions with a comma. Ex: doc, jpg, jpeg, txt. If left blank, all extensions will be allowed.", 'custom-contact-forms'); ?>
787
  </li>
788
  <li>
789
  <input type="hidden" name="object[user_field]" value="1" />
794
 
795
  </ul>
796
  </form>
797
+ <div class="ccf-clear"></div>
798
  </div>
799
  </div>
800
 
812
  <th scope="col" class="manage-column field-type"><?php _e("Type", 'custom-contact-forms'); ?></th>
813
  <th scope="col" class="manage-column field-value"><?php _e("Initial Value", 'custom-contact-forms'); ?></th>
814
  <th scope="col" class="manage-column field-required"><?php _e("Required", 'custom-contact-forms'); ?></th>
 
815
  <th scope="col" class="manage-column field-expand"></th>
816
  </tr>
817
  </thead>
826
 
827
  ?>
828
  <tr class="row-field-<?php echo $fields[$i]->id; ?> <?php if ($z % 2 == 1) echo ' ccf-evenrow'; ?>">
829
+ <td><input class="object-check" type="checkbox" value="1" name="objects[<?php echo $fields[$i]->id; ?>][object_do]" /></td>
830
+ <td><input type="text" name="objects[<?php echo $fields[$i]->id; ?>][values][field_slug]" class="ccf-width125" maxlength="50" value="<?php echo $fields[$i]->field_slug; ?>" /></td>
831
+ <td><input type="text" name="objects[<?php echo $fields[$i]->id; ?>][values][field_label]" class="ccf-width200" maxlength="100" value="<?php echo $fields[$i]->field_label; ?>" /></td>
832
+ <td><select name="objects[<?php echo $fields[$i]->id; ?>][values][field_type]">
833
  <?php echo $field_types; ?>
834
  </select></td>
835
+ <td><input type="text" name="objects[<?php echo $fields[$i]->id; ?>][values][field_value]" maxlength="50" class="ccf-width100" value="<?php echo $fields[$i]->field_value; ?>" /></td>
836
+ <td><select name="objects[<?php echo $fields[$i]->id; ?>][values][field_required]">
837
  <option value="1">
838
  <?php _e("Yes", 'custom-contact-forms'); ?>
839
  </option>
841
  <?php _e("No", 'custom-contact-forms'); ?>
842
  </option>
843
  </select></td>
844
+ <td><input type="hidden" class="object-type" name="objects[<?php echo $fields[$i]->id; ?>][object_type]" value="field" />
845
+ <input type="hidden" class="object-id" name="objects[<?php echo $fields[$i]->id; ?>][object_id]" value="<?php echo $fields[$i]->id; ?>" />
846
+ <input type="button" class="single-save" value="<?php _e('Save', 'custom-contact-forms'); ?>" />
847
+ <input type="button" class="single-delete" value="<?php _e('Delete', 'custom-contact-forms'); ?>" />
848
+ <input type="button" class="fields-options-expand-link" value="<?php _e('Options', 'custom-contact-forms'); ?>">
849
+ <div class="loading-img-container"><img src="<?php echo plugins_url(); ?>/custom-contact-forms/images/wpspin_light.gif" width="16" height="16" class="ccf-hide loading-img-inner-field-<?php echo $fields[$i]->id; ?>" /></div>
850
+ </td>
851
+ </tr>
 
 
852
  <?php $show_field_options = ($fields[$i]->field_type == 'Radio' || $fields[$i]->field_type == 'Dropdown' || $fields[$i]->field_type == 'Checkbox') ? true : false; ?>
853
  <tr class="row-field-<?php echo $fields[$i]->id; ?> <?php if ($z % 2 == 1) echo 'ccf-evenrow'; ?>">
854
+ <td class="fields-extra-options ccf-hide" colspan="8">
855
+ <div class="one">
856
+ <label for="field_instructions">
857
  <a href="javascript:void(0)" class="toollink" title="<?php _e('If this is filled out, a tooltip popover displaying this text will show when the field is selected.', 'custom-contact-forms'); ?>">(?)</a>
 
858
  <?php _e("Field Instructions:", 'custom-contact-forms'); ?>
859
  </label>
860
+ <textarea class="ccf-width250" name="objects[<?php echo $fields[$i]->id; ?>][values][field_instructions]"><?php echo $fields[$i]->field_instructions; ?></textarea>
861
+ </div>
862
+ <div class="two">
863
+ <label for="field_error">
 
 
864
  <a href="javascript:void(0)" class="toollink" title="<?php _e('This lets you customize the error message displayed when this field is required and left blank.', 'custom-contact-forms'); ?>">(?)</a>
865
+ <?php _e("Field Error:", 'custom-contact-forms'); ?>
 
866
  </label>
867
+ <textarea class="ccf-width250" name="objects[<?php echo $fields[$i]->id; ?>][values][field_error]"><?php echo $fields[$i]->field_error; ?></textarea>
868
  </div>
869
+ <div class="three">
870
+ <label for="field_class">
871
+ <a href="javascript:void(0)" class="toollink" title="<?php _e('If you manage a .CSS file for your theme, you could create a class in that file and add it to this field. If the form attaching this field is using a "Form Style" other than the default, styles inherited from the "Field Class" might be overwritten.', 'custom-contact-forms'); ?>">(?)</a>
872
+ <?php _e("Field Class:", 'custom-contact-forms'); ?>
873
+ </label>
874
+ <input type="text" class="ccf-width75" name="objects[<?php echo $fields[$i]->id; ?>][values][field_class]" value="<?php echo $fields[$i]->field_class; ?>" />
875
+ <br />
876
+ <?php if ($fields[$i]->field_type != 'Dropdown' && $fields[$i]->field_type != 'Radio' && $fields[$i]->field_type != 'Checkbox') { ?>
877
+ <label for="field_maxlength"><a href="javascript:void(0)" class="toollink" title="<?php _e('Max length allows you to set a cap on the amount of characters a user can submit.', 'custom-contact-forms'); ?>">(?)</a>
878
+ <?php _e('Max Length:', 'custom-contact-forms'); ?>
879
+ </label>
880
+ <input type="text" class="ccf-width75" name="objects[<?php echo $fields[$i]->id; ?>][values][field_maxlength]" value="<?php echo $fields[$i]->field_maxlength; ?>" />
881
+ <br />
882
+ <?php } ?>
883
+ <?php if ($fields[$i]->field_type == 'File') { ?>
884
+ <label for="field_max_upload_size"><a href="javascript:void(0)" class="toollink" title="<?php _e('If a user tries to upload a file greater than the value in this field, an error will be shown. Upload size is in KB. If this is left blank or set to 0, then there will be no maximum file size for this field.', 'custom-contact-forms'); ?>">(?)</a>
885
+ <?php _e("Max Upload Size:", 'custom-contact-forms'); ?></label>
886
+ <input type="text" class="ccf-width75" name="objects[<?php echo $fields[$i]->id; ?>][values][field_max_upload_size]" value="<?php echo $fields[$i]->field_max_upload_size; ?>" /><?php _e('KB', 'custom-contact-forms'); ?>
887
+ <br />
888
+ <label for="field_allowed_file_extensions"><a href="javascript:void(0)" class="toollink" title="<?php _e('If a user tries to upload a file with an extension not in this list, an error will be shown. If this is left blank, then all file extensions will be accepted. Separate file extensions with a comma. Ex: doc, jpg, jpeg, bmp, gif, txt', 'custom-contact-forms'); ?>">(?)</a>
889
+ <?php _e("Allowed File Extensions:", 'custom-contact-forms'); ?></label>
890
+ <input type="text" class="ccf-width75" name="objects[<?php echo $fields[$i]->id; ?>][values][field_allowed_file_extensions]" value="<?php $exts = unserialize($fields[$i]->field_allowed_file_extensions); echo (!empty($exts)) ? @implode(', ', $exts) : ''; ?>" />
891
  <?php } ?>
892
+ </div>
893
  <?php
894
  if ($show_field_options) { ?>
895
+ <div class="ccf-clear"></div>
896
+ <div class="fattach">
897
+
898
+ <div class="attach">
899
+ <p><label><span>
900
+ <?php _e("Add A Field Option:", 'custom-contact-forms'); ?>
901
+ </span></label></p>
902
+ <select class="onObject<?php echo $fields[$i]->id; ?> attach-object field-option-dropdown objectTypeField" name="objects[<?php echo $fields[$i]->id; ?>][attach]">
903
+ <?php
904
+ $options = parent::selectAllFieldOptions();
905
+ foreach ($options as $option) {
906
+ ?>
907
+ <option value="<?php echo $option->id; ?>"><?php echo $option->option_slug; ?></option>
908
+ <?php
909
+ }
910
+ ?>
911
+ </select> <input class="attach-button" type="button" value="<?php _e('Attach', 'custom-contact-forms'); ?>" />
912
+ <p>
913
+ <span class="ccf-red ccf-bold">*</span>
914
+ <?php _e("Attach field options you ", 'custom-contact-forms'); ?>
915
+ <a href="#field-options">
916
+ <?php _e("create", 'custom-contact-forms'); ?>
917
+ </a>. </p></div>
918
+
919
+ <div class="attached">
920
+ <p><span>
921
+ <?php _e("Attached Field Options:", 'custom-contact-forms'); ?>
922
+ </span></p>
923
+ <?php
924
+ $attached_options = parent::getAttachedFieldOptionsArray($fields[$i]->id);
925
+
926
+ echo '<ul class="onObject'.$fields[$i]->id.' sortable field-option-list ccfsort" id="'.$field->field_slug . '">';
927
+ foreach($attached_options as $attached_option) {
928
+ $this_option = parent::selectFieldOption($attached_option, '');
929
+ ?>
930
+ <li class="field<?php echo $this_option->id; ?> ui-state-default"><span>&times;</span> <?php
931
+ echo $this_option->option_slug;?></li>
932
+ <?php
933
+ }
934
+ echo '</ul>';
935
+ ?>
936
+ <input class="attached-update-button" type="button" value="<?php _e('Save Option Configuration', 'custom-contact-forms'); ?>" />
937
+ <img src="<?php echo plugins_url(); ?>/custom-contact-forms/images/wpspin_light.gif" width="16" height="16" class="ccf-hide loading-img-field-config-field-<?php echo $fields[$i]->id; ?>" />
938
+
939
+ </div></div>
940
+ <div class="ccf-clear"></div>
941
  <?php } ?>
942
  </td>
943
  </tr>
954
  <th scope="col" class="manage-column field-type"><?php _e("Type", 'custom-contact-forms'); ?></th>
955
  <th scope="col" class="manage-column field-value"><?php _e("Initial Value", 'custom-contact-forms'); ?></th>
956
  <th scope="col" class="manage-column field-required"><?php _e("Required", 'custom-contact-forms'); ?></th>
 
957
  <th scope="col" class="manage-column field-expand"></th>
958
  </tr>
959
  </tfoot>
979
  <th scope="col" class="manage-column field-type"><?php _e("Type", 'custom-contact-forms'); ?></th>
980
  <th scope="col" class="manage-column field-value"><?php _e("Initial Value", 'custom-contact-forms'); ?></th>
981
  <th scope="col" class="manage-column field-value"><?php _e("Required", 'custom-contact-forms'); ?></th>
 
982
  <th scope="col" class="manage-column field-expand"></th>
983
  </tr>
984
  </thead>
992
 
993
  ?>
994
  <tr class="row-field-<?php echo $fields[$i]->id; ?> <?php if ($z % 2 == 0) echo 'ccf-evenrow'; ?>">
995
+ <td><input class="object-check" type="checkbox" value="1" name="objects[<?php echo $fields[$i]->id ; ?>][object_do]" /></td>
996
  <td><?php echo $fields[$i]->field_slug; ?></td>
997
  <td><?php if ($fields[$i]->field_slug == 'resetButton') { _e('None', 'custom-contact-forms'); } else { ?>
998
+ <input type="text" name="objects[<?php echo $fields[$i]->id; ?>][values][field_label]" maxlength="100" value="<?php echo $fields[$i]->field_label; ?>" />
999
  <?php } ?></td>
1000
  <td><?php echo $fields[$i]->field_type; ?>
1001
  <td><?php if ($fields[$i]->field_type != 'Checkbox') { ?>
1002
+ <input type="text" name="objects[<?php echo $fields[$i]->id; ?>][values][field_value]" class="ccf-width75" maxlength="50" value="<?php echo $fields[$i]->field_value; ?>" />
1003
  <?php } else {
1004
  echo $fields[$i]->field_value;
1005
  ?>
1006
  <?php } ?>
1007
  </td>
1008
  <td><?php if ($fields[$i]->field_slug == 'fixedEmail' || $fields[$i]->field_slug == 'emailSubject' || $fields[$i]->field_slug == 'fixedWebsite' || $fields[$i]->field_slug == 'usaStates' || $fields[$i]->field_slug == 'datePicker' || $fields[$i]->field_slug == 'allCountries') { ?>
1009
+ <select name="objects[<?php echo $fields[$i]->id; ?>][values][field_required]">
1010
  <option value="1">
1011
  <?php _e("Yes", 'custom-contact-forms'); ?>
1012
  </option>
1023
  }
1024
  ?>
1025
  </td>
1026
+ <td>
1027
+ <input type="hidden" class="object-type" name="objects[<?php echo $fields[$i]->id; ?>][object_type]" value="field" />
1028
+ <input type="hidden" class="object-id" name="objects[<?php echo $fields[$i]->id; ?>][object_id]" value="<?php echo $fields[$i]->id; ?>" />
1029
+ <input type="button" class="single-save" value="<?php _e('Save', 'custom-contact-forms'); ?>" />
1030
+ <input type="button" class="fixed-fields-options-expand-link" value="<?php _e('Options', 'custom-contact-forms'); ?>">
1031
+ <div class="loading-img-container"><img src="<?php echo plugins_url(); ?>/custom-contact-forms/images/wpspin_light.gif" width="16" height="16" class="ccf-hide loading-img-inner-field-<?php echo $fields[$i]->id; ?>" /></div>
1032
+ </td>
1033
  </tr>
1034
  <tr class="row-field-<?php echo $fields[$i]->id; ?> <?php if ($z % 2 == 0) echo 'ccf-evenrow'; ?>">
1035
+ <td class="fixed-fields-extra-options ccf-hide" colspan="8">
1036
+ <?php if ($fields[$i]->field_slug == 'resetButton') { ?>
1037
+ <label for="field_class">
1038
+ <a href="javascript:void(0)" class="toollink" title="<?php _e('If you manage a .CSS file for your theme, you could create a class in that file and add it to this field. If the form attaching this field is using a "Form Style" other than the default, styles inherited from the "Field Class" might be overwritten.', 'custom-contact-forms'); ?>">(?)</a>
1039
+ <?php _e("Field Class:", 'custom-contact-forms'); ?>
1040
+ </label>
1041
+ <input type="text" class="ccf-width75" name="objects[<?php echo $fields[$i]->id; ?>][values][field_class]" value="<?php echo $fields[$i]->field_class; ?>" />
1042
+
1043
+ <?php } else { ?>
1044
+ <div class="one">
1045
+ <label for="field_instructions">
1046
+ <a href="javascript:void(0)" class="toollink" title="<?php _e('If this is filled out, a tooltip popover displaying this text will show when the field is selected.', 'custom-contact-forms'); ?>">(?)</a>
1047
+ <?php _e("Field Instructions:", 'custom-contact-forms'); ?>
1048
+ </label>
1049
+ <textarea class="ccf-width250" name="objects[<?php echo $fields[$i]->id; ?>][values][field_instructions]"><?php echo $fields[$i]->field_instructions; ?></textarea>
1050
+ </div>
1051
+ <div class="two">
1052
+ <label for="field_error">
1053
+ <a href="javascript:void(0)" class="toollink" title="<?php _e('This lets you customize the error message displayed when this field is required and left blank.', 'custom-contact-forms'); ?>">(?)</a>
1054
+ <?php _e("Field Error:", 'custom-contact-forms'); ?>
1055
+ </label>
1056
+ <textarea class="ccf-width250" name="objects[<?php echo $fields[$i]->id; ?>][values][field_error]"><?php echo $fields[$i]->field_error; ?></textarea>
1057
+ </div>
1058
+ <div class="three">
1059
+
1060
+ <label for="field_class">
1061
+ <a href="javascript:void(0)" class="toollink" title="<?php _e('If you manage a .CSS file for your theme, you could create a class in that file and add it to this field. If the form attaching this field is using a "Form Style" other than the default, styles inherited from the "Field Class" might be overwritten.', 'custom-contact-forms'); ?>">(?)</a>
1062
+ <?php _e("Field Class:", 'custom-contact-forms'); ?>
1063
+ </label>
1064
+ <input type="text" class="ccf-width75" name="objects[<?php echo $fields[$i]->id; ?>][values][field_class]" value="<?php echo $fields[$i]->field_class; ?>" />
1065
+
1066
+ <br />
1067
+ <?php if ($fields[$i]->field_type != 'Checkbox' && $fields[$i]->field_slug != 'allCountries' && $fields[$i]->field_slug != 'usaStates') { ?>
1068
+ <label for="field_maxlength">
1069
+ <a href="javascript:void(0)" class="toollink" title="<?php _e('If you manage a .CSS file for your theme, you could create a class in that file and add it to this field. If the form attaching this field is using a "Form Style" other than the default, styles inherited from the "Field Class" might be overwritten.', 'custom-contact-forms'); ?>">(?)</a>
1070
+ <?php _e("Max Length:", 'custom-contact-forms'); ?>
1071
+ </label>
1072
+ <input type="text" class="ccf-width50" name="objects[<?php echo $i; ?>][values][field_maxlength]" value="<?php echo $fields[$i]->field_maxlength; ?>" />
1073
+ <?php } ?>
1074
+ </div>
1075
  <?php } ?>
1076
+ <div class="field_descrip"><?php echo $GLOBALS['ccf_fixed_fields'][$fields[$i]->field_slug]; ?></div>
1077
+ </td>
1078
  </tr>
1079
  <?php
1080
  }
1089
  <th scope="col" class="manage-column field-type"><?php _e("Type", 'custom-contact-forms'); ?></th>
1090
  <th scope="col" class="manage-column field-value"><?php _e("Initial Value", 'custom-contact-forms'); ?></th>
1091
  <th scope="col" class="manage-column field-value"><?php _e("Required", 'custom-contact-forms'); ?></th>
 
1092
  <th scope="col" class="manage-column field-expand"></th>
1093
  </tr>
1094
  </tfoot>
1116
  <th><?php _e("Label", 'custom-contact-forms'); ?></th>
1117
  <th><?php _e("Value", 'custom-contact-forms'); ?></th>
1118
  <th><?php _e("Is Dead", 'custom-contact-forms'); ?></th>
1119
+ <th></th>
1120
  </tr>
1121
  </thead>
1122
  <tfoot>
1126
  <th><?php _e("Label", 'custom-contact-forms'); ?></th>
1127
  <th><?php _e("Value", 'custom-contact-forms'); ?></th>
1128
  <th><?php _e("Is Dead", 'custom-contact-forms'); ?></th>
1129
+ <th></th>
1130
  </tr>
1131
  </tfoot>
1132
  <tbody>
1137
  foreach ($options as $option) {
1138
  ?>
1139
  <tr class="row-field_option-<?php echo $option->id; ?> <?php if ($i % 2 == 1) echo 'evenrow-field-options'; ?>">
1140
+ <td><input type="checkbox" class="object-check" name="objects[<?php echo $option->id; ?>][object_do]" value="1" /> </td>
1141
+ <td><input type="text" maxlength="20" name="<?php ?>objects[<?php echo $option->id; ?>][values][option_slug]" value="<?php echo $option->option_slug; ?>" class="ccf-width50" /></td>
1142
+ <td><input type="text" name="objects[<?php echo $option->id; ?>][values][option_label]" value="<?php echo $option->option_label; ?>" class="ccf-width100" /></td>
1143
+ <td><input type="text" name="objects[<?php echo $option->id; ?>][values][option_value]" value="<?php echo $option->option_value; ?>" class="ccf-width100" /></td>
1144
+ <td><select name="objects[<?php echo $option->id; ?>][values][option_dead]"><option value="0"><?php _e('No', 'custom-contact-forms'); ?></option><option <?php if ($option->option_dead == 1) echo 'selected="selected"'; ?> value="1"><?php _e('Yes', 'custom-contact-forms'); ?></option></select></td>
1145
+ <td>
1146
+ <input type="hidden" class="object-type" name="objects[<?php echo $option->id; ?>][object_type]" value="field_option" />
1147
+ <input type="hidden" class="object-id" name="objects[<?php echo $option->id; ?>][object_id]" value="<?php echo $option->id; ?>" />
1148
+ <input type="button" class="single-save" value="<?php _e('Save', 'custom-contact-forms'); ?>" />
1149
+ <input type="button" class="single-delete" value="<?php _e('Delete', 'custom-contact-forms'); ?>" />
1150
+ <div class="loading-img-container"><img src="<?php echo plugins_url(); ?>/custom-contact-forms/images/wpspin_light.gif" width="16" height="16" class="ccf-hide loading-img-inner-field_option-<?php echo $option->id; ?>" /></div>
1151
+ </td>
1152
  </tr>
1153
  <?php
1154
  $i++;
1164
  </table>
1165
  <select class="bulk-dropdown" name="object_bulk_action">
1166
  <option value="0"><?php _e('Bulk Actions', 'custom-contact-forms'); ?></option>
1167
+ <option value="edit"><?php _e('Save', 'custom-contact-forms'); ?></option>
1168
+ <option value="delete"><?php _e('Delete', 'custom-contact-forms'); ?></option></select>
1169
  <input type="submit" class="bulk-apply" name="object_bulk_apply" value="<?php _e('Apply', 'custom-contact-forms'); ?>" /> <img src="<?php echo plugins_url(); ?>/custom-contact-forms/images/wpspin_light.gif" width="16" height="16" class="loading-img" />
1170
  </form>
1171
  </div>
1184
  <label for="object[option_slug]">*
1185
  <?php _e("Option Slug:", 'custom-contact-forms'); ?>
1186
  </label>
1187
+ <input class="ccf-width250" maxlength="20" type="text" name="object[option_slug]" />
1188
  <br />
1189
  <?php _e("Used to identify this option, solely for admin purposes; must be unique, and contain only letters, numbers, and underscores. Example: 'slug_one'", 'custom-contact-forms'); ?>
1190
  </li>
1192
  <label for="object[option_label]">*
1193
  <?php _e("Option Label:", 'custom-contact-forms'); ?>
1194
  </label>
1195
+ <input class="ccf-width250" type="text" name="object[option_label]" />
1196
  <br />
1197
  <?php _e("This is what is shown to the user in the dropdown or radio field. Example: 'United States'", 'custom-contact-forms'); ?>
1198
  </li>
1200
  <label for="object[option_value]">
1201
  <?php _e("Option Value:", 'custom-contact-forms'); ?>
1202
  </label>
1203
+ <input class="ccf-width250" type="text" name="object[option_value]" />
1204
  <br />
1205
+ <?php _e("This is the actual value of the option which is not shown to the user. This can be the same thing as the label. An example pairing of label => value is: 'The color green' => 'green' or 'Yes' => '1'. If you don't know what this is, leave it blank.", 'custom-contact-forms'); ?>
1206
  </li>
1207
  <li>
1208
  <label for="object[option_dead]"><?php _e("Is Dead Option:", 'custom-contact-forms'); ?></label>
1209
  <select name="object[option_dead]"><option value="0"><?php _e('No', 'custom-contact-forms'); ?></option><option value="1"><?php _e('Yes', 'custom-contact-forms'); ?></option></select>
1210
+ <br />
1211
+ <?php _e("A dead option is something like 'Please Select One'. This is a useful tool for required dropdown fields. If a dead option is submitted by a user for a required dropdown field, then the user will have to go back and fill out the field again.", 'custom-contact-forms'); ?>
1212
  </li>
1213
  <li>
1214
  <input name="object_type" type="hidden" value="field_option" />
1519
  </li>
1520
  </ul>
1521
  </form>
1522
+ <div class="ccf-clear"></div>
1523
  </div>
1524
  </div>
1525
  <a name="manage-styles"></a>
1546
  foreach ($styles as $style) {
1547
  ?>
1548
  <tr class="row-style-<?php echo $style->id; ?> <?php if ($i % 2 == 0) echo 'ccf-evenrow'; ?>">
1549
+ <td> <label><input type="checkbox" class="object-check" value="1" name="objects[<?php echo $style->id; ?>][object_do]" />
1550
  * <?php _e("Slug:", 'custom-contact-forms'); ?>
1551
  </label>
1552
+ <input type="text" maxlength="30" value="<?php echo $style->style_slug; ?>" name="objects[<?php echo $style->id; ?>][values][style_slug]" />
1553
  <br />
1554
  <label>
1555
  <?php _e("Font Family:", 'custom-contact-forms'); ?>
1556
  </label>
1557
+ <input type="text" maxlength="120" value="<?php echo $style->form_fontfamily; ?>" name="objects[<?php echo $style->id; ?>][values][form_fontfamily]" />
1558
  <br />
1559
  <label>
1560
  <?php _e("Textarea Background", 'custom-contact-forms'); ?>
1561
  <br />
1562
  <?php _e("Color:", 'custom-contact-forms'); ?>
1563
  </label>
1564
+ <input class="colorfield" type="text" maxlength="20" value="<?php echo $style->textarea_backgroundcolor; ?>" name="objects[<?php echo $style->id; ?>][values][textarea_backgroundcolor]" />
1565
  <br />
1566
  <label>
1567
  <?php _e("Success Popover", 'custom-contact-forms'); ?>
1568
  <br />
1569
  <?php _e("Border Color:", 'custom-contact-forms'); ?>
1570
  </label>
1571
+ <input class="colorfield" type="text" maxlength="20" value="<?php echo $style->success_popover_bordercolor; ?>" name="objects[<?php echo $style->id; ?>][values][success_popover_bordercolor]" />
1572
  <br />
1573
  <label>
1574
  <?php _e("Tooltip", 'custom-contact-forms'); ?>
1575
  <a href="javascript:void(0)" class="toollink" title="<?php _e("A tooltip is the little box that fades in displaying 'Field Instructions' when a user selects a particular field.", 'custom-contact-forms'); ?>">(?)</a>
1576
  <?php _e("Font Color:", 'custom-contact-forms'); ?>
1577
  </label>
1578
+ <input class="colorfield" type="text" maxlength="20" value="<?php echo $style->tooltip_fontcolor; ?>" name="objects[<?php echo $style->id; ?>][values][tooltip_fontcolor]" />
1579
+ <br />
1580
+ <input type="button" class="single-save" value="<?php _e('Save', 'custom-contact-forms'); ?>" /> <div class="loading-img-container"><img src="<?php echo plugins_url(); ?>/custom-contact-forms/images/wpspin_light.gif" width="16" height="16" class="ccf-hide loading-img-inner-style-<?php echo $style->id; ?>" /></div><br />
1581
+ <input type="button" class="single-delete" value="<?php _e('Delete', 'custom-contact-forms'); ?>" />
1582
+ <input class="object-type" type="hidden" name="objects[<?php echo $style->id; ?>][object_type]" value="style" />
1583
+ <input class="object-id" name="objects[<?php echo $style->id; ?>][object_id]" type="hidden" value="<?php echo $style->id; ?>" />
1584
+ </td>
1585
  <td><label>
1586
  <?php _e("Form Width:", 'custom-contact-forms'); ?>
1587
  </label>
1588
+ <input type="text" maxlength="20" value="<?php echo $style->form_width; ?>" name="objects[<?php echo $style->id; ?>][values][form_width]" />
1589
  <br />
1590
  <label>
1591
  <?php _e("Text Field Width:", 'custom-contact-forms'); ?>
1592
  </label>
1593
+ <input type="text" maxlength="20" value="<?php echo $style->input_width; ?>" name="objects[<?php echo $style->id; ?>][values][input_width]" />
1594
  <br />
1595
  <label>
1596
  <?php _e("Textarea Width:", 'custom-contact-forms'); ?>
1597
  </label>
1598
+ <input type="text" maxlength="20" value="<?php echo $style->textarea_width; ?>" name="objects[<?php echo $style->id; ?>][values][textarea_width]" />
1599
  <br />
1600
  <label>
1601
  <?php _e("Textarea Height:", 'custom-contact-forms'); ?>
1602
  </label>
1603
+ <input type="text" maxlength="20" value="<?php echo $style->textarea_height; ?>" name="objects[<?php echo $style->id; ?>][values][textarea_height]" />
1604
  <br />
1605
  <label>
1606
  <?php _e("Dropdown Width:", 'custom-contact-forms'); ?>
1607
  </label>
1608
+ <input type="text" maxlength="20" value="<?php echo $style->dropdown_width; ?>" name="objects[<?php echo $style->id; ?>][values][dropdown_width]" />
1609
  <br />
1610
  <label>
1611
  <?php _e("Label Margin:", 'custom-contact-forms'); ?>
1612
  </label>
1613
+ <input type="text" maxlength="20" value="<?php echo $style->label_margin; ?>" name="objects[<?php echo $style->id; ?>][values][label_margin]" />
1614
  <br />
1615
  <label>
1616
  <?php _e("Success Popover", 'custom-contact-forms'); ?>
1617
  <br />
1618
  <?php _e("Height:", 'custom-contact-forms'); ?>
1619
  </label>
1620
+ <input type="text" maxlength="20" value="<?php echo $style->success_popover_height; ?>" name="objects[<?php echo $style->id; ?>][values][success_popover_height]" />
1621
  <br />
1622
  </td>
1623
  <td><label>
1624
  <?php _e("Label Width:", 'custom-contact-forms'); ?>
1625
  </label>
1626
+ <input type="text" maxlength="20" value="<?php echo $style->label_width; ?>" name="objects[<?php echo $style->id; ?>][values][label_width]" />
1627
  <br />
1628
  <label>
1629
  <?php _e("Button Width:", 'custom-contact-forms'); ?>
1630
  </label>
1631
+ <input type="text" maxlength="20" value="<?php echo $style->submit_width; ?>" name="objects[<?php echo $style->id; ?>][values][submit_width]" />
1632
  <br />
1633
  <label>
1634
  <?php _e("Button Height:", 'custom-contact-forms'); ?>
1635
  </label>
1636
+ <input type="text" maxlength="20" value="<?php echo $style->submit_height; ?>" name="objects[<?php echo $style->id; ?>][values][submit_height]" />
1637
  <br />
1638
  <label>
1639
  <?php _e("Field Background Color:", 'custom-contact-forms'); ?>
1640
  </label>
1641
+ <input class="colorfield" type="text" maxlength="20" value="<?php echo $style->field_backgroundcolor; ?>" name="objects[<?php echo $style->id; ?>][values][field_backgroundcolor]" />
1642
  <br />
1643
  <label>
1644
  <?php _e("Title Margin:", 'custom-contact-forms'); ?>
1645
  </label>
1646
+ <input type="text" maxlength="20" value="<?php echo $style->title_margin; ?>" name="objects[<?php echo $style->id; ?>][values][title_margin]" />
1647
  <br />
1648
  <label>
1649
  <?php _e("Success Popover", 'custom-contact-forms'); ?>
1650
  <br />
1651
  <?php _e("Title Font Size:", 'custom-contact-forms'); ?>
1652
  </label>
1653
+ <input type="text" maxlength="20" value="<?php echo $style->success_popover_title_fontsize; ?>" name="objects[<?php echo $style->id; ?>][values][success_popover_title_fontsize]" />
1654
  <label>
1655
  <?php _e("Form Background Color:", 'custom-contact-forms'); ?>
1656
  </label>
1657
+ <input type="text" class="colorfield" maxlength="20" value="<?php echo $style->form_backgroundcolor; ?>" name="objects[<?php echo $style->id; ?>][values][form_backgroundcolor]" />
1658
  </td>
1659
  <td><label>
1660
  <?php _e("Title Font Size:", 'custom-contact-forms'); ?>
1661
  </label>
1662
+ <input type="text" maxlength="20" value="<?php echo $style->title_fontsize; ?>" name="objects[<?php echo $style->id; ?>][values][title_fontsize]" />
1663
  <br />
1664
  <label>
1665
  <?php _e("Label Font Size:", 'custom-contact-forms'); ?>
1666
  </label>
1667
+ <input type="text" maxlength="20" value="<?php echo $style->label_fontsize; ?>" name="objects[<?php echo $style->id; ?>][values][label_fontsize]" />
1668
  <br />
1669
  <label>
1670
  <?php _e("Field Font Size:", 'custom-contact-forms'); ?>
1671
  </label>
1672
+ <input type="text" maxlength="20" value="<?php echo $style->field_fontsize; ?>" name="objects[<?php echo $style->id; ?>][values][field_fontsize]" />
1673
  <br />
1674
  <label>
1675
  <?php _e("Button Font Size:", 'custom-contact-forms'); ?>
1676
  </label>
1677
+ <input type="text" maxlength="20" value="<?php echo $style->submit_fontsize; ?>" name="objects[<?php echo $style->id; ?>][values][submit_fontsize]" />
1678
  <br />
1679
  <label>
1680
  <?php _e("Form Padding:", 'custom-contact-forms'); ?>
1681
  </label>
1682
+ <input type="text" maxlength="20" value="<?php echo $style->form_padding; ?>" name="objects[<?php echo $style->id; ?>][values][form_padding]" />
1683
  <br />
1684
  <label>
1685
  <?php _e("Success Popover", 'custom-contact-forms'); ?>
1686
  <br />
1687
  <?php _e("Font Size:", 'custom-contact-forms'); ?>
1688
  </label>
1689
+ <input type="text" maxlength="20" value="<?php echo $style->success_popover_fontsize; ?>" name="objects[<?php echo $style->id; ?>][values][success_popover_fontsize]" />
1690
  <br />
1691
  <label>
1692
  <?php _e("Tooltip", 'custom-contact-forms'); ?>
1693
  <a href="javascript:void(0)" class="toollink" title="<?php _e("A tooltip is the little box that fades in displaying 'Field Instructions' when a user selects a particular field.", 'custom-contact-forms'); ?>">(?)</a>
1694
  <?php _e("Background Color:", 'custom-contact-forms'); ?>
1695
  </label>
1696
+ <input class="colorfield" type="text" maxlength="20" value="<?php echo $style->tooltip_backgroundcolor; ?>" name="objects[<?php echo $style->id; ?>][values][tooltip_backgroundcolor]" />
1697
  </td>
1698
  <td><label>
1699
  <?php _e("Title Font Color:", 'custom-contact-forms'); ?>
1700
  </label>
1701
+ <input class="colorfield" type="text" maxlength="20" value="<?php echo $style->title_fontcolor; ?>" name="objects[<?php echo $style->id; ?>][values][title_fontcolor]" />
1702
  <br />
1703
  <label>
1704
  <?php _e("Label Font Color:", 'custom-contact-forms'); ?>
1705
  </label>
1706
+ <input class="colorfield" type="text" maxlength="20" value="<?php echo $style->label_fontcolor; ?>" name="objects[<?php echo $style->id; ?>][values][label_fontcolor]" />
1707
  <br />
1708
  <label>
1709
  <?php _e("Field Font Color:", 'custom-contact-forms'); ?>
1710
  </label>
1711
+ <input class="colorfield" type="text" maxlength="20" value="<?php echo $style->field_fontcolor; ?>" name="objects[<?php echo $style->id; ?>][values][field_fontcolor]" />
1712
  <br />
1713
  <label>
1714
  <?php _e("Button Font Color:", 'custom-contact-forms'); ?>
1715
  </label>
1716
+ <input class="colorfield" type="text" maxlength="20" value="<?php echo $style->submit_fontcolor; ?>" name="objects[<?php echo $style->id; ?>][values][submit_fontcolor]" />
1717
  <br />
1718
  <label>
1719
  <?php _e("Form Margin:", 'custom-contact-forms'); ?>
1720
  </label>
1721
+ <input type="text" maxlength="20" value="<?php echo $style->form_margin; ?>" name="objects[<?php echo $style->id; ?>][values][form_margin]" />
1722
  <br />
1723
  <label>
1724
  <?php _e("Success Popover", 'custom-contact-forms'); ?>
1725
  <br />
1726
  <?php _e("Font Color:", 'custom-contact-forms'); ?>
1727
  </label>
1728
+ <input class="colorfield" type="text" maxlength="20" value="<?php echo $style->success_popover_fontcolor; ?>" name="objects[<?php echo $style->id; ?>][values][success_popover_fontcolor]" />
1729
  <br />
1730
  <label>
1731
  <?php _e("Tooltip Font Size:", 'custom-contact-forms'); ?>
1732
  </label>
1733
+ <input type="text" maxlength="20" value="<?php echo $style->tooltip_fontsize; ?>" name="objects[<?php echo $style->id; ?>][values][tooltip_fontsize]" />
1734
  </td>
1735
  <td><label>
1736
  <?php _e("Form Border Style:", 'custom-contact-forms'); ?>
1737
  </label>
1738
+ <select name="objects[<?php echo $style->id; ?>][values][form_borderstyle]">
1739
  <?php echo str_replace('<option>'.$style->form_borderstyle.'</option>', '<option selected="selected">'.$style->form_borderstyle.'</option>', $border_style_options); ?>
1740
  </select>
1741
  <br />
1742
  <label>
1743
  <?php _e("Form Border Width:", 'custom-contact-forms'); ?>
1744
  </label>
1745
+ <input type="text" maxlength="20" value="<?php echo $style->form_borderwidth; ?>" name="objects[<?php echo $style->id; ?>][values][form_borderwidth]" />
1746
  <br />
1747
  <label>
1748
  <?php _e("Form Border Color:", 'custom-contact-forms'); ?>
1749
  </label>
1750
+ <input class="colorfield" type="text" maxlength="20" value="<?php echo $style->form_bordercolor; ?>" name="objects[<?php echo $style->id; ?>][values][form_bordercolor]" />
1751
  <br />
1752
  <label>
1753
  <?php _e("Field Border Color:", 'custom-contact-forms'); ?>
1754
  </label>
1755
+ <input class="colorfield" type="text" maxlength="20" value="<?php echo $style->field_bordercolor; ?>" name="objects[<?php echo $style->id; ?>][values][field_bordercolor]" />
1756
  <br />
1757
  <label>
1758
  <?php _e("Field Border Style:", 'custom-contact-forms'); ?>
1759
  </label>
1760
+ <select name="objects[<?php echo $style->id; ?>][values][field_borderstyle]">
1761
  <?php echo str_replace('<option>'.$style->field_borderstyle.'</option>', '<option selected="selected">'.$style->field_borderstyle.'</option>', $border_style_options); ?>
1762
  </select>
1763
  <br />
1766
  <br />
1767
  <?php _e("Title Font Color:", 'custom-contact-forms'); ?>
1768
  </label>
1769
+ <input class="colorfield" type="text" maxlength="20" value="<?php echo $style->success_popover_title_fontcolor; ?>" name="objects[<?php echo $style->id; ?>][values][success_popover_title_fontcolor]" />
1770
  <br />
1771
  <label>
1772
  <?php _e("Field Border Roundness:", 'custom-contact-forms'); ?>
1773
  </label>
1774
+ <input name="objects[<?php echo $style->id; ?>][values][field_borderround]" value="<?php echo $style->field_borderround; ?>" type="text" maxlength="20" />
1775
+
 
 
1776
  </td>
1777
  </tr>
1778
  <?php
1877
  <div id="advanced">
1878
  <div id="custom-html" class="postbox">
1879
  <h3 class="hndle"><span>
1880
+ <?php _e("Custom HTML Forms", 'custom-contact-forms'); ?>
1881
  </span></h3>
1882
  <div class="inside">
1883
  <p>
1988
  $data = new CustomContactFormsUserData(array('form_id' => $data_object->data_formid, 'data_time' => $data_object->data_time, 'form_page' => $data_object->data_formpage, 'encoded_data' => $data_object->data_value));
1989
  ?>
1990
  <tr class="row-form_submission-<?php echo $data_object->id; ?> submission-top <?php if ($i % 2 == 0) echo 'ccf-evenrow'; ?>">
1991
+ <td><input type="checkbox" class="object-check" value="1" name="objects[<?php echo $data_object->id; ?>][object_do]" /></td>
1992
  <td><?php echo date('F d, Y h:i:s A', $data->getDataTime()); ?></td>
1993
  <td><?php
1994
  if ($data->getFormID() > 0) {
2002
  <td><?php echo $data->getFormPage(); ?> </td>
2003
  <td><?php echo $data->getFormID(); ?> </td>
2004
  <td class="ccf-alignright">
2005
+ <input type="button" class="submission-content-expand-button" value="<?php _e('Expand', 'custom-contact-forms'); ?>" />
2006
+ <input type="button" class="single-delete" value="<?php _e('Delete', 'custom-contact-forms'); ?>" />
2007
+ <input class="object-id" type="hidden" name="objects[<?php echo $data_object->id; ?>][object_id]" value="<?php echo $data_object->id; ?>" />
2008
+ <input type="hidden" class="object-type" name="objects[<?php echo $data_object->id; ?>][object_type]" value="form_submission" />
2009
+ <div class="loading-img-container"><img src="<?php echo plugins_url(); ?>/custom-contact-forms/images/wpspin_light.gif" width="16" height="16" class="ccf-hide loading-img-inner-form_submission-<?php echo $data_object->id; ?>" /></div>
2010
  </td>
2011
  </tr>
2012
+ <tr class="ccf-hide row-form_submission-<?php echo $data_object->id; ?> submission-content <?php if ($i % 2 == 0) echo 'ccf-evenrow'; ?>">
2013
  <td colspan="6"><ul>
2014
  <?php
2015
  $data_array = $data->getDataArray();
2236
  <li class="descrip">
2237
  <?php _e("This lets you switch the form code between HTML and XHTML.", 'custom-contact-forms'); ?>
2238
  </li>
2239
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2240
  </ul>
2241
  <ul class="gright">
2242
  <li>
2300
  <?php _e("Enabling this shows tooltips containing field instructions on forms in the widget.", 'custom-contact-forms'); ?>
2301
  </li>
2302
  <li>
2303
+ <label for="form_page_inclusion_only">
2304
+ <?php _e("Restrict Frontend JS and CSS to Form Pages Only:", 'custom-contact-forms'); ?>
2305
  </label>
2306
+ <select name="settings[form_page_inclusion_only]">
2307
  <option value="1">
2308
+ <?php _e("Yes", 'custom-contact-forms'); ?>
 
 
 
2309
  </option>
2310
+ <option value="0" <?php if ($admin_options['form_page_inclusion_only'] == 0) echo 'selected="selected"'; ?>>
2311
+ <?php _e("No", 'custom-contact-forms'); ?>
2312
+ </option></select>
2313
+ </li>
2314
  <li class="descrip">
2315
+ <?php _e("Within each form in the form manager, you can specify the page id's on which that form will be used. If you set this to 'Yes', the plugin will only include CSS and JS files on pages/posts where a CCF form is inserted. If this is set to 'No', CSS and JS files for this plugin will be included on every page of your site except in the admin area.", 'custom-contact-forms'); ?>
2316
  </li>
2317
  <li>
2318
  <label for="default_form_bad_permissions">
custom-contact-forms-front.php CHANGED
@@ -351,7 +351,8 @@ if (!class_exists('CustomContactFormsFront')) {
351
  if ($field->field_max_upload_size > 0 && $_FILES[$field->field_slug]['size'] > ($field->field_max_upload_size * 1000)) $errors[] = basename($_FILES[$field->field_slug]['name']) . __(' is too large of a file. The maximum file size for that field is ', 'custom-contact-forms') . $field->field_max_upload_size . __(' KB.', 'custom-contact-forms');
352
  $allowed_exts = unserialize($field->field_allowed_file_extensions);
353
  $ext = preg_replace('/.*\.(.*)/i', '$1', basename($_FILES[$field->field_slug]['name']));
354
- if (!in_array($ext, $allowed_exts)) $errors[] = $ext . __(' is an invalid file extension.', 'custom-contact-forms');
 
355
  if (!empty($errors)) return $errors;
356
 
357
  // create necessary directories
351
  if ($field->field_max_upload_size > 0 && $_FILES[$field->field_slug]['size'] > ($field->field_max_upload_size * 1000)) $errors[] = basename($_FILES[$field->field_slug]['name']) . __(' is too large of a file. The maximum file size for that field is ', 'custom-contact-forms') . $field->field_max_upload_size . __(' KB.', 'custom-contact-forms');
352
  $allowed_exts = unserialize($field->field_allowed_file_extensions);
353
  $ext = preg_replace('/.*\.(.*)/i', '$1', basename($_FILES[$field->field_slug]['name']));
354
+ if (!empty($allowed_exts))
355
+ if (!in_array($ext, $allowed_exts)) $errors[] = '.' . $ext . __(' is an invalid file extension.', 'custom-contact-forms');
356
  if (!empty($errors)) return $errors;
357
 
358
  // create necessary directories
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, form submissions saved to database, captchas, tooltip popovers, unlimited fields/forms/form styles, import/export, use a custom thank you page or built-in popover with a custom success message set for each form.
6
- Version: 4.8.0.0
7
  Author: Taylor Lovett
8
  Author URI: http://www.taylorlovett.com
9
  */
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, form submissions saved to database, captchas, tooltip popovers, unlimited fields/forms/form styles, import/export, use a custom thank you page or built-in popover with a custom success message set for each form.
6
+ Version: 5.0.0.0
7
  Author: Taylor Lovett
8
  Author URI: http://www.taylorlovett.com
9
  */
js/custom-contact-forms-admin-ajax.js CHANGED
@@ -1,4 +1,23 @@
1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  function print_r(x, max, sep, l) {
3
 
4
  l = l || 0;
@@ -64,40 +83,53 @@ function getFormFieldValue(field_name, formData) {
64
  return false;
65
  };
66
 
67
- /*function pageselectCallback(page_index, jq){
68
- rows = $j('#form-submissions-hidden > tr')
69
- items_per_page = 5;
70
- max_elem = Math.min((page_index+1) * items_per_page, rows.length);
71
- var new_content = '';
72
- for(var i=page_index*items_per_page;i<max_elem;i++) {
73
- if (rows.eq(i) != null) {
74
- new_content += '<tr class="' + rows.eq(i).attr('class') + '">' + rows.eq(i).html() + '</tr>';
75
- i += 1;
76
- new_content += '<tr class="' + rows.eq(i).attr('class') + '">' + rows.eq(i).html() + '</tr>';
77
- } else i += 1;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
78
  }
79
- if (new_content != '' && new_content != null)
80
- $j('#form-submissions-table tbody').empty().append(new_content);
81
- $j('.submission-content').hide();
82
- $j('.submission-content-expand-button').click(function() {
83
- $j(this)
84
- .parent()
85
- .parent()
86
- .parent()
87
- .next()
88
- .toggle();
89
- });
90
- return false;
91
- }
92
-
93
- function initPagination() {
94
- // Create content inside pagination element
95
- var num_entries = $j('#form-submissions-hidden > tr').length;
96
- $j("#form-submissions-pagination").pagination(num_entries, {
97
- callback: pageselectCallback,
98
- items_per_page: 5 // Show only one item per page
99
- });
100
- }*/
101
 
102
  $j.preloadImages(ccfAjax.plugin_dir + "/images/wpspin_light.gif"); // preload loading image
103
  $j(document).ready(function() {
@@ -123,44 +155,8 @@ $j(document).ready(function() {
123
  success : function(responseText) {
124
  if (responseText.objects) {
125
  for (var i = 0; i < responseText.objects.length; i++) {
126
- var this_object = responseText.objects[i];
127
  if (responseText.object_bulk_action == 'delete') {
128
-
129
- form_dom.find(".row-" + this_object.object_type + "-" + this_object.object_id).hide().remove();
130
- if (this_object.object_type == "style") {
131
- /* delete occurences of this option within style dropdowns. */
132
- var style_inputs = $j(".form_style_input");
133
- style_inputs.each(function() {
134
- this_option = $j(this).find("option[value=" + this_object.object_id + "]");
135
- if (this_option.attr("selected") == "selected")
136
- $j(this).find("option[value=0]").attr("selected", "selected");
137
- this_option.remove();
138
- });
139
- } else if (this_object.object_type == "field" || this_object.object_type == "field_option") {
140
- if (this_object.object_type == "field")
141
- var fields_options_input = $j("select.detach-field");
142
- else
143
- var fields_options_input = $j("select.detach-field-option");
144
- fields_options_input.each(function () {
145
- var this_obj = $j(this);
146
- var this_option = this_obj.find("option[value=" + this_object.object_id + "]");
147
- if (this_option.length >=1 && this_obj.find("option").length <= 1) {
148
- $j("<option>")
149
- .attr("value", "-1")
150
- .text(ccfLang.nothing_attached)
151
- .prependTo(this_obj);
152
- }
153
- this_option.remove();
154
- });
155
- if (this_object.object_type == "field")
156
- fields_options_input = $j("select.attach-field option[value=" + this_object.object_id + "]");
157
- else
158
- fields_options_input = $j("select.attach-field-option option[value=" + this_object.object_id + "]");
159
-
160
- fields_options_input.each(function () {
161
- $j(this).remove();
162
- });
163
- }
164
  } else if (responseText.object_bulk_action == 'edit') {
165
  /* TODO: update field and field option slug dropdowns */
166
  if (responseText.objects[i].object_type == "field" || responseText.objects[i].object_type == "field_option") {
@@ -181,78 +177,129 @@ $j(document).ready(function() {
181
  }
182
  });
183
 
184
- //form_submissions = $j("#form-submissions-table tbody").clone();
185
- //$j("#form-submissions-hidden").html(form_submissions.html());
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
186
 
187
- $j("span.attach-lang").remove();
188
- $j(".attach-check").each(function(){
189
- var name = $j(this).attr('name');
190
- var html = '<input class="attach-button" type="button" name="' + name + '" value="' + ccfLang.attach_button + '" />';
191
- $j(this).after(html).remove(); // add new, then remove original input
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
192
  });
 
 
 
193
  $j(".attach-button").live("click", function() {
194
- var object_type = $j(this).parents().find(".object-type").attr("value");
195
- var attach_object_field = $j(this).parents().find(".attach-object:first");
196
  var object_id = attach_object_field.attr("class").split(' ')[0].replace(/[^0-9]*([0-9]*)/, "$1");
197
- var detach_object_field = $j(this).parents().find(".detach-object:first");
198
  var attach_object_id = attach_object_field.attr("value");
199
- var attach_object_slug = attach_object_field.find("option[value=" + attach_object_id + "]:eq(0)").first().text();
200
- pattern = new RegExp('<option value="' + attach_object_id + '">', "i");
201
- str = detach_object_field.html();
202
  if (!str.match(pattern)) {
203
- var save_box = fx.initSaveBox(ccfLang.attaching);
204
- $j.ajax({
205
- type: "POST",
206
- url: ccfAjax.url,
207
- data: "nonce=" + ccfLang.nonce + "&action=ccf-ajax&object_attach=1&attach_object_id=" + attach_object_id + "&object_id=" + object_id + "&object_type=" + object_type,
208
- success: function(data) {
209
- new_option = $j("<option></option>").attr("value", attach_object_id).text(attach_object_slug);
210
- detach_object_field.append(new_option);
211
- detach_object_field.find('option[value=-1]').remove();
212
-
213
- },
214
- error: function() { alert(ccfLang.error); },
215
- complete: function() { $j(".save-box").fadeOut().remove(); }
216
- });
217
  }
218
  });
219
 
220
- $j("span.detach-lang").remove();
221
- $j(".detach-check").each(function(){
222
- var name = $j(this).attr('name');
223
- var html = '<input class="detach-button" type="button" name="' + name + '" value="' + ccfLang.detach_button + '" />';
224
- $j(this).after(html).remove(); // add new, then remove original input
225
- });
226
- $j(".detach-button").live("click", function() {
227
- var object_type = $j(this).parents().find(".object-type").attr("value");
228
- var detach_object_field = $j(this).parents().find(".detach-object:first");
229
- var object_id = detach_object_field.attr("class").split(' ')[0].replace(/[^0-9]*([0-9]*)/, "$1");
230
- var detach_object_id = detach_object_field.attr("value");
231
- if (detach_object_id != "-1") {
232
- var detach_object_slug = detach_object_field.find("option[value=" + detach_object_id + "]:eq(0)").first().text();
233
- var save_box = fx.initSaveBox(ccfLang.detaching);
234
- $j.ajax({
235
- type: "POST",
236
- url: ccfAjax.url,
237
- data: "nonce=" + ccfLang.nonce + "&action=ccf-ajax&object_detach=1&detach_object_id=" + detach_object_id + "&object_id=" + object_id + "&object_type=" + object_type,
238
- success: function(data) {
239
- pattern = new RegExp('<option[^>]*?value="?' + detach_object_id + '"?[^>]*?>.*?<\/option>', "i");
240
- //alert('<option value="' + detach_object_id + '">.*?<\/option>');
241
- //alert(detach_object_field.html().match(pattern));
242
- new_options = detach_object_field.html().replace(pattern, '');
243
- //alert(new_options);
244
- var patt = /<\/option>/i;
245
- if (!new_options.match(patt)) new_options = '<option value="-1">Nothing Attached!</option>';
246
- detach_object_field.html(new_options);
247
- },
248
- error: function() { alert(ccfLang.error); },
249
- /*beforeSubmit: function() {
250
- debug = fx.initDebugWindow();
251
- $j("<div></div>").html(textStatus + " " + errorThrown).appendTo(debug);
252
- },*/
253
- complete: function() { $j(".save-box").fadeOut().remove(); }
254
- });
255
- }
256
  });
257
 
258
  });
1
 
2
+ /** {{{ http://code.activestate.com/recipes/414334/ (r1) */
3
+ // This is Javascript, not PHP!
4
+
5
+ function js_array_to_php_array (a)
6
+ {
7
+ var a_php = "";
8
+ var total = 0;
9
+ for (var key in a)
10
+ {
11
+ ++ total;
12
+ a_php = a_php + "s:" +
13
+ String(key).length + ":\"" + String(key) + "\";s:" +
14
+ String(a[key]).length + ":\"" + String(a[key]) + "\";";
15
+ }
16
+ a_php = "a:" + total + ":{" + a_php + "}";
17
+ return a_php;
18
+ }
19
+
20
+
21
  function print_r(x, max, sep, l) {
22
 
23
  l = l || 0;
83
  return false;
84
  };
85
 
86
+ function deleteCleanUp(this_object, form_dom) {
87
+ //alert(print_r(this_object));
88
+ //alert(".row-" + this_object.object_type + "-" + this_object.object_id);
89
+ form_dom.find(".row-" + this_object.object_type + "-" + this_object.object_id).hide().remove();
90
+ if (this_object.object_type == "style") {
91
+ /* delete occurences of this option within style dropdowns. */
92
+ var style_inputs = $j(".form_style_input");
93
+ style_inputs.each(function() {
94
+ this_option = $j(this).find("option[value=" + this_object.object_id + "]");
95
+ if (this_option.attr("selected") == "selected")
96
+ $j(this).find("option[value=0]").attr("selected", "selected");
97
+ this_option.remove();
98
+ });
99
+ } else if (this_object.object_type == "field" || this_object.object_type == "field_option") {
100
+ if (this_object.object_type == "field") {
101
+ var fields_options_input = $j("select.field-dropdown");
102
+ var fields_options_list = $j("ul.field-list");
103
+ } else {
104
+ var fields_options_input = $j("select.field-option-dropdown");
105
+ var fields_options_list = $j("ul.field-option-list");
106
+ }
107
+ fields_options_input.each(function () {
108
+ var this_obj = $j(this);
109
+ var this_option = this_obj.find("option[value=" + this_object.object_id + "]");
110
+ if (this_option.length >=1 && this_obj.find("option").length <= 1) {
111
+ $j("<option>")
112
+ .attr("value", "-1")
113
+ .text(ccfLang.no_fields)
114
+ .prependTo(this_obj);
115
+ }
116
+ this_option.remove();
117
+ });
118
+ fields_options_list.each(function () {
119
+ var this_obj = $j(this);
120
+ var this_option = this_obj.find(".field"+this_object.object_id);
121
+ this_option.remove();
122
+ });
123
+ if (this_object.object_type == "field")
124
+ fields_options_input = $j("select.attach-field option[value=" + this_object.object_id + "]");
125
+ else
126
+ fields_options_input = $j("select.attach-field-option option[value=" + this_object.object_id + "]");
127
+
128
+ fields_options_input.each(function () {
129
+ $j(this).remove();
130
+ });
131
  }
132
+ };
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
133
 
134
  $j.preloadImages(ccfAjax.plugin_dir + "/images/wpspin_light.gif"); // preload loading image
135
  $j(document).ready(function() {
155
  success : function(responseText) {
156
  if (responseText.objects) {
157
  for (var i = 0; i < responseText.objects.length; i++) {
 
158
  if (responseText.object_bulk_action == 'delete') {
159
+ deleteCleanUp(responseText.objects[i], form_dom);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
160
  } else if (responseText.object_bulk_action == 'edit') {
161
  /* TODO: update field and field option slug dropdowns */
162
  if (responseText.objects[i].object_type == "field" || responseText.objects[i].object_type == "field_option") {
177
  }
178
  });
179
 
180
+ $j(".single-save").click(function () {
181
+ var single_save = $j(this);
182
+ var object_type = single_save.parent().find(".object-type").attr("value");
183
+ single_save.parentsUntil("form").parent().ajaxSubmit({
184
+ data: { action: 'ccf-ajax', nonce: ccfLang.nonce },
185
+ url: ccfAjax.url,
186
+ complete: function() {
187
+ loading_img.fadeOut();
188
+ },
189
+ beforeSubmit: function(formData, jqForm, options) {
190
+ var object_id = single_save.parent().find(".object-id").val();
191
+ loading_img = single_save.parent().find(".loading-img-inner-"+ object_type +"-"+object_id).fadeIn();
192
+ var last_index = 0;
193
+ $j.each(formData, function(i, obj) {
194
+ if (obj != undefined && obj.name.indexOf("[object_do]") != -1) {
195
+ formData.splice(i, 1);
196
+ }
197
+ last_index = i;
198
+ });
199
+ var new_obj = new Object();
200
+ new_obj.name = "objects[" + object_id + "][object_do]";
201
+ new_obj.value = 1;
202
+ var new_obj2 = new Object();
203
+ new_obj2.name = "object_bulk_action";
204
+ new_obj2.value = "edit";
205
+ var new_obj3 = new Object();
206
+ new_obj3.name = "object_bulk_apply";
207
+ new_obj3.value = "1";
208
+ formData[last_index + 1] = new_obj;
209
+ formData[last_index + 2] = new_obj2;
210
+ formData[last_index + 3] = new_obj3;
211
+ form_dom = jqForm;
212
+ return true;
213
+ }
214
+ });
215
+ return false;
216
+ });
217
 
218
+ $j(".single-delete").click(function () {
219
+ var single_delete = $j(this);
220
+ var object_type = single_delete.parent().find(".object-type").attr("value");
221
+ single_delete.parentsUntil("form").parent().ajaxSubmit({
222
+ data: { action: 'ccf-ajax', nonce: ccfLang.nonce },
223
+ url: ccfAjax.url,
224
+ success : function(responseText) {
225
+ if (responseText.objects) {
226
+ for (var i = 0; i < responseText.objects.length; i++) {
227
+ deleteCleanUp(responseText.objects[i], form_dom);
228
+ }
229
+ }
230
+ },
231
+ complete: function() {
232
+
233
+ },
234
+ beforeSubmit: function(formData, jqForm, options) {
235
+ var object_id = single_delete.parent().find(".object-id").val();
236
+ loading_img = single_delete.parent().find(".loading-img-inner-"+ object_type +"-"+object_id).fadeIn();
237
+ var last_index = 0;
238
+ $j.each(formData, function(i, obj) {
239
+ if (obj != undefined && obj.name.indexOf("[object_do]") != -1) {
240
+ formData.splice(i, 1);
241
+ }
242
+ last_index = i;
243
+ });
244
+ var new_obj = new Object();
245
+ new_obj.name = "objects[" + object_id + "][object_do]";
246
+ new_obj.value = 1;
247
+ var new_obj2 = new Object();
248
+ new_obj2.name = "object_bulk_action";
249
+ new_obj2.value = "delete";
250
+ var new_obj3 = new Object();
251
+ new_obj3.name = "object_bulk_apply";
252
+ new_obj3.value = "1";
253
+ formData[last_index + 1] = new_obj;
254
+ formData[last_index + 2] = new_obj2;
255
+ formData[last_index + 3] = new_obj3;
256
+ form_dom = jqForm;
257
+ return true;
258
+ }
259
+ });
260
+ return false;
261
  });
262
+
263
+ $j(".ccfsort").find("span").click(function() { $j(this).parent().hide().remove(); });
264
+
265
  $j(".attach-button").live("click", function() {
266
+ var object_type = $j(this).parentsUntil("table").find(".object-type").attr("value");
267
+ var attach_object_field = $j(this).parent().find(".attach-object");
268
  var object_id = attach_object_field.attr("class").split(' ')[0].replace(/[^0-9]*([0-9]*)/, "$1");
269
+ var attached_list = $j(this).parentsUntil('td').find(".attached ul");
270
  var attach_object_id = attach_object_field.attr("value");
271
+ var attach_object_text = attach_object_field.find("option[value=" + attach_object_id + "]:eq(0)").first().text();
272
+ pattern = new RegExp('<li class=".*?field' + attach_object_id + '.*?">', "i");
273
+ str = attached_list.html();
274
  if (!str.match(pattern)) {
275
+ var new_li = $j("<li>").html(attach_object_text).addClass("field" + attach_object_id).addClass("ui-state-default").appendTo(attached_list);
276
+ var new_span = $j("<span>").html("&times;").prependTo(new_li);
277
+ new_span.click(function() { $j(this).parent().hide().remove(); });
 
 
 
 
 
 
 
 
 
 
 
278
  }
279
  });
280
 
281
+ $j(".attached-update-button").live("click", function() {
282
+ var object_type = $j(this).parentsUntil("table").find(".object-type").attr("value");
283
+ var attached_list = $j(this).parent().parent().find(".attached ul");
284
+ var fields_array = new Array();
285
+ var i = 0;
286
+ attached_list.find("li").each(function() {
287
+ fields_array[i] = $j(this).attr("class").replace(/^[^0-9]*?field([0-9]+?)[^0-9]*?$/i, "$1");
288
+ i++;
289
+ });
290
+ var object_id = attached_list.attr("class").replace(/^[^0-9]*?onObject([0-9]+?)[^0-9]*?$/i, "$1");
291
+ $j.ajax({
292
+ type: "POST",
293
+ url: ccfAjax.url,
294
+ data: "nonce=" + ccfLang.nonce + "&action=ccf-ajax&attached_save=1&attached_array=" + js_array_to_php_array(fields_array) + "&object_id=" + object_id + "&object_type=" + object_type,
295
+ success: function(data) {
296
+
297
+ },
298
+ beforeSend: function() {
299
+ loading_img = $j(".loading-img-field-config-" + object_type + "-" + object_id).fadeIn();
300
+ },
301
+ complete: function() { loading_img.fadeOut(); }
302
+ });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
303
  });
304
 
305
  });
js/custom-contact-forms-admin.js CHANGED
@@ -8,53 +8,41 @@ $j(document).ready(function(){
8
  });
9
  });
10
 
11
- $j('.form-options-expand').prepend('<input type="button" class="form-options-expand-link" value="' + ccfLang.more_options + '" />');
12
  $j('.form-options-expand-link').click(function() {
13
  $j(this)
14
- .parent()
15
  .parent()
16
  .parent()
17
  .next()
18
  .find(".form-extra-options:first")
19
  .toggle();
20
  });
21
- $j('.form-extra-options').hide();
22
 
23
- $j('.submission-content').hide();
24
- $j('.submission-content-expand').prepend('<input type="button" class="submission-content-expand-button" value="' + ccfLang.expand + '" />');
25
  $j('.submission-content-expand-button').click(function() {
26
  $j(this)
27
- .parent()
28
- .parent()
29
  .parent()
30
  .next()
31
  .toggle();
32
  });
33
 
34
 
35
- $j('.fixed-fields-options-expand').prepend('<input type="button" class="fixed-fields-options-expand-link" value="' + ccfLang.more_options + '" />');
36
  $j('.fixed-fields-options-expand-link').click(function() {
37
  $j(this)
38
- .parent()
39
  .parent()
40
  .parent()
41
  .next()
42
  .find(".fixed-fields-extra-options:first")
43
  .toggle();
44
  });
45
- $j('.fixed-fields-extra-options').hide();
46
 
47
- $j('.fields-options-expand').prepend('<input type="button" class="fields-options-expand-link" value="' + ccfLang.more_options + '" />');
48
  $j('.fields-options-expand-link').click(function() {
49
  $j(this)
50
- .parent()
51
  .parent()
52
  .parent()
53
  .next()
54
  .find(".fields-extra-options:first")
55
  .toggle();
56
  });
57
- $j('.fields-extra-options').hide();
58
 
59
  $j("#ccf-usage-popover").dialog({
60
  height: 420,
@@ -96,4 +84,13 @@ $j(document).ready(function(){
96
  var $tabs = $j( "#customcontactforms-admin #ccf-tabs" ).tabs();
97
  if (ccfLang.selected_tab != 0) $tabs.tabs('select', '#' + ccfLang.selected_tab);
98
 
 
 
 
 
 
 
 
 
 
99
  });
8
  });
9
  });
10
 
 
11
  $j('.form-options-expand-link').click(function() {
12
  $j(this)
 
13
  .parent()
14
  .parent()
15
  .next()
16
  .find(".form-extra-options:first")
17
  .toggle();
18
  });
 
19
 
 
 
20
  $j('.submission-content-expand-button').click(function() {
21
  $j(this)
22
+ .parentsUntil("tr")
 
23
  .parent()
24
  .next()
25
  .toggle();
26
  });
27
 
28
 
 
29
  $j('.fixed-fields-options-expand-link').click(function() {
30
  $j(this)
 
31
  .parent()
32
  .parent()
33
  .next()
34
  .find(".fixed-fields-extra-options:first")
35
  .toggle();
36
  });
 
37
 
 
38
  $j('.fields-options-expand-link').click(function() {
39
  $j(this)
 
40
  .parent()
41
  .parent()
42
  .next()
43
  .find(".fields-extra-options:first")
44
  .toggle();
45
  });
 
46
 
47
  $j("#ccf-usage-popover").dialog({
48
  height: 420,
84
  var $tabs = $j( "#customcontactforms-admin #ccf-tabs" ).tabs();
85
  if (ccfLang.selected_tab != 0) $tabs.tabs('select', '#' + ccfLang.selected_tab);
86
 
87
+ var itemList = $j('.sortable');
88
+ itemList.sortable({
89
+ placeholder: "ui-state-highlight",
90
+ update: function(event, ui) {
91
+ input_target = "#input_" + ui.item.parent().attr("id");
92
+ $j(input_target).val(ui.item.parent().sortable('toArray').toString());
93
+ return;
94
+ }
95
+ });
96
  });
lang/custom-contact-forms.mo CHANGED
Binary file
lang/custom-contact-forms.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: custom-contact-forms\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2012-01-16 16:27-0500\n"
6
- "PO-Revision-Date: 2012-01-16 16:27-0500\n"
7
  "Last-Translator: Taylor Lovett <admin@taylorlovett.com>\n"
8
  "Language-Team: TaylorLovett.com <admin@taylorlovett.com>\n"
9
  "MIME-Version: 1.0\n"
@@ -28,1584 +28,1525 @@ msgstr ""
28
  msgid "Settings"
29
  msgstr ""
30
 
31
- #: ../custom-contact-forms-admin.php:131
32
- #: ../custom-contact-forms-admin.php:204
33
  msgid "Nothing to show."
34
  msgstr ""
35
 
36
- #: ../custom-contact-forms-admin.php:160
37
  msgid "Invalid request."
38
  msgstr ""
39
 
40
- #: ../custom-contact-forms-admin.php:193
41
  msgid "Attaching"
42
  msgstr ""
43
 
44
- #: ../custom-contact-forms-admin.php:194
45
  msgid "Detaching"
46
  msgstr ""
47
 
48
- #: ../custom-contact-forms-admin.php:195
49
- msgid "Detach"
 
 
 
 
 
 
 
 
 
 
50
  msgstr ""
51
 
52
- #: ../custom-contact-forms-admin.php:196
 
 
53
  msgid "Attach"
54
  msgstr ""
55
 
56
- #: ../custom-contact-forms-admin.php:197
57
  msgid "Saving"
58
  msgstr ""
59
 
60
- #: ../custom-contact-forms-admin.php:198
61
  msgid "More Options"
62
  msgstr ""
63
 
64
- #: ../custom-contact-forms-admin.php:199
 
65
  msgid "Expand"
66
  msgstr ""
67
 
68
- #: ../custom-contact-forms-admin.php:200
69
  msgid "Click to Confirm"
70
  msgstr ""
71
 
72
- #: ../custom-contact-forms-admin.php:202
73
  msgid "Are you sure you want to delete this"
74
  msgstr ""
75
 
76
- #: ../custom-contact-forms-admin.php:203
77
  msgid "An error has occured. Please try again later."
78
  msgstr ""
79
 
80
- #: ../custom-contact-forms-admin.php:205
81
  msgid "Nothing Attached!"
82
  msgstr ""
83
 
84
- #: ../custom-contact-forms-admin.php:243
 
 
 
 
85
  msgid "A new form was successfully created!"
86
  msgstr ""
87
 
88
- #: ../custom-contact-forms-admin.php:246
89
  msgid "A new field was successful created!"
90
  msgstr ""
91
 
92
- #: ../custom-contact-forms-admin.php:249
93
  msgid "A new field option was successful created!"
94
  msgstr ""
95
 
96
- #: ../custom-contact-forms-admin.php:252
97
  msgid "A new style was successful created!"
98
  msgstr ""
99
 
100
- #: ../custom-contact-forms-admin.php:260
101
- msgid "A field was successful attached!"
102
- msgstr ""
103
-
104
- #: ../custom-contact-forms-admin.php:263
105
- msgid "A field option was successful attached!"
106
- msgstr ""
107
-
108
- #: ../custom-contact-forms-admin.php:271
109
- msgid "A field was successful detached!"
110
- msgstr ""
111
-
112
- #: ../custom-contact-forms-admin.php:274
113
- msgid "A field option was successful detached!"
114
- msgstr ""
115
-
116
- #: ../custom-contact-forms-admin.php:303
117
- #: ../custom-contact-forms-admin.php:319
118
- msgid "Your bulk action has been completed!"
119
- msgstr ""
120
-
121
- #: ../custom-contact-forms-admin.php:330
122
  msgid "Rate This Plugin"
123
  msgstr ""
124
 
125
- #: ../custom-contact-forms-admin.php:331
126
  msgid "We need your help to continue development! Please <span>rate this plugin</span> to show your support."
127
  msgstr ""
128
 
129
- #: ../custom-contact-forms-admin.php:356
130
  msgid "Default content has been inserted!"
131
  msgstr ""
132
 
133
- #: ../custom-contact-forms-admin.php:359
134
  msgid "Your message has been sent!"
135
  msgstr ""
136
 
137
- #: ../custom-contact-forms-admin.php:373
138
- #: ../custom-contact-forms-admin.php:1952
139
- #: ../custom-contact-forms-admin.php:2098
140
- #: ../custom-contact-forms-front.php:566
141
  #: ../custom-contact-forms.php:99
142
  #: ../custom-contact-forms.php:100
143
  msgid "Custom Contact Forms"
144
  msgstr ""
145
 
146
- #: ../custom-contact-forms-admin.php:381
147
- #: ../custom-contact-forms-admin.php:2489
148
- #: ../custom-contact-forms-admin.php:2507
149
  msgid "Forms"
150
  msgstr ""
151
 
152
- #: ../custom-contact-forms-admin.php:382
153
- #: ../custom-contact-forms-admin.php:2501
154
  msgid "Fields"
155
  msgstr ""
156
 
157
- #: ../custom-contact-forms-admin.php:383
158
- #: ../custom-contact-forms-admin.php:2513
159
  msgid "Field Options"
160
  msgstr ""
161
 
162
- #: ../custom-contact-forms-admin.php:384
163
- #: ../custom-contact-forms-admin.php:2519
164
  msgid "Styles"
165
  msgstr ""
166
 
167
- #: ../custom-contact-forms-admin.php:385
168
  msgid "Support"
169
  msgstr ""
170
 
171
- #: ../custom-contact-forms-admin.php:386
172
  msgid "Advanced"
173
  msgstr ""
174
 
175
- #: ../custom-contact-forms-admin.php:387
176
  msgid "News"
177
  msgstr ""
178
 
179
- #: ../custom-contact-forms-admin.php:389
180
  msgid "Custom Contact Forms works best with any of the 20+ "
181
  msgstr ""
182
 
183
- #: ../custom-contact-forms-admin.php:389
184
  msgid "Genesis"
185
  msgstr ""
186
 
187
- #: ../custom-contact-forms-admin.php:389
188
  msgid "Wordpress child themes. The"
189
  msgstr ""
190
 
191
- #: ../custom-contact-forms-admin.php:389
192
  msgid "Genesis Framework"
193
  msgstr ""
194
 
195
- #: ../custom-contact-forms-admin.php:389
196
  msgid "empowers you to quickly and easily build incredible websites with WordPress."
197
  msgstr ""
198
 
199
- #: ../custom-contact-forms-admin.php:399
200
  msgid "WP Blogging Tips, Downloads, SEO Tricks & Exclusive Tutorials"
201
  msgstr ""
202
 
203
- #: ../custom-contact-forms-admin.php:419
204
  msgid "Create A Form"
205
  msgstr ""
206
 
207
- #: ../custom-contact-forms-admin.php:427
208
  msgid "Form Slug:"
209
  msgstr ""
210
 
211
- #: ../custom-contact-forms-admin.php:431
212
  msgid "This is just a unique way for CCF to refer to your form. Must be unique from other slugs and contain only underscores and alphanumeric characters."
213
  msgstr ""
214
 
215
- #: ../custom-contact-forms-admin.php:435
216
  msgid "Form Title:"
217
  msgstr ""
218
 
219
- #: ../custom-contact-forms-admin.php:438
220
  msgid "This text is displayed above the form as the heading."
221
  msgstr ""
222
 
223
- #: ../custom-contact-forms-admin.php:442
224
  msgid "Form Style:"
225
  msgstr ""
226
 
227
- #: ../custom-contact-forms-admin.php:449
228
  msgid "Submit Button Text:"
229
  msgstr ""
230
 
231
- #: ../custom-contact-forms-admin.php:455
232
  msgid "Form Destination Email:"
233
  msgstr ""
234
 
235
- #: ../custom-contact-forms-admin.php:459
236
- msgid "Will receive all submissions from this form; if left blank it will use the default specified in general settings."
237
  msgstr ""
238
 
239
- #: ../custom-contact-forms-admin.php:463
240
  msgid "Form Email Subject:"
241
  msgstr ""
242
 
243
- #: ../custom-contact-forms-admin.php:467
244
  msgid "When submitted and configured accordingly, the form will send an email with this subject."
245
  msgstr ""
246
 
247
- #: ../custom-contact-forms-admin.php:471
248
  msgid "Form Email Name:"
249
  msgstr ""
250
 
251
- #: ../custom-contact-forms-admin.php:475
252
  msgid "When submitted and configured accordingly, the form will send an email with this as the email 'from name'."
253
  msgstr ""
254
 
255
- #: ../custom-contact-forms-admin.php:481
256
  msgid "Form Success Message:"
257
  msgstr ""
258
 
259
- #: ../custom-contact-forms-admin.php:485
260
- #: ../custom-contact-forms-admin.php:493
261
  msgid "Will be displayed in a popover when the form is filled out successfully when no custom success page is specified; if left blank it will use the default specified in general settings."
262
  msgstr ""
263
 
264
- #: ../custom-contact-forms-admin.php:489
265
  msgid "Form Success Message Title:"
266
  msgstr ""
267
 
268
- #: ../custom-contact-forms-admin.php:497
269
  msgid "Custom Success URL:"
270
  msgstr ""
271
 
272
- #: ../custom-contact-forms-admin.php:501
273
  msgid "If this is filled out, users will be sent to this page when they successfully fill out this form. If it is left blank, a popover showing the form's 'success message' will be displayed on form success."
274
  msgstr ""
275
 
276
- #: ../custom-contact-forms-admin.php:504
277
  msgid "Who Can View This Form:"
278
  msgstr ""
279
 
280
- #: ../custom-contact-forms-admin.php:520
281
  msgid "Choose which types of users should be able to view this form."
282
  msgstr ""
283
 
284
- #: ../custom-contact-forms-admin.php:524
285
  msgid "Create Form"
286
  msgstr ""
287
 
288
- #: ../custom-contact-forms-admin.php:526
289
  msgid "You should go to the form manager to attach fields to this form after you create it."
290
  msgstr ""
291
 
292
- #: ../custom-contact-forms-admin.php:533
293
  msgid "Manage Forms"
294
  msgstr ""
295
 
296
- #: ../custom-contact-forms-admin.php:541
 
297
  msgid "Form Display Code"
298
  msgstr ""
299
 
300
- #: ../custom-contact-forms-admin.php:542
301
- #: ../custom-contact-forms-admin.php:697
302
- #: ../custom-contact-forms-admin.php:856
303
- #: ../custom-contact-forms-admin.php:990
304
- #: ../custom-contact-forms-admin.php:1016
305
- #: ../custom-contact-forms-admin.php:1104
306
- #: ../custom-contact-forms-admin.php:1133
307
- #: ../custom-contact-forms-admin.php:1142
308
- msgid "Slug"
309
  msgstr ""
310
 
311
- #: ../custom-contact-forms-admin.php:543
312
- #: ../custom-contact-forms-admin.php:698
313
- msgid "Destination Email"
 
 
 
 
 
 
314
  msgstr ""
315
 
316
- #: ../custom-contact-forms-admin.php:544
317
- #: ../custom-contact-forms-admin.php:699
318
  msgid "Title"
319
  msgstr ""
320
 
321
- #: ../custom-contact-forms-admin.php:545
322
- #: ../custom-contact-forms-admin.php:700
323
- msgid "Button Text"
324
- msgstr ""
325
-
326
- #: ../custom-contact-forms-admin.php:546
327
- #: ../custom-contact-forms-admin.php:701
328
  msgid "Style"
329
  msgstr ""
330
 
331
- #: ../custom-contact-forms-admin.php:582
332
- msgid "Method"
333
- msgstr ""
334
-
335
- #: ../custom-contact-forms-admin.php:583
336
- msgid "Form Action"
337
- msgstr ""
338
-
339
- #: ../custom-contact-forms-admin.php:584
340
- #: ../modules/db/custom-contact-forms-activate-db.php:226
341
- msgid "Email Subject"
342
  msgstr ""
343
 
344
- #: ../custom-contact-forms-admin.php:585
345
- msgid "Email From Name"
 
 
346
  msgstr ""
347
 
348
- #: ../custom-contact-forms-admin.php:586
349
- msgid "Success Message Title"
350
  msgstr ""
351
 
352
- #: ../custom-contact-forms-admin.php:587
353
- msgid "Success Message"
354
  msgstr ""
355
 
356
- #: ../custom-contact-forms-admin.php:588
357
- msgid "Custom Success URL"
358
  msgstr ""
359
 
360
- #: ../custom-contact-forms-admin.php:591
361
  msgid "The Form Method is the method by which information is transfer through your form. If you aren't an expert with HTML and PHP, leave this as Post."
362
  msgstr ""
363
 
364
- #: ../custom-contact-forms-admin.php:595
365
  msgid "This lets you process your forms through alternate scripts. If you use a service like InfusionSoft or Aweber, set this to be the same form action as the code provided to you by that service, otherwise leave this blank."
366
  msgstr ""
367
 
368
- #: ../custom-contact-forms-admin.php:597
369
- msgid "This is the form email subject sent to the destination email address. If left blank, the default from General Settings will be used."
370
- msgstr ""
371
-
372
- #: ../custom-contact-forms-admin.php:599
373
- msgid "This is the from name of the email sent on successful form submission. If left blank, the default from General Settings will be used."
374
- msgstr ""
375
-
376
- #: ../custom-contact-forms-admin.php:601
377
- msgid "This will be displayed as the header in a popover when the form is filled out successfully when no custom success page is specified; if left blank it will use the default specified in general settings."
378
  msgstr ""
379
 
380
- #: ../custom-contact-forms-admin.php:603
381
- msgid "This will be displayed in a popover when the form is filled out successfully when no custom success page is specified; if left blank it will use the default specified in general settings."
382
  msgstr ""
383
 
384
- #: ../custom-contact-forms-admin.php:605
385
  msgid "If this is filled out, users will be sent to this thank you page when they successfully fill out this form. If it is left blank, a popover showing the form's 'success message' will be displayed on form success."
386
  msgstr ""
387
 
388
- #: ../custom-contact-forms-admin.php:609
389
- msgid "The form display code above ([customcontact form=x]) will only work in Wordpress pages and posts. If you want to display this form in a theme file such as page.php, header.php, index.php, category.php, etc, then insert this PHP snippet."
390
  msgstr ""
391
 
392
- #: ../custom-contact-forms-admin.php:610
393
- msgid "Code to Display Form in Theme Files:"
394
  msgstr ""
395
 
396
- #: ../custom-contact-forms-admin.php:613
397
- msgid "This field allows you to insert HTML directly after the starting <form> tag."
398
  msgstr ""
399
 
400
- #: ../custom-contact-forms-admin.php:614
401
- msgid "Custom Code:"
402
  msgstr ""
403
 
404
- #: ../custom-contact-forms-admin.php:616
405
- msgid "Insert the page id's that your form will be used on. This will make it so the plugin will only load JS and CSS files on these select pages. This will improve your site's load time."
406
  msgstr ""
407
 
408
- #: ../custom-contact-forms-admin.php:617
409
- msgid "Form Pages:"
410
  msgstr ""
411
 
412
- #: ../custom-contact-forms-admin.php:620
413
- msgid "If you want to show this form to only certain types of users, you can uncheck boxes accordingly. To show this form to anyone, check all the boxes. This will only take effect if 'Form Access Capabilities' is enabled in general settings."
 
414
  msgstr ""
415
 
416
- #: ../custom-contact-forms-admin.php:639
417
  msgid "Attached Fields:"
418
  msgstr ""
419
 
420
- #: ../custom-contact-forms-admin.php:655
421
- msgid "(Check to detach field)"
422
- msgstr ""
423
-
424
- #: ../custom-contact-forms-admin.php:659
425
- msgid "Attach fields in the order you want them displayed."
426
- msgstr ""
427
-
428
- #: ../custom-contact-forms-admin.php:663
429
- msgid "Attach Field:"
430
- msgstr ""
431
-
432
- #: ../custom-contact-forms-admin.php:670
433
- msgid "(Check to attach field)"
434
- msgstr ""
435
-
436
- #: ../custom-contact-forms-admin.php:674
437
- msgid "Attach fixed fields or ones you"
438
- msgstr ""
439
-
440
- #: ../custom-contact-forms-admin.php:676
441
- #: ../custom-contact-forms-admin.php:959
442
- msgid "create"
443
  msgstr ""
444
 
445
- #: ../custom-contact-forms-admin.php:685
446
- #: ../custom-contact-forms-admin.php:789
447
- #: ../custom-contact-forms-admin.php:885
448
- #: ../custom-contact-forms-admin.php:1051
449
- #: ../custom-contact-forms-admin.php:1061
450
- #: ../custom-contact-forms-admin.php:1164
451
- #: ../custom-contact-forms-admin.php:1223
452
- #: ../custom-contact-forms-admin.php:2139
453
- #: ../custom-contact-forms-admin.php:2252
454
- #: ../custom-contact-forms-admin.php:2297
455
  #: ../modules/db/custom-contact-forms-default-db.php:39
456
  msgid "Yes"
457
  msgstr ""
458
 
459
- #: ../custom-contact-forms-admin.php:685
460
- #: ../custom-contact-forms-admin.php:786
461
- #: ../custom-contact-forms-admin.php:888
462
- #: ../custom-contact-forms-admin.php:1054
463
- #: ../custom-contact-forms-admin.php:1164
464
- #: ../custom-contact-forms-admin.php:1223
465
- #: ../custom-contact-forms-admin.php:2142
466
- #: ../custom-contact-forms-admin.php:2255
467
- #: ../custom-contact-forms-admin.php:2300
468
  msgid "No"
469
  msgstr ""
470
 
471
- #: ../custom-contact-forms-admin.php:696
472
- msgid "Form Code"
473
- msgstr ""
474
-
475
- #: ../custom-contact-forms-admin.php:709
476
- #: ../custom-contact-forms-admin.php:1001
477
- #: ../custom-contact-forms-admin.php:1115
478
- #: ../custom-contact-forms-admin.php:1180
479
- #: ../custom-contact-forms-admin.php:1804
480
- #: ../custom-contact-forms-admin.php:2052
481
  msgid "Bulk Actions"
482
  msgstr ""
483
 
484
- #: ../custom-contact-forms-admin.php:710
485
- #: ../custom-contact-forms-admin.php:1002
486
- #: ../custom-contact-forms-admin.php:1116
487
- #: ../custom-contact-forms-admin.php:1181
488
- #: ../custom-contact-forms-admin.php:1805
489
- msgid "Save"
490
- msgstr ""
491
-
492
- #: ../custom-contact-forms-admin.php:711
493
- #: ../custom-contact-forms-admin.php:1003
494
- #: ../custom-contact-forms-admin.php:1182
495
- #: ../custom-contact-forms-admin.php:1806
496
- #: ../custom-contact-forms-admin.php:2053
497
- msgid "Delete"
498
- msgstr ""
499
-
500
- #: ../custom-contact-forms-admin.php:712
501
- #: ../custom-contact-forms-admin.php:1004
502
- #: ../custom-contact-forms-admin.php:1117
503
- #: ../custom-contact-forms-admin.php:1183
504
- #: ../custom-contact-forms-admin.php:1807
505
- #: ../custom-contact-forms-admin.php:2054
506
  msgid "Apply"
507
  msgstr ""
508
 
509
- #: ../custom-contact-forms-admin.php:720
510
  msgid "Create A Form Field"
511
  msgstr ""
512
 
513
- #: ../custom-contact-forms-admin.php:728
514
  msgid "Field Slug:"
515
  msgstr ""
516
 
517
- #: ../custom-contact-forms-admin.php:732
518
  msgid "This is just a unique way for CCF to refer to your field. Must be unique from other slugs and contain only underscores and alphanumeric characters."
519
  msgstr ""
520
 
521
- #: ../custom-contact-forms-admin.php:736
522
  msgid "Field Label:"
523
  msgstr ""
524
 
525
- #: ../custom-contact-forms-admin.php:740
526
  msgid "The field label is displayed next to the field and is visible to the user."
527
  msgstr ""
528
 
529
- #: ../custom-contact-forms-admin.php:744
530
  msgid "Field Type:"
531
  msgstr ""
532
 
533
- #: ../custom-contact-forms-admin.php:759
534
  msgid "Initial Value:"
535
  msgstr ""
536
 
537
- #: ../custom-contact-forms-admin.php:764
538
  msgid ""
539
  "This is the initial value of the field. If you set the type as checkbox, it is recommend you set this to what the checkbox is implying. For example if I were creating the checkbox \n"
540
  "\t\t\t\t\t\t'Are you human?', I would set the initial value to 'Yes'."
541
  msgstr ""
542
 
543
- #: ../custom-contact-forms-admin.php:766
544
  msgid "If you set the field type as 'Dropdown' or 'Radio', you should enter the slug of the"
545
  msgstr ""
546
 
547
- #: ../custom-contact-forms-admin.php:767
548
  msgid "Create a Field Option"
549
  msgstr ""
550
 
551
- #: ../custom-contact-forms-admin.php:767
552
  msgid "field option"
553
  msgstr ""
554
 
555
- #: ../custom-contact-forms-admin.php:768
556
  msgid "you would like initially selected."
557
  msgstr ""
558
 
559
- #: ../custom-contact-forms-admin.php:772
 
 
560
  msgid "Max Length:"
561
  msgstr ""
562
 
563
- #: ../custom-contact-forms-admin.php:776
564
  msgid "0 for no limit; only applies to Text fields"
565
  msgstr ""
566
 
567
- #: ../custom-contact-forms-admin.php:782
568
  msgid "Required Field:"
569
  msgstr ""
570
 
571
- #: ../custom-contact-forms-admin.php:793
572
  msgid "If a field is required and a user leaves it blank, the plugin will display an error message (which you can customize using 'Field Error') explaining the problem."
573
  msgstr ""
574
 
575
- #: ../custom-contact-forms-admin.php:797
576
- #: ../custom-contact-forms-admin.php:907
577
- #: ../custom-contact-forms-admin.php:1084
578
  msgid "Field Instructions:"
579
  msgstr ""
580
 
581
- #: ../custom-contact-forms-admin.php:801
582
- #: ../custom-contact-forms-admin.php:905
583
- #: ../custom-contact-forms-admin.php:1082
584
  msgid "If this is filled out, a tooltip popover displaying this text will show when the field is selected."
585
  msgstr ""
586
 
587
- #: ../custom-contact-forms-admin.php:805
588
- #: ../custom-contact-forms-admin.php:912
589
- #: ../custom-contact-forms-admin.php:1078
 
590
  msgid "Field Class:"
591
  msgstr ""
592
 
593
- #: ../custom-contact-forms-admin.php:809
594
  msgid "If you manage your own .css stylesheet, you can use this to attach a class to this field. Leaving this blank will do nothing."
595
  msgstr ""
596
 
597
- #: ../custom-contact-forms-admin.php:813
598
- #: ../custom-contact-forms-admin.php:917
599
- #: ../custom-contact-forms-admin.php:1089
600
  msgid "Field Error:"
601
  msgstr ""
602
 
603
- #: ../custom-contact-forms-admin.php:817
604
  msgid "If a user leaves this field blank and the field is required, this error message will be shown. A generic default will show if left blank."
605
  msgstr ""
606
 
607
- #: ../custom-contact-forms-admin.php:821
608
  msgid "Max File Size Allowed:"
609
  msgstr ""
610
 
611
- #: ../custom-contact-forms-admin.php:823
612
- #: ../custom-contact-forms-admin.php:925
613
  msgid "KB"
614
  msgstr ""
615
 
616
- #: ../custom-contact-forms-admin.php:825
617
  msgid "If a user tries to upload a file larger than the max upload size, an error message will be displayed."
618
  msgstr ""
619
 
620
- #: ../custom-contact-forms-admin.php:829
621
  msgid "Allowed File Extensions for Upload:"
622
  msgstr ""
623
 
624
- #: ../custom-contact-forms-admin.php:833
625
- msgid "If a user tries to upload a file with an extension not in this list, an error will be shown. Separate file extensions with a comma. Ex: doc, jpg, jpeg, txt"
626
  msgstr ""
627
 
628
- #: ../custom-contact-forms-admin.php:838
629
  msgid "Create Field"
630
  msgstr ""
631
 
632
- #: ../custom-contact-forms-admin.php:840
633
  msgid "If this is a dropdown or radio field, you should go to the field manager below to attach field options after you create it."
634
  msgstr ""
635
 
636
- #: ../custom-contact-forms-admin.php:848
637
  msgid "Manage User Fields"
638
  msgstr ""
639
 
640
- #: ../custom-contact-forms-admin.php:857
641
- #: ../custom-contact-forms-admin.php:991
642
- #: ../custom-contact-forms-admin.php:1017
643
- #: ../custom-contact-forms-admin.php:1105
644
- #: ../custom-contact-forms-admin.php:1134
645
- #: ../custom-contact-forms-admin.php:1143
646
  msgid "Label"
647
  msgstr ""
648
 
649
- #: ../custom-contact-forms-admin.php:858
650
- #: ../custom-contact-forms-admin.php:992
651
- #: ../custom-contact-forms-admin.php:1018
652
- #: ../custom-contact-forms-admin.php:1106
653
  msgid "Type"
654
  msgstr ""
655
 
656
- #: ../custom-contact-forms-admin.php:859
657
- #: ../custom-contact-forms-admin.php:993
658
- #: ../custom-contact-forms-admin.php:1019
659
- #: ../custom-contact-forms-admin.php:1107
660
  msgid "Initial Value"
661
  msgstr ""
662
 
663
- #: ../custom-contact-forms-admin.php:860
664
- #: ../custom-contact-forms-admin.php:994
665
- #: ../custom-contact-forms-admin.php:1020
666
- #: ../custom-contact-forms-admin.php:1108
667
  msgid "Required"
668
  msgstr ""
669
 
670
- #: ../custom-contact-forms-admin.php:861
671
- #: ../custom-contact-forms-admin.php:995
672
- #: ../custom-contact-forms-admin.php:1021
673
- #: ../custom-contact-forms-admin.php:1109
674
- msgid "Maxlength"
675
  msgstr ""
676
 
677
- #: ../custom-contact-forms-admin.php:910
678
- #: ../custom-contact-forms-admin.php:1076
 
 
679
  msgid "If you manage a .CSS file for your theme, you could create a class in that file and add it to this field. If the form attaching this field is using a \"Form Style\" other than the default, styles inherited from the \"Field Class\" might be overwritten."
680
  msgstr ""
681
 
682
- #: ../custom-contact-forms-admin.php:915
683
- #: ../custom-contact-forms-admin.php:1087
684
- msgid "This lets you customize the error message displayed when this field is required and left blank."
685
  msgstr ""
686
 
687
- #: ../custom-contact-forms-admin.php:923
688
  msgid "If a user tries to upload a file greater than the value in this field, an error will be shown. Upload size is in KB. If this is left blank or set to 0, then there will be no maximum file size for this field."
689
  msgstr ""
690
 
691
- #: ../custom-contact-forms-admin.php:924
692
- msgid "Max Upload Size"
693
  msgstr ""
694
 
695
- #: ../custom-contact-forms-admin.php:926
696
  msgid "If a user tries to upload a file with an extension not in this list, an error will be shown. If this is left blank, then all file extensions will be accepted. Separate file extensions with a comma. Ex: doc, jpg, jpeg, bmp, gif, txt"
697
  msgstr ""
698
 
699
- #: ../custom-contact-forms-admin.php:927
700
- msgid "Allowed File Extensions"
 
 
 
 
 
 
 
 
701
  msgstr ""
702
 
703
- #: ../custom-contact-forms-admin.php:957
704
- msgid "Detach field options you"
705
  msgstr ""
706
 
707
- #: ../custom-contact-forms-admin.php:976
708
- msgid "Attach field options in the order you want them to display."
709
  msgstr ""
710
 
711
- #: ../custom-contact-forms-admin.php:1008
712
  msgid "Manage Fixed Fields"
713
  msgstr ""
714
 
715
- #: ../custom-contact-forms-admin.php:1037
716
- #: ../custom-contact-forms-admin.php:1068
717
- #: ../custom-contact-forms-admin.php:2425
718
  msgid "None"
719
  msgstr ""
720
 
721
- #: ../custom-contact-forms-admin.php:1124
722
  msgid "Manage Field Options"
723
  msgstr ""
724
 
725
- #: ../custom-contact-forms-admin.php:1135
726
- #: ../custom-contact-forms-admin.php:1144
727
  msgid "Value"
728
  msgstr ""
729
 
730
- #: ../custom-contact-forms-admin.php:1136
731
- #: ../custom-contact-forms-admin.php:1145
732
  msgid "Is Dead"
733
  msgstr ""
734
 
735
- #: ../custom-contact-forms-admin.php:1172
736
  msgid "No field options have been created."
737
  msgstr ""
738
 
739
- #: ../custom-contact-forms-admin.php:1191
740
  msgid "Create A Field Option"
741
  msgstr ""
742
 
743
- #: ../custom-contact-forms-admin.php:1199
744
  msgid "Option Slug:"
745
  msgstr ""
746
 
747
- #: ../custom-contact-forms-admin.php:1203
748
  msgid "Used to identify this option, solely for admin purposes; must be unique, and contain only letters, numbers, and underscores. Example: 'slug_one'"
749
  msgstr ""
750
 
751
- #: ../custom-contact-forms-admin.php:1207
752
  msgid "Option Label:"
753
  msgstr ""
754
 
755
- #: ../custom-contact-forms-admin.php:1211
756
  msgid "This is what is shown to the user in the dropdown or radio field. Example: 'United States'"
757
  msgstr ""
758
 
759
- #: ../custom-contact-forms-admin.php:1215
760
  msgid "Option Value:"
761
  msgstr ""
762
 
763
- #: ../custom-contact-forms-admin.php:1217
764
- msgid "This is the actual value of the option which is not shown to the user. This can be the same thing as the label. An example pairing of label => value is: 'The color green' => 'green' or 'Yes' => '1'."
765
- msgstr ""
766
-
767
- #: ../custom-contact-forms-admin.php:1219
768
- msgid "This is the actual value of the option which is not shown to the user. This can be the same thing as the label. An example pairing of label => value is: \"The color green\" => \"green\" or \"Yes\" => \"1\"."
769
  msgstr ""
770
 
771
- #: ../custom-contact-forms-admin.php:1222
772
  msgid "Is Dead Option:"
773
  msgstr ""
774
 
775
- #: ../custom-contact-forms-admin.php:1224
776
  msgid "A dead option is something like 'Please Select One'. This is a useful tool for required dropdown fields. If a dead option is submitted by a user for a required dropdown field, then the user will have to go back and fill out the field again."
777
  msgstr ""
778
 
779
- #: ../custom-contact-forms-admin.php:1228
780
  msgid "Create Field Option"
781
  msgstr ""
782
 
783
- #: ../custom-contact-forms-admin.php:1241
784
  msgid "Create A Style for Your Forms"
785
  msgstr ""
786
 
787
- #: ../custom-contact-forms-admin.php:1245
788
  msgid "Use this manager to create styles for your forms. Each field is already filled out with nice look defaults. It is recommended you simply input a slug and click create to see the defaults before you start changing values."
789
  msgstr ""
790
 
791
- #: ../custom-contact-forms-admin.php:1252
792
  msgid "Style Slug:"
793
  msgstr ""
794
 
795
- #: ../custom-contact-forms-admin.php:1255
796
  msgid "(Must be unique)"
797
  msgstr ""
798
 
799
- #: ../custom-contact-forms-admin.php:1259
800
- #: ../custom-contact-forms-admin.php:1658
801
- #: ../custom-contact-forms-admin.php:1667
802
  msgid "Title Font Size:"
803
  msgstr ""
804
 
805
- #: ../custom-contact-forms-admin.php:1262
806
  msgid "(ex: 10pt, 10px, 1em)"
807
  msgstr ""
808
 
809
- #: ../custom-contact-forms-admin.php:1266
810
- #: ../custom-contact-forms-admin.php:1706
811
- #: ../custom-contact-forms-admin.php:1774
812
  msgid "Title Font Color:"
813
  msgstr ""
814
 
815
- #: ../custom-contact-forms-admin.php:1269
816
- #: ../custom-contact-forms-admin.php:1290
817
- #: ../custom-contact-forms-admin.php:1354
818
- #: ../custom-contact-forms-admin.php:1455
819
- #: ../custom-contact-forms-admin.php:1462
820
- #: ../custom-contact-forms-admin.php:1490
821
  msgid "(ex: FF0000)"
822
  msgstr ""
823
 
824
- #: ../custom-contact-forms-admin.php:1273
825
- #: ../custom-contact-forms-admin.php:1631
826
  msgid "Label Width:"
827
  msgstr ""
828
 
829
- #: ../custom-contact-forms-admin.php:1276
830
  msgid "(ex: 100px or 20%)"
831
  msgstr ""
832
 
833
- #: ../custom-contact-forms-admin.php:1280
834
- #: ../custom-contact-forms-admin.php:1672
835
  msgid "Label Font Size:"
836
  msgstr ""
837
 
838
- #: ../custom-contact-forms-admin.php:1283
839
- #: ../custom-contact-forms-admin.php:1448
840
  msgid "(ex: 10px, 10pt, 1em)"
841
  msgstr ""
842
 
843
- #: ../custom-contact-forms-admin.php:1287
844
- #: ../custom-contact-forms-admin.php:1711
845
  msgid "Label Font Color:"
846
  msgstr ""
847
 
848
- #: ../custom-contact-forms-admin.php:1294
849
- #: ../custom-contact-forms-admin.php:1598
850
  msgid "Text Field Width:"
851
  msgstr ""
852
 
853
- #: ../custom-contact-forms-admin.php:1297
854
- #: ../custom-contact-forms-admin.php:1304
855
- #: ../custom-contact-forms-admin.php:1311
856
- #: ../custom-contact-forms-admin.php:1391
857
  msgid "(ex: 100px or 100%)"
858
  msgstr ""
859
 
860
- #: ../custom-contact-forms-admin.php:1301
861
  msgid "Textarea Field Width:"
862
  msgstr ""
863
 
864
- #: ../custom-contact-forms-admin.php:1308
865
  msgid "Textarea Field Height:"
866
  msgstr ""
867
 
868
- #: ../custom-contact-forms-admin.php:1315
869
- #: ../custom-contact-forms-admin.php:1677
870
  msgid "Field Font Size:"
871
  msgstr ""
872
 
873
- #: ../custom-contact-forms-admin.php:1318
874
  msgid "(ex: 10px, 10pt, 1em"
875
  msgstr ""
876
 
877
- #: ../custom-contact-forms-admin.php:1322
878
- #: ../custom-contact-forms-admin.php:1716
879
  msgid "Field Font Color:"
880
  msgstr ""
881
 
882
- #: ../custom-contact-forms-admin.php:1325
883
- #: ../custom-contact-forms-admin.php:1361
884
  msgid "(ex: 333333)"
885
  msgstr ""
886
 
887
- #: ../custom-contact-forms-admin.php:1329
888
- #: ../custom-contact-forms-admin.php:1765
889
  msgid "Field Border Style:"
890
  msgstr ""
891
 
892
- #: ../custom-contact-forms-admin.php:1337
893
- #: ../custom-contact-forms-admin.php:1726
894
  msgid "Form Margin:"
895
  msgstr ""
896
 
897
- #: ../custom-contact-forms-admin.php:1340
898
- #: ../custom-contact-forms-admin.php:1347
899
- #: ../custom-contact-forms-admin.php:1469
900
- #: ../custom-contact-forms-admin.php:1476
901
  msgid "(ex: 5px or 1em)"
902
  msgstr ""
903
 
904
- #: ../custom-contact-forms-admin.php:1344
905
- #: ../custom-contact-forms-admin.php:1618
906
  msgid "Label Margin:"
907
  msgstr ""
908
 
909
- #: ../custom-contact-forms-admin.php:1351
910
  msgid "Textarea Background Color:"
911
  msgstr ""
912
 
913
- #: ../custom-contact-forms-admin.php:1358
914
  msgid "Success Popover Font Color:"
915
  msgstr ""
916
 
917
- #: ../custom-contact-forms-admin.php:1365
918
  msgid "Success Popover Title Font Size:"
919
  msgstr ""
920
 
921
- #: ../custom-contact-forms-admin.php:1368
922
- #: ../custom-contact-forms-admin.php:1375
923
- #: ../custom-contact-forms-admin.php:1497
924
- #: ../custom-contact-forms-admin.php:1520
925
  msgid "(ex: 12px, 1em, 100%)"
926
  msgstr ""
927
 
928
- #: ../custom-contact-forms-admin.php:1372
929
- #: ../custom-contact-forms-admin.php:1662
930
  msgid "Form Background Color:"
931
  msgstr ""
932
 
933
- #: ../custom-contact-forms-admin.php:1379
934
  msgid "Tooltip Background Color:"
935
  msgstr ""
936
 
937
- #: ../custom-contact-forms-admin.php:1382
938
  msgid "(ex: 000000 or black)"
939
  msgstr ""
940
 
941
- #: ../custom-contact-forms-admin.php:1388
942
- #: ../custom-contact-forms-admin.php:1760
943
  msgid "Field Border Color:"
944
  msgstr ""
945
 
946
- #: ../custom-contact-forms-admin.php:1395
947
- #: ../custom-contact-forms-admin.php:1743
948
  msgid "Form Border Style:"
949
  msgstr ""
950
 
951
- #: ../custom-contact-forms-admin.php:1403
952
- #: ../custom-contact-forms-admin.php:1755
953
  msgid "Form Border Color:"
954
  msgstr ""
955
 
956
- #: ../custom-contact-forms-admin.php:1406
957
  msgid "(ex: 000000)"
958
  msgstr ""
959
 
960
- #: ../custom-contact-forms-admin.php:1410
961
- #: ../custom-contact-forms-admin.php:1750
962
  msgid "Form Border Width:"
963
  msgstr ""
964
 
965
- #: ../custom-contact-forms-admin.php:1413
966
  msgid "(ex: 1px)"
967
  msgstr ""
968
 
969
- #: ../custom-contact-forms-admin.php:1417
970
- #: ../custom-contact-forms-admin.php:1593
971
  msgid "Form Width:"
972
  msgstr ""
973
 
974
- #: ../custom-contact-forms-admin.php:1420
975
  msgid "(ex: 100px or 50%)"
976
  msgstr ""
977
 
978
- #: ../custom-contact-forms-admin.php:1424
979
  msgid "Form Font Family:"
980
  msgstr ""
981
 
982
- #: ../custom-contact-forms-admin.php:1427
983
  msgid "(ex: Verdana, Tahoma, Arial)"
984
  msgstr ""
985
 
986
- #: ../custom-contact-forms-admin.php:1431
987
- #: ../custom-contact-forms-admin.php:1636
988
  msgid "Button Width:"
989
  msgstr ""
990
 
991
- #: ../custom-contact-forms-admin.php:1434
992
  msgid "(ex: 100px, 30%, auto)"
993
  msgstr ""
994
 
995
- #: ../custom-contact-forms-admin.php:1438
996
- #: ../custom-contact-forms-admin.php:1641
997
  msgid "Button Height:"
998
  msgstr ""
999
 
1000
- #: ../custom-contact-forms-admin.php:1441
1001
  msgid "(ex: 100px or 30%)"
1002
  msgstr ""
1003
 
1004
- #: ../custom-contact-forms-admin.php:1445
1005
- #: ../custom-contact-forms-admin.php:1682
1006
  msgid "Button Font Size:"
1007
  msgstr ""
1008
 
1009
- #: ../custom-contact-forms-admin.php:1452
1010
- #: ../custom-contact-forms-admin.php:1721
1011
  msgid "Button Font Color:"
1012
  msgstr ""
1013
 
1014
- #: ../custom-contact-forms-admin.php:1459
1015
- #: ../custom-contact-forms-admin.php:1646
1016
  msgid "Field Background Color:"
1017
  msgstr ""
1018
 
1019
- #: ../custom-contact-forms-admin.php:1466
1020
- #: ../custom-contact-forms-admin.php:1687
1021
  msgid "Form Padding:"
1022
  msgstr ""
1023
 
1024
- #: ../custom-contact-forms-admin.php:1473
1025
- #: ../custom-contact-forms-admin.php:1651
1026
  msgid "Title Margin:"
1027
  msgstr ""
1028
 
1029
- #: ../custom-contact-forms-admin.php:1480
1030
- #: ../custom-contact-forms-admin.php:1613
1031
  msgid "Dropdown Width:"
1032
  msgstr ""
1033
 
1034
- #: ../custom-contact-forms-admin.php:1483
1035
  msgid "(ex: 30px, 20%, or auto)"
1036
  msgstr ""
1037
 
1038
- #: ../custom-contact-forms-admin.php:1487
1039
  msgid "Success Popover Border Color:"
1040
  msgstr ""
1041
 
1042
- #: ../custom-contact-forms-admin.php:1494
1043
  msgid "Success Popover Font Size:"
1044
  msgstr ""
1045
 
1046
- #: ../custom-contact-forms-admin.php:1501
1047
  msgid "Success Popover Height:"
1048
  msgstr ""
1049
 
1050
- #: ../custom-contact-forms-admin.php:1504
1051
  msgid "(ex: 200px, 6em, 50%)"
1052
  msgstr ""
1053
 
1054
- #: ../custom-contact-forms-admin.php:1508
1055
- #: ../custom-contact-forms-admin.php:1779
1056
  msgid "Field Border Roundness:"
1057
  msgstr ""
1058
 
1059
- #: ../custom-contact-forms-admin.php:1511
1060
  msgid "(ex: 6px, or 0px)"
1061
  msgstr ""
1062
 
1063
- #: ../custom-contact-forms-admin.php:1515
1064
- #: ../custom-contact-forms-admin.php:1586
1065
- #: ../custom-contact-forms-admin.php:1699
1066
  msgid "Tooltip"
1067
  msgstr ""
1068
 
1069
- #: ../custom-contact-forms-admin.php:1516
1070
- #: ../custom-contact-forms-admin.php:1587
1071
- #: ../custom-contact-forms-admin.php:1700
1072
  msgid "A tooltip is the little box that fades in displaying 'Field Instructions' when a user selects a particular field."
1073
  msgstr ""
1074
 
1075
- #: ../custom-contact-forms-admin.php:1517
1076
- #: ../custom-contact-forms-admin.php:1694
1077
  msgid "Font Size:"
1078
  msgstr ""
1079
 
1080
- #: ../custom-contact-forms-admin.php:1524
1081
  msgid "Tooltip Font Color:"
1082
  msgstr ""
1083
 
1084
- #: ../custom-contact-forms-admin.php:1527
1085
  msgid "(ex: ffffff or white)"
1086
  msgstr ""
1087
 
1088
- #: ../custom-contact-forms-admin.php:1531
1089
  msgid "Create Style"
1090
  msgstr ""
1091
 
1092
- #: ../custom-contact-forms-admin.php:1539
1093
  msgid "Manage Form Styles"
1094
  msgstr ""
1095
 
1096
- #: ../custom-contact-forms-admin.php:1562
1097
  msgid "Slug:"
1098
  msgstr ""
1099
 
1100
- #: ../custom-contact-forms-admin.php:1567
1101
  msgid "Font Family:"
1102
  msgstr ""
1103
 
1104
- #: ../custom-contact-forms-admin.php:1572
1105
  msgid "Textarea Background"
1106
  msgstr ""
1107
 
1108
- #: ../custom-contact-forms-admin.php:1574
1109
  msgid "Color:"
1110
  msgstr ""
1111
 
1112
- #: ../custom-contact-forms-admin.php:1579
1113
- #: ../custom-contact-forms-admin.php:1623
1114
- #: ../custom-contact-forms-admin.php:1656
1115
- #: ../custom-contact-forms-admin.php:1692
1116
- #: ../custom-contact-forms-admin.php:1731
1117
- #: ../custom-contact-forms-admin.php:1772
1118
  msgid "Success Popover"
1119
  msgstr ""
1120
 
1121
- #: ../custom-contact-forms-admin.php:1581
1122
  msgid "Border Color:"
1123
  msgstr ""
1124
 
1125
- #: ../custom-contact-forms-admin.php:1588
1126
- #: ../custom-contact-forms-admin.php:1733
1127
  msgid "Font Color:"
1128
  msgstr ""
1129
 
1130
- #: ../custom-contact-forms-admin.php:1603
1131
  msgid "Textarea Width:"
1132
  msgstr ""
1133
 
1134
- #: ../custom-contact-forms-admin.php:1608
1135
  msgid "Textarea Height:"
1136
  msgstr ""
1137
 
1138
- #: ../custom-contact-forms-admin.php:1625
1139
  msgid "Height:"
1140
  msgstr ""
1141
 
1142
- #: ../custom-contact-forms-admin.php:1701
1143
  msgid "Background Color:"
1144
  msgstr ""
1145
 
1146
- #: ../custom-contact-forms-admin.php:1738
1147
  msgid "Tooltip Font Size:"
1148
  msgstr ""
1149
 
1150
- #: ../custom-contact-forms-admin.php:1813
1151
  msgid "Report a Bug/Suggest a Feature"
1152
  msgstr ""
1153
 
1154
- #: ../custom-contact-forms-admin.php:1821
1155
  #: ../modules/db/custom-contact-forms-default-db.php:25
1156
  msgid "Your Name:"
1157
  msgstr ""
1158
 
1159
- #: ../custom-contact-forms-admin.php:1827
1160
  msgid "Your Email:"
1161
  msgstr ""
1162
 
1163
- #: ../custom-contact-forms-admin.php:1835
1164
  msgid "Who Hosts Your Website?"
1165
  msgstr ""
1166
 
1167
- #: ../custom-contact-forms-admin.php:1841
1168
  msgid "Purpose of this message:"
1169
  msgstr ""
1170
 
1171
- #: ../custom-contact-forms-admin.php:1845
1172
  msgid "Bug Report"
1173
  msgstr ""
1174
 
1175
- #: ../custom-contact-forms-admin.php:1848
1176
  msgid "Suggest a Feature"
1177
  msgstr ""
1178
 
1179
- #: ../custom-contact-forms-admin.php:1851
1180
  msgid "Plugin Question"
1181
  msgstr ""
1182
 
1183
- #: ../custom-contact-forms-admin.php:1859
1184
  msgid "Version of Custom Contact Forms?"
1185
  msgstr ""
1186
 
1187
- #: ../custom-contact-forms-admin.php:1865
1188
  msgid "Version of WordPress?"
1189
  msgstr ""
1190
 
1191
- #: ../custom-contact-forms-admin.php:1873
1192
  #: ../modules/db/custom-contact-forms-default-db.php:31
1193
  msgid "Your Message:"
1194
  msgstr ""
1195
 
1196
- #: ../custom-contact-forms-admin.php:1879
1197
  #: ../modules/db/custom-contact-forms-default-db.php:53
1198
  msgid "Send Message"
1199
  msgstr ""
1200
 
1201
- #: ../custom-contact-forms-admin.php:1889
1202
- msgid "Custom HTML Forms (Advanced)"
1203
  msgstr ""
1204
 
1205
- #: ../custom-contact-forms-admin.php:1893
1206
  msgid ""
1207
  "If you know HTML and simply want to use this plugin to process form requests, this feature is for you. \n"
1208
  "\t\t\t\t\tThe following HTML is a the framework to which you must adhere. In order for your form to work you MUST do the following: a) Keep the form action/method the same (yes the action is supposed to be empty), b) Include all the hidden fields shown below, c) provide a \n"
1209
  "\t\t\t\t\thidden field with a success message or thank you page (both hidden fields are included below, you must choose one or the other and fill in the value part of the input field appropriately."
1210
  msgstr ""
1211
 
1212
- #: ../custom-contact-forms-admin.php:1900
1213
  msgid "Thank you for filling out our form!"
1214
  msgstr ""
1215
 
1216
- #: ../custom-contact-forms-admin.php:1905
1217
  msgid "Paste all this code into a page or post and edit it to your liking. It is recommended you only use this feature if you are experienced with HTML. The destination_email field specifies where emails will be sent on successful submission; you can have the form send to multiple addresses by separating email's with semi-colons (i.e. email@google.com; email2@google.com). The success_message field will add a popover containing the message when the form is completed successfully, the thank_you_page field will force the user to be redirected to that specific page on successful form completion. The required_fields hidden field is optional; to use it separate the field names you want required by commas. Remember to use underscores instead of spaces in field names!"
1218
  msgstr ""
1219
 
1220
- #: ../custom-contact-forms-admin.php:1915
1221
  msgid "Custom Contact Forms Plugin News"
1222
  msgstr ""
1223
 
1224
- #: ../custom-contact-forms-admin.php:1979
1225
  #: ../custom-contact-forms.php:101
1226
  msgid "Saved Form Submissions"
1227
  msgstr ""
1228
 
1229
- #: ../custom-contact-forms-admin.php:1986
1230
- #: ../custom-contact-forms-admin.php:2042
1231
  msgid "Date Submitted"
1232
  msgstr ""
1233
 
1234
- #: ../custom-contact-forms-admin.php:1987
1235
- #: ../custom-contact-forms-admin.php:2043
1236
  #: ../modules/export/custom-contact-forms-export.php:24
1237
  msgid "Form Submitted"
1238
  msgstr ""
1239
 
1240
- #: ../custom-contact-forms-admin.php:1988
1241
- #: ../custom-contact-forms-admin.php:2044
1242
  msgid "Form Page"
1243
  msgstr ""
1244
 
1245
- #: ../custom-contact-forms-admin.php:1989
1246
- #: ../custom-contact-forms-admin.php:2045
1247
  #: ../modules/export/custom-contact-forms-export.php:24
1248
  msgid "Form ID"
1249
  msgstr ""
1250
 
1251
- #: ../custom-contact-forms-admin.php:2008
1252
  msgid "Custom HTML Form"
1253
  msgstr ""
1254
 
1255
- #: ../custom-contact-forms-admin.php:2085
1256
  msgid "Your settings have been successfully saved!"
1257
  msgstr ""
1258
 
1259
- #: ../custom-contact-forms-admin.php:2090
1260
  msgid "Your mail settings have been successfully saved!"
1261
  msgstr ""
1262
 
1263
- #: ../custom-contact-forms-admin.php:2128
1264
  #: ../custom-contact-forms.php:102
1265
  msgid "General Settings"
1266
  msgstr ""
1267
 
1268
- #: ../custom-contact-forms-admin.php:2135
1269
  msgid "Email Form Submissions:"
1270
  msgstr ""
1271
 
1272
- #: ../custom-contact-forms-admin.php:2147
1273
  msgid "When a user fills out one of your forms, the info submitted is saved in the Saved Form Submission section of the admin panel for you to view. If this is enabled, you will also be sent an email containing the submission info."
1274
  msgstr ""
1275
 
1276
- #: ../custom-contact-forms-admin.php:2151
1277
  msgid "Default Email:"
1278
  msgstr ""
1279
 
1280
- #: ../custom-contact-forms-admin.php:2156
1281
  msgid "Form emails will be sent <span>to</span> this address, if no destination email is specified by the form."
1282
  msgstr ""
1283
 
1284
- #: ../custom-contact-forms-admin.php:2160
1285
  msgid "Front End JQuery:"
1286
  msgstr ""
1287
 
1288
- #: ../custom-contact-forms-admin.php:2164
1289
- #: ../custom-contact-forms-admin.php:2207
1290
- #: ../custom-contact-forms-admin.php:2313
1291
- #: ../custom-contact-forms-admin.php:2329
1292
- #: ../custom-contact-forms-admin.php:2357
1293
  msgid "Enabled"
1294
  msgstr ""
1295
 
1296
- #: ../custom-contact-forms-admin.php:2167
1297
- #: ../custom-contact-forms-admin.php:2210
1298
- #: ../custom-contact-forms-admin.php:2316
1299
  #: ../custom-contact-forms-admin.php:2332
1300
- #: ../custom-contact-forms-admin.php:2354
1301
  msgid "Disabled"
1302
  msgstr ""
1303
 
1304
- #: ../custom-contact-forms-admin.php:2172
1305
  #, php-format
1306
  msgid "Some plugins don't setup JQuery correctly, so when any other plugin uses JQuery (whether correctly or not), JQuery works for neither plugin. This plugin uses JQuery correctly. If another plugin isn't using JQuery correctly but is more important to you than this one: disable this option. 99% of this plugin's functionality will work without JQuery, just no field instruction tooltips."
1307
  msgstr ""
1308
 
1309
- #: ../custom-contact-forms-admin.php:2176
1310
  msgid "Default From Email:"
1311
  msgstr ""
1312
 
1313
- #: ../custom-contact-forms-admin.php:2181
1314
  msgid "Form emails will be sent <span>from</span> this address. It is recommended you provide a real email address that has been created through your host."
1315
  msgstr ""
1316
 
1317
- #: ../custom-contact-forms-admin.php:2185
1318
  msgid "Default From Name:"
1319
  msgstr ""
1320
 
1321
- #: ../custom-contact-forms-admin.php:2190
1322
  msgid "This setting allows you to specify the name under which form emails are sent. The default is 'Custom Contact Forms'."
1323
  msgstr ""
1324
 
1325
- #: ../custom-contact-forms-admin.php:2194
1326
  msgid "Default Email Subject:"
1327
  msgstr ""
1328
 
1329
- #: ../custom-contact-forms-admin.php:2199
1330
  msgid "Default subject to be included in all form emails."
1331
  msgstr ""
1332
 
1333
- #: ../custom-contact-forms-admin.php:2203
1334
  msgid "Enable Dashboard Widget:"
1335
  msgstr ""
1336
 
1337
- #: ../custom-contact-forms-admin.php:2214
1338
  msgid "Enabling this will display a widget on your dashboard that shows the latest form submissions."
1339
  msgstr ""
1340
 
1341
- #: ../custom-contact-forms-admin.php:2218
1342
  msgid "Dashboard Widget Accessibility:"
1343
  msgstr ""
1344
 
1345
- #: ../custom-contact-forms-admin.php:2222
1346
  msgid "Only admins can view"
1347
  msgstr ""
1348
 
1349
- #: ../custom-contact-forms-admin.php:2225
1350
  msgid "All roles except subscribers can view"
1351
  msgstr ""
1352
 
1353
- #: ../custom-contact-forms-admin.php:2228
1354
  msgid "All roles can view"
1355
  msgstr ""
1356
 
1357
- #: ../custom-contact-forms-admin.php:2232
1358
  msgid "If you are using the dashboard widget, this allows you to disallow certain users from viewing it."
1359
  msgstr ""
1360
 
1361
- #: ../custom-contact-forms-admin.php:2236
1362
  msgid "Use Code Type:"
1363
  msgstr ""
1364
 
1365
- #: ../custom-contact-forms-admin.php:2244
1366
  msgid "This lets you switch the form code between HTML and XHTML."
1367
  msgstr ""
1368
 
1369
- #: ../custom-contact-forms-admin.php:2248
1370
- msgid "Restrict Frontend JS and CSS to Form Pages Only:"
1371
- msgstr ""
1372
-
1373
- #: ../custom-contact-forms-admin.php:2259
1374
- msgid "Within each form in the form manager, you can specify the page id's on which that form will be used. If you set this to 'Yes', the plugin will only include CSS and JS files on pages/posts where a CCF form is inserted. If this is set to 'No', CSS and JS files for this plugin will be included on every page of your site except in the admin area."
1375
- msgstr ""
1376
-
1377
- #: ../custom-contact-forms-admin.php:2265
1378
  msgid "Default Form Success Message Title:"
1379
  msgstr ""
1380
 
1381
- #: ../custom-contact-forms-admin.php:2270
1382
  msgid "If someone fills out a form for which a success message title is not provided and a custom success page is not provided, the plugin will show a popover using this field as the window title."
1383
  msgstr ""
1384
 
1385
- #: ../custom-contact-forms-admin.php:2275
1386
  msgid "Default Form Success Message:"
1387
  msgstr ""
1388
 
1389
- #: ../custom-contact-forms-admin.php:2280
1390
  msgid "If someone fills out a form for which a success message is not provided and a custom success page is not provided, the plugin will show a popover containing this message."
1391
  msgstr ""
1392
 
1393
- #: ../custom-contact-forms-admin.php:2284
1394
  msgid "Default Form Error Header:"
1395
  msgstr ""
1396
 
1397
- #: ../custom-contact-forms-admin.php:2289
1398
  msgid "When a form is filled out incorrectly, this message will be displayed followed by the individual field error messages."
1399
  msgstr ""
1400
 
1401
- #: ../custom-contact-forms-admin.php:2293
1402
  msgid "Remember Field Values:"
1403
  msgstr ""
1404
 
1405
- #: ../custom-contact-forms-admin.php:2305
1406
  msgid "Selecting yes will make form fields remember how they were last filled out."
1407
  msgstr ""
1408
 
1409
- #: ../custom-contact-forms-admin.php:2309
1410
  msgid "Tooltips in Widget:"
1411
  msgstr ""
1412
 
1413
- #: ../custom-contact-forms-admin.php:2321
1414
  msgid "Enabling this shows tooltips containing field instructions on forms in the widget."
1415
  msgstr ""
1416
 
1417
- #: ../custom-contact-forms-admin.php:2325
1418
- msgid "Fancy Admin AJAX Abilities:"
1419
  msgstr ""
1420
 
1421
- #: ../custom-contact-forms-admin.php:2337
1422
- msgid "If you enable this, creating, editing and modifying forms, fields, styles, etc in the admin panel will be done using AJAX. This means that clicking things like 'Edit' or 'Delete' will not cause the page to reload thus managing your forms will be much smoother and quicker. If you are having problems with things not saving, deleting, or inserting correctly, then disable this and fill out a bug report below."
1423
  msgstr ""
1424
 
1425
- #: ../custom-contact-forms-admin.php:2341
1426
  msgid "Default Permissions Error:"
1427
  msgstr ""
1428
 
1429
- #: ../custom-contact-forms-admin.php:2346
1430
  msgid "When someone doesn't have the proper permissions to use a form, this message is displayed in place of the form. You control who can view each form with the form access manager which is located inside the form manager."
1431
  msgstr ""
1432
 
1433
- #: ../custom-contact-forms-admin.php:2350
1434
  msgid "Form Access Capabilities:"
1435
  msgstr ""
1436
 
1437
- #: ../custom-contact-forms-admin.php:2362
1438
  msgid "The form access manager within each form allows you to control who can view your form. However, that will not take effect on any of your forms unless this is enabled."
1439
  msgstr ""
1440
 
1441
- #: ../custom-contact-forms-admin.php:2366
1442
  msgid "Maximum File Upload Size:"
1443
  msgstr ""
1444
 
1445
- #: ../custom-contact-forms-admin.php:2368
1446
  msgid "MB"
1447
  msgstr ""
1448
 
1449
- #: ../custom-contact-forms-admin.php:2372
1450
  msgid "When creating file fields, you can specify maximum upload sizes for each individual field. This setting lets you set an overall cap for security reasons. It is recommended you leave this at 10 MB."
1451
  msgstr ""
1452
 
1453
- #: ../custom-contact-forms-admin.php:2375
1454
  msgid "Show Sidebar Widget:"
1455
  msgstr ""
1456
 
1457
- #: ../custom-contact-forms-admin.php:2380
1458
  msgid "On Homepage"
1459
  msgstr ""
1460
 
1461
- #: ../custom-contact-forms-admin.php:2384
1462
  msgid "On Pages"
1463
  msgstr ""
1464
 
1465
- #: ../custom-contact-forms-admin.php:2388
1466
  msgid "On Single Posts"
1467
  msgstr ""
1468
 
1469
- #: ../custom-contact-forms-admin.php:2393
1470
  msgid "On Categories"
1471
  msgstr ""
1472
 
1473
- #: ../custom-contact-forms-admin.php:2397
1474
  msgid "On Archives"
1475
  msgstr ""
1476
 
1477
- #: ../custom-contact-forms-admin.php:2402
1478
  msgid "Update"
1479
  msgstr ""
1480
 
1481
- #: ../custom-contact-forms-admin.php:2410
1482
  msgid "Mail Settings"
1483
  msgstr ""
1484
 
1485
- #: ../custom-contact-forms-admin.php:2414
1486
  msgid "There are two ways you can send emails: using the PHP mail() function or using SMTP (secure/insecure). If you choose to use the PHP mail() function you can ignore all the other options. For some people Wordpress's default way of sending mail does not work; if for some reason your mail is being sent you should try the SMTP option."
1487
  msgstr ""
1488
 
1489
- #: ../custom-contact-forms-admin.php:2415
1490
  msgid "* Send My Emails Using the Following:"
1491
  msgstr ""
1492
 
1493
- #: ../custom-contact-forms-admin.php:2417
1494
  msgid "Wordpress Default"
1495
  msgstr ""
1496
 
1497
- #: ../custom-contact-forms-admin.php:2418
1498
  msgid "SMTP"
1499
  msgstr ""
1500
 
1501
- #: ../custom-contact-forms-admin.php:2419
1502
  msgid "(If mail isn't sending, try toggling this option.)"
1503
  msgstr ""
1504
 
1505
- #: ../custom-contact-forms-admin.php:2422
1506
  msgid "SMTP Host:"
1507
  msgstr ""
1508
 
1509
- #: ../custom-contact-forms-admin.php:2423
1510
  msgid "SMTP Port:"
1511
  msgstr ""
1512
 
1513
- #: ../custom-contact-forms-admin.php:2424
1514
  msgid "Encryption:"
1515
  msgstr ""
1516
 
1517
- #: ../custom-contact-forms-admin.php:2426
1518
  msgid "SSL"
1519
  msgstr ""
1520
 
1521
- #: ../custom-contact-forms-admin.php:2427
1522
  msgid "TLS"
1523
  msgstr ""
1524
 
1525
- #: ../custom-contact-forms-admin.php:2431
1526
  msgid "SMTP Authentication:"
1527
  msgstr ""
1528
 
1529
- #: ../custom-contact-forms-admin.php:2431
1530
  msgid "None Needed"
1531
  msgstr ""
1532
 
1533
- #: ../custom-contact-forms-admin.php:2431
1534
  msgid "Use SMTP Username/Password"
1535
  msgstr ""
1536
 
1537
- #: ../custom-contact-forms-admin.php:2432
1538
  msgid "SMTP Username:"
1539
  msgstr ""
1540
 
1541
- #: ../custom-contact-forms-admin.php:2433
1542
  msgid "SMTP Password:"
1543
  msgstr ""
1544
 
1545
- #: ../custom-contact-forms-admin.php:2436
1546
  msgid "Save Mail Sending Options"
1547
  msgstr ""
1548
 
1549
- #: ../custom-contact-forms-admin.php:2442
1550
  msgid "Export"
1551
  msgstr ""
1552
 
1553
- #: ../custom-contact-forms-admin.php:2449
1554
  msgid ""
1555
  "Preforming this export will create a file of the form \n"
1556
  "\t\t\t\t\t\tccf-export-xxxx.sql on your web server. The file created contains SQL that \n"
1557
  "\t\t\t\t\t\twill recreate all the plugin data on any Wordpress installation. After Custom Contact Forms creates the export file, you will be prompted to download it. You can use this file as a backup in case your Wordpress database gets ruined."
1558
  msgstr ""
1559
 
1560
- #: ../custom-contact-forms-admin.php:2453
1561
  msgid "Export All CCF Plugin Content"
1562
  msgstr ""
1563
 
1564
- #: ../custom-contact-forms-admin.php:2456
1565
  msgid "You can export your form submissions in to a convienent format. Clicking the button below will prompt you to download a .CSV file that contains all your saved form submissions. Since this export contains multiple forms that are assumed to have different fields, this export will only contain the value of each field and not the name of that field."
1566
  msgstr ""
1567
 
1568
- #: ../custom-contact-forms-admin.php:2457
1569
  msgid "Export All Saved Form Submissions to CSV"
1570
  msgstr ""
1571
 
1572
- #: ../custom-contact-forms-admin.php:2460
1573
  msgid "You can also export only submissions from certain forms in to CSV format. This CSV export will probably more useful to you because it will contain the name of fields as well as the values. This export works best on forms that have fields that have remained completely constant throughout submission."
1574
  msgstr ""
1575
 
1576
- #: ../custom-contact-forms-admin.php:2461
1577
  msgid "Export This Form's Submissions to CSV"
1578
  msgstr ""
1579
 
1580
- #: ../custom-contact-forms-admin.php:2468
1581
  msgid "Import"
1582
  msgstr ""
1583
 
1584
- #: ../custom-contact-forms-admin.php:2474
1585
  msgid "Browse to a CCF .sql export file to import Custom Contact Form data from another Wordpress installation to this one. Pressing the 'Clear and Import' button deletes all current data and then imports the selected file; this will not work for merging to data!. Clearing all CCF data before importing prevents any conflicts from occuring. Before you attempt an import, you should always download a backup, by clicking the 'Export All' button."
1586
  msgstr ""
1587
 
1588
- #: ../custom-contact-forms-admin.php:2477
1589
  msgid "Choose What You Want to Use from the Import File:"
1590
  msgstr ""
1591
 
1592
- #: ../custom-contact-forms-admin.php:2483
1593
  msgid "Use General Settings"
1594
  msgstr ""
1595
 
1596
- #: ../custom-contact-forms-admin.php:2495
1597
  msgid "Form Submissions"
1598
  msgstr ""
1599
 
1600
- #: ../custom-contact-forms-admin.php:2525
1601
  msgid "Choose an Import File:"
1602
  msgstr ""
1603
 
1604
- #: ../custom-contact-forms-admin.php:2529
1605
  msgid "Clear and Import"
1606
  msgstr ""
1607
 
1608
- #: ../custom-contact-forms-admin.php:2531
1609
  msgid "Yes, I want to do this and have created a backup."
1610
  msgstr ""
1611
 
@@ -1622,7 +1563,7 @@ msgid "(required)"
1622
  msgstr ""
1623
 
1624
  #: ../custom-contact-forms-front.php:349
1625
- #: ../custom-contact-forms-front.php:375
1626
  msgid "An error occured while uploading: "
1627
  msgstr ""
1628
 
@@ -1634,47 +1575,47 @@ msgstr ""
1634
  msgid " KB."
1635
  msgstr ""
1636
 
1637
- #: ../custom-contact-forms-front.php:354
1638
  msgid " is an invalid file extension."
1639
  msgstr ""
1640
 
1641
- #: ../custom-contact-forms-front.php:384
1642
  msgid "You left this field blank: "
1643
  msgstr ""
1644
 
1645
- #: ../custom-contact-forms-front.php:385
1646
  msgid "Form Displayed on Page: "
1647
  msgstr ""
1648
 
1649
- #: ../custom-contact-forms-front.php:386
1650
  msgid "Sender IP: "
1651
  msgstr ""
1652
 
1653
- #: ../custom-contact-forms-front.php:462
1654
  msgid "Only humans can use this form."
1655
  msgstr ""
1656
 
1657
- #: ../custom-contact-forms-front.php:468
1658
  msgid "You copied the number from the captcha field incorrectly."
1659
  msgstr ""
1660
 
1661
- #: ../custom-contact-forms-front.php:474
1662
  msgid "The email address you provided is not valid."
1663
  msgstr ""
1664
 
1665
- #: ../custom-contact-forms-front.php:480
1666
  msgid "The website address you provided is not valid."
1667
  msgstr ""
1668
 
1669
- #: ../custom-contact-forms-front.php:537
1670
  msgid "Not Checked"
1671
  msgstr ""
1672
 
1673
- #: ../custom-contact-forms-front.php:583
1674
  msgid "To view the message, please use an HTML compatible email viewer."
1675
  msgstr ""
1676
 
1677
- #: ../custom-contact-forms-front.php:608
1678
  msgid "Captcha image for Custom Contact Forms plugin. You must type the numbers shown in the image"
1679
  msgstr ""
1680
 
@@ -1770,6 +1711,10 @@ msgstr ""
1770
  msgid "Please enter your website."
1771
  msgstr ""
1772
 
 
 
 
 
1773
  #: ../modules/db/custom-contact-forms-activate-db.php:226
1774
  msgid "Please enter a subject for the email."
1775
  msgstr ""
@@ -1786,7 +1731,7 @@ msgstr ""
1786
  msgid "Select a Country"
1787
  msgstr ""
1788
 
1789
- #: ../modules/db/custom-contact-forms-db.php:422
1790
  msgid "Non-Registered User"
1791
  msgstr ""
1792
 
@@ -1855,7 +1800,7 @@ msgid "Contact Form"
1855
  msgstr ""
1856
 
1857
  #: ../modules/db/custom-contact-forms-default-db.php:53
1858
- msgid "Thank you for filling out our contact form. We will contact you very soon by the way you specified."
1859
  msgstr ""
1860
 
1861
  #: ../modules/db/custom-contact-forms-default-db.php:54
@@ -1927,10 +1872,6 @@ msgstr ""
1927
  msgid "Fixed Fields"
1928
  msgstr ""
1929
 
1930
- #: ../modules/usage_popover/custom-contact-forms-usage-popover.php:20
1931
- msgid "Custom HTML Forms"
1932
- msgstr ""
1933
-
1934
  #: ../modules/usage_popover/custom-contact-forms-usage-popover.php:23
1935
  msgid "Import/Export"
1936
  msgstr ""
@@ -2230,6 +2171,10 @@ msgstr ""
2230
  msgid "Here, you can specify the text that shows on the submit button."
2231
  msgstr ""
2232
 
 
 
 
 
2233
  #: ../modules/usage_popover/custom-contact-forms-usage-popover.php:281
2234
  msgid "If unsure, leave blank. This field allows you to insert custom HTML directly after the starting form tag."
2235
  msgstr ""
@@ -2358,7 +2303,23 @@ msgstr ""
2358
  msgid "This exports all custom contact form data including your general settings in SQL format. This is allows you to easily create backups."
2359
  msgstr ""
2360
 
 
 
 
 
 
 
 
 
2361
  #: ../modules/usage_popover/custom-contact-forms-usage-popover.php:389
 
 
 
 
 
 
 
 
2362
  msgid "More import/export methods will be added in the future. Always create a backup before attempting an import! * Note: If you are having problems getting the importer/exporter to work, try CHMODing the import/ and export/ directories to 0777."
2363
  msgstr ""
2364
 
2
  msgstr ""
3
  "Project-Id-Version: custom-contact-forms\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-03-20 11:25-0500\n"
6
+ "PO-Revision-Date: 2012-03-20 11:25-0500\n"
7
  "Last-Translator: Taylor Lovett <admin@taylorlovett.com>\n"
8
  "Language-Team: TaylorLovett.com <admin@taylorlovett.com>\n"
9
  "MIME-Version: 1.0\n"
28
  msgid "Settings"
29
  msgstr ""
30
 
31
+ #: ../custom-contact-forms-admin.php:130
32
+ #: ../custom-contact-forms-admin.php:203
33
  msgid "Nothing to show."
34
  msgstr ""
35
 
36
+ #: ../custom-contact-forms-admin.php:159
37
  msgid "Invalid request."
38
  msgstr ""
39
 
40
+ #: ../custom-contact-forms-admin.php:192
41
  msgid "Attaching"
42
  msgstr ""
43
 
44
+ #: ../custom-contact-forms-admin.php:193
45
  msgid "Detaching"
46
  msgstr ""
47
 
48
+ #: ../custom-contact-forms-admin.php:194
49
+ #: ../custom-contact-forms-admin.php:544
50
+ #: ../custom-contact-forms-admin.php:664
51
+ #: ../custom-contact-forms-admin.php:846
52
+ #: ../custom-contact-forms-admin.php:963
53
+ #: ../custom-contact-forms-admin.php:1029
54
+ #: ../custom-contact-forms-admin.php:1098
55
+ #: ../custom-contact-forms-admin.php:1148
56
+ #: ../custom-contact-forms-admin.php:1167
57
+ #: ../custom-contact-forms-admin.php:1580
58
+ #: ../custom-contact-forms-admin.php:1796
59
+ msgid "Save"
60
  msgstr ""
61
 
62
+ #: ../custom-contact-forms-admin.php:195
63
+ #: ../custom-contact-forms-admin.php:606
64
+ #: ../custom-contact-forms-admin.php:911
65
  msgid "Attach"
66
  msgstr ""
67
 
68
+ #: ../custom-contact-forms-admin.php:196
69
  msgid "Saving"
70
  msgstr ""
71
 
72
+ #: ../custom-contact-forms-admin.php:197
73
  msgid "More Options"
74
  msgstr ""
75
 
76
+ #: ../custom-contact-forms-admin.php:198
77
+ #: ../custom-contact-forms-admin.php:2005
78
  msgid "Expand"
79
  msgstr ""
80
 
81
+ #: ../custom-contact-forms-admin.php:199
82
  msgid "Click to Confirm"
83
  msgstr ""
84
 
85
+ #: ../custom-contact-forms-admin.php:201
86
  msgid "Are you sure you want to delete this"
87
  msgstr ""
88
 
89
+ #: ../custom-contact-forms-admin.php:202
90
  msgid "An error has occured. Please try again later."
91
  msgstr ""
92
 
93
+ #: ../custom-contact-forms-admin.php:204
94
  msgid "Nothing Attached!"
95
  msgstr ""
96
 
97
+ #: ../custom-contact-forms-admin.php:205
98
+ msgid "No Fields"
99
+ msgstr ""
100
+
101
+ #: ../custom-contact-forms-admin.php:245
102
  msgid "A new form was successfully created!"
103
  msgstr ""
104
 
105
+ #: ../custom-contact-forms-admin.php:248
106
  msgid "A new field was successful created!"
107
  msgstr ""
108
 
109
+ #: ../custom-contact-forms-admin.php:251
110
  msgid "A new field option was successful created!"
111
  msgstr ""
112
 
113
+ #: ../custom-contact-forms-admin.php:254
114
  msgid "A new style was successful created!"
115
  msgstr ""
116
 
117
+ #: ../custom-contact-forms-admin.php:307
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
118
  msgid "Rate This Plugin"
119
  msgstr ""
120
 
121
+ #: ../custom-contact-forms-admin.php:308
122
  msgid "We need your help to continue development! Please <span>rate this plugin</span> to show your support."
123
  msgstr ""
124
 
125
+ #: ../custom-contact-forms-admin.php:331
126
  msgid "Default content has been inserted!"
127
  msgstr ""
128
 
129
+ #: ../custom-contact-forms-admin.php:334
130
  msgid "Your message has been sent!"
131
  msgstr ""
132
 
133
+ #: ../custom-contact-forms-admin.php:348
134
+ #: ../custom-contact-forms-admin.php:1943
135
+ #: ../custom-contact-forms-admin.php:2091
136
+ #: ../custom-contact-forms-front.php:567
137
  #: ../custom-contact-forms.php:99
138
  #: ../custom-contact-forms.php:100
139
  msgid "Custom Contact Forms"
140
  msgstr ""
141
 
142
+ #: ../custom-contact-forms-admin.php:356
143
+ #: ../custom-contact-forms-admin.php:2467
144
+ #: ../custom-contact-forms-admin.php:2485
145
  msgid "Forms"
146
  msgstr ""
147
 
148
+ #: ../custom-contact-forms-admin.php:357
149
+ #: ../custom-contact-forms-admin.php:2479
150
  msgid "Fields"
151
  msgstr ""
152
 
153
+ #: ../custom-contact-forms-admin.php:358
154
+ #: ../custom-contact-forms-admin.php:2491
155
  msgid "Field Options"
156
  msgstr ""
157
 
158
+ #: ../custom-contact-forms-admin.php:359
159
+ #: ../custom-contact-forms-admin.php:2497
160
  msgid "Styles"
161
  msgstr ""
162
 
163
+ #: ../custom-contact-forms-admin.php:360
164
  msgid "Support"
165
  msgstr ""
166
 
167
+ #: ../custom-contact-forms-admin.php:361
168
  msgid "Advanced"
169
  msgstr ""
170
 
171
+ #: ../custom-contact-forms-admin.php:362
172
  msgid "News"
173
  msgstr ""
174
 
175
+ #: ../custom-contact-forms-admin.php:364
176
  msgid "Custom Contact Forms works best with any of the 20+ "
177
  msgstr ""
178
 
179
+ #: ../custom-contact-forms-admin.php:364
180
  msgid "Genesis"
181
  msgstr ""
182
 
183
+ #: ../custom-contact-forms-admin.php:364
184
  msgid "Wordpress child themes. The"
185
  msgstr ""
186
 
187
+ #: ../custom-contact-forms-admin.php:364
188
  msgid "Genesis Framework"
189
  msgstr ""
190
 
191
+ #: ../custom-contact-forms-admin.php:364
192
  msgid "empowers you to quickly and easily build incredible websites with WordPress."
193
  msgstr ""
194
 
195
+ #: ../custom-contact-forms-admin.php:374
196
  msgid "WP Blogging Tips, Downloads, SEO Tricks & Exclusive Tutorials"
197
  msgstr ""
198
 
199
+ #: ../custom-contact-forms-admin.php:388
200
  msgid "Create A Form"
201
  msgstr ""
202
 
203
+ #: ../custom-contact-forms-admin.php:396
204
  msgid "Form Slug:"
205
  msgstr ""
206
 
207
+ #: ../custom-contact-forms-admin.php:400
208
  msgid "This is just a unique way for CCF to refer to your form. Must be unique from other slugs and contain only underscores and alphanumeric characters."
209
  msgstr ""
210
 
211
+ #: ../custom-contact-forms-admin.php:404
212
  msgid "Form Title:"
213
  msgstr ""
214
 
215
+ #: ../custom-contact-forms-admin.php:407
216
  msgid "This text is displayed above the form as the heading."
217
  msgstr ""
218
 
219
+ #: ../custom-contact-forms-admin.php:411
220
  msgid "Form Style:"
221
  msgstr ""
222
 
223
+ #: ../custom-contact-forms-admin.php:418
224
  msgid "Submit Button Text:"
225
  msgstr ""
226
 
227
+ #: ../custom-contact-forms-admin.php:424
228
  msgid "Form Destination Email:"
229
  msgstr ""
230
 
231
+ #: ../custom-contact-forms-admin.php:428
232
+ msgid "Will receive all submissions from this form; if left blank it will use the default specified in general settings. You can have form submissions sent to multiple emails by separating them with semicolons."
233
  msgstr ""
234
 
235
+ #: ../custom-contact-forms-admin.php:432
236
  msgid "Form Email Subject:"
237
  msgstr ""
238
 
239
+ #: ../custom-contact-forms-admin.php:436
240
  msgid "When submitted and configured accordingly, the form will send an email with this subject."
241
  msgstr ""
242
 
243
+ #: ../custom-contact-forms-admin.php:440
244
  msgid "Form Email Name:"
245
  msgstr ""
246
 
247
+ #: ../custom-contact-forms-admin.php:444
248
  msgid "When submitted and configured accordingly, the form will send an email with this as the email 'from name'."
249
  msgstr ""
250
 
251
+ #: ../custom-contact-forms-admin.php:450
252
  msgid "Form Success Message:"
253
  msgstr ""
254
 
255
+ #: ../custom-contact-forms-admin.php:454
256
+ #: ../custom-contact-forms-admin.php:462
257
  msgid "Will be displayed in a popover when the form is filled out successfully when no custom success page is specified; if left blank it will use the default specified in general settings."
258
  msgstr ""
259
 
260
+ #: ../custom-contact-forms-admin.php:458
261
  msgid "Form Success Message Title:"
262
  msgstr ""
263
 
264
+ #: ../custom-contact-forms-admin.php:466
265
  msgid "Custom Success URL:"
266
  msgstr ""
267
 
268
+ #: ../custom-contact-forms-admin.php:470
269
  msgid "If this is filled out, users will be sent to this page when they successfully fill out this form. If it is left blank, a popover showing the form's 'success message' will be displayed on form success."
270
  msgstr ""
271
 
272
+ #: ../custom-contact-forms-admin.php:473
273
  msgid "Who Can View This Form:"
274
  msgstr ""
275
 
276
+ #: ../custom-contact-forms-admin.php:489
277
  msgid "Choose which types of users should be able to view this form."
278
  msgstr ""
279
 
280
+ #: ../custom-contact-forms-admin.php:493
281
  msgid "Create Form"
282
  msgstr ""
283
 
284
+ #: ../custom-contact-forms-admin.php:495
285
  msgid "You should go to the form manager to attach fields to this form after you create it."
286
  msgstr ""
287
 
288
+ #: ../custom-contact-forms-admin.php:503
289
  msgid "Manage Forms"
290
  msgstr ""
291
 
292
+ #: ../custom-contact-forms-admin.php:511
293
+ #: ../custom-contact-forms-admin.php:653
294
  msgid "Form Display Code"
295
  msgstr ""
296
 
297
+ #: ../custom-contact-forms-admin.php:512
298
+ #: ../custom-contact-forms-admin.php:654
299
+ msgid "Theme Display Code"
 
 
 
 
 
 
300
  msgstr ""
301
 
302
+ #: ../custom-contact-forms-admin.php:513
303
+ #: ../custom-contact-forms-admin.php:655
304
+ #: ../custom-contact-forms-admin.php:810
305
+ #: ../custom-contact-forms-admin.php:952
306
+ #: ../custom-contact-forms-admin.php:977
307
+ #: ../custom-contact-forms-admin.php:1087
308
+ #: ../custom-contact-forms-admin.php:1115
309
+ #: ../custom-contact-forms-admin.php:1125
310
+ msgid "Slug"
311
  msgstr ""
312
 
313
+ #: ../custom-contact-forms-admin.php:514
314
+ #: ../custom-contact-forms-admin.php:656
315
  msgid "Title"
316
  msgstr ""
317
 
318
+ #: ../custom-contact-forms-admin.php:515
319
+ #: ../custom-contact-forms-admin.php:657
 
 
 
 
 
320
  msgid "Style"
321
  msgstr ""
322
 
323
+ #: ../custom-contact-forms-admin.php:545
324
+ #: ../custom-contact-forms-admin.php:665
325
+ #: ../custom-contact-forms-admin.php:847
326
+ #: ../custom-contact-forms-admin.php:964
327
+ #: ../custom-contact-forms-admin.php:1149
328
+ #: ../custom-contact-forms-admin.php:1168
329
+ #: ../custom-contact-forms-admin.php:1581
330
+ #: ../custom-contact-forms-admin.php:1797
331
+ #: ../custom-contact-forms-admin.php:2006
332
+ #: ../custom-contact-forms-admin.php:2046
333
+ msgid "Delete"
334
  msgstr ""
335
 
336
+ #: ../custom-contact-forms-admin.php:546
337
+ #: ../custom-contact-forms-admin.php:848
338
+ #: ../custom-contact-forms-admin.php:1030
339
+ msgid "Options"
340
  msgstr ""
341
 
342
+ #: ../custom-contact-forms-admin.php:556
343
+ msgid "Form submissions will be emailed to this address."
344
  msgstr ""
345
 
346
+ #: ../custom-contact-forms-admin.php:557
347
+ msgid "This is the form email subject sent to the destination email address. If left blank, the default from General Settings will be used."
348
  msgstr ""
349
 
350
+ #: ../custom-contact-forms-admin.php:558
351
+ msgid "This is the from name of the email sent on successful form submission. If left blank, the default from General Settings will be used."
352
  msgstr ""
353
 
354
+ #: ../custom-contact-forms-admin.php:562
355
  msgid "The Form Method is the method by which information is transfer through your form. If you aren't an expert with HTML and PHP, leave this as Post."
356
  msgstr ""
357
 
358
+ #: ../custom-contact-forms-admin.php:565
359
  msgid "This lets you process your forms through alternate scripts. If you use a service like InfusionSoft or Aweber, set this to be the same form action as the code provided to you by that service, otherwise leave this blank."
360
  msgstr ""
361
 
362
+ #: ../custom-contact-forms-admin.php:566
363
+ msgid "Insert the page id's that your form will be used on. This will make it so the plugin will only load JS and CSS files on these select pages. This will improve your site's load time."
 
 
 
 
 
 
 
 
364
  msgstr ""
365
 
366
+ #: ../custom-contact-forms-admin.php:567
367
+ msgid "If you want to show this form to only certain types of users, you can uncheck boxes accordingly. To show this form to anyone, check all the boxes. This will only take effect if 'Form Access Capabilities' is enabled in general settings."
368
  msgstr ""
369
 
370
+ #: ../custom-contact-forms-admin.php:586
371
  msgid "If this is filled out, users will be sent to this thank you page when they successfully fill out this form. If it is left blank, a popover showing the form's 'success message' will be displayed on form success."
372
  msgstr ""
373
 
374
+ #: ../custom-contact-forms-admin.php:587
375
+ msgid "This will be displayed as the header in a popover when the form is filled out successfully when no custom success page is specified; if left blank it will use the default specified in general settings."
376
  msgstr ""
377
 
378
+ #: ../custom-contact-forms-admin.php:588
379
+ msgid "This will be displayed in a popover when the form is filled out successfully when no custom success page is specified; if left blank it will use the default specified in general settings."
380
  msgstr ""
381
 
382
+ #: ../custom-contact-forms-admin.php:593
383
+ msgid "This text will display on the form submit button."
384
  msgstr ""
385
 
386
+ #: ../custom-contact-forms-admin.php:594
387
+ msgid "This field allows you to insert HTML directly after the starting <form> tag."
388
  msgstr ""
389
 
390
+ #: ../custom-contact-forms-admin.php:602
391
+ msgid "Add A Field:"
392
  msgstr ""
393
 
394
+ #: ../custom-contact-forms-admin.php:609
395
+ msgid "Attach fixed fields or ones you"
396
  msgstr ""
397
 
398
+ #: ../custom-contact-forms-admin.php:611
399
+ #: ../custom-contact-forms-admin.php:916
400
+ msgid "create"
401
  msgstr ""
402
 
403
+ #: ../custom-contact-forms-admin.php:616
404
  msgid "Attached Fields:"
405
  msgstr ""
406
 
407
+ #: ../custom-contact-forms-admin.php:631
408
+ msgid "Save Field Configuration"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
409
  msgstr ""
410
 
411
+ #: ../custom-contact-forms-admin.php:643
412
+ #: ../custom-contact-forms-admin.php:742
413
+ #: ../custom-contact-forms-admin.php:838
414
+ #: ../custom-contact-forms-admin.php:1011
415
+ #: ../custom-contact-forms-admin.php:1021
416
+ #: ../custom-contact-forms-admin.php:1144
417
+ #: ../custom-contact-forms-admin.php:1209
418
+ #: ../custom-contact-forms-admin.php:2132
419
+ #: ../custom-contact-forms-admin.php:2276
420
+ #: ../custom-contact-forms-admin.php:2308
421
  #: ../modules/db/custom-contact-forms-default-db.php:39
422
  msgid "Yes"
423
  msgstr ""
424
 
425
+ #: ../custom-contact-forms-admin.php:643
426
+ #: ../custom-contact-forms-admin.php:739
427
+ #: ../custom-contact-forms-admin.php:841
428
+ #: ../custom-contact-forms-admin.php:1014
429
+ #: ../custom-contact-forms-admin.php:1144
430
+ #: ../custom-contact-forms-admin.php:1209
431
+ #: ../custom-contact-forms-admin.php:2135
432
+ #: ../custom-contact-forms-admin.php:2279
433
+ #: ../custom-contact-forms-admin.php:2311
434
  msgid "No"
435
  msgstr ""
436
 
437
+ #: ../custom-contact-forms-admin.php:663
438
+ #: ../custom-contact-forms-admin.php:962
439
+ #: ../custom-contact-forms-admin.php:1097
440
+ #: ../custom-contact-forms-admin.php:1166
441
+ #: ../custom-contact-forms-admin.php:1795
442
+ #: ../custom-contact-forms-admin.php:2045
 
 
 
 
443
  msgid "Bulk Actions"
444
  msgstr ""
445
 
446
+ #: ../custom-contact-forms-admin.php:666
447
+ #: ../custom-contact-forms-admin.php:965
448
+ #: ../custom-contact-forms-admin.php:1099
449
+ #: ../custom-contact-forms-admin.php:1169
450
+ #: ../custom-contact-forms-admin.php:1798
451
+ #: ../custom-contact-forms-admin.php:2047
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
452
  msgid "Apply"
453
  msgstr ""
454
 
455
+ #: ../custom-contact-forms-admin.php:674
456
  msgid "Create A Form Field"
457
  msgstr ""
458
 
459
+ #: ../custom-contact-forms-admin.php:682
460
  msgid "Field Slug:"
461
  msgstr ""
462
 
463
+ #: ../custom-contact-forms-admin.php:686
464
  msgid "This is just a unique way for CCF to refer to your field. Must be unique from other slugs and contain only underscores and alphanumeric characters."
465
  msgstr ""
466
 
467
+ #: ../custom-contact-forms-admin.php:690
468
  msgid "Field Label:"
469
  msgstr ""
470
 
471
+ #: ../custom-contact-forms-admin.php:694
472
  msgid "The field label is displayed next to the field and is visible to the user."
473
  msgstr ""
474
 
475
+ #: ../custom-contact-forms-admin.php:698
476
  msgid "Field Type:"
477
  msgstr ""
478
 
479
+ #: ../custom-contact-forms-admin.php:713
480
  msgid "Initial Value:"
481
  msgstr ""
482
 
483
+ #: ../custom-contact-forms-admin.php:717
484
  msgid ""
485
  "This is the initial value of the field. If you set the type as checkbox, it is recommend you set this to what the checkbox is implying. For example if I were creating the checkbox \n"
486
  "\t\t\t\t\t\t'Are you human?', I would set the initial value to 'Yes'."
487
  msgstr ""
488
 
489
+ #: ../custom-contact-forms-admin.php:719
490
  msgid "If you set the field type as 'Dropdown' or 'Radio', you should enter the slug of the"
491
  msgstr ""
492
 
493
+ #: ../custom-contact-forms-admin.php:720
494
  msgid "Create a Field Option"
495
  msgstr ""
496
 
497
+ #: ../custom-contact-forms-admin.php:720
498
  msgid "field option"
499
  msgstr ""
500
 
501
+ #: ../custom-contact-forms-admin.php:721
502
  msgid "you would like initially selected."
503
  msgstr ""
504
 
505
+ #: ../custom-contact-forms-admin.php:725
506
+ #: ../custom-contact-forms-admin.php:878
507
+ #: ../custom-contact-forms-admin.php:1070
508
  msgid "Max Length:"
509
  msgstr ""
510
 
511
+ #: ../custom-contact-forms-admin.php:729
512
  msgid "0 for no limit; only applies to Text fields"
513
  msgstr ""
514
 
515
+ #: ../custom-contact-forms-admin.php:735
516
  msgid "Required Field:"
517
  msgstr ""
518
 
519
+ #: ../custom-contact-forms-admin.php:746
520
  msgid "If a field is required and a user leaves it blank, the plugin will display an error message (which you can customize using 'Field Error') explaining the problem."
521
  msgstr ""
522
 
523
+ #: ../custom-contact-forms-admin.php:750
524
+ #: ../custom-contact-forms-admin.php:858
525
+ #: ../custom-contact-forms-admin.php:1047
526
  msgid "Field Instructions:"
527
  msgstr ""
528
 
529
+ #: ../custom-contact-forms-admin.php:754
530
+ #: ../custom-contact-forms-admin.php:857
531
+ #: ../custom-contact-forms-admin.php:1046
532
  msgid "If this is filled out, a tooltip popover displaying this text will show when the field is selected."
533
  msgstr ""
534
 
535
+ #: ../custom-contact-forms-admin.php:758
536
+ #: ../custom-contact-forms-admin.php:872
537
+ #: ../custom-contact-forms-admin.php:1039
538
+ #: ../custom-contact-forms-admin.php:1062
539
  msgid "Field Class:"
540
  msgstr ""
541
 
542
+ #: ../custom-contact-forms-admin.php:762
543
  msgid "If you manage your own .css stylesheet, you can use this to attach a class to this field. Leaving this blank will do nothing."
544
  msgstr ""
545
 
546
+ #: ../custom-contact-forms-admin.php:766
547
+ #: ../custom-contact-forms-admin.php:865
548
+ #: ../custom-contact-forms-admin.php:1054
549
  msgid "Field Error:"
550
  msgstr ""
551
 
552
+ #: ../custom-contact-forms-admin.php:770
553
  msgid "If a user leaves this field blank and the field is required, this error message will be shown. A generic default will show if left blank."
554
  msgstr ""
555
 
556
+ #: ../custom-contact-forms-admin.php:774
557
  msgid "Max File Size Allowed:"
558
  msgstr ""
559
 
560
+ #: ../custom-contact-forms-admin.php:776
561
+ #: ../custom-contact-forms-admin.php:886
562
  msgid "KB"
563
  msgstr ""
564
 
565
+ #: ../custom-contact-forms-admin.php:778
566
  msgid "If a user tries to upload a file larger than the max upload size, an error message will be displayed."
567
  msgstr ""
568
 
569
+ #: ../custom-contact-forms-admin.php:782
570
  msgid "Allowed File Extensions for Upload:"
571
  msgstr ""
572
 
573
+ #: ../custom-contact-forms-admin.php:786
574
+ msgid "If a user tries to upload a file with an extension not in this list, an error will be shown. Separate file extensions with a comma. Ex: doc, jpg, jpeg, txt. If left blank, all extensions will be allowed."
575
  msgstr ""
576
 
577
+ #: ../custom-contact-forms-admin.php:791
578
  msgid "Create Field"
579
  msgstr ""
580
 
581
+ #: ../custom-contact-forms-admin.php:793
582
  msgid "If this is a dropdown or radio field, you should go to the field manager below to attach field options after you create it."
583
  msgstr ""
584
 
585
+ #: ../custom-contact-forms-admin.php:802
586
  msgid "Manage User Fields"
587
  msgstr ""
588
 
589
+ #: ../custom-contact-forms-admin.php:811
590
+ #: ../custom-contact-forms-admin.php:953
591
+ #: ../custom-contact-forms-admin.php:978
592
+ #: ../custom-contact-forms-admin.php:1088
593
+ #: ../custom-contact-forms-admin.php:1116
594
+ #: ../custom-contact-forms-admin.php:1126
595
  msgid "Label"
596
  msgstr ""
597
 
598
+ #: ../custom-contact-forms-admin.php:812
599
+ #: ../custom-contact-forms-admin.php:954
600
+ #: ../custom-contact-forms-admin.php:979
601
+ #: ../custom-contact-forms-admin.php:1089
602
  msgid "Type"
603
  msgstr ""
604
 
605
+ #: ../custom-contact-forms-admin.php:813
606
+ #: ../custom-contact-forms-admin.php:955
607
+ #: ../custom-contact-forms-admin.php:980
608
+ #: ../custom-contact-forms-admin.php:1090
609
  msgid "Initial Value"
610
  msgstr ""
611
 
612
+ #: ../custom-contact-forms-admin.php:814
613
+ #: ../custom-contact-forms-admin.php:956
614
+ #: ../custom-contact-forms-admin.php:981
615
+ #: ../custom-contact-forms-admin.php:1091
616
  msgid "Required"
617
  msgstr ""
618
 
619
+ #: ../custom-contact-forms-admin.php:864
620
+ #: ../custom-contact-forms-admin.php:1053
621
+ msgid "This lets you customize the error message displayed when this field is required and left blank."
 
 
622
  msgstr ""
623
 
624
+ #: ../custom-contact-forms-admin.php:871
625
+ #: ../custom-contact-forms-admin.php:1038
626
+ #: ../custom-contact-forms-admin.php:1061
627
+ #: ../custom-contact-forms-admin.php:1069
628
  msgid "If you manage a .CSS file for your theme, you could create a class in that file and add it to this field. If the form attaching this field is using a \"Form Style\" other than the default, styles inherited from the \"Field Class\" might be overwritten."
629
  msgstr ""
630
 
631
+ #: ../custom-contact-forms-admin.php:877
632
+ msgid "Max length allows you to set a cap on the amount of characters a user can submit."
 
633
  msgstr ""
634
 
635
+ #: ../custom-contact-forms-admin.php:884
636
  msgid "If a user tries to upload a file greater than the value in this field, an error will be shown. Upload size is in KB. If this is left blank or set to 0, then there will be no maximum file size for this field."
637
  msgstr ""
638
 
639
+ #: ../custom-contact-forms-admin.php:885
640
+ msgid "Max Upload Size:"
641
  msgstr ""
642
 
643
+ #: ../custom-contact-forms-admin.php:888
644
  msgid "If a user tries to upload a file with an extension not in this list, an error will be shown. If this is left blank, then all file extensions will be accepted. Separate file extensions with a comma. Ex: doc, jpg, jpeg, bmp, gif, txt"
645
  msgstr ""
646
 
647
+ #: ../custom-contact-forms-admin.php:889
648
+ msgid "Allowed File Extensions:"
649
+ msgstr ""
650
+
651
+ #: ../custom-contact-forms-admin.php:900
652
+ msgid "Add A Field Option:"
653
+ msgstr ""
654
+
655
+ #: ../custom-contact-forms-admin.php:914
656
+ msgid "Attach field options you "
657
  msgstr ""
658
 
659
+ #: ../custom-contact-forms-admin.php:921
660
+ msgid "Attached Field Options:"
661
  msgstr ""
662
 
663
+ #: ../custom-contact-forms-admin.php:936
664
+ msgid "Save Option Configuration"
665
  msgstr ""
666
 
667
+ #: ../custom-contact-forms-admin.php:969
668
  msgid "Manage Fixed Fields"
669
  msgstr ""
670
 
671
+ #: ../custom-contact-forms-admin.php:997
672
+ #: ../custom-contact-forms-admin.php:2403
 
673
  msgid "None"
674
  msgstr ""
675
 
676
+ #: ../custom-contact-forms-admin.php:1106
677
  msgid "Manage Field Options"
678
  msgstr ""
679
 
680
+ #: ../custom-contact-forms-admin.php:1117
681
+ #: ../custom-contact-forms-admin.php:1127
682
  msgid "Value"
683
  msgstr ""
684
 
685
+ #: ../custom-contact-forms-admin.php:1118
686
+ #: ../custom-contact-forms-admin.php:1128
687
  msgid "Is Dead"
688
  msgstr ""
689
 
690
+ #: ../custom-contact-forms-admin.php:1158
691
  msgid "No field options have been created."
692
  msgstr ""
693
 
694
+ #: ../custom-contact-forms-admin.php:1177
695
  msgid "Create A Field Option"
696
  msgstr ""
697
 
698
+ #: ../custom-contact-forms-admin.php:1185
699
  msgid "Option Slug:"
700
  msgstr ""
701
 
702
+ #: ../custom-contact-forms-admin.php:1189
703
  msgid "Used to identify this option, solely for admin purposes; must be unique, and contain only letters, numbers, and underscores. Example: 'slug_one'"
704
  msgstr ""
705
 
706
+ #: ../custom-contact-forms-admin.php:1193
707
  msgid "Option Label:"
708
  msgstr ""
709
 
710
+ #: ../custom-contact-forms-admin.php:1197
711
  msgid "This is what is shown to the user in the dropdown or radio field. Example: 'United States'"
712
  msgstr ""
713
 
714
+ #: ../custom-contact-forms-admin.php:1201
715
  msgid "Option Value:"
716
  msgstr ""
717
 
718
+ #: ../custom-contact-forms-admin.php:1205
719
+ msgid "This is the actual value of the option which is not shown to the user. This can be the same thing as the label. An example pairing of label => value is: 'The color green' => 'green' or 'Yes' => '1'. If you don't know what this is, leave it blank."
 
 
 
 
720
  msgstr ""
721
 
722
+ #: ../custom-contact-forms-admin.php:1208
723
  msgid "Is Dead Option:"
724
  msgstr ""
725
 
726
+ #: ../custom-contact-forms-admin.php:1211
727
  msgid "A dead option is something like 'Please Select One'. This is a useful tool for required dropdown fields. If a dead option is submitted by a user for a required dropdown field, then the user will have to go back and fill out the field again."
728
  msgstr ""
729
 
730
+ #: ../custom-contact-forms-admin.php:1215
731
  msgid "Create Field Option"
732
  msgstr ""
733
 
734
+ #: ../custom-contact-forms-admin.php:1228
735
  msgid "Create A Style for Your Forms"
736
  msgstr ""
737
 
738
+ #: ../custom-contact-forms-admin.php:1232
739
  msgid "Use this manager to create styles for your forms. Each field is already filled out with nice look defaults. It is recommended you simply input a slug and click create to see the defaults before you start changing values."
740
  msgstr ""
741
 
742
+ #: ../custom-contact-forms-admin.php:1239
743
  msgid "Style Slug:"
744
  msgstr ""
745
 
746
+ #: ../custom-contact-forms-admin.php:1242
747
  msgid "(Must be unique)"
748
  msgstr ""
749
 
750
+ #: ../custom-contact-forms-admin.php:1246
751
+ #: ../custom-contact-forms-admin.php:1651
752
+ #: ../custom-contact-forms-admin.php:1660
753
  msgid "Title Font Size:"
754
  msgstr ""
755
 
756
+ #: ../custom-contact-forms-admin.php:1249
757
  msgid "(ex: 10pt, 10px, 1em)"
758
  msgstr ""
759
 
760
+ #: ../custom-contact-forms-admin.php:1253
761
+ #: ../custom-contact-forms-admin.php:1699
762
+ #: ../custom-contact-forms-admin.php:1767
763
  msgid "Title Font Color:"
764
  msgstr ""
765
 
766
+ #: ../custom-contact-forms-admin.php:1256
767
+ #: ../custom-contact-forms-admin.php:1277
768
+ #: ../custom-contact-forms-admin.php:1341
769
+ #: ../custom-contact-forms-admin.php:1442
770
+ #: ../custom-contact-forms-admin.php:1449
771
+ #: ../custom-contact-forms-admin.php:1477
772
  msgid "(ex: FF0000)"
773
  msgstr ""
774
 
775
+ #: ../custom-contact-forms-admin.php:1260
776
+ #: ../custom-contact-forms-admin.php:1624
777
  msgid "Label Width:"
778
  msgstr ""
779
 
780
+ #: ../custom-contact-forms-admin.php:1263
781
  msgid "(ex: 100px or 20%)"
782
  msgstr ""
783
 
784
+ #: ../custom-contact-forms-admin.php:1267
785
+ #: ../custom-contact-forms-admin.php:1665
786
  msgid "Label Font Size:"
787
  msgstr ""
788
 
789
+ #: ../custom-contact-forms-admin.php:1270
790
+ #: ../custom-contact-forms-admin.php:1435
791
  msgid "(ex: 10px, 10pt, 1em)"
792
  msgstr ""
793
 
794
+ #: ../custom-contact-forms-admin.php:1274
795
+ #: ../custom-contact-forms-admin.php:1704
796
  msgid "Label Font Color:"
797
  msgstr ""
798
 
799
+ #: ../custom-contact-forms-admin.php:1281
800
+ #: ../custom-contact-forms-admin.php:1591
801
  msgid "Text Field Width:"
802
  msgstr ""
803
 
804
+ #: ../custom-contact-forms-admin.php:1284
805
+ #: ../custom-contact-forms-admin.php:1291
806
+ #: ../custom-contact-forms-admin.php:1298
807
+ #: ../custom-contact-forms-admin.php:1378
808
  msgid "(ex: 100px or 100%)"
809
  msgstr ""
810
 
811
+ #: ../custom-contact-forms-admin.php:1288
812
  msgid "Textarea Field Width:"
813
  msgstr ""
814
 
815
+ #: ../custom-contact-forms-admin.php:1295
816
  msgid "Textarea Field Height:"
817
  msgstr ""
818
 
819
+ #: ../custom-contact-forms-admin.php:1302
820
+ #: ../custom-contact-forms-admin.php:1670
821
  msgid "Field Font Size:"
822
  msgstr ""
823
 
824
+ #: ../custom-contact-forms-admin.php:1305
825
  msgid "(ex: 10px, 10pt, 1em"
826
  msgstr ""
827
 
828
+ #: ../custom-contact-forms-admin.php:1309
829
+ #: ../custom-contact-forms-admin.php:1709
830
  msgid "Field Font Color:"
831
  msgstr ""
832
 
833
+ #: ../custom-contact-forms-admin.php:1312
834
+ #: ../custom-contact-forms-admin.php:1348
835
  msgid "(ex: 333333)"
836
  msgstr ""
837
 
838
+ #: ../custom-contact-forms-admin.php:1316
839
+ #: ../custom-contact-forms-admin.php:1758
840
  msgid "Field Border Style:"
841
  msgstr ""
842
 
843
+ #: ../custom-contact-forms-admin.php:1324
844
+ #: ../custom-contact-forms-admin.php:1719
845
  msgid "Form Margin:"
846
  msgstr ""
847
 
848
+ #: ../custom-contact-forms-admin.php:1327
849
+ #: ../custom-contact-forms-admin.php:1334
850
+ #: ../custom-contact-forms-admin.php:1456
851
+ #: ../custom-contact-forms-admin.php:1463
852
  msgid "(ex: 5px or 1em)"
853
  msgstr ""
854
 
855
+ #: ../custom-contact-forms-admin.php:1331
856
+ #: ../custom-contact-forms-admin.php:1611
857
  msgid "Label Margin:"
858
  msgstr ""
859
 
860
+ #: ../custom-contact-forms-admin.php:1338
861
  msgid "Textarea Background Color:"
862
  msgstr ""
863
 
864
+ #: ../custom-contact-forms-admin.php:1345
865
  msgid "Success Popover Font Color:"
866
  msgstr ""
867
 
868
+ #: ../custom-contact-forms-admin.php:1352
869
  msgid "Success Popover Title Font Size:"
870
  msgstr ""
871
 
872
+ #: ../custom-contact-forms-admin.php:1355
873
+ #: ../custom-contact-forms-admin.php:1362
874
+ #: ../custom-contact-forms-admin.php:1484
875
+ #: ../custom-contact-forms-admin.php:1507
876
  msgid "(ex: 12px, 1em, 100%)"
877
  msgstr ""
878
 
879
+ #: ../custom-contact-forms-admin.php:1359
880
+ #: ../custom-contact-forms-admin.php:1655
881
  msgid "Form Background Color:"
882
  msgstr ""
883
 
884
+ #: ../custom-contact-forms-admin.php:1366
885
  msgid "Tooltip Background Color:"
886
  msgstr ""
887
 
888
+ #: ../custom-contact-forms-admin.php:1369
889
  msgid "(ex: 000000 or black)"
890
  msgstr ""
891
 
892
+ #: ../custom-contact-forms-admin.php:1375
893
+ #: ../custom-contact-forms-admin.php:1753
894
  msgid "Field Border Color:"
895
  msgstr ""
896
 
897
+ #: ../custom-contact-forms-admin.php:1382
898
+ #: ../custom-contact-forms-admin.php:1736
899
  msgid "Form Border Style:"
900
  msgstr ""
901
 
902
+ #: ../custom-contact-forms-admin.php:1390
903
+ #: ../custom-contact-forms-admin.php:1748
904
  msgid "Form Border Color:"
905
  msgstr ""
906
 
907
+ #: ../custom-contact-forms-admin.php:1393
908
  msgid "(ex: 000000)"
909
  msgstr ""
910
 
911
+ #: ../custom-contact-forms-admin.php:1397
912
+ #: ../custom-contact-forms-admin.php:1743
913
  msgid "Form Border Width:"
914
  msgstr ""
915
 
916
+ #: ../custom-contact-forms-admin.php:1400
917
  msgid "(ex: 1px)"
918
  msgstr ""
919
 
920
+ #: ../custom-contact-forms-admin.php:1404
921
+ #: ../custom-contact-forms-admin.php:1586
922
  msgid "Form Width:"
923
  msgstr ""
924
 
925
+ #: ../custom-contact-forms-admin.php:1407
926
  msgid "(ex: 100px or 50%)"
927
  msgstr ""
928
 
929
+ #: ../custom-contact-forms-admin.php:1411
930
  msgid "Form Font Family:"
931
  msgstr ""
932
 
933
+ #: ../custom-contact-forms-admin.php:1414
934
  msgid "(ex: Verdana, Tahoma, Arial)"
935
  msgstr ""
936
 
937
+ #: ../custom-contact-forms-admin.php:1418
938
+ #: ../custom-contact-forms-admin.php:1629
939
  msgid "Button Width:"
940
  msgstr ""
941
 
942
+ #: ../custom-contact-forms-admin.php:1421
943
  msgid "(ex: 100px, 30%, auto)"
944
  msgstr ""
945
 
946
+ #: ../custom-contact-forms-admin.php:1425
947
+ #: ../custom-contact-forms-admin.php:1634
948
  msgid "Button Height:"
949
  msgstr ""
950
 
951
+ #: ../custom-contact-forms-admin.php:1428
952
  msgid "(ex: 100px or 30%)"
953
  msgstr ""
954
 
955
+ #: ../custom-contact-forms-admin.php:1432
956
+ #: ../custom-contact-forms-admin.php:1675
957
  msgid "Button Font Size:"
958
  msgstr ""
959
 
960
+ #: ../custom-contact-forms-admin.php:1439
961
+ #: ../custom-contact-forms-admin.php:1714
962
  msgid "Button Font Color:"
963
  msgstr ""
964
 
965
+ #: ../custom-contact-forms-admin.php:1446
966
+ #: ../custom-contact-forms-admin.php:1639
967
  msgid "Field Background Color:"
968
  msgstr ""
969
 
970
+ #: ../custom-contact-forms-admin.php:1453
971
+ #: ../custom-contact-forms-admin.php:1680
972
  msgid "Form Padding:"
973
  msgstr ""
974
 
975
+ #: ../custom-contact-forms-admin.php:1460
976
+ #: ../custom-contact-forms-admin.php:1644
977
  msgid "Title Margin:"
978
  msgstr ""
979
 
980
+ #: ../custom-contact-forms-admin.php:1467
981
+ #: ../custom-contact-forms-admin.php:1606
982
  msgid "Dropdown Width:"
983
  msgstr ""
984
 
985
+ #: ../custom-contact-forms-admin.php:1470
986
  msgid "(ex: 30px, 20%, or auto)"
987
  msgstr ""
988
 
989
+ #: ../custom-contact-forms-admin.php:1474
990
  msgid "Success Popover Border Color:"
991
  msgstr ""
992
 
993
+ #: ../custom-contact-forms-admin.php:1481
994
  msgid "Success Popover Font Size:"
995
  msgstr ""
996
 
997
+ #: ../custom-contact-forms-admin.php:1488
998
  msgid "Success Popover Height:"
999
  msgstr ""
1000
 
1001
+ #: ../custom-contact-forms-admin.php:1491
1002
  msgid "(ex: 200px, 6em, 50%)"
1003
  msgstr ""
1004
 
1005
+ #: ../custom-contact-forms-admin.php:1495
1006
+ #: ../custom-contact-forms-admin.php:1772
1007
  msgid "Field Border Roundness:"
1008
  msgstr ""
1009
 
1010
+ #: ../custom-contact-forms-admin.php:1498
1011
  msgid "(ex: 6px, or 0px)"
1012
  msgstr ""
1013
 
1014
+ #: ../custom-contact-forms-admin.php:1502
1015
+ #: ../custom-contact-forms-admin.php:1574
1016
+ #: ../custom-contact-forms-admin.php:1692
1017
  msgid "Tooltip"
1018
  msgstr ""
1019
 
1020
+ #: ../custom-contact-forms-admin.php:1503
1021
+ #: ../custom-contact-forms-admin.php:1575
1022
+ #: ../custom-contact-forms-admin.php:1693
1023
  msgid "A tooltip is the little box that fades in displaying 'Field Instructions' when a user selects a particular field."
1024
  msgstr ""
1025
 
1026
+ #: ../custom-contact-forms-admin.php:1504
1027
+ #: ../custom-contact-forms-admin.php:1687
1028
  msgid "Font Size:"
1029
  msgstr ""
1030
 
1031
+ #: ../custom-contact-forms-admin.php:1511
1032
  msgid "Tooltip Font Color:"
1033
  msgstr ""
1034
 
1035
+ #: ../custom-contact-forms-admin.php:1514
1036
  msgid "(ex: ffffff or white)"
1037
  msgstr ""
1038
 
1039
+ #: ../custom-contact-forms-admin.php:1518
1040
  msgid "Create Style"
1041
  msgstr ""
1042
 
1043
+ #: ../custom-contact-forms-admin.php:1527
1044
  msgid "Manage Form Styles"
1045
  msgstr ""
1046
 
1047
+ #: ../custom-contact-forms-admin.php:1550
1048
  msgid "Slug:"
1049
  msgstr ""
1050
 
1051
+ #: ../custom-contact-forms-admin.php:1555
1052
  msgid "Font Family:"
1053
  msgstr ""
1054
 
1055
+ #: ../custom-contact-forms-admin.php:1560
1056
  msgid "Textarea Background"
1057
  msgstr ""
1058
 
1059
+ #: ../custom-contact-forms-admin.php:1562
1060
  msgid "Color:"
1061
  msgstr ""
1062
 
1063
+ #: ../custom-contact-forms-admin.php:1567
1064
+ #: ../custom-contact-forms-admin.php:1616
1065
+ #: ../custom-contact-forms-admin.php:1649
1066
+ #: ../custom-contact-forms-admin.php:1685
1067
+ #: ../custom-contact-forms-admin.php:1724
1068
+ #: ../custom-contact-forms-admin.php:1765
1069
  msgid "Success Popover"
1070
  msgstr ""
1071
 
1072
+ #: ../custom-contact-forms-admin.php:1569
1073
  msgid "Border Color:"
1074
  msgstr ""
1075
 
1076
+ #: ../custom-contact-forms-admin.php:1576
1077
+ #: ../custom-contact-forms-admin.php:1726
1078
  msgid "Font Color:"
1079
  msgstr ""
1080
 
1081
+ #: ../custom-contact-forms-admin.php:1596
1082
  msgid "Textarea Width:"
1083
  msgstr ""
1084
 
1085
+ #: ../custom-contact-forms-admin.php:1601
1086
  msgid "Textarea Height:"
1087
  msgstr ""
1088
 
1089
+ #: ../custom-contact-forms-admin.php:1618
1090
  msgid "Height:"
1091
  msgstr ""
1092
 
1093
+ #: ../custom-contact-forms-admin.php:1694
1094
  msgid "Background Color:"
1095
  msgstr ""
1096
 
1097
+ #: ../custom-contact-forms-admin.php:1731
1098
  msgid "Tooltip Font Size:"
1099
  msgstr ""
1100
 
1101
+ #: ../custom-contact-forms-admin.php:1804
1102
  msgid "Report a Bug/Suggest a Feature"
1103
  msgstr ""
1104
 
1105
+ #: ../custom-contact-forms-admin.php:1812
1106
  #: ../modules/db/custom-contact-forms-default-db.php:25
1107
  msgid "Your Name:"
1108
  msgstr ""
1109
 
1110
+ #: ../custom-contact-forms-admin.php:1818
1111
  msgid "Your Email:"
1112
  msgstr ""
1113
 
1114
+ #: ../custom-contact-forms-admin.php:1826
1115
  msgid "Who Hosts Your Website?"
1116
  msgstr ""
1117
 
1118
+ #: ../custom-contact-forms-admin.php:1832
1119
  msgid "Purpose of this message:"
1120
  msgstr ""
1121
 
1122
+ #: ../custom-contact-forms-admin.php:1836
1123
  msgid "Bug Report"
1124
  msgstr ""
1125
 
1126
+ #: ../custom-contact-forms-admin.php:1839
1127
  msgid "Suggest a Feature"
1128
  msgstr ""
1129
 
1130
+ #: ../custom-contact-forms-admin.php:1842
1131
  msgid "Plugin Question"
1132
  msgstr ""
1133
 
1134
+ #: ../custom-contact-forms-admin.php:1850
1135
  msgid "Version of Custom Contact Forms?"
1136
  msgstr ""
1137
 
1138
+ #: ../custom-contact-forms-admin.php:1856
1139
  msgid "Version of WordPress?"
1140
  msgstr ""
1141
 
1142
+ #: ../custom-contact-forms-admin.php:1864
1143
  #: ../modules/db/custom-contact-forms-default-db.php:31
1144
  msgid "Your Message:"
1145
  msgstr ""
1146
 
1147
+ #: ../custom-contact-forms-admin.php:1870
1148
  #: ../modules/db/custom-contact-forms-default-db.php:53
1149
  msgid "Send Message"
1150
  msgstr ""
1151
 
1152
+ #: ../custom-contact-forms-admin.php:1880
1153
+ msgid "Custom HTML Forms"
1154
  msgstr ""
1155
 
1156
+ #: ../custom-contact-forms-admin.php:1884
1157
  msgid ""
1158
  "If you know HTML and simply want to use this plugin to process form requests, this feature is for you. \n"
1159
  "\t\t\t\t\tThe following HTML is a the framework to which you must adhere. In order for your form to work you MUST do the following: a) Keep the form action/method the same (yes the action is supposed to be empty), b) Include all the hidden fields shown below, c) provide a \n"
1160
  "\t\t\t\t\thidden field with a success message or thank you page (both hidden fields are included below, you must choose one or the other and fill in the value part of the input field appropriately."
1161
  msgstr ""
1162
 
1163
+ #: ../custom-contact-forms-admin.php:1891
1164
  msgid "Thank you for filling out our form!"
1165
  msgstr ""
1166
 
1167
+ #: ../custom-contact-forms-admin.php:1896
1168
  msgid "Paste all this code into a page or post and edit it to your liking. It is recommended you only use this feature if you are experienced with HTML. The destination_email field specifies where emails will be sent on successful submission; you can have the form send to multiple addresses by separating email's with semi-colons (i.e. email@google.com; email2@google.com). The success_message field will add a popover containing the message when the form is completed successfully, the thank_you_page field will force the user to be redirected to that specific page on successful form completion. The required_fields hidden field is optional; to use it separate the field names you want required by commas. Remember to use underscores instead of spaces in field names!"
1169
  msgstr ""
1170
 
1171
+ #: ../custom-contact-forms-admin.php:1906
1172
  msgid "Custom Contact Forms Plugin News"
1173
  msgstr ""
1174
 
1175
+ #: ../custom-contact-forms-admin.php:1970
1176
  #: ../custom-contact-forms.php:101
1177
  msgid "Saved Form Submissions"
1178
  msgstr ""
1179
 
1180
+ #: ../custom-contact-forms-admin.php:1977
1181
+ #: ../custom-contact-forms-admin.php:2035
1182
  msgid "Date Submitted"
1183
  msgstr ""
1184
 
1185
+ #: ../custom-contact-forms-admin.php:1978
1186
+ #: ../custom-contact-forms-admin.php:2036
1187
  #: ../modules/export/custom-contact-forms-export.php:24
1188
  msgid "Form Submitted"
1189
  msgstr ""
1190
 
1191
+ #: ../custom-contact-forms-admin.php:1979
1192
+ #: ../custom-contact-forms-admin.php:2037
1193
  msgid "Form Page"
1194
  msgstr ""
1195
 
1196
+ #: ../custom-contact-forms-admin.php:1980
1197
+ #: ../custom-contact-forms-admin.php:2038
1198
  #: ../modules/export/custom-contact-forms-export.php:24
1199
  msgid "Form ID"
1200
  msgstr ""
1201
 
1202
+ #: ../custom-contact-forms-admin.php:1999
1203
  msgid "Custom HTML Form"
1204
  msgstr ""
1205
 
1206
+ #: ../custom-contact-forms-admin.php:2078
1207
  msgid "Your settings have been successfully saved!"
1208
  msgstr ""
1209
 
1210
+ #: ../custom-contact-forms-admin.php:2083
1211
  msgid "Your mail settings have been successfully saved!"
1212
  msgstr ""
1213
 
1214
+ #: ../custom-contact-forms-admin.php:2121
1215
  #: ../custom-contact-forms.php:102
1216
  msgid "General Settings"
1217
  msgstr ""
1218
 
1219
+ #: ../custom-contact-forms-admin.php:2128
1220
  msgid "Email Form Submissions:"
1221
  msgstr ""
1222
 
1223
+ #: ../custom-contact-forms-admin.php:2140
1224
  msgid "When a user fills out one of your forms, the info submitted is saved in the Saved Form Submission section of the admin panel for you to view. If this is enabled, you will also be sent an email containing the submission info."
1225
  msgstr ""
1226
 
1227
+ #: ../custom-contact-forms-admin.php:2144
1228
  msgid "Default Email:"
1229
  msgstr ""
1230
 
1231
+ #: ../custom-contact-forms-admin.php:2149
1232
  msgid "Form emails will be sent <span>to</span> this address, if no destination email is specified by the form."
1233
  msgstr ""
1234
 
1235
+ #: ../custom-contact-forms-admin.php:2153
1236
  msgid "Front End JQuery:"
1237
  msgstr ""
1238
 
1239
+ #: ../custom-contact-forms-admin.php:2157
1240
+ #: ../custom-contact-forms-admin.php:2200
1241
+ #: ../custom-contact-forms-admin.php:2292
1242
+ #: ../custom-contact-forms-admin.php:2335
 
1243
  msgid "Enabled"
1244
  msgstr ""
1245
 
1246
+ #: ../custom-contact-forms-admin.php:2160
1247
+ #: ../custom-contact-forms-admin.php:2203
1248
+ #: ../custom-contact-forms-admin.php:2295
1249
  #: ../custom-contact-forms-admin.php:2332
 
1250
  msgid "Disabled"
1251
  msgstr ""
1252
 
1253
+ #: ../custom-contact-forms-admin.php:2165
1254
  #, php-format
1255
  msgid "Some plugins don't setup JQuery correctly, so when any other plugin uses JQuery (whether correctly or not), JQuery works for neither plugin. This plugin uses JQuery correctly. If another plugin isn't using JQuery correctly but is more important to you than this one: disable this option. 99% of this plugin's functionality will work without JQuery, just no field instruction tooltips."
1256
  msgstr ""
1257
 
1258
+ #: ../custom-contact-forms-admin.php:2169
1259
  msgid "Default From Email:"
1260
  msgstr ""
1261
 
1262
+ #: ../custom-contact-forms-admin.php:2174
1263
  msgid "Form emails will be sent <span>from</span> this address. It is recommended you provide a real email address that has been created through your host."
1264
  msgstr ""
1265
 
1266
+ #: ../custom-contact-forms-admin.php:2178
1267
  msgid "Default From Name:"
1268
  msgstr ""
1269
 
1270
+ #: ../custom-contact-forms-admin.php:2183
1271
  msgid "This setting allows you to specify the name under which form emails are sent. The default is 'Custom Contact Forms'."
1272
  msgstr ""
1273
 
1274
+ #: ../custom-contact-forms-admin.php:2187
1275
  msgid "Default Email Subject:"
1276
  msgstr ""
1277
 
1278
+ #: ../custom-contact-forms-admin.php:2192
1279
  msgid "Default subject to be included in all form emails."
1280
  msgstr ""
1281
 
1282
+ #: ../custom-contact-forms-admin.php:2196
1283
  msgid "Enable Dashboard Widget:"
1284
  msgstr ""
1285
 
1286
+ #: ../custom-contact-forms-admin.php:2207
1287
  msgid "Enabling this will display a widget on your dashboard that shows the latest form submissions."
1288
  msgstr ""
1289
 
1290
+ #: ../custom-contact-forms-admin.php:2211
1291
  msgid "Dashboard Widget Accessibility:"
1292
  msgstr ""
1293
 
1294
+ #: ../custom-contact-forms-admin.php:2215
1295
  msgid "Only admins can view"
1296
  msgstr ""
1297
 
1298
+ #: ../custom-contact-forms-admin.php:2218
1299
  msgid "All roles except subscribers can view"
1300
  msgstr ""
1301
 
1302
+ #: ../custom-contact-forms-admin.php:2221
1303
  msgid "All roles can view"
1304
  msgstr ""
1305
 
1306
+ #: ../custom-contact-forms-admin.php:2225
1307
  msgid "If you are using the dashboard widget, this allows you to disallow certain users from viewing it."
1308
  msgstr ""
1309
 
1310
+ #: ../custom-contact-forms-admin.php:2229
1311
  msgid "Use Code Type:"
1312
  msgstr ""
1313
 
1314
+ #: ../custom-contact-forms-admin.php:2237
1315
  msgid "This lets you switch the form code between HTML and XHTML."
1316
  msgstr ""
1317
 
1318
+ #: ../custom-contact-forms-admin.php:2244
 
 
 
 
 
 
 
 
1319
  msgid "Default Form Success Message Title:"
1320
  msgstr ""
1321
 
1322
+ #: ../custom-contact-forms-admin.php:2249
1323
  msgid "If someone fills out a form for which a success message title is not provided and a custom success page is not provided, the plugin will show a popover using this field as the window title."
1324
  msgstr ""
1325
 
1326
+ #: ../custom-contact-forms-admin.php:2254
1327
  msgid "Default Form Success Message:"
1328
  msgstr ""
1329
 
1330
+ #: ../custom-contact-forms-admin.php:2259
1331
  msgid "If someone fills out a form for which a success message is not provided and a custom success page is not provided, the plugin will show a popover containing this message."
1332
  msgstr ""
1333
 
1334
+ #: ../custom-contact-forms-admin.php:2263
1335
  msgid "Default Form Error Header:"
1336
  msgstr ""
1337
 
1338
+ #: ../custom-contact-forms-admin.php:2268
1339
  msgid "When a form is filled out incorrectly, this message will be displayed followed by the individual field error messages."
1340
  msgstr ""
1341
 
1342
+ #: ../custom-contact-forms-admin.php:2272
1343
  msgid "Remember Field Values:"
1344
  msgstr ""
1345
 
1346
+ #: ../custom-contact-forms-admin.php:2284
1347
  msgid "Selecting yes will make form fields remember how they were last filled out."
1348
  msgstr ""
1349
 
1350
+ #: ../custom-contact-forms-admin.php:2288
1351
  msgid "Tooltips in Widget:"
1352
  msgstr ""
1353
 
1354
+ #: ../custom-contact-forms-admin.php:2300
1355
  msgid "Enabling this shows tooltips containing field instructions on forms in the widget."
1356
  msgstr ""
1357
 
1358
+ #: ../custom-contact-forms-admin.php:2304
1359
+ msgid "Restrict Frontend JS and CSS to Form Pages Only:"
1360
  msgstr ""
1361
 
1362
+ #: ../custom-contact-forms-admin.php:2315
1363
+ msgid "Within each form in the form manager, you can specify the page id's on which that form will be used. If you set this to 'Yes', the plugin will only include CSS and JS files on pages/posts where a CCF form is inserted. If this is set to 'No', CSS and JS files for this plugin will be included on every page of your site except in the admin area."
1364
  msgstr ""
1365
 
1366
+ #: ../custom-contact-forms-admin.php:2319
1367
  msgid "Default Permissions Error:"
1368
  msgstr ""
1369
 
1370
+ #: ../custom-contact-forms-admin.php:2324
1371
  msgid "When someone doesn't have the proper permissions to use a form, this message is displayed in place of the form. You control who can view each form with the form access manager which is located inside the form manager."
1372
  msgstr ""
1373
 
1374
+ #: ../custom-contact-forms-admin.php:2328
1375
  msgid "Form Access Capabilities:"
1376
  msgstr ""
1377
 
1378
+ #: ../custom-contact-forms-admin.php:2340
1379
  msgid "The form access manager within each form allows you to control who can view your form. However, that will not take effect on any of your forms unless this is enabled."
1380
  msgstr ""
1381
 
1382
+ #: ../custom-contact-forms-admin.php:2344
1383
  msgid "Maximum File Upload Size:"
1384
  msgstr ""
1385
 
1386
+ #: ../custom-contact-forms-admin.php:2346
1387
  msgid "MB"
1388
  msgstr ""
1389
 
1390
+ #: ../custom-contact-forms-admin.php:2350
1391
  msgid "When creating file fields, you can specify maximum upload sizes for each individual field. This setting lets you set an overall cap for security reasons. It is recommended you leave this at 10 MB."
1392
  msgstr ""
1393
 
1394
+ #: ../custom-contact-forms-admin.php:2353
1395
  msgid "Show Sidebar Widget:"
1396
  msgstr ""
1397
 
1398
+ #: ../custom-contact-forms-admin.php:2358
1399
  msgid "On Homepage"
1400
  msgstr ""
1401
 
1402
+ #: ../custom-contact-forms-admin.php:2362
1403
  msgid "On Pages"
1404
  msgstr ""
1405
 
1406
+ #: ../custom-contact-forms-admin.php:2366
1407
  msgid "On Single Posts"
1408
  msgstr ""
1409
 
1410
+ #: ../custom-contact-forms-admin.php:2371
1411
  msgid "On Categories"
1412
  msgstr ""
1413
 
1414
+ #: ../custom-contact-forms-admin.php:2375
1415
  msgid "On Archives"
1416
  msgstr ""
1417
 
1418
+ #: ../custom-contact-forms-admin.php:2380
1419
  msgid "Update"
1420
  msgstr ""
1421
 
1422
+ #: ../custom-contact-forms-admin.php:2388
1423
  msgid "Mail Settings"
1424
  msgstr ""
1425
 
1426
+ #: ../custom-contact-forms-admin.php:2392
1427
  msgid "There are two ways you can send emails: using the PHP mail() function or using SMTP (secure/insecure). If you choose to use the PHP mail() function you can ignore all the other options. For some people Wordpress's default way of sending mail does not work; if for some reason your mail is being sent you should try the SMTP option."
1428
  msgstr ""
1429
 
1430
+ #: ../custom-contact-forms-admin.php:2393
1431
  msgid "* Send My Emails Using the Following:"
1432
  msgstr ""
1433
 
1434
+ #: ../custom-contact-forms-admin.php:2395
1435
  msgid "Wordpress Default"
1436
  msgstr ""
1437
 
1438
+ #: ../custom-contact-forms-admin.php:2396
1439
  msgid "SMTP"
1440
  msgstr ""
1441
 
1442
+ #: ../custom-contact-forms-admin.php:2397
1443
  msgid "(If mail isn't sending, try toggling this option.)"
1444
  msgstr ""
1445
 
1446
+ #: ../custom-contact-forms-admin.php:2400
1447
  msgid "SMTP Host:"
1448
  msgstr ""
1449
 
1450
+ #: ../custom-contact-forms-admin.php:2401
1451
  msgid "SMTP Port:"
1452
  msgstr ""
1453
 
1454
+ #: ../custom-contact-forms-admin.php:2402
1455
  msgid "Encryption:"
1456
  msgstr ""
1457
 
1458
+ #: ../custom-contact-forms-admin.php:2404
1459
  msgid "SSL"
1460
  msgstr ""
1461
 
1462
+ #: ../custom-contact-forms-admin.php:2405
1463
  msgid "TLS"
1464
  msgstr ""
1465
 
1466
+ #: ../custom-contact-forms-admin.php:2409
1467
  msgid "SMTP Authentication:"
1468
  msgstr ""
1469
 
1470
+ #: ../custom-contact-forms-admin.php:2409
1471
  msgid "None Needed"
1472
  msgstr ""
1473
 
1474
+ #: ../custom-contact-forms-admin.php:2409
1475
  msgid "Use SMTP Username/Password"
1476
  msgstr ""
1477
 
1478
+ #: ../custom-contact-forms-admin.php:2410
1479
  msgid "SMTP Username:"
1480
  msgstr ""
1481
 
1482
+ #: ../custom-contact-forms-admin.php:2411
1483
  msgid "SMTP Password:"
1484
  msgstr ""
1485
 
1486
+ #: ../custom-contact-forms-admin.php:2414
1487
  msgid "Save Mail Sending Options"
1488
  msgstr ""
1489
 
1490
+ #: ../custom-contact-forms-admin.php:2420
1491
  msgid "Export"
1492
  msgstr ""
1493
 
1494
+ #: ../custom-contact-forms-admin.php:2427
1495
  msgid ""
1496
  "Preforming this export will create a file of the form \n"
1497
  "\t\t\t\t\t\tccf-export-xxxx.sql on your web server. The file created contains SQL that \n"
1498
  "\t\t\t\t\t\twill recreate all the plugin data on any Wordpress installation. After Custom Contact Forms creates the export file, you will be prompted to download it. You can use this file as a backup in case your Wordpress database gets ruined."
1499
  msgstr ""
1500
 
1501
+ #: ../custom-contact-forms-admin.php:2431
1502
  msgid "Export All CCF Plugin Content"
1503
  msgstr ""
1504
 
1505
+ #: ../custom-contact-forms-admin.php:2434
1506
  msgid "You can export your form submissions in to a convienent format. Clicking the button below will prompt you to download a .CSV file that contains all your saved form submissions. Since this export contains multiple forms that are assumed to have different fields, this export will only contain the value of each field and not the name of that field."
1507
  msgstr ""
1508
 
1509
+ #: ../custom-contact-forms-admin.php:2435
1510
  msgid "Export All Saved Form Submissions to CSV"
1511
  msgstr ""
1512
 
1513
+ #: ../custom-contact-forms-admin.php:2438
1514
  msgid "You can also export only submissions from certain forms in to CSV format. This CSV export will probably more useful to you because it will contain the name of fields as well as the values. This export works best on forms that have fields that have remained completely constant throughout submission."
1515
  msgstr ""
1516
 
1517
+ #: ../custom-contact-forms-admin.php:2439
1518
  msgid "Export This Form's Submissions to CSV"
1519
  msgstr ""
1520
 
1521
+ #: ../custom-contact-forms-admin.php:2446
1522
  msgid "Import"
1523
  msgstr ""
1524
 
1525
+ #: ../custom-contact-forms-admin.php:2452
1526
  msgid "Browse to a CCF .sql export file to import Custom Contact Form data from another Wordpress installation to this one. Pressing the 'Clear and Import' button deletes all current data and then imports the selected file; this will not work for merging to data!. Clearing all CCF data before importing prevents any conflicts from occuring. Before you attempt an import, you should always download a backup, by clicking the 'Export All' button."
1527
  msgstr ""
1528
 
1529
+ #: ../custom-contact-forms-admin.php:2455
1530
  msgid "Choose What You Want to Use from the Import File:"
1531
  msgstr ""
1532
 
1533
+ #: ../custom-contact-forms-admin.php:2461
1534
  msgid "Use General Settings"
1535
  msgstr ""
1536
 
1537
+ #: ../custom-contact-forms-admin.php:2473
1538
  msgid "Form Submissions"
1539
  msgstr ""
1540
 
1541
+ #: ../custom-contact-forms-admin.php:2503
1542
  msgid "Choose an Import File:"
1543
  msgstr ""
1544
 
1545
+ #: ../custom-contact-forms-admin.php:2507
1546
  msgid "Clear and Import"
1547
  msgstr ""
1548
 
1549
+ #: ../custom-contact-forms-admin.php:2509
1550
  msgid "Yes, I want to do this and have created a backup."
1551
  msgstr ""
1552
 
1563
  msgstr ""
1564
 
1565
  #: ../custom-contact-forms-front.php:349
1566
+ #: ../custom-contact-forms-front.php:376
1567
  msgid "An error occured while uploading: "
1568
  msgstr ""
1569
 
1575
  msgid " KB."
1576
  msgstr ""
1577
 
1578
+ #: ../custom-contact-forms-front.php:355
1579
  msgid " is an invalid file extension."
1580
  msgstr ""
1581
 
1582
+ #: ../custom-contact-forms-front.php:385
1583
  msgid "You left this field blank: "
1584
  msgstr ""
1585
 
1586
+ #: ../custom-contact-forms-front.php:386
1587
  msgid "Form Displayed on Page: "
1588
  msgstr ""
1589
 
1590
+ #: ../custom-contact-forms-front.php:387
1591
  msgid "Sender IP: "
1592
  msgstr ""
1593
 
1594
+ #: ../custom-contact-forms-front.php:463
1595
  msgid "Only humans can use this form."
1596
  msgstr ""
1597
 
1598
+ #: ../custom-contact-forms-front.php:469
1599
  msgid "You copied the number from the captcha field incorrectly."
1600
  msgstr ""
1601
 
1602
+ #: ../custom-contact-forms-front.php:475
1603
  msgid "The email address you provided is not valid."
1604
  msgstr ""
1605
 
1606
+ #: ../custom-contact-forms-front.php:481
1607
  msgid "The website address you provided is not valid."
1608
  msgstr ""
1609
 
1610
+ #: ../custom-contact-forms-front.php:538
1611
  msgid "Not Checked"
1612
  msgstr ""
1613
 
1614
+ #: ../custom-contact-forms-front.php:584
1615
  msgid "To view the message, please use an HTML compatible email viewer."
1616
  msgstr ""
1617
 
1618
+ #: ../custom-contact-forms-front.php:609
1619
  msgid "Captcha image for Custom Contact Forms plugin. You must type the numbers shown in the image"
1620
  msgstr ""
1621
 
1711
  msgid "Please enter your website."
1712
  msgstr ""
1713
 
1714
+ #: ../modules/db/custom-contact-forms-activate-db.php:226
1715
+ msgid "Email Subject"
1716
+ msgstr ""
1717
+
1718
  #: ../modules/db/custom-contact-forms-activate-db.php:226
1719
  msgid "Please enter a subject for the email."
1720
  msgstr ""
1731
  msgid "Select a Country"
1732
  msgstr ""
1733
 
1734
+ #: ../modules/db/custom-contact-forms-db.php:423
1735
  msgid "Non-Registered User"
1736
  msgstr ""
1737
 
1800
  msgstr ""
1801
 
1802
  #: ../modules/db/custom-contact-forms-default-db.php:53
1803
+ msgid "Thank you for filling out our contact form. We will be contacting you very soon."
1804
  msgstr ""
1805
 
1806
  #: ../modules/db/custom-contact-forms-default-db.php:54
1872
  msgid "Fixed Fields"
1873
  msgstr ""
1874
 
 
 
 
 
1875
  #: ../modules/usage_popover/custom-contact-forms-usage-popover.php:23
1876
  msgid "Import/Export"
1877
  msgstr ""
2171
  msgid "Here, you can specify the text that shows on the submit button."
2172
  msgstr ""
2173
 
2174
+ #: ../modules/usage_popover/custom-contact-forms-usage-popover.php:279
2175
+ msgid "Custom Code:"
2176
+ msgstr ""
2177
+
2178
  #: ../modules/usage_popover/custom-contact-forms-usage-popover.php:281
2179
  msgid "If unsure, leave blank. This field allows you to insert custom HTML directly after the starting form tag."
2180
  msgstr ""
2303
  msgid "This exports all custom contact form data including your general settings in SQL format. This is allows you to easily create backups."
2304
  msgstr ""
2305
 
2306
+ #: ../modules/usage_popover/custom-contact-forms-usage-popover.php:388
2307
+ msgid "Export All Saved Form Submission to CSV:"
2308
+ msgstr ""
2309
+
2310
+ #: ../modules/usage_popover/custom-contact-forms-usage-popover.php:388
2311
+ msgid "This exports all your saved form submissions into a .CSV file. Since this export contains multiple forms that are assumed to have different fields, this export will only contain the value of each field and not the name of that field."
2312
+ msgstr ""
2313
+
2314
  #: ../modules/usage_popover/custom-contact-forms-usage-popover.php:389
2315
+ msgid "Export Specific Form's: Submissions to CSV:"
2316
+ msgstr ""
2317
+
2318
+ #: ../modules/usage_popover/custom-contact-forms-usage-popover.php:389
2319
+ msgid "This exports a specific form's saved form submissions. This CSV export will probably more useful to you because it will contain the name of fields as well as the values. This export works best on forms that have fields that have remained completely constant throughout submission."
2320
+ msgstr ""
2321
+
2322
+ #: ../modules/usage_popover/custom-contact-forms-usage-popover.php:391
2323
  msgid "More import/export methods will be added in the future. Always create a backup before attempting an import! * Note: If you are having problems getting the importer/exporter to work, try CHMODing the import/ and export/ directories to 0777."
2324
  msgstr ""
2325
 
modules/db/custom-contact-forms-activate-db.php CHANGED
@@ -84,7 +84,7 @@ if (!class_exists('CustomContactFormsActivateDB')) {
84
  $sql2 = "CREATE TABLE `".CCF_FIELDS_TABLE."` (
85
  `id` INT( 11 ) NOT NULL AUTO_INCREMENT ,
86
  `field_slug` VARCHAR( 50 ) NOT NULL ,
87
- `field_label` VARCHAR( 100 ) NOT NULL ,
88
  `field_type` VARCHAR( 25 ) NOT NULL ,
89
  `field_value` TEXT NOT NULL ,
90
  `field_maxlength` INT ( 5 ) NOT NULL DEFAULT '0',
84
  $sql2 = "CREATE TABLE `".CCF_FIELDS_TABLE."` (
85
  `id` INT( 11 ) NOT NULL AUTO_INCREMENT ,
86
  `field_slug` VARCHAR( 50 ) NOT NULL ,
87
+ `field_label` VARCHAR( 200 ) NOT NULL ,
88
  `field_type` VARCHAR( 25 ) NOT NULL ,
89
  `field_value` TEXT NOT NULL ,
90
  `field_maxlength` INT ( 5 ) NOT NULL DEFAULT '0',
modules/db/custom-contact-forms-db.php CHANGED
@@ -87,6 +87,7 @@ if (!class_exists('CustomContactFormsDB')) {
87
  }
88
  if (!empty($form['form_access_update'])) {
89
  if (isset($form['form_access'])) $form['form_access'] = serialize($form['form_access']);
 
90
  unset($form['form_access_update']);
91
  } elseif (!empty($form['form_access'])) unset($form['form_access']);
92
 
87
  }
88
  if (!empty($form['form_access_update'])) {
89
  if (isset($form['form_access'])) $form['form_access'] = serialize($form['form_access']);
90
+ else $form['form_access'] = serialize(array());
91
  unset($form['form_access_update']);
92
  } elseif (!empty($form['form_access'])) unset($form['form_access']);
93
 
modules/db/custom-contact-forms-default-db.php CHANGED
@@ -50,17 +50,41 @@ if (!class_exists('CustomContactFormsDefaultDB')) {
50
  $nocontact_option = array('option_slug' => $option_slugs['nocontact'], 'option_label' => __('Do Not Contact Me', 'custom-contact-forms'));
51
  $yes_option = array('option_slug' => $option_slugs['yes'], 'option_label' => __('Yes, I did.', 'custom-contact-forms'));
52
  $contact_form = array('form_slug' => $form_slugs['contact_form'], 'form_title' => __('Contact Form', 'custom-contact-forms'), 'form_method' => 'Post',
53
- 'submit_button_text' => __('Send Message', 'custom-contact-forms'), 'form_email' => get_option('admin_email'), 'form_success_message' => __('Thank you for filling out our contact form. We will contact you very soon by the way you specified.', 'custom-contact-forms'),
54
  'form_success_title' => __('Thank You!', 'custom-contact-forms'), 'form_access' => parent::getRolesArray(), 'form_style' => 0);
55
  $name_field_id = parent::insertField($name_field);
 
 
 
 
56
  $date_field_id = parent::insertField($date_field);
 
 
 
 
57
  $message_field_id = parent::insertField($message_field);
 
 
 
 
58
  $phone_field_id = parent::insertField($phone_field);
 
 
 
 
59
  $google_field_id = parent::insertField($google_field);
 
 
 
 
60
  $contact_method_field_id = parent::insertField($contact_method_field);
 
 
 
 
61
  $email_option_id = parent::insertFieldOption($email_option);
62
  $yes_option_id = parent::insertFieldOption($yes_option);
63
- $pleaseselect_option_id = parent::insertFieldOption($email_option);
64
  $phone_option_id = parent::insertFieldOption($phone_option);
65
  $nocontact_option_id = parent::insertFieldOption($nocontact_option);
66
  $contact_form_id = parent::insertForm($contact_form);
50
  $nocontact_option = array('option_slug' => $option_slugs['nocontact'], 'option_label' => __('Do Not Contact Me', 'custom-contact-forms'));
51
  $yes_option = array('option_slug' => $option_slugs['yes'], 'option_label' => __('Yes, I did.', 'custom-contact-forms'));
52
  $contact_form = array('form_slug' => $form_slugs['contact_form'], 'form_title' => __('Contact Form', 'custom-contact-forms'), 'form_method' => 'Post',
53
+ 'submit_button_text' => __('Send Message', 'custom-contact-forms'), 'form_email' => get_option('admin_email'), 'form_success_message' => __('Thank you for filling out our contact form. We will be contacting you very soon.', 'custom-contact-forms'),
54
  'form_success_title' => __('Thank You!', 'custom-contact-forms'), 'form_access' => parent::getRolesArray(), 'form_style' => 0);
55
  $name_field_id = parent::insertField($name_field);
56
+ if (empty($name_field_id)) {
57
+ $f = parent::selectField('', $name_field['field_slug']);
58
+ $name_field_id = $f->id;
59
+ }
60
  $date_field_id = parent::insertField($date_field);
61
+ if (empty($date_field_id)) {
62
+ $f = parent::selectField('', $date_field['field_slug']);
63
+ $date_field_id = $f->id;
64
+ }
65
  $message_field_id = parent::insertField($message_field);
66
+ if (empty($message_field_id)) {
67
+ $f = parent::selectField('', $message_field['field_slug']);
68
+ $message_field_id = $f->id;
69
+ }
70
  $phone_field_id = parent::insertField($phone_field);
71
+ if (empty($phone_field_id)) {
72
+ $f = parent::selectField('', $phone_field['field_slug']);
73
+ $phone_field_id = $f->id;
74
+ }
75
  $google_field_id = parent::insertField($google_field);
76
+ if (empty($google_field_id)) {
77
+ $f = parent::selectField('', $google_field['field_slug']);
78
+ $google_field_id = $f->id;
79
+ }
80
  $contact_method_field_id = parent::insertField($contact_method_field);
81
+ if (empty($contact_method_field_id)) {
82
+ $f = parent::selectField('', $contact_method_field['field_slug']);
83
+ $contact_method_field_id = $f->id;
84
+ }
85
  $email_option_id = parent::insertFieldOption($email_option);
86
  $yes_option_id = parent::insertFieldOption($yes_option);
87
+ $pleaseselect_option_id = parent::insertFieldOption($pleaseselect_option);
88
  $phone_option_id = parent::insertFieldOption($phone_option);
89
  $nocontact_option_id = parent::insertFieldOption($nocontact_option);
90
  $contact_form_id = parent::insertForm($contact_form);
modules/usage_popover/custom-contact-forms-usage-popover.php CHANGED
@@ -385,6 +385,8 @@
385
  <p><?php _e('You can also export data in different ways.', 'custom-contact-forms'); ?></p>
386
  <ul>
387
  <li><b><?php _e('Export All:', 'custom-contact-forms'); ?></b> <?php _e("This exports all custom contact form data including your general settings in SQL format. This is allows you to easily create backups.", 'custom-contact-forms'); ?></li>
 
 
388
  </ul>
389
  <p><?php _e('More import/export methods will be added in the future. Always create a backup before attempting an import! * Note: If you are having problems getting the importer/exporter to work, try CHMODing the import/ and export/ directories to 0777.', 'custom-contact-forms'); ?></p>
390
  </li>
385
  <p><?php _e('You can also export data in different ways.', 'custom-contact-forms'); ?></p>
386
  <ul>
387
  <li><b><?php _e('Export All:', 'custom-contact-forms'); ?></b> <?php _e("This exports all custom contact form data including your general settings in SQL format. This is allows you to easily create backups.", 'custom-contact-forms'); ?></li>
388
+ <li><b><?php _e('Export All Saved Form Submission to CSV:', 'custom-contact-forms'); ?></b> <?php _e("This exports all your saved form submissions into a .CSV file. Since this export contains multiple forms that are assumed to have different fields, this export will only contain the value of each field and not the name of that field.", 'custom-contact-forms'); ?></li>
389
+ <li><b><?php _e("Export Specific Form's: Submissions to CSV:", 'custom-contact-forms'); ?></b> <?php _e("This exports a specific form's saved form submissions. This CSV export will probably more useful to you because it will contain the name of fields as well as the values. This export works best on forms that have fields that have remained completely constant throughout submission.", 'custom-contact-forms'); ?></li>
390
  </ul>
391
  <p><?php _e('More import/export methods will be added in the future. Always create a backup before attempting an import! * Note: If you are having problems getting the importer/exporter to work, try CHMODing the import/ and export/ directories to 0777.', 'custom-contact-forms'); ?></p>
392
  </li>
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: Taylor Lovett
3
  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.2.1
7
- Stable tag: 4.8.0.0
8
 
9
  Gauranteed to be the most customizable and intuitive contact form plugin for Wordpress.
10
 
@@ -14,8 +14,9 @@ Guaranteed to be 1000X more customizable and intuitive than Fast Secure Contact
14
 
15
  Special Features:
16
  ------------------
17
- Custom Contact Forms 4.7 will revolutionize the idea of a Wordpress plugin.
18
 
 
19
  * __NEW__ Export form submissions to .CSV
20
  * __NEW__ File Upload Fields
21
  * __NEW__ Redesigned admin panel
@@ -143,6 +144,10 @@ Visit http://www.taylorlovett.com/wordpress-plugins for screenshots. Right now a
143
 
144
  == Changelog ==
145
 
 
 
 
 
146
  = 4.8.0.0 =
147
  * js/jquery.tools.min.js - Updated to fix firefox tooltip bug
148
 
3
  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.3.1
7
+ Stable tag: 5.0.0.0
8
 
9
  Gauranteed to be the most customizable and intuitive contact form plugin for Wordpress.
10
 
14
 
15
  Special Features:
16
  ------------------
17
+ Custom Contact Forms 5.0 will revolutionize the idea of a Wordpress plugin.
18
 
19
+ * __NEW__ Rearrange fields with a drag-and-drop interface
20
  * __NEW__ Export form submissions to .CSV
21
  * __NEW__ File Upload Fields
22
  * __NEW__ Redesigned admin panel
144
 
145
  == Changelog ==
146
 
147
+ = 5.0.0.0 =
148
+ * Admin user interface improved 1000% with drag-and-drop fields as well as save/delete buttons.
149
+ * Import bug fixed
150
+
151
  = 4.8.0.0 =
152
  * js/jquery.tools.min.js - Updated to fix firefox tooltip bug
153