Contact Form by BestWebSoft - Version 3.93

Version Description

  • 05.08.2015 =
  • New : Ability to restore settings to defaults.
  • Bugfix : We fixed syntax error.
  • Update : We updated all functionality for wordpress 4.2.4.
Download this release

Release Info

Developer bestwebsoft
Plugin Icon 128x128 Contact Form by BestWebSoft
Version 3.93
Comparing to
See all releases

Code changes from version 3.92 to 3.93

Files changed (43) hide show
  1. bws_menu/bws_menu.php +7 -3
  2. bws_menu/css/general_style.css +0 -1
  3. bws_menu/icons/job-board.png +0 -0
  4. contact_form.php +527 -507
  5. css/style.css +1 -1
  6. js/script.js +0 -0
  7. languages/contact_form-af_ZA.mo +0 -0
  8. languages/contact_form-af_ZA.po +325 -339
  9. languages/contact_form-ca.mo +0 -0
  10. languages/contact_form-ca.po +313 -336
  11. languages/contact_form-de_DE.mo +0 -0
  12. languages/contact_form-de_DE.po +329 -340
  13. languages/contact_form-el.mo +0 -0
  14. languages/contact_form-el.po +391 -355
  15. languages/contact_form-es_ES.mo +0 -0
  16. languages/contact_form-es_ES.po +364 -353
  17. languages/contact_form-et.mo +0 -0
  18. languages/contact_form-et.po +317 -336
  19. languages/contact_form-fr_FR.mo +0 -0
  20. languages/contact_form-fr_FR.po +377 -357
  21. languages/contact_form-ja.mo +0 -0
  22. languages/contact_form-ja.po +322 -337
  23. languages/contact_form-nb_NO.mo +0 -0
  24. languages/contact_form-nb_NO.po +325 -341
  25. languages/contact_form-pt_BR.mo +0 -0
  26. languages/contact_form-pt_BR.po +336 -341
  27. languages/contact_form-ru_RU.mo +0 -0
  28. languages/contact_form-ru_RU.po +356 -354
  29. languages/contact_form-sk_SK.mo +0 -0
  30. languages/contact_form-sk_SK.po +318 -336
  31. languages/contact_form-sv_SE.mo +0 -0
  32. languages/contact_form-sv_SE.po +306 -334
  33. languages/contact_form-tr.mo +0 -0
  34. languages/contact_form-tr.po +319 -337
  35. languages/contact_form-uk.mo +0 -0
  36. languages/contact_form-uk.po +365 -357
  37. languages/contact_form-vi.mo +0 -0
  38. languages/contact_form-vi.po +326 -340
  39. languages/contact_form-zh_CN.mo +0 -0
  40. languages/contact_form-zh_CN.po +283 -326
  41. readme.txt +11 -13
  42. screenshot-1.png +0 -0
  43. screenshot-2.png +0 -0
bws_menu/bws_menu.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /*
3
  * Function for displaying BestWebSoft menu
4
- * Version: 1.6.5
5
  */
6
 
7
  if ( ! function_exists ( 'bws_admin_enqueue_scripts' ) )
@@ -438,7 +438,10 @@ if ( ! function_exists( 'bws_add_menu_render' ) ) {
438
  'link' => 'http://bestwebsoft.com/products/visitors-online/?k=93c28013a4f830671b3bba9502ed5177&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
439
  'download' => 'http://bestwebsoft.com/products/visitors-online/download/?k=93c28013a4f830671b3bba9502ed5177&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
440
  'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=Visitors+online+BestWebSoft&plugin-search-input=Search+Plugins',
441
- 'settings' => 'admin.php?page=visitors-online.php'
 
 
 
442
  )
443
  );
444
 
@@ -967,6 +970,7 @@ if ( ! function_exists( 'bws_get_banner_array' ) ) {
967
  function bws_get_banner_array() {
968
  global $bstwbsftwppdtplgns_banner_array;
969
  $bstwbsftwppdtplgns_banner_array = array(
 
970
  array( 'cstmsrch_hide_banner_on_plugin_page', 'custom-search-plugin/custom-search-plugin.php', '1.28' ),
971
  array( 'prtfl_hide_banner_on_plugin_page', 'portfolio/portfolio.php', '2.33' ),
972
  array( 'rlt_hide_banner_on_plugin_page', 'realty/realty.php', '1.0.0' ),
@@ -990,7 +994,7 @@ if ( ! function_exists( 'bws_get_banner_array' ) ) {
990
  array( 'cntctfrm_hide_banner_on_plugin_page', 'contact-form-plugin/contact_form.php', '3.47' ),
991
  array( 'cptch_hide_banner_on_plugin_page', 'captcha/captcha.php', '3.8.4' ),
992
  array( 'gllr_hide_banner_on_plugin_page', 'gallery-plugin/gallery-plugin.php', '3.9.1' ),
993
- array( 'cntctfrm_for_ctfrmtdb_hide_banner_on_plugin_page', 'contact-form-plugin/contact_form.php', '3.62' ),
994
  );
995
  }
996
  }
1
  <?php
2
  /*
3
  * Function for displaying BestWebSoft menu
4
+ * Version: 1.6.6
5
  */
6
 
7
  if ( ! function_exists ( 'bws_admin_enqueue_scripts' ) )
438
  'link' => 'http://bestwebsoft.com/products/visitors-online/?k=93c28013a4f830671b3bba9502ed5177&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
439
  'download' => 'http://bestwebsoft.com/products/visitors-online/download/?k=93c28013a4f830671b3bba9502ed5177&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
440
  'wp_install' => $admin_url . 'plugin-install.php?tab=search&type=term&s=Visitors+online+BestWebSoft&plugin-search-input=Search+Plugins',
441
+ 'settings' => 'admin.php?page=visitors-online.php',
442
+ 'pro_version' => 'visitors-online-pro/visitors-online-pro.php',
443
+ 'purchase' => 'http://bestwebsoft.com/products/visitors-online/buy/?k=f9a746075ff8a0a6cb192cb46526afd2&pn=' . $bws_plugin_info["id"] . '&v=' . $bws_plugin_info["version"] . '&wp_v=' . $wp_version,
444
+ 'pro_settings' => 'admin.php?page=visitors-online-pro.php'
445
  )
446
  );
447
 
970
  function bws_get_banner_array() {
971
  global $bstwbsftwppdtplgns_banner_array;
972
  $bstwbsftwppdtplgns_banner_array = array(
973
+ array( 'vstrsnln_hide_banner_on_plugin_page', 'visitors-online/visitors-online.php', '0.2' ),
974
  array( 'cstmsrch_hide_banner_on_plugin_page', 'custom-search-plugin/custom-search-plugin.php', '1.28' ),
975
  array( 'prtfl_hide_banner_on_plugin_page', 'portfolio/portfolio.php', '2.33' ),
976
  array( 'rlt_hide_banner_on_plugin_page', 'realty/realty.php', '1.0.0' ),
994
  array( 'cntctfrm_hide_banner_on_plugin_page', 'contact-form-plugin/contact_form.php', '3.47' ),
995
  array( 'cptch_hide_banner_on_plugin_page', 'captcha/captcha.php', '3.8.4' ),
996
  array( 'gllr_hide_banner_on_plugin_page', 'gallery-plugin/gallery-plugin.php', '3.9.1' ),
997
+ array( 'cntctfrm_for_ctfrmtdb_hide_banner_on_plugin_page', 'contact-form-plugin/contact_form.php', '3.62' )
998
  );
999
  }
1000
  }
bws_menu/css/general_style.css CHANGED
@@ -69,7 +69,6 @@ td.bws_pro_version_tooltip {
69
  margin: 5px 0;
70
  border: 1px solid #AAAAAA;
71
  max-width: 800px;
72
- overflow: hidden;
73
  }
74
  .bws_table_bg {
75
  background: #f8e268 url("../images/pattern.png");
69
  margin: 5px 0;
70
  border: 1px solid #AAAAAA;
71
  max-width: 800px;
 
72
  }
73
  .bws_table_bg {
74
  background: #f8e268 url("../images/pattern.png");
bws_menu/icons/job-board.png CHANGED
File without changes
contact_form.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Contact Form by BestWebSoft
4
  Plugin URI: http://bestwebsoft.com/products/
5
  Description: Plugin for Contact Form.
6
  Author: BestWebSoft
7
- Version: 3.92
8
  Author URI: http://bestwebsoft.com/
9
  License: GPLv2 or later
10
  */
@@ -53,7 +53,7 @@ if ( ! function_exists ( 'cntctfrm_init' ) ) {
53
  $cntctfrm_plugin_info = get_plugin_data( __FILE__ );
54
  }
55
  /* Function check if plugin is compatible with current WP version */
56
- bws_wp_version_check( plugin_basename( __FILE__ ), $cntctfrm_plugin_info, "3.1" );
57
 
58
  if ( ! is_admin() )
59
  cntctfrm_check_and_send();
@@ -148,7 +148,7 @@ if ( ! function_exists( 'cntctfrm_settings' ) ) {
148
  'cntctfrm_delete_attached_file' => '0',
149
  'cntctfrm_html_email' => 1,
150
  'cntctfrm_site_name_parameter' => 'SERVER_NAME',
151
- 'cntctfrm_change_label_in_email' => 0,
152
  );
153
 
154
  /* Check contact-form-multi plugin */
@@ -609,6 +609,7 @@ if ( ! function_exists( 'cntctfrm_settings_page' ) ) {
609
  }
610
  }
611
 
 
612
  /* Display form on the setting page */
613
  $lang_codes = array(
614
  'ab' => 'Abkhazian', 'aa' => 'Afar', 'af' => 'Afrikaans', 'ak' => 'Akan', 'sq' => 'Albanian', 'am' => 'Amharic', 'ar' => 'Arabic', 'an' => 'Aragonese', 'hy' => 'Armenian', 'as' => 'Assamese', 'av' => 'Avaric', 'ae' => 'Avestan', 'ay' => 'Aymara', 'az' => 'Azerbaijani',
@@ -638,6 +639,12 @@ if ( ! function_exists( 'cntctfrm_settings_page' ) ) {
638
  'yi' => 'Yiddish', 'yo' => 'Yoruba',
639
  'za' => 'Zhuang; Chuang', 'zu' => 'Zulu'
640
  );
 
 
 
 
 
 
641
 
642
  /* GO PRO */
643
  if ( isset( $_GET['action'] ) && 'go_pro' == $_GET['action'] ) {
@@ -655,555 +662,567 @@ if ( ! function_exists( 'cntctfrm_settings_page' ) ) {
655
  <a class="nav-tab" href="http://bestwebsoft.com/products/contact-form/faq" target="_blank"><?php _e( 'FAQ', 'contact_form' ); ?></a>
656
  <a class="nav-tab bws_go_pro_tab<?php if ( isset( $_GET['action'] ) && 'go_pro' == $_GET['action'] ) echo ' nav-tab-active'; ?>" href="admin.php?page=contact_form.php&amp;action=go_pro"><?php _e( 'Go PRO', 'contact_form' ); ?></a>
657
  </h2>
658
- <div class="updated fade" <?php if ( ! isset( $_POST['cntctfrm_form_submit'] ) || "" != $error ) echo "style=\"display:none\""; ?>><p><strong><?php echo $message; ?></strong></p></div>
659
  <div id="cntctfrm_settings_notice" class="updated fade" style="display:none"><p><strong><?php _e( "Notice:", 'contact_form' ); ?></strong> <?php _e( "The plugin's settings have been changed. In order to save them please don't forget to click the 'Save Changes' button.", 'contact_form' ); ?></p></div>
660
  <?php if ( ! empty( $notice ) ) { ?>
661
  <div class="error"><p><strong><?php _e( 'Notice:', 'contact_form' ); ?></strong> <?php echo $notice; ?></p></div>
662
  <?php } ?>
663
  <div class="error" <?php if ( "" == $error ) echo 'style="display:none"'; ?>><p><strong><?php echo $error; ?></strong></p></div>
664
  <?php if ( ! isset( $_GET['action'] ) || 'additional' == $_GET['action'] ) {
665
- /* main 'settings' or 'additional' settings page */
666
- if ( ! isset( $contact_form_multi_active ) && ! isset( $contact_form_multi_pro_active ) ) { ?>
667
- <h2 class="nav-tab-wrapper">
668
- <li class="nav-tab nav-tab-active">NEW_FORM</li>
669
- <a id="cntctfrm_show_multi_notice" class="nav-tab" target="_new" href="http://bestwebsoft.com/products/contact-form-multi/?k=747ca825fb44711e2d24e40697747bc6&pn=77&v=<?php echo $cntctfrm_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>" title="<?php _e( "If you want to create multiple contact forms, please install the Contact Form Multi plugin.", 'contact_form' ); ?>">+</a>
670
- </h2>
671
- <?php }
672
- $form_action = ( ! isset( $_GET['action'] ) ) ? 'admin.php?page=contact_form.php' : 'admin.php?page=contact_form.php&amp;action=' . $_GET['action']; ?>
673
- <form id="cntctfrm_settings_form" method="post" action="<?php echo $form_action ?>">
674
- <span style="margin-bottom:15px;">
675
- <?php if ( ! isset( $contact_form_multi_active ) && ! isset( $contact_form_multi_pro_active ) ) { ?>
676
- <p><?php _e( "If you would like to add the Contact Form to your website, just copy and paste this shortcode to your post or page or widget:", 'contact_form' ); ?> <span class="cntctfrm_shortcode">[contact_form]</span> <?php _e( "or", 'contact_form' ); ?> <span class="cntctfrm_shortcode">[contact_form lang=en]</span><br />
677
- <?php _e( "If have any problems with the standard shortcode [contact_form], you should use the shortcode", 'contact_form' ); ?> <span class="cntctfrm_shortcode">[bws_contact_form]</span> (<?php _e( "or", 'contact_form' ); ?> <span class="cntctfrm_shortcode">[bws_contact_form lang=en]</span>) <?php _e( "or", 'contact_form' ); ?> <span class="cntctfrm_shortcode">[bestwebsoft_contact_form]</span> (<?php _e( "or", 'contact_form' ); ?> <span class="cntctfrm_shortcode">[bestwebsoft_contact_form lang=en]</span>). <?php _e( "They work the same way.", 'contact_form' ); ?></p>
678
- <?php } else { ?>
679
- <p><?php _e( "If you would like to add the Contact Form to your website, just copy and paste this shortcode to your post or page or widget:", 'contact_form' ); ?> <span class="cntctfrm_shortcode">[contact_form id=<?php echo $_SESSION['cntctfrmmlt_id_form']; ?>]</span> <?php _e( "or", 'contact_form' ); ?> <span class="cntctfrm_shortcode">[contact_form lang=en id=<?php echo $_SESSION['cntctfrmmlt_id_form']; ?>]</span><br />
680
- <?php _e( "If have any problems with the standard shortcode [contact_form], you should use the shortcode", 'contact_form' ); ?> <span class="cntctfrm_shortcode">[bws_contact_form id=<?php echo $_SESSION['cntctfrmmlt_id_form']; ?>]</span> (<?php _e( "or", 'contact_form' ); ?> <span class="cntctfrm_shortcode">[bws_contact_form lang=en id=<?php echo $_SESSION['cntctfrmmlt_id_form']; ?>]</span>) <?php _e( "or", 'contact_form' ); ?> <span class="cntctfrm_shortcode">[bestwebsoft_contact_form id=<?php echo $_SESSION['cntctfrmmlt_id_form']; ?>]</span> (<?php _e( "or", 'contact_form' ); ?> <span class="cntctfrm_shortcode">[bestwebsoft_contact_form lang=en id=<?php echo $_SESSION['cntctfrmmlt_id_form']; ?>]</span>). <?php _e( "They work the same way.", 'contact_form' ); ?></p>
681
- <?php } ?>
682
- </span>
683
- <div <?php if ( isset( $_GET['action'] ) ) echo 'style="display: none;"'; ?> >
684
- <p><?php _e( "If you leave the fields empty, the messages will be sent to the email address specified during registration.", 'contact_form' ); ?></p>
685
- <table class="form-table" style="width:auto;">
686
- <tr valign="top">
687
- <th scope="row"><?php _e( "The user's email address:", 'contact_form' ); ?> </th>
688
- <td colspan="2">
689
- <input type="radio" id="cntctfrm_select_email_user" name="cntctfrm_select_email" value="user" <?php if ( $cntctfrm_options['cntctfrm_select_email'] == 'user' ) echo 'checked="checked" '; ?>/>
690
- <select name="cntctfrm_user_email">
691
- <option disabled><?php _e( "Select a username", 'contact_form' ); ?></option>
692
- <?php foreach ( $userslogin as $key => $value ) {
693
- if ( isset( $value->data ) ) {
694
- if ( $value->data->user_email != '' ) { ?>
695
- <option value="<?php echo $value->data->user_login; ?>" <?php if ( $cntctfrm_options['cntctfrm_user_email'] == $value->data->user_login ) echo 'selected="selected" '; ?>><?php echo $value->data->user_login; ?></option>
696
- <?php }
697
- } else {
698
- if ( $value->user_email != '' ) { ?>
699
- <option value="<?php echo $value->user_login; ?>" <?php if ( $cntctfrm_options['cntctfrm_user_email'] == $value->user_login ) echo 'selected="selected" '; ?>><?php echo $value->user_login; ?></option>
700
- <?php }
701
- }
702
- } ?>
703
- </select>
704
- <span class="cntctfrm_info"><?php _e( "Enter a username of the person who should get the messages from the contact form.", 'contact_form' ); ?></span>
705
- </td>
706
- </tr>
707
- <tr valign="top">
708
- <th scope="row"><?php _e( "Use this email address:", 'contact_form' ); ?></th>
709
- <td colspan="2">
710
- <input type="radio" id="cntctfrm_select_email_custom" name="cntctfrm_select_email" value="custom" <?php if ( 'custom' == $cntctfrm_options['cntctfrm_select_email'] ) echo 'checked="checked" '; ?>/>
711
- <input type="text" name="cntctfrm_custom_email" value="<?php echo $cntctfrm_options['cntctfrm_custom_email']; ?>" onfocus="document.getElementById('cntctfrm_select_email_custom').checked = true;" maxlength="250" />
712
- <span class="cntctfrm_info"><?php _e( "Enter the email address you want the messages forwarded to.", 'contact_form' ); ?></span>
713
- </td>
714
- </tr>
715
- </table>
716
- <div class="bws_pro_version_bloc">
717
- <div class="bws_pro_version_table_bloc">
718
- <div class="bws_table_bg"></div>
719
- <table class="form-table bws_pro_version">
720
- <tr valign="top">
721
- <th scope="row"><?php _e( "Add department selectbox to the contact form:", 'contact_form' ); ?></th>
722
- <td colspan="2">
723
- <input type="radio" id="cntctfrmpr_select_email_department" name="cntctfrmpr_select_email" value="departments" disabled="disabled" />
724
- <div class="cntctfrmpr_department_table"><img style="width:100%;" src="<?php echo plugins_url( 'images/pro_screen_1.png', __FILE__ ); ?>" alt="" /></div>
725
- </td>
726
- </tr>
727
- <tr valign="top">
728
- <th scope="row" colspan="2">
729
- * <?php _e( 'If you upgrade to Pro version all your settings will be saved.', 'contact_form' ); ?>
730
- </th>
731
- </tr>
732
- </table>
733
- </div>
734
- <div class="bws_pro_version_tooltip">
735
- <div class="bws_info">
736
- <?php _e( 'Unlock premium options by upgrading to a PRO version.', 'contact_form' ); ?>
737
- <a href="http://bestwebsoft.com/products/contact-form/?k=697c5e74f39779ce77850e11dbe21962&pn=77&v=<?php echo $cntctfrm_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>" target="_blank" title="Contact Form Pro"><?php _e( 'Learn More', 'contact_form' ); ?></a>
 
 
 
 
 
 
 
 
738
  </div>
739
- <a class="bws_button" href="http://bestwebsoft.com/products/contact-form/buy/?k=697c5e74f39779ce77850e11dbe21962&pn=77&v=<?php echo $cntctfrm_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>" target="_blank" title="Contact Form Pro">
740
- <?php _e( 'Go', 'contact_form' ); ?> <strong>PRO</strong>
741
- </a>
742
- <div class="clear"></div>
743
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
744
  </div>
745
- <table class="form-table" style="width:auto;">
746
- <tr valign="top">
747
- <th scope="row"><?php _e( "Save emails to the database", 'contact_form' ); ?> </th>
748
- <td colspan="2">
749
- <?php if ( array_key_exists( 'contact-form-to-db/contact_form_to_db.php', $all_plugins ) || array_key_exists( 'contact-form-to-db-pro/contact_form_to_db_pro.php', $all_plugins ) ) {
750
- if ( is_plugin_active( 'contact-form-to-db/contact_form_to_db.php' ) || is_plugin_active( 'contact-form-to-db-pro/contact_form_to_db_pro.php' ) ) { ?>
751
- <input type="checkbox" name="cntctfrm_save_email_to_db" value="1" <?php if ( ( isset( $cntctfrmtdb_options ) && 1 == $cntctfrmtdb_options["cntctfrmtdb_save_messages_to_db"] ) || ( isset( $cntctfrmtdbpr_options ) && 1 == $cntctfrmtdbpr_options["save_messages_to_db"] ) ) echo 'checked="checked"'; ?> />
752
- <span class="bws_info"> (<?php _e( 'Using', 'contact_form' ); ?> <a href="admin.php?page=cntctfrmtdb_manager">Contact Form to DB by BestWebSoft</a>)</span>
753
- <?php } else { ?>
754
- <input disabled="disabled" type="checkbox" name="cntctfrm_save_email_to_db" value="1" <?php if ( ( isset( $cntctfrmtdb_options ) && 1 == $cntctfrmtdb_options["cntctfrmtdb_save_messages_to_db"] ) || ( isset( $cntctfrmtdbpr_options ) && 1 == $cntctfrmtdbpr_options["save_messages_to_db"] ) ) echo 'checked="checked"'; ?> />
755
- <span class="bws_info">(<?php _e( 'Using Contact Form to DB by BestWebSoft', 'contact_form' ); ?>) <a href="<?php echo bloginfo("url"); ?>/wp-admin/plugins.php"><?php _e( 'Activate', 'contact_form' ); ?> Contact Form to DB</a></span>
756
- <?php }
757
- } else { ?>
758
- <input disabled="disabled" type="checkbox" name="cntctfrm_save_email_to_db" value="1" />
759
- <span class="bws_info">(<?php _e( 'Using Contact Form to DB by BestWebSoft', 'contact_form' ); ?>) <a href="http://bestwebsoft.com/products/contact-form-to-db/?k=19d806f45d866e70545de83169b274f2&pn=77&v=<?php echo $cntctfrm_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>"><?php _e( 'Download', 'contact_form' ); ?> Contact Form to DB</a></span>
760
- <?php } ?>
761
- </td>
762
- </tr>
763
- </table>
764
- </div>
765
- <!-- end of main 'settings' div -->
766
- <div <?php if ( ! isset( $_GET['action'] ) ) echo 'style="display: none;"'; ?> >
767
- <table class="form-table" style="width:auto;">
768
- <tr>
769
- <th scope="row"><?php _e( 'What to use?', 'contact_form' ); ?></th>
770
- <td colspan="2">
771
- <fieldset>
772
- <label>
773
- <input type='radio' name='cntctfrm_mail_method' value='wp-mail' <?php if ( 'wp-mail' == $cntctfrm_options['cntctfrm_mail_method'] ) echo 'checked="checked" '; ?>/>
774
- <?php _e( 'Wp-mail', 'contact_form' ); ?>
775
- </label>
776
- <label><span class="cntctfrm_info">(<?php _e( 'You can use the wp_mail function for mailing', 'contact_form' ); ?>)</span></label><br />
777
- <label>
778
- <input type='radio' name='cntctfrm_mail_method' value='mail' <?php if ( 'mail' == $cntctfrm_options['cntctfrm_mail_method'] ) echo 'checked="checked" '; ?>/>
779
- <?php _e( 'Mail', 'contact_form' ); ?>
780
- </label>
781
- <label><span class="cntctfrm_info">(<?php _e( 'To send mail you can use the php mail function', 'contact_form' ); ?>)</span></label>
782
- </fieldset>
783
- </td>
784
- </tr>
785
- <tr valign="top">
786
- <th scope="row"><?php _e( "'FROM' field", 'contact_form' ); ?></th>
787
- <td style="vertical-align: top;width: 210px;">
788
- <div><?php _e( "Name", 'contact_form' ); ?></div>
789
- <div>
790
- <label>
791
- <input type="radio" id="cntctfrm_select_from_custom_field" name="cntctfrm_select_from_field" value="custom" <?php if ( 'custom' == $cntctfrm_options['cntctfrm_select_from_field'] ) echo 'checked="checked" '; ?> />
792
- <input type="text" name="cntctfrm_from_field" value="<?php echo stripslashes( $cntctfrm_options['cntctfrm_from_field'] ); ?>" onfocus="document.getElementById('cntctfrm_select_from_custom_field').checked = true;" size="18" maxlength="100" />
793
- </label><br/>
794
  <div>
795
- <label><input type="radio" id="cntctfrm_select_from_field" name="cntctfrm_select_from_field" value="user_name" <?php if ( 'user_name' == $cntctfrm_options['cntctfrm_select_from_field'] ) echo 'checked="checked" '; ?>/> <?php _e( "User name", 'contact_form' ); ?></label>
796
- <div class="cntctfrm_help_box">
797
- <div class="cntctfrm_hidden_help_text"><?php echo __( "The name of the user who fills the form will be used in the field 'From'.", 'contact_form' ); ?></div>
 
 
 
 
 
 
798
  </div>
799
  </div>
800
- </div>
801
- </td>
802
- <td>
803
- <div><?php _e( "Email", 'contact_form' ); ?></div>
804
- <div>
805
  <div>
806
- <input type="radio" id="cntctfrm_from_custom_email" name="cntctfrm_from_email" value="custom" <?php if ( 'custom' == $cntctfrm_options['cntctfrm_from_email'] ) echo 'checked="checked" '; ?>/>
807
- <input type="text" name="cntctfrm_custom_from_email" value="<?php echo $cntctfrm_options['cntctfrm_custom_from_email']; ?>" onfocus="document.getElementById('cntctfrm_from_custom_email').checked = true;" maxlength="100" />
 
 
 
 
 
 
 
 
 
 
 
808
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
809
  <div>
810
- <label><input type="radio" id="cntctfrm_from_email" name="cntctfrm_from_email" value="user" <?php if ( 'user' == $cntctfrm_options['cntctfrm_from_email'] ) echo 'checked="checked" '; ?>/> <?php _e( "User email", 'contact_form' ); ?></label>
 
 
 
811
  <div class="cntctfrm_help_box">
812
- <div class="cntctfrm_hidden_help_text"><?php echo __( "The email address of the user who fills the form will be used in the field 'From'.", 'contact_form' ); ?></div>
813
  </div>
814
  </div>
815
  <div>
816
- <span class="cntctfrm_info">(<?php _e( "If this option is changed, email messages may be moved to the spam folder or email delivery failures may occur.", 'contact_form' ); ?>)</span>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
817
  </div>
818
- </div>
819
- </td>
820
- </tr>
821
- <tr valign="top">
822
- <th scope="row"><?php _e( "Required symbol", 'contact_form' ); ?></th>
823
- <td colspan="2">
824
- <input type="text" id="cntctfrm_required_symbol" name="cntctfrm_required_symbol" value="<?php echo $cntctfrm_options['cntctfrm_required_symbol']; ?>" maxlength="100" />
825
- </td>
826
- </tr>
827
- </table>
828
- <br />
829
- <table class="cntctfrm_settings_table" style="width:auto;">
830
- <thead>
831
- <tr valign="top">
832
- <th scope="row" style="width: 210px;"><?php _e( "Fields", 'contact_form' ); ?></th>
833
- <th><?php _e( "Used", 'contact_form' ); ?></th>
834
- <th><?php _e( "Required", 'contact_form' ); ?></th>
835
- <th><?php _e( "Visible", 'contact_form' ); ?></th>
836
- <th><?php _e( "Disabled for editing", 'contact_form' ); ?></th>
837
- <th scope="row" ><?php _e( "Field's default value", 'contact_form' ); ?></th>
838
- </tr>
839
- </thead>
840
- <tbody>
841
- <tr valign="top">
842
- <td><?php _e( "Name", 'contact_form' ); ?></td>
843
- <td><input type="checkbox" name="cntctfrm_display_name_field" value="1" <?php if ( '1' == $cntctfrm_options['cntctfrm_display_name_field'] ) echo 'checked="checked" '; ?>/></td>
844
- <td><input type="checkbox" id="cntctfrm_required_name_field" name="cntctfrm_required_name_field" value="1" <?php if ( '1' == $cntctfrm_options['cntctfrm_required_name_field'] ) echo 'checked="checked" '; ?>/></td>
845
- <td class="bws_pro_version"><input disabled="disabled" type="checkbox" name="cntctfrmpr_visible_name" value="1" checked="checked" /></td>
846
- <td class="bws_pro_version"><input disabled="disabled" type="checkbox" name="cntctfrmpr_disabled_name" value="1" /></td>
847
- <td class="bws_pro_version">
848
- <input disabled="disabled" type="checkbox" name="cntctfrmpr_default_name" value="1" />
849
- <?php _e( "Use User's name as a default value if the user is logged in.", 'contact_form' ); ?><br />
850
- <span class="cntctfrm_info">(<?php _e( "'Visible' and 'Disabled for editing' options will be applied only to logged-in users.", 'contact_form' ); ?>)</span>
851
  </td>
852
  </tr>
853
  <tr valign="top">
854
- <td><?php _e( "Location selectbox", 'contact_form' ); ?></td>
855
- <td class="bws_pro_version"><input disabled="disabled" type="checkbox" name="cntctfrmpr_display_selectbox" value="1" /></td>
856
- <td class="bws_pro_version"><input disabled="disabled" type="checkbox" name="cntctfrmpr_required_selectbox" value="1" /></td>
857
- <td class="bws_pro_version"></td>
858
- <td class="bws_pro_version"></td>
859
- <td class="bws_pro_version"><input disabled="disabled" type="file" name="cntctfrmpr_default_location"></td>
860
  </tr>
861
  <tr valign="top">
862
- <td><?php _e( "Address", 'contact_form' ); ?></td>
863
- <td><input type="checkbox" id="cntctfrm_display_address_field" name="cntctfrm_display_address_field" value="1" <?php if ( '1' == $cntctfrm_options['cntctfrm_display_address_field'] ) echo 'checked="checked" '; ?>/></td>
864
- <td><input type="checkbox" id="cntctfrm_required_address_field" name="cntctfrm_required_address_field" value="1" <?php if ( '1' == $cntctfrm_options['cntctfrm_required_address_field'] ) echo 'checked="checked" '; ?>/></td>
865
- <td></td>
866
- <td></td>
867
- <td></td>
868
  </tr>
869
  <tr valign="top">
870
- <td><?php _e( "Email Address", 'contact_form' ); ?></td>
871
- <td></td>
872
- <td><input type="checkbox" id="cntctfrm_required_email_field" name="cntctfrm_required_email_field" value="1" <?php if ( '1' == $cntctfrm_options['cntctfrm_required_email_field'] ) echo 'checked="checked" '; ?>/></td>
873
- <td class="bws_pro_version"><input disabled="disabled" type="checkbox" name="cntctfrmpr_visible_email" value="1" checked="checked" /></td>
874
- <td class="bws_pro_version"><input disabled="disabled" type="checkbox" name="cntctfrmpr_disabled_email" value="1" /></td>
875
- <td class="bws_pro_version">
876
- <input disabled="disabled" type="checkbox" name="cntctfrmpr_default_email" value="1" />
877
- <?php _e( "Use User's email as a default value if the user is logged in.", 'contact_form' ); ?><br />
878
- <span class="cntctfrm_info">(<?php _e( "'Visible' and 'Disabled for editing' options will be applied only to logged-in users.", 'contact_form' ); ?>)</span>
 
 
879
  </td>
880
  </tr>
881
  <tr valign="top">
882
- <td><?php _e( "Phone number", 'contact_form' ); ?></td>
883
- <td><input type="checkbox" id="cntctfrm_display_phone_field" name="cntctfrm_display_phone_field" value="1" <?php if ( '1' == $cntctfrm_options['cntctfrm_display_phone_field'] ) echo 'checked="checked" '; ?>/></td>
884
- <td><input type="checkbox" id="cntctfrm_required_phone_field" name="cntctfrm_required_phone_field" value="1" <?php if ( '1' == $cntctfrm_options['cntctfrm_required_phone_field'] ) echo 'checked="checked" '; ?>/></td>
885
- <td></td>
886
- <td></td>
887
- <td></td>
 
 
 
 
 
888
  </tr>
889
  <tr valign="top">
890
- <td><?php _e( "Subject", 'contact_form' ); ?></td>
891
- <td></td>
892
- <td><input type="checkbox" id="cntctfrm_required_subject_field" name="cntctfrm_required_subject_field" value="1" <?php if ( '1' == $cntctfrm_options['cntctfrm_required_subject_field'] ) echo 'checked="checked" '; ?>/></td>
893
- <td class="bws_pro_version"><input class="subject" disabled="disabled" type="checkbox" name="cntctfrmpr_visible_subject" value="1" checked="checked" /></td>
894
- <td class="bws_pro_version"><input class="subject" disabled="disabled" type="checkbox" name="cntctfrmpr_disabled_subject" value="1" /></td>
895
- <td class="bws_pro_version"><input class="subject" disabled="disabled" type="text" name="cntctfrmpr_default_subject" value="" /></td>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
896
  </tr>
897
  <tr valign="top">
898
- <td><?php _e( "Message", 'contact_form' ); ?></td>
899
- <td></td>
900
- <td><input type="checkbox" id="cntctfrm_required_message_field" name="cntctfrm_required_message_field" value="1" <?php if ( '1' == $cntctfrm_options['cntctfrm_required_message_field'] ) echo 'checked="checked" '; ?>/></td>
901
- <td class="bws_pro_version"><input class="message" disabled="disabled" type="checkbox" name="cntctfrmpr_visible_message" value="1" checked="checked" /></td>
902
- <td class="bws_pro_version"><input class="message" disabled="disabled" disabled="disabled" type="checkbox" name="cntctfrmpr_disabled_message" value="1" /></td>
903
- <td class="bws_pro_version"><input class="message" disabled="disabled" type="text" name="cntctfrmpr_default_message" value="" /></td>
904
  </tr>
905
  <tr valign="top">
906
- <td></td>
907
- <td></td>
908
- <td></td>
909
- <td colspan="3" class="bws_pro_version_tooltip">
910
- <div class="bws_info">
911
- <?php _e( 'Unlock premium options by upgrading to a PRO version.', 'contact_form' ); ?>
912
- <a href="http://bestwebsoft.com/products/contact-form/?k=697c5e74f39779ce77850e11dbe21962&pn=77&v=<?php echo $cntctfrm_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>" target="_blank" title="Contact Form Pro"><?php _e( 'Learn More', 'contact_form' ); ?></a>
913
- </div>
914
- <a class="bws_button" href="http://bestwebsoft.com/products/contact-form/buy/?k=697c5e74f39779ce77850e11dbe21962&pn=77&v=<?php echo $cntctfrm_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>" target="_blank" title="Contact Form Pro">
915
- <?php _e( 'Go', 'contact_form' ); ?> <strong>PRO</strong>
916
- </a>
917
  <div class="clear"></div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
918
  </td>
919
  </tr>
920
  <tr valign="top">
921
- <td>
922
- <?php _e( "Attachment block", 'contact_form' ); ?>
923
- <div class="cntctfrm_help_box">
924
- <div class="cntctfrm_hidden_help_text"><?php echo __( "Users can attach the following file formats", 'contact_form' ) . ": html, txt, css, gif, png, jpeg, jpg, tiff, bmp, ai, eps, ps, rtf, pdf, doc, docx, xls, xlsx, zip, rar, wav, mp3, ppt, aar, sce"; ?></div>
925
- </div>
 
 
926
  </td>
927
- <td><input type="checkbox" id="cntctfrm_attachment" name="cntctfrm_attachment" value="1" <?php if ( '1' == $cntctfrm_options['cntctfrm_attachment'] ) echo 'checked="checked" '; ?>/></td>
928
- <td></td>
929
- <td></td>
930
- <td></td>
931
- <td></td>
932
  </tr>
933
- </tbody>
934
- </table>
935
- <table class="form-table" style="width:auto;">
936
- <tr valign="top">
937
- <th scope="row"><?php _e( "Add to the form", 'contact_form' ); ?></th>
938
- <td style="width:750px;" colspan="3">
939
- <div>
940
- <label>
941
- <input type="checkbox" id="cntctfrm_attachment_explanations" name="cntctfrm_attachment_explanations" value="1" <?php if ( '1' == $cntctfrm_options['cntctfrm_attachment_explanations'] && '1' == $cntctfrm_options['cntctfrm_attachment'] ) echo 'checked="checked" '; ?>/>
942
- <?php _e( "Tips below the Attachment", 'contact_form' ); ?>
943
- </label>
944
- <div class="cntctfrm_help_box">
945
- <div class="cntctfrm_hidden_help_text"><img title="" src="<?php echo plugins_url( 'images/tooltip_attachment_tips.png', __FILE__ ); ?>" alt=""/></div>
946
- </div>
947
- </div>
948
- <div>
949
- <label>
950
- <input type="checkbox" id="cntctfrm_send_copy" name="cntctfrm_send_copy" value="1" <?php if ( '1' == $cntctfrm_options['cntctfrm_send_copy'] ) echo 'checked="checked" '; ?>/>
951
- <?php _e( "'Send me a copy' block", 'contact_form' ); ?>
952
- </label>
953
- <div class="cntctfrm_help_box">
954
- <div class="cntctfrm_hidden_help_text"><img title="" src="<?php echo plugins_url( 'images/tooltip_sendme_block.png', __FILE__ ); ?>" alt=""/></div>
955
- </div>
956
- </div>
957
- <div style="clear: both;">
958
- <?php if ( array_key_exists( 'captcha/captcha.php', $all_plugins ) || array_key_exists( 'captcha-plus/captcha-plus.php', $all_plugins ) || array_key_exists( 'captcha-pro/captcha_pro.php', $all_plugins ) ) {
959
- if ( is_plugin_active( 'captcha/captcha.php' ) || is_plugin_active( 'captcha-plus/captcha-plus.php' ) || is_plugin_active( 'captcha-pro/captcha_pro.php' ) ) { ?>
960
- <label><input type="checkbox" name="cntctfrm_display_captcha" value="1" <?php if ( ( isset( $cptch_options ) && 1 == $cptch_options["cptch_contact_form"] ) ||( isset( $cptchpls_options ) && 1 == $cptchpls_options["cptchpls_contact_form"] ) || ( isset( $cptchpr_options ) && 1 == $cptchpr_options["cptchpr_contact_form"] ) ) echo 'checked="checked"'; ?> />
961
- Captcha by BestWebSoft</label>
962
- <?php } else { ?>
963
- <label><input disabled="disabled" type="checkbox" name="cntctfrm_display_captcha" value="1" <?php if ( ( isset( $cptch_options ) && 1 == $cptch_options["cptch_contact_form"] ) || ( isset( $cptchpls_options ) && 1 == $cptchpls_options["cptchpls_contact_form"] ) || ( isset( $cptchpr_options ) && 1 == $cptchpr_options["cptchpr_contact_form"] ) ) echo 'checked="checked"'; ?> />
964
- Captcha by BestWebSoft</label> <span class="bws_info"><a href="<?php echo bloginfo("url"); ?>/wp-admin/plugins.php"><?php _e( 'Activate captcha', 'contact_form' ); ?></a></span>
965
- <?php }
966
- } else { ?>
967
- <label><input disabled="disabled" type="checkbox" name="cntctfrm_display_captcha" value="1" />
968
- Captcha by BestWebSoft</label> <span class="bws_info"><a href="http://bestwebsoft.com/products/captcha/?k=19ac1e9b23bea947cfc4a9b8e3326c03&pn=77&v=<?php echo $cntctfrm_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>"><?php _e( 'Download captcha', 'contact_form' ); ?></a></span>
969
- <?php } ?>
970
- </div>
971
- <div class="bws_pro_version_bloc">
972
- <div class="bws_pro_version_table_bloc">
973
- <div class="bws_table_bg"></div>
974
- <div class="bws_pro_version">
975
- <fieldset>
976
- <label><input disabled="disabled" type="checkbox" value="1" name="cntctfrmpr_display_privacy_check"> <?php _e( 'Agreement checkbox', 'contact_form' ); ?> <span class="bws_info">(<?php _e( 'Required checkbox for submitting the form', 'contact_form' ); ?>)</span></label><br />
977
- <label><input disabled="disabled" type="checkbox" value="1" name="cntctfrmpr_display_optional_check"> <?php _e( 'Optional checkbox', 'contact_form' ); ?> <span class="bws_info">(<?php _e( 'Optional checkbox, the results of which will be displayed in email', 'contact_form' ); ?>)</span></label>
978
- </fieldset>
979
- </div>
980
- </div>
981
- <div class="bws_pro_version_tooltip">
982
- <div class="bws_info">
983
- <?php _e( 'Unlock premium options by upgrading to a PRO version.', 'contact_form' ); ?>
984
- <a href="http://bestwebsoft.com/products/contact-form/?k=697c5e74f39779ce77850e11dbe21962&pn=77&v=<?php echo $cntctfrm_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>" target="_blank" title="Contact Form Pro"><?php _e( 'Learn More', 'contact_form' ); ?></a>
985
- </div>
986
- <a class="bws_button" href="http://bestwebsoft.com/products/contact-form/buy/?k=697c5e74f39779ce77850e11dbe21962&pn=77&v=<?php echo $cntctfrm_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>" target="_blank" title="Contact Form Pro">
987
- <?php _e( 'Go', 'contact_form' ); ?> <strong>PRO</strong>
988
- </a>
989
- <div class="clear"></div>
990
- </div>
991
- </div>
992
- </td>
993
- </tr>
994
- <tr valign="top">
995
- <th scope="row"><?php _e( "Delete an attachment file from the server after the email is sent", 'contact_form' ); ?> </th>
996
- <td colspan="3">
997
- <input type="checkbox" id="cntctfrm_delete_attached_file" name="cntctfrm_delete_attached_file" value="1" <?php if ( '1' == $cntctfrm_options['cntctfrm_delete_attached_file'] ) echo 'checked="checked" '; ?>/>
998
- </td>
999
- </tr>
1000
- <tr valign="top">
1001
- <th scope="row"><?php _e( "Email in HTML format sending", 'contact_form' ); ?></th>
1002
- <td colspan="2"><input type="checkbox" name="cntctfrm_html_email" value="1" <?php if ( '1' == $cntctfrm_options['cntctfrm_html_email'] ) echo 'checked="checked" '; ?>/></td>
1003
- </tr>
1004
- <tr valign="top">
1005
- <th scope="row"><?php _e( "Display additional info in the email", 'contact_form' ); ?></th>
1006
- <td style="width:15px;" class="cntctfrm_td_top_align">
1007
- <input type="checkbox" id="cntctfrm_display_add_info" name="cntctfrm_display_add_info" value="1" <?php if ( '1' == $cntctfrm_options['cntctfrm_display_add_info'] ) echo 'checked="checked" '; ?>/>
1008
- </td>
1009
- <td class="cntctfrm_display_add_info_block" <?php if ( '0' == $cntctfrm_options['cntctfrm_display_add_info'] ) echo 'style="display:none"'; ?>>
1010
- <fieldset>
1011
- <label><input type="checkbox" id="cntctfrm_display_sent_from" name="cntctfrm_display_sent_from" value="1" <?php if ( '1' == $cntctfrm_options['cntctfrm_display_sent_from'] ) echo 'checked="checked" '; ?>/> <?php _e( "Sent from (ip address)", 'contact_form' ); ?></label> <label class="bws_info"><?php _e( "Example: Sent from (IP address): 127.0.0.1", 'contact_form' ); ?></label><br />
1012
- <label><input type="checkbox" id="cntctfrm_display_date_time" name="cntctfrm_display_date_time" value="1" <?php if ( '1' == $cntctfrm_options['cntctfrm_display_date_time'] ) echo 'checked="checked" '; ?>/> <?php _e( "Date/Time", 'contact_form' ); ?></label> <label class="bws_info"><?php _e( "Example: Date/Time: August 19, 2013 8:50 pm", 'contact_form' ); ?></label><br />
1013
- <label><input type="checkbox" id="cntctfrm_display_coming_from" name="cntctfrm_display_coming_from" value="1" <?php if ( '1' == $cntctfrm_options['cntctfrm_display_coming_from'] ) echo 'checked="checked" '; ?>/> <?php _e( "Sent from (referer)", 'contact_form' ); ?></label> <label class="bws_info"><?php _e( "Example: Sent from (referer): http://bestwebsoft.com/contacts/contact-us/", 'contact_form' ); ?></label><br />
1014
- <label><input type="checkbox" id="cntctfrm_display_user_agent" name="cntctfrm_display_user_agent" value="1" <?php if ( '1' == $cntctfrm_options['cntctfrm_display_user_agent'] ) echo 'checked="checked" '; ?>/> <?php _e( "Using (user agent)", 'contact_form' ); ?></label> <label class="bws_info"><?php _e( "Example: Using (user agent): Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36", 'contact_form' ); ?></label>
1015
- </fieldset>
1016
- </td>
1017
- </tr>
1018
- <tr valign="top">
1019
- <th scope="row"><?php _e( "Language settings for the field names in the form", 'contact_form' ); ?></th>
1020
- <td colspan="2">
1021
- <select name="cntctfrm_languages" id="cntctfrm_languages" style="width:300px;">
1022
- <?php foreach ( $lang_codes as $key => $val ) {
1023
- if ( in_array( $key, $cntctfrm_options['cntctfrm_language'] ) )
1024
- continue;
1025
- echo '<option value="' . esc_attr( $key ) . '"> ' . esc_html( $val ) . '</option>';
1026
- } ?>
1027
- </select>
1028
- <input type="button" class="button-primary" id="cntctfrm_add_language_button" value="<?php _e( 'Add a language', 'contact_form' ); ?>" />
1029
- </td>
1030
- </tr>
1031
- <tr valign="top">
1032
- <th scope="row"><?php _e( "Change the names of the contact form fields and error messages", 'contact_form' ); ?></th>
1033
- <td style="width:15px;" class="cntctfrm_td_top_align">
1034
- <input type="checkbox" id="cntctfrm_change_label" name="cntctfrm_change_label" value="1" <?php if ( $cntctfrm_options['cntctfrm_change_label'] == '1' ) echo 'checked="checked" '; ?>/>
1035
- </td>
1036
- <td class="cntctfrm_change_label_block" <?php if ( '0' == $cntctfrm_options['cntctfrm_change_label'] ) echo 'style="display:none"'; ?>>
1037
- <div class="cntctfrm_label_language_tab cntctfrm_active" id="cntctfrm_label_en"><?php _e( 'English', 'contact_form' ); ?></div>
1038
- <?php if ( ! empty( $cntctfrm_options['cntctfrm_language'] ) ) {
1039
- foreach ( $cntctfrm_options['cntctfrm_language'] as $val ) {
1040
- echo '<div class="cntctfrm_label_language_tab" id="cntctfrm_label_' . $val . '">' . $lang_codes[ $val ] . ' <span class="cntctfrm_delete" rel="' . $val . '">X</span></div>';
1041
- }
1042
- } ?>
1043
- <div class="clear"></div>
1044
- <div class="cntctfrm_language_tab cntctfrm_tab_en">
1045
- <div class="cntctfrm_language_tab_block_mini" style="display:none;"><?php _e( "click to expand/hide the list", 'contact_form' ); ?></div>
1046
- <div class="cntctfrm_language_tab_block">
1047
- <input type="text" maxlength="250" name="cntctfrm_name_label[en]" value="<?php echo $cntctfrm_options['cntctfrm_name_label']['en']; ?>" /> <span class="cntctfrm_info"><?php _e( "Name:", 'contact_form' ); ?></span><br />
1048
- <input type="text" maxlength="250" name="cntctfrm_address_label[en]" value="<?php echo $cntctfrm_options['cntctfrm_address_label']['en']; ?>" /> <span class="cntctfrm_info"><?php _e( "Address:", 'contact_form' ); ?></span><br />
1049
- <input type="text" maxlength="250" name="cntctfrm_email_label[en]" value="<?php echo $cntctfrm_options['cntctfrm_email_label']['en']; ?>" /> <span class="cntctfrm_info"><?php _e( "Email Address:", 'contact_form' ); ?></span><br />
1050
- <input type="text" maxlength="250" name="cntctfrm_phone_label[en]" value="<?php echo $cntctfrm_options['cntctfrm_phone_label']['en']; ?>" /> <span class="cntctfrm_info"><?php _e( "Phone number:", 'contact_form' ); ?></span><br />
1051
- <input type="text" maxlength="250" name="cntctfrm_subject_label[en]" value="<?php echo $cntctfrm_options['cntctfrm_subject_label']['en']; ?>" /> <span class="cntctfrm_info"><?php _e( "Subject:", 'contact_form' ); ?></span><br />
1052
- <input type="text" maxlength="250" name="cntctfrm_message_label[en]" value="<?php echo $cntctfrm_options['cntctfrm_message_label']['en']; ?>" /> <span class="cntctfrm_info"><?php _e( "Message:", 'contact_form' ); ?></span><br />
1053
- <input type="text" maxlength="250" name="cntctfrm_attachment_label[en]" value="<?php echo $cntctfrm_options['cntctfrm_attachment_label']['en']; ?>" /> <span class="cntctfrm_info"><?php _e( "Attachment:", 'contact_form' ); ?></span><br />
1054
- <input type="text" maxlength="250" name="cntctfrm_attachment_tooltip[en]" value="<?php echo $cntctfrm_options['cntctfrm_attachment_tooltip']['en']; ?>" /> <span class="cntctfrm_info"><?php _e( "Tips below the Attachment block", 'contact_form' ); ?></span><br />
1055
- <input type="text" maxlength="250" name="cntctfrm_send_copy_label[en]" value="<?php echo $cntctfrm_options['cntctfrm_send_copy_label']['en']; ?>" /> <span class="cntctfrm_info"><?php _e( "Send me a copy", 'contact_form' ); ?></span><br />
1056
- <input type="text" maxlength="250" name="cntctfrm_submit_label[en]" value="<?php echo $cntctfrm_options['cntctfrm_submit_label']['en']; ?>" /> <span class="cntctfrm_info"><?php _e( "Submit", 'contact_form' ); ?></span><br />
1057
- <input type="text" maxlength="250" name="cntctfrm_name_error[en]" value="<?php echo $cntctfrm_options['cntctfrm_name_error']['en']; ?>" /> <span class="cntctfrm_info"><?php _e( "Error message for the Name field", 'contact_form' ); ?></span><br />
1058
- <input type="text" maxlength="250" name="cntctfrm_address_error[en]" value="<?php echo $cntctfrm_options['cntctfrm_address_error']['en']; ?>" /> <span class="cntctfrm_info"><?php _e( "Error message for the Address field", 'contact_form' ); ?></span><br />
1059
- <input type="text" maxlength="250" name="cntctfrm_email_error[en]" value="<?php echo $cntctfrm_options['cntctfrm_email_error']['en']; ?>" /> <span class="cntctfrm_info"><?php _e( "Error message for the Email field", 'contact_form' ); ?></span><br />
1060
- <input type="text" maxlength="250" name="cntctfrm_phone_error[en]" value="<?php echo $cntctfrm_options['cntctfrm_phone_error']['en']; ?>" /> <span class="cntctfrm_info"><?php _e( "Error message for the Phone field", 'contact_form' ); ?></span><br />
1061
- <input type="text" maxlength="250" name="cntctfrm_subject_error[en]" value="<?php echo $cntctfrm_options['cntctfrm_subject_error']['en']; ?>" /> <span class="cntctfrm_info"><?php _e( "Error message for the Subject field", 'contact_form' ); ?></span><br />
1062
- <input type="text" maxlength="250" name="cntctfrm_message_error[en]" value="<?php echo $cntctfrm_options['cntctfrm_message_error']['en']; ?>" /> <span class="cntctfrm_info"><?php _e( "Error message for the Message field", 'contact_form' ); ?></span><br />
1063
- <input type="text" maxlength="250" name="cntctfrm_attachment_error[en]" value="<?php echo $cntctfrm_options['cntctfrm_attachment_error']['en']; ?>" /> <span class="cntctfrm_info"><?php _e( "Error message about the file type for the Attachment field", 'contact_form' ); ?></span><br />
1064
- <input type="text" maxlength="250" name="cntctfrm_attachment_upload_error[en]" value="<?php echo $cntctfrm_options['cntctfrm_attachment_upload_error']['en']; ?>" /> <span class="cntctfrm_info"><?php _e( "Error message while uploading a file for the Attachment field to the server", 'contact_form' ); ?></span><br />
1065
- <input type="text" maxlength="250" name="cntctfrm_attachment_move_error[en]" value="<?php echo $cntctfrm_options['cntctfrm_attachment_move_error']['en']; ?>" /> <span class="cntctfrm_info"><?php _e( "Error message while moving the file for the Attachment field", 'contact_form' ); ?></span><br />
1066
- <input type="text" maxlength="250" name="cntctfrm_attachment_size_error[en]" value="<?php echo $cntctfrm_options['cntctfrm_attachment_size_error']['en']; ?>" /> <span class="cntctfrm_info"><?php _e( "Error message when file size limit for the Attachment field is exceeded", 'contact_form' ); ?></span><br />
1067
- <input type="text" maxlength="250" name="cntctfrm_captcha_error[en]" value="<?php echo $cntctfrm_options['cntctfrm_captcha_error']['en']; ?>" /> <span class="cntctfrm_info"><?php _e( "Error message for the Captcha field", 'contact_form' ); ?></span><br />
1068
- <input type="text" maxlength="250" name="cntctfrm_form_error[en]" value="<?php echo $cntctfrm_options['cntctfrm_form_error']['en']; ?>" /> <span class="cntctfrm_info"><?php _e( "Error message for the whole form", 'contact_form' ); ?></span><br />
1069
- </div>
1070
- <?php if ( ! isset( $contact_form_multi_active ) && ! isset( $contact_form_multi_pro_active ) ) { ?>
1071
- <span class="cntctfrm_info" style="margin-left: 5px;"><?php _e( "Use shortcode", 'contact_form' ); ?> <span class="cntctfrm_shortcode">[bestwebsoft_contact_form lang=en]</span> <?php _e( "or", 'contact_form' ) ?> <span class="cntctfrm_shortcode">[bestwebsoft_contact_form]</span> <?php _e( "for this language", 'contact_form' ); ?></span>
1072
- <?php } else { ?>
1073
- <span class="cntctfrm_info" style="margin-left: 5px;"><?php _e( "Use shortcode", 'contact_form' ); ?> <span class="cntctfrm_shortcode">[bestwebsoft_contact_form lang=en id=<?php echo $_SESSION['cntctfrmmlt_id_form']; ?>]</span> <?php _e( "or", 'contact_form' ); ?> <span class="cntctfrm_shortcode">[bestwebsoft_contact_form id=<?php echo $_SESSION['cntctfrmmlt_id_form']; ?>]</span> <?php _e( "for this language", 'contact_form' ); ?></span>
1074
- <?php } ?>
1075
  </div>
1076
- <?php if ( ! empty( $cntctfrm_options['cntctfrm_language'] ) ) {
1077
- foreach ( $cntctfrm_options['cntctfrm_language'] as $val ) { ?>
1078
- <div class="cntctfrm_language_tab hidden cntctfrm_tab_<?php echo $val; ?>">
1079
- <div class="cntctfrm_language_tab_block_mini" style="display:none;"><?php _e( "click to expand/hide the list", 'contact_form' ); ?></div>
1080
- <div class="cntctfrm_language_tab_block">
1081
- <input type="text" maxlength="250" name="cntctfrm_name_label[<?php echo $val; ?>]" value="<?php if ( isset( $cntctfrm_options['cntctfrm_name_label'][ $val ] ) ) echo $cntctfrm_options['cntctfrm_name_label'][ $val ]; ?>" /> <span class="cntctfrm_info"><?php _e( "Name:", 'contact_form' ); ?></span><br />
1082
- <input type="text" maxlength="250" name="cntctfrm_address_label[<?php echo $val; ?>]" value="<?php if ( isset( $cntctfrm_options['cntctfrm_address_label'][ $val ] ) ) echo $cntctfrm_options['cntctfrm_address_label'][ $val ]; ?>" /> <span class="cntctfrm_info"><?php _e( "Address:", 'contact_form' ); ?></span><br />
1083
- <input type="text" maxlength="250" name="cntctfrm_email_label[<?php echo $val; ?>]" value="<?php if ( isset( $cntctfrm_options['cntctfrm_email_label'][ $val ] ) ) echo $cntctfrm_options['cntctfrm_email_label'][ $val ]; ?>" /> <span class="cntctfrm_info"><?php _e( "Email Address:", 'contact_form' ); ?></span><br />
1084
- <input type="text" maxlength="250" name="cntctfrm_phone_label[<?php echo $val; ?>]" value="<?php if ( isset( $cntctfrm_options['cntctfrm_phone_label'][ $val ] ) ) echo $cntctfrm_options['cntctfrm_phone_label'][ $val ]; ?>" /> <span class="cntctfrm_info"><?php _e( "Phone number:", 'contact_form' ); ?></span><br />
1085
- <input type="text" maxlength="250" name="cntctfrm_subject_label[<?php echo $val; ?>]" value="<?php if ( isset( $cntctfrm_options['cntctfrm_subject_label'][ $val ] ) ) echo $cntctfrm_options['cntctfrm_subject_label'][ $val ]; ?>" /> <span class="cntctfrm_info"><?php _e( "Subject:", 'contact_form' ); ?></span><br />
1086
- <input type="text" maxlength="250" name="cntctfrm_message_label[<?php echo $val; ?>]" value="<?php if ( isset( $cntctfrm_options['cntctfrm_message_label'][ $val ] ) ) echo $cntctfrm_options['cntctfrm_message_label'][ $val ]; ?>" /> <span class="cntctfrm_info"><?php _e( "Message:", 'contact_form' ); ?></span><br />
1087
- <input type="text" maxlength="250" name="cntctfrm_attachment_label[<?php echo $val; ?>]" value="<?php if ( isset( $cntctfrm_options['cntctfrm_attachment_label'][ $val ] ) ) echo $cntctfrm_options['cntctfrm_attachment_label'][ $val ]; ?>" /> <span class="cntctfrm_info"><?php _e( "Attachment:", 'contact_form' ); ?></span><br />
1088
- <input type="text" maxlength="250" name="cntctfrm_attachment_tooltip[<?php echo $val; ?>]" value="<?php if ( isset( $cntctfrm_options['cntctfrm_attachment_tooltip'][ $val ] ) ) echo $cntctfrm_options['cntctfrm_attachment_tooltip'][ $val ]; ?>" /> <span class="cntctfrm_info"><?php _e( "Tips below the Attachment block", 'contact_form' ); ?></span><br />
1089
- <input type="text" maxlength="250" name="cntctfrm_send_copy_label[<?php echo $val; ?>]" value="<?php if ( isset( $cntctfrm_options['cntctfrm_send_copy_label'][ $val ] ) ) echo $cntctfrm_options['cntctfrm_send_copy_label'][ $val ]; ?>" /> <span class="cntctfrm_info"><?php _e( "Send me a copy", 'contact_form' ); ?></span><br />
1090
- <input type="text" maxlength="250" name="cntctfrm_submit_label[<?php echo $val; ?>]" value="<?php if ( isset( $cntctfrm_options['cntctfrm_submit_label'][ $val ] ) ) echo $cntctfrm_options['cntctfrm_submit_label'][ $val ]; ?>" /> <span class="cntctfrm_info"><?php _e( "Submit", 'contact_form' ); ?></span><br />
1091
- <input type="text" maxlength="250" name="cntctfrm_name_error[<?php echo $val; ?>]" value="<?php if ( isset( $cntctfrm_options['cntctfrm_name_error'][ $val ] ) ) echo $cntctfrm_options['cntctfrm_name_error'][ $val ]; ?>" /> <span class="cntctfrm_info"><?php _e( "Error message for the Name field", 'contact_form' ); ?></span><br />
1092
- <input type="text" maxlength="250" name="cntctfrm_address_error[<?php echo $val; ?>]" value="<?php if ( isset( $cntctfrm_options['cntctfrm_address_error'][ $val ] ) ) echo $cntctfrm_options['cntctfrm_address_error'][ $val ]; ?>" /> <span class="cntctfrm_info"><?php _e( "Error message for the Address field", 'contact_form' ); ?></span><br />
1093
- <input type="text" maxlength="250" name="cntctfrm_email_error[<?php echo $val; ?>]" value="<?php if ( isset( $cntctfrm_options['cntctfrm_email_error'][ $val ] ) ) echo $cntctfrm_options['cntctfrm_email_error'][ $val ]; ?>" /> <span class="cntctfrm_info"><?php _e( "Error message for the Email field", 'contact_form' ); ?></span><br />
1094
- <input type="text" maxlength="250" name="cntctfrm_phone_error[<?php echo $val; ?>]" value="<?php if ( isset( $cntctfrm_options['cntctfrm_phone_error'][ $val ] ) ) echo $cntctfrm_options['cntctfrm_phone_error'][ $val ]; ?>" /> <span class="cntctfrm_info"><?php _e( "Error message for the Phone field", 'contact_form' ); ?></span><br />
1095
- <input type="text" maxlength="250" name="cntctfrm_subject_error[<?php echo $val; ?>]" value="<?php if ( isset( $cntctfrm_options['cntctfrm_subject_error'][ $val ] ) ) echo $cntctfrm_options['cntctfrm_subject_error'][ $val ]; ?>" /> <span class="cntctfrm_info"><?php _e( "Error message for the Subject field", 'contact_form' ); ?></span><br />
1096
- <input type="text" maxlength="250" name="cntctfrm_message_error[<?php echo $val; ?>]" value="<?php if ( isset( $cntctfrm_options['cntctfrm_message_error'][ $val ] ) ) echo $cntctfrm_options['cntctfrm_message_error'][ $val ]; ?>" /> <span class="cntctfrm_info"><?php _e( "Error message for the Message field", 'contact_form' ); ?></span><br />
1097
- <input type="text" maxlength="250" name="cntctfrm_attachment_error[<?php echo $val; ?>]" value="<?php if ( isset( $cntctfrm_options['cntctfrm_attachment_error'][ $val ] ) ) echo $cntctfrm_options['cntctfrm_attachment_error'][ $val ]; ?>" /> <span class="cntctfrm_info"><?php _e( "Error message about the file type for the Attachment field", 'contact_form' ); ?></span><br />
1098
- <input type="text" maxlength="250" name="cntctfrm_attachment_upload_error[<?php echo $val; ?>]" value="<?php if ( isset( $cntctfrm_options['cntctfrm_attachment_upload_error'][ $val ] ) ) echo $cntctfrm_options['cntctfrm_attachment_upload_error'][ $val ]; ?>" /> <span class="cntctfrm_info"><?php _e( "Error message while uploading a file for the Attachment field to the server", 'contact_form' ); ?></span><br />
1099
- <input type="text" maxlength="250" name="cntctfrm_attachment_move_error[<?php echo $val; ?>]" value="<?php if ( isset( $cntctfrm_options['cntctfrm_attachment_move_error'][ $val ] ) ) echo $cntctfrm_options['cntctfrm_attachment_move_error'][ $val ]; ?>" /> <span class="cntctfrm_info"><?php _e( "Error message while moving the file for the Attachment field", 'contact_form' ); ?></span><br />
1100
- <input type="text" maxlength="250" name="cntctfrm_attachment_size_error[<?php echo $val; ?>]" value="<?php if ( isset( $cntctfrm_options['cntctfrm_attachment_size_error'][ $val ] ) ) echo $cntctfrm_options['cntctfrm_attachment_size_error'][ $val ]; ?>" /> <span class="cntctfrm_info"><?php _e( "Error message when file size limit for the Attachment field is exceeded", 'contact_form' ); ?></span><br />
1101
- <input type="text" maxlength="250" name="cntctfrm_captcha_error[<?php echo $val; ?>]" value="<?php if ( isset( $cntctfrm_options['cntctfrm_captcha_error'][ $val ] ) ) echo $cntctfrm_options['cntctfrm_captcha_error'][ $val ]; ?>" /> <span class="cntctfrm_info"><?php _e( "Error message for the Captcha field", 'contact_form' ); ?></span><br />
1102
- <input type="text" maxlength="250" name="cntctfrm_form_error[<?php echo $val; ?>]" value="<?php if ( isset( $cntctfrm_options['cntctfrm_form_error'][ $val ] ) ) echo $cntctfrm_options['cntctfrm_form_error'][ $val ]; ?>" /> <span class="cntctfrm_info"><?php _e( "Error message for the whole form", 'contact_form' ); ?></span><br />
1103
- </div>
1104
- <?php if ( ! isset( $contact_form_multi_active ) && ! isset( $contact_form_multi_pro_active ) ) { ?>
1105
- <span class="cntctfrm_info" style="margin-left: 5px;"><?php _e( "Use shortcode", 'contact_form' ); ?> <span class="cntctfrm_shortcode">[bestwebsoft_contact_form lang=<?php echo $val; ?>]</span> <?php _e( "for this language", 'contact_form' ); ?></span>
1106
- <?php } else { ?>
1107
- <span class="cntctfrm_info" style="margin-left: 5px;"><?php _e( "Use shortcode", 'contact_form' ); ?> <span class="cntctfrm_shortcode">[bestwebsoft_contact_form lang=<?php $val . ' id=' . $_SESSION['cntctfrmmlt_id_form']; ?>]</span> <?php _e( "for this language", 'contact_form' ); ?></span>
1108
- <?php } ?>
1109
- </div>
1110
- <?php }
1111
- } ?>
1112
- </td>
1113
- </tr>
1114
- <tr valign="top">
1115
- <th scope="row"><?php _e( 'Use the changed names of the contact form fields in the email', 'contact_form' ); ?></th>
1116
- <td colspan="2">
1117
- <input type="checkbox" name="cntctfrm_change_label_in_email" value="1" <?php if ( $cntctfrm_options['cntctfrm_change_label_in_email'] == '1' ) echo 'checked="checked" '; ?>/>
1118
- </td>
1119
- </tr>
1120
- <tr valign="top">
1121
- <th scope="row"><?php _e( "Action after email is sent", 'contact_form' ); ?></th>
1122
- <td colspan="2" class="cntctfrm_action_after_send_block">
1123
- <label><input type="radio" id="cntctfrm_action_after_send" name="cntctfrm_action_after_send" value="1" <?php if ( '1' == $cntctfrm_options['cntctfrm_action_after_send'] ) echo 'checked="checked" '; ?>/> <?php _e( "Display text", 'contact_form' ); ?></label><br />
1124
- <div class="cntctfrm_label_language_tab cntctfrm_active" id="cntctfrm_text_en"><?php _e( 'English', 'contact_form' ); ?></div>
1125
- <?php if ( ! empty( $cntctfrm_options['cntctfrm_language'] ) ) {
1126
- foreach ( $cntctfrm_options['cntctfrm_language'] as $val ) {
1127
- echo '<div class="cntctfrm_label_language_tab" id="cntctfrm_text_' . $val . '">' . $lang_codes[ $val ] . ' <span class="cntctfrm_delete" rel="' . $val . '">X</span></div>';
1128
- }
1129
- } ?>
1130
  <div class="clear"></div>
1131
- <div class="cntctfrm_language_tab cntctfrm_tab_en" style=" padding: 5px 10px 5px 5px;">
1132
- <input type="text" maxlength="250" name="cntctfrm_thank_text[en]" value="<?php echo $cntctfrm_options['cntctfrm_thank_text']['en']; ?>" /> <span class="cntctfrm_info"><?php _e( "Text", 'contact_form' ); ?></span><br />
1133
- <?php if ( ! isset( $contact_form_multi_active ) && ! isset( $contact_form_multi_pro_active ) ) { ?>
1134
- <span class="cntctfrm_info"><?php _e( "Use shortcode", 'contact_form' ); ?> <span class="cntctfrm_shortcode">[bestwebsoft_contact_form lang=en]</span> <?php _e( "or", 'contact_form' ); ?> <span class="cntctfrm_shortcode">[bestwebsoft_contact_form]</span> <?php _e( "for this language", 'contact_form' ); ?></span>
1135
- <?php } else { ?>
1136
- <span class="cntctfrm_info"><?php _e( "Use shortcode", 'contact_form' ); ?> <span class="cntctfrm_shortcode">[bestwebsoft_contact_form lang=en id=<?php echo $_SESSION['cntctfrmmlt_id_form']; ?>]</span> <?php _e( "or", 'contact_form' ); ?> <span class="cntctfrm_shortcode">[bestwebsoft_contact_form id=<?php echo $_SESSION['cntctfrmmlt_id_form']; ?>]</span> <?php _e( "for this language", 'contact_form' ); ?></span>
1137
- <?php } ?>
1138
- </div>
1139
- <?php if ( ! empty( $cntctfrm_options['cntctfrm_language'] ) ) {
1140
- foreach ( $cntctfrm_options['cntctfrm_language'] as $val ) { ?>
1141
- <div class="cntctfrm_language_tab hidden cntctfrm_tab_<?php echo $val; ?>" style=" padding: 5px 10px 5px 5px;">
1142
- <label><input type="text" maxlength="250" name="cntctfrm_thank_text[<?php echo $val; ?>]" value="<?php if ( isset( $cntctfrm_options['cntctfrm_thank_text'][ $val ] ) ) echo $cntctfrm_options['cntctfrm_thank_text'][ $val ]; ?>" /> <span class="cntctfrm_info"><?php _e( "Text", 'contact_form' ); ?></span></label><br />
1143
- <?php if ( ! isset( $contact_form_multi_active ) && ! isset( $contact_form_multi_pro_active ) ) { ?>
1144
- <span class="cntctfrm_info"><?php _e( "Use shortcode", 'contact_form' ); ?> <span class="cntctfrm_shortcode">[bestwebsoft_contact_form lang=<?php echo $val; ?>]</span> <?php _e( "for this language", 'contact_form' ); ?></span>
1145
- <?php } else { ?>
1146
- <span class="cntctfrm_info"><?php _e( "Use shortcode", 'contact_form' ); ?> <span class="cntctfrm_shortcode">[bestwebsoft_contact_form lang=<?php echo $val . ' id=' . $_SESSION['cntctfrmmlt_id_form']; ?>]</span> <?php _e( "for this language", 'contact_form' ); ?></span>
1147
- <?php } ?>
1148
- </div>
1149
- <?php }
1150
- } ?>
1151
- <div id="cntctfrm_before"></div>
1152
- <br />
1153
- <input type="radio" id="cntctfrm_action_after_send_url" name="cntctfrm_action_after_send" value="0" <?php if ( '0' == $cntctfrm_options['cntctfrm_action_after_send'] ) echo 'checked="checked" '; ?>/> <?php _e( "Redirect to the page", 'contact_form' ); ?><br />
1154
- <label><input type="text" maxlength="250" name="cntctfrm_redirect_url" value="<?php echo $cntctfrm_options['cntctfrm_redirect_url']; ?>" onfocus="document.getElementById('cntctfrm_action_after_send_url').checked = true;" /> <span class="cntctfrm_info"><?php _e( "Url", 'contact_form' ); ?></span></label>
1155
- </td>
1156
- </tr>
1157
- <tr valign="top">
1158
- <th scope="row"><?php _e( 'The $_SERVER variable that is used to build a URL of the form', 'contact_form' ); ?></th>
1159
- <td colspan="2">
1160
- <fieldset>
1161
- <label><input type="radio" name="cntctfrm_site_name_parameter" value="SERVER_NAME" <?php if ( 'SERVER_NAME' == $cntctfrm_options['cntctfrm_site_name_parameter'] ) echo 'checked="checked" '; ?>/> SERVER_NAME</label><br />
1162
- <label><input type="radio" name="cntctfrm_site_name_parameter" value="HTTP_HOST" <?php if ( 'HTTP_HOST' == $cntctfrm_options['cntctfrm_site_name_parameter'] ) echo 'checked="checked" '; ?>/> HTTP_HOST</label><br />
1163
- <span class="cntctfrm_info"><?php _e( "If you are not sure whether to change this setting or not, please do not do that.", 'contact_form' ); ?></span>
1164
- </fieldset>
1165
- </td>
1166
- </tr>
1167
- </table>
1168
- <div class="bws_pro_version_bloc">
1169
- <div class="bws_pro_version_table_bloc">
1170
- <div class="bws_table_bg"></div>
1171
- <table class="form-table bws_pro_version">
1172
- <tr valign="top">
1173
- <th scope="row"><?php _e( 'Auto Response', 'contact_form' ); ?></th>
1174
- <td colspan="2">
1175
- <input disabled="disabled" type="checkbox" value="1" name="cntctfrm_auto_response" checked="checked"/>
1176
- <textarea name="cntctfrm_auto_response_message" style="position: relative; margin-left: 20px; z-index: -1;">Dear %%NAME%%, Thank you for contacting us. We have received your message and will reply to it shortly. Regards, %%SITENAME%% Team.</textarea><br/>
1177
- <span class="cntctfrm_info" style="margin-left: 45px"><?php _e( "You can use %%NAME%% to display data from the email field and %%MESSAGE%% to display data from the Message field, as well as %%SITENAME%% to display blog name.", 'contact_form' ); ?></span>
1178
- </td>
1179
- </tr>
1180
- <tr valign="top">
1181
- <th scope="row" colspan="2">
1182
- * <?php _e( 'If you upgrade to Pro version all your settings will be saved.', 'contact_form' ); ?>
1183
- </th>
1184
- </tr>
1185
- </table>
1186
- </div>
1187
- <div class="bws_pro_version_tooltip">
1188
- <div class="bws_info">
1189
- <?php _e( 'Unlock premium options by upgrading to a PRO version.', 'contact_form' ); ?>
1190
- <a href="http://bestwebsoft.com/products/contact-form/?k=697c5e74f39779ce77850e11dbe21962&pn=77&v=<?php echo $cntctfrm_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>" target="_blank" title="Contact Form Pro"><?php _e( 'Learn More', 'contact_form' ); ?></a>
1191
  </div>
1192
- <a class="bws_button" href="http://bestwebsoft.com/products/contact-form/buy/?k=697c5e74f39779ce77850e11dbe21962&pn=77&v=<?php echo $cntctfrm_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>" target="_blank" title="Contact Form Pro">
1193
- <?php _e( 'Go', 'contact_form' ); ?> <strong>PRO</strong>
1194
- </a>
1195
- <div class="clear"></div>
1196
  </div>
1197
  </div>
1198
- </div>
1199
- <!-- end of 'Additional' settings -->
1200
- <input type="hidden" name="cntctfrm_form_submit" value="submit" />
1201
- <p class="submit">
1202
- <input type="submit" class="button-primary" value="<?php _e( 'Save Changes', 'contact_form' ); ?>" />
1203
- </p>
1204
- <?php wp_nonce_field( $plugin_basename, 'cntctfrm_nonce_name' ); ?>
1205
- </form>
1206
- <?php bws_plugin_reviews_block( $cntctfrm_plugin_info['Name'], 'contact-form-plugin' );
1207
  } elseif ( 'appearance' == $_GET['action'] ) { ?>
1208
  <div id="<?php echo is_rtl() ? 'cntctfrmpr_right_table' : 'cntctfrmpr_left_table' ?>">
1209
  <div class="bws_pro_version_bloc">
@@ -1369,7 +1388,7 @@ if ( ! function_exists( 'cntctfrm_settings_page' ) ) {
1369
  </div>
1370
  <div class="bws_pro_version_tooltip">
1371
  <div class="bws_info">
1372
- <?php _e( 'Unlock premium options by upgrading to a PRO version.', 'contact_form' ); ?>
1373
  <a href="http://bestwebsoft.com/products/contact-form/?k=697c5e74f39779ce77850e11dbe21962&pn=77&v=<?php echo $cntctfrm_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>" target="_blank" title="Contact Form Pro"><?php _e( 'Learn More', 'contact_form' ); ?></a>
1374
  </div>
1375
  <a class="bws_button" href="http://bestwebsoft.com/products/contact-form/buy/?k=697c5e74f39779ce77850e11dbe21962&pn=77&v=<?php echo $cntctfrm_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>" target="_blank" title="Contact Form Pro">
@@ -1490,7 +1509,8 @@ if ( ! function_exists( 'cntctfrm_settings_page' ) ) {
1490
  <div class="clear"></div>
1491
  <?php } elseif ( 'go_pro' == $_GET['action'] ) {
1492
  bws_go_pro_tab( $cntctfrm_plugin_info, $plugin_basename, 'contact_form.php', 'contact_form_pro.php', 'contact-form-pro/contact_form_pro.php', 'contact-form', '697c5e74f39779ce77850e11dbe21962', '77', isset( $go_pro_result['pro_plugin_is_activated'] ) );
1493
- }?>
 
1494
  </div>
1495
  <?php }
1496
  }
4
  Plugin URI: http://bestwebsoft.com/products/
5
  Description: Plugin for Contact Form.
6
  Author: BestWebSoft
7
+ Version: 3.93
8
  Author URI: http://bestwebsoft.com/
9
  License: GPLv2 or later
10
  */
53
  $cntctfrm_plugin_info = get_plugin_data( __FILE__ );
54
  }
55
  /* Function check if plugin is compatible with current WP version */
56
+ bws_wp_version_check( plugin_basename( __FILE__ ), $cntctfrm_plugin_info, '3.1' );
57
 
58
  if ( ! is_admin() )
59
  cntctfrm_check_and_send();
148
  'cntctfrm_delete_attached_file' => '0',
149
  'cntctfrm_html_email' => 1,
150
  'cntctfrm_site_name_parameter' => 'SERVER_NAME',
151
+ 'cntctfrm_change_label_in_email' => 0
152
  );
153
 
154
  /* Check contact-form-multi plugin */
609
  }
610
  }
611
 
612
+
613
  /* Display form on the setting page */
614
  $lang_codes = array(
615
  'ab' => 'Abkhazian', 'aa' => 'Afar', 'af' => 'Afrikaans', 'ak' => 'Akan', 'sq' => 'Albanian', 'am' => 'Amharic', 'ar' => 'Arabic', 'an' => 'Aragonese', 'hy' => 'Armenian', 'as' => 'Assamese', 'av' => 'Avaric', 'ae' => 'Avestan', 'ay' => 'Aymara', 'az' => 'Azerbaijani',
639
  'yi' => 'Yiddish', 'yo' => 'Yoruba',
640
  'za' => 'Zhuang; Chuang', 'zu' => 'Zulu'
641
  );
642
+ /* Add restore function */
643
+ if ( isset( $_REQUEST['bws_restore_confirm'] ) && check_admin_referer( $plugin_basename, 'bws_settings_nonce_name' ) ) {
644
+ $cntctfrm_options = $cntctfrm_option_defaults;
645
+ update_option( 'cntctfrm_options', $cntctfrm_options );
646
+ $message = __( 'All plugin settings were restored.', 'contact_form' );
647
+ } /* end */
648
 
649
  /* GO PRO */
650
  if ( isset( $_GET['action'] ) && 'go_pro' == $_GET['action'] ) {
662
  <a class="nav-tab" href="http://bestwebsoft.com/products/contact-form/faq" target="_blank"><?php _e( 'FAQ', 'contact_form' ); ?></a>
663
  <a class="nav-tab bws_go_pro_tab<?php if ( isset( $_GET['action'] ) && 'go_pro' == $_GET['action'] ) echo ' nav-tab-active'; ?>" href="admin.php?page=contact_form.php&amp;action=go_pro"><?php _e( 'Go PRO', 'contact_form' ); ?></a>
664
  </h2>
665
+ <div class="updated fade" <?php if ( $message == "" || "" != $error ) echo "style=\"display:none\""; ?>><p><strong><?php echo $message; ?></strong></p></div>
666
  <div id="cntctfrm_settings_notice" class="updated fade" style="display:none"><p><strong><?php _e( "Notice:", 'contact_form' ); ?></strong> <?php _e( "The plugin's settings have been changed. In order to save them please don't forget to click the 'Save Changes' button.", 'contact_form' ); ?></p></div>
667
  <?php if ( ! empty( $notice ) ) { ?>
668
  <div class="error"><p><strong><?php _e( 'Notice:', 'contact_form' ); ?></strong> <?php echo $notice; ?></p></div>
669
  <?php } ?>
670
  <div class="error" <?php if ( "" == $error ) echo 'style="display:none"'; ?>><p><strong><?php echo $error; ?></strong></p></div>
671
  <?php if ( ! isset( $_GET['action'] ) || 'additional' == $_GET['action'] ) {
672
+ if ( isset( $_REQUEST['bws_restore_default'] ) && check_admin_referer( $plugin_basename, 'bws_settings_nonce_name' ) ) {
673
+ bws_form_restore_default_confirm( $plugin_basename );
674
+ } else {
675
+ /* main 'settings' or 'additional' settings page */
676
+ if ( ! isset( $contact_form_multi_active ) && ! isset( $contact_form_multi_pro_active ) ) { ?>
677
+ <h2 class="nav-tab-wrapper">
678
+ <li class="nav-tab nav-tab-active">NEW_FORM</li>
679
+ <a id="cntctfrm_show_multi_notice" class="nav-tab" target="_new" href="http://bestwebsoft.com/products/contact-form-multi/?k=747ca825fb44711e2d24e40697747bc6&pn=77&v=<?php echo $cntctfrm_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>" title="<?php _e( "If you want to create multiple contact forms, please install the Contact Form Multi plugin.", 'contact_form' ); ?>">+</a>
680
+ </h2>
681
+ <?php }
682
+ $form_action = ( ! isset( $_GET['action'] ) ) ? 'admin.php?page=contact_form.php' : 'admin.php?page=contact_form.php&amp;action=' . $_GET['action']; ?>
683
+ <form id="cntctfrm_settings_form" method="post" action="<?php echo $form_action ?>">
684
+ <span style="margin-bottom:15px;">
685
+ <?php if ( ! isset( $contact_form_multi_active ) && ! isset( $contact_form_multi_pro_active ) ) { ?>
686
+ <p><?php _e( "If you would like to add Contact Form to your website, just copy and paste this shortcode to your post or page or widget:", 'contact_form' ); ?> <span class="cntctfrm_shortcode">[contact_form]</span> <?php _e( "or", 'contact_form' ); ?> <span class="cntctfrm_shortcode">[contact_form lang=en]</span><br />
687
+ <?php _e( "If you have any problems with the standard shortcode [contact_form], you should use the shortcode", 'contact_form' ); ?> <span class="cntctfrm_shortcode">[bws_contact_form]</span> (<?php _e( "or", 'contact_form' ); ?> <span class="cntctfrm_shortcode">[bws_contact_form lang=en]</span>) <?php _e( "or", 'contact_form' ); ?> <span class="cntctfrm_shortcode">[bestwebsoft_contact_form]</span> (<?php _e( "or", 'contact_form' ); ?> <span class="cntctfrm_shortcode">[bestwebsoft_contact_form lang=en]</span>). <?php _e( "They work the same way.", 'contact_form' ); ?></p>
688
+ <?php } else { ?>
689
+ <p><?php _e( "If you would like to add the Contact Form to your website, just copy and paste this shortcode to your post or page or widget:", 'contact_form' ); ?> <span class="cntctfrm_shortcode">[contact_form id=<?php echo $_SESSION['cntctfrmmlt_id_form']; ?>]</span> <?php _e( "or", 'contact_form' ); ?> <span class="cntctfrm_shortcode">[contact_form lang=en id=<?php echo $_SESSION['cntctfrmmlt_id_form']; ?>]</span><br />
690
+ <?php _e( "If have any problems with the standard shortcode [contact_form], you should use the shortcode", 'contact_form' ); ?> <span class="cntctfrm_shortcode">[bws_contact_form id=<?php echo $_SESSION['cntctfrmmlt_id_form']; ?>]</span> (<?php _e( "or", 'contact_form' ); ?> <span class="cntctfrm_shortcode">[bws_contact_form lang=en id=<?php echo $_SESSION['cntctfrmmlt_id_form']; ?>]</span>) <?php _e( "or", 'contact_form' ); ?> <span class="cntctfrm_shortcode">[bestwebsoft_contact_form id=<?php echo $_SESSION['cntctfrmmlt_id_form']; ?>]</span> (<?php _e( "or", 'contact_form' ); ?> <span class="cntctfrm_shortcode">[bestwebsoft_contact_form lang=en id=<?php echo $_SESSION['cntctfrmmlt_id_form']; ?>]</span>). <?php _e( "They work the same way.", 'contact_form' ); ?></p>
691
+ <?php } ?>
692
+ </span>
693
+ <div <?php if ( isset( $_GET['action'] ) ) echo 'style="display: none;"'; ?> >
694
+ <p><?php _e( "If you leave the fields empty, the messages will be sent to the email address specified during registration.", 'contact_form' ); ?></p>
695
+ <table class="form-table" style="width:auto;">
696
+ <tr valign="top">
697
+ <th scope="row"><?php _e( "The user's email address:", 'contact_form' ); ?> </th>
698
+ <td colspan="2">
699
+ <input type="radio" id="cntctfrm_select_email_user" name="cntctfrm_select_email" value="user" <?php if ( $cntctfrm_options['cntctfrm_select_email'] == 'user' ) echo 'checked="checked" '; ?>/>
700
+ <select name="cntctfrm_user_email">
701
+ <option disabled><?php _e( "Select a username", 'contact_form' ); ?></option>
702
+ <?php foreach ( $userslogin as $key => $value ) {
703
+ if ( isset( $value->data ) ) {
704
+ if ( $value->data->user_email != '' ) { ?>
705
+ <option value="<?php echo $value->data->user_login; ?>" <?php if ( $cntctfrm_options['cntctfrm_user_email'] == $value->data->user_login ) echo 'selected="selected" '; ?>><?php echo $value->data->user_login; ?></option>
706
+ <?php }
707
+ } else {
708
+ if ( $value->user_email != '' ) { ?>
709
+ <option value="<?php echo $value->user_login; ?>" <?php if ( $cntctfrm_options['cntctfrm_user_email'] == $value->user_login ) echo 'selected="selected" '; ?>><?php echo $value->user_login; ?></option>
710
+ <?php }
711
+ }
712
+ } ?>
713
+ </select>
714
+ <span class="cntctfrm_info"><?php _e( "Enter a username of the person who should get the messages from the contact form.", 'contact_form' ); ?></span>
715
+ </td>
716
+ </tr>
717
+ <tr valign="top">
718
+ <th scope="row"><?php _e( "Use this email address:", 'contact_form' ); ?></th>
719
+ <td colspan="2">
720
+ <input type="radio" id="cntctfrm_select_email_custom" name="cntctfrm_select_email" value="custom" <?php if ( 'custom' == $cntctfrm_options['cntctfrm_select_email'] ) echo 'checked="checked" '; ?>/>
721
+ <input type="text" name="cntctfrm_custom_email" value="<?php echo $cntctfrm_options['cntctfrm_custom_email']; ?>" onfocus="document.getElementById('cntctfrm_select_email_custom').checked = true;" maxlength="500" />
722
+ <span class="cntctfrm_info"><?php _e( "Enter the email address you want the messages forwarded to.", 'contact_form' ); ?></span>
723
+ </td>
724
+ </tr>
725
+ </table>
726
+ <div class="bws_pro_version_bloc">
727
+ <div class="bws_pro_version_table_bloc">
728
+ <div class="bws_table_bg"></div>
729
+ <table class="form-table bws_pro_version">
730
+ <tr valign="top">
731
+ <th scope="row"><?php _e( "Add department selectbox to the contact form:", 'contact_form' ); ?></th>
732
+ <td colspan="2">
733
+ <input type="radio" id="cntctfrmpr_select_email_department" name="cntctfrmpr_select_email" value="departments" disabled="disabled" />
734
+ <div class="cntctfrmpr_department_table"><img style="width:100%;" src="<?php echo plugins_url( 'images/pro_screen_1.png', __FILE__ ); ?>" alt="" /></div>
735
+ </td>
736
+ </tr>
737
+ <tr valign="top">
738
+ <th scope="row" colspan="2">
739
+ * <?php _e( 'If you upgrade to Pro version all your settings will be saved.', 'contact_form' ); ?>
740
+ </th>
741
+ </tr>
742
+ </table>
743
+ </div>
744
+ <div class="bws_pro_version_tooltip">
745
+ <div class="bws_info">
746
+ <?php _e( 'Unlock premium options by upgrading to PRO version.', 'contact_form' ); ?>
747
+ <a href="http://bestwebsoft.com/products/contact-form/?k=697c5e74f39779ce77850e11dbe21962&pn=77&v=<?php echo $cntctfrm_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>" target="_blank" title="Contact Form Pro"><?php _e( 'Learn More', 'contact_form' ); ?></a>
748
+ </div>
749
+ <a class="bws_button" href="http://bestwebsoft.com/products/contact-form/buy/?k=697c5e74f39779ce77850e11dbe21962&pn=77&v=<?php echo $cntctfrm_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>" target="_blank" title="Contact Form Pro">
750
+ <?php _e( 'Go', 'contact_form' ); ?> <strong>PRO</strong>
751
+ </a>
752
+ <div class="clear"></div>
753
  </div>
 
 
 
 
754
  </div>
755
+ <table class="form-table" style="width:auto;">
756
+ <tr valign="top">
757
+ <th scope="row"><?php _e( "Save emails to the database", 'contact_form' ); ?> </th>
758
+ <td colspan="2">
759
+ <?php if ( array_key_exists( 'contact-form-to-db/contact_form_to_db.php', $all_plugins ) || array_key_exists( 'contact-form-to-db-pro/contact_form_to_db_pro.php', $all_plugins ) ) {
760
+ if ( is_plugin_active( 'contact-form-to-db/contact_form_to_db.php' ) || is_plugin_active( 'contact-form-to-db-pro/contact_form_to_db_pro.php' ) ) { ?>
761
+ <input type="checkbox" name="cntctfrm_save_email_to_db" value="1" <?php if ( ( isset( $cntctfrmtdb_options ) && 1 == $cntctfrmtdb_options["cntctfrmtdb_save_messages_to_db"] ) || ( isset( $cntctfrmtdbpr_options ) && 1 == $cntctfrmtdbpr_options["save_messages_to_db"] ) ) echo 'checked="checked"'; ?> />
762
+ <span class="bws_info"> (<?php _e( 'Using', 'contact_form' ); ?> <a href="admin.php?page=cntctfrmtdb_manager">Contact Form to DB by BestWebSoft</a>)</span>
763
+ <?php } else { ?>
764
+ <input disabled="disabled" type="checkbox" name="cntctfrm_save_email_to_db" value="1" <?php if ( ( isset( $cntctfrmtdb_options ) && 1 == $cntctfrmtdb_options["cntctfrmtdb_save_messages_to_db"] ) || ( isset( $cntctfrmtdbpr_options ) && 1 == $cntctfrmtdbpr_options["save_messages_to_db"] ) ) echo 'checked="checked"'; ?> />
765
+ <span class="bws_info">(<?php _e( 'Using Contact Form to DB by BestWebSoft', 'contact_form' ); ?>) <a href="<?php echo bloginfo("url"); ?>/wp-admin/plugins.php"><?php _e( 'Activate', 'contact_form' ); ?> Contact Form to DB</a></span>
766
+ <?php }
767
+ } else { ?>
768
+ <input disabled="disabled" type="checkbox" name="cntctfrm_save_email_to_db" value="1" />
769
+ <span class="bws_info">(<?php _e( 'Using Contact Form to DB by BestWebSoft', 'contact_form' ); ?>) <a href="http://bestwebsoft.com/products/contact-form-to-db/?k=19d806f45d866e70545de83169b274f2&pn=77&v=<?php echo $cntctfrm_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>"><?php _e( 'Download', 'contact_form' ); ?> Contact Form to DB</a></span>
770
+ <?php } ?>
771
+ </td>
772
+ </tr>
773
+ </table>
774
  </div>
775
+ <!-- end of main 'settings' div -->
776
+ <div <?php if ( ! isset( $_GET['action'] ) ) echo 'style="display: none;"'; ?> >
777
+ <table class="form-table" style="width:auto;">
778
+ <tr>
779
+ <th scope="row"><?php _e( 'What to use?', 'contact_form' ); ?></th>
780
+ <td colspan="2">
781
+ <fieldset>
782
+ <label>
783
+ <input type='radio' name='cntctfrm_mail_method' value='wp-mail' <?php if ( 'wp-mail' == $cntctfrm_options['cntctfrm_mail_method'] ) echo 'checked="checked" '; ?>/>
784
+ <?php _e( 'Wp-mail', 'contact_form' ); ?>
785
+ </label>
786
+ <label><span class="cntctfrm_info">(<?php _e( 'You can use the wp_mail function for mailing', 'contact_form' ); ?>)</span></label><br />
787
+ <label>
788
+ <input type='radio' name='cntctfrm_mail_method' value='mail' <?php if ( 'mail' == $cntctfrm_options['cntctfrm_mail_method'] ) echo 'checked="checked" '; ?>/>
789
+ <?php _e( 'Mail', 'contact_form' ); ?>
790
+ </label>
791
+ <label><span class="cntctfrm_info">(<?php _e( 'To send mail you can use the php mail function', 'contact_form' ); ?>)</span></label>
792
+ </fieldset>
793
+ </td>
794
+ </tr>
795
+ <tr valign="top">
796
+ <th scope="row"><?php _e( "'FROM' field", 'contact_form' ); ?></th>
797
+ <td style="vertical-align: top;width: 210px;">
798
+ <div><?php _e( "Name", 'contact_form' ); ?></div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
799
  <div>
800
+ <label>
801
+ <input type="radio" id="cntctfrm_select_from_custom_field" name="cntctfrm_select_from_field" value="custom" <?php if ( 'custom' == $cntctfrm_options['cntctfrm_select_from_field'] ) echo 'checked="checked" '; ?> />
802
+ <input type="text" name="cntctfrm_from_field" value="<?php echo stripslashes( $cntctfrm_options['cntctfrm_from_field'] ); ?>" onfocus="document.getElementById('cntctfrm_select_from_custom_field').checked = true;" size="18" maxlength="100" />
803
+ </label><br/>
804
+ <div>
805
+ <label><input type="radio" id="cntctfrm_select_from_field" name="cntctfrm_select_from_field" value="user_name" <?php if ( 'user_name' == $cntctfrm_options['cntctfrm_select_from_field'] ) echo 'checked="checked" '; ?>/> <?php _e( "User name", 'contact_form' ); ?></label>
806
+ <div class="cntctfrm_help_box">
807
+ <div class="cntctfrm_hidden_help_text"><?php echo __( "The name of the user who fills the form will be used in the field 'From'.", 'contact_form' ); ?></div>
808
+ </div>
809
  </div>
810
  </div>
811
+ </td>
812
+ <td>
813
+ <div><?php _e( "Email", 'contact_form' ); ?></div>
 
 
814
  <div>
815
+ <div>
816
+ <input type="radio" id="cntctfrm_from_custom_email" name="cntctfrm_from_email" value="custom" <?php if ( 'custom' == $cntctfrm_options['cntctfrm_from_email'] ) echo 'checked="checked" '; ?>/>
817
+ <input type="text" name="cntctfrm_custom_from_email" value="<?php echo $cntctfrm_options['cntctfrm_custom_from_email']; ?>" onfocus="document.getElementById('cntctfrm_from_custom_email').checked = true;" maxlength="100" />
818
+ </div>
819
+ <div>
820
+ <label><input type="radio" id="cntctfrm_from_email" name="cntctfrm_from_email" value="user" <?php if ( 'user' == $cntctfrm_options['cntctfrm_from_email'] ) echo 'checked="checked" '; ?>/> <?php _e( "User email", 'contact_form' ); ?></label>
821
+ <div class="cntctfrm_help_box">
822
+ <div class="cntctfrm_hidden_help_text"><?php echo __( "The email address of the user who fills the form will be used in the field 'From'.", 'contact_form' ); ?></div>
823
+ </div>
824
+ </div>
825
+ <div>
826
+ <span class="cntctfrm_info">(<?php _e( "If this option is changed, email messages may be moved to the spam folder or email delivery failures may occur.", 'contact_form' ); ?>)</span>
827
+ </div>
828
  </div>
829
+ </td>
830
+ </tr>
831
+ <tr valign="top">
832
+ <th scope="row"><?php _e( "Required symbol", 'contact_form' ); ?></th>
833
+ <td colspan="2">
834
+ <input type="text" id="cntctfrm_required_symbol" name="cntctfrm_required_symbol" value="<?php echo $cntctfrm_options['cntctfrm_required_symbol']; ?>" maxlength="100" />
835
+ </td>
836
+ </tr>
837
+ </table>
838
+ <br />
839
+ <table class="cntctfrm_settings_table" style="width:auto;">
840
+ <thead>
841
+ <tr valign="top">
842
+ <th scope="row" style="width: 210px;"><?php _e( "Fields", 'contact_form' ); ?></th>
843
+ <th><?php _e( "Used", 'contact_form' ); ?></th>
844
+ <th><?php _e( "Required", 'contact_form' ); ?></th>
845
+ <th><?php _e( "Visible", 'contact_form' ); ?></th>
846
+ <th><?php _e( "Disabled for editing", 'contact_form' ); ?></th>
847
+ <th scope="row" ><?php _e( "Field's default value", 'contact_form' ); ?></th>
848
+ </tr>
849
+ </thead>
850
+ <tbody>
851
+ <tr valign="top" >
852
+ <td><?php _e( "Department selectbox", 'contact_form' ); ?></td>
853
+ <td class="bws_pro_version"></td>
854
+ <td class="bws_pro_version"><input disabled="disabled" type="checkbox" name="cntctfrm_required_department_field" value="1"/></td>
855
+ <td class="bws_pro_version"></td>
856
+ <td class="bws_pro_version"></td>
857
+ <td class="bws_pro_version"></td>
858
+ </tr>
859
+ <tr valign="top">
860
+ <td><?php _e( "Name", 'contact_form' ); ?></td>
861
+ <td><input type="checkbox" name="cntctfrm_display_name_field" value="1" <?php if ( '1' == $cntctfrm_options['cntctfrm_display_name_field'] ) echo 'checked="checked" '; ?>/></td>
862
+ <td><input type="checkbox" id="cntctfrm_required_name_field" name="cntctfrm_required_name_field" value="1" <?php if ( '1' == $cntctfrm_options['cntctfrm_required_name_field'] ) echo 'checked="checked" '; ?>/></td>
863
+ <td class="bws_pro_version"><input disabled="disabled" type="checkbox" name="cntctfrmpr_visible_name" value="1" checked="checked" /></td>
864
+ <td class="bws_pro_version"><input disabled="disabled" type="checkbox" name="cntctfrmpr_disabled_name" value="1" /></td>
865
+ <td class="bws_pro_version">
866
+ <input disabled="disabled" type="checkbox" name="cntctfrmpr_default_name" value="1" />
867
+ <?php _e( "Use User's name as a default value if the user is logged in.", 'contact_form' ); ?><br />
868
+ <span class="cntctfrm_info">(<?php _e( "'Visible' and 'Disabled for editing' options will be applied only to logged-in users.", 'contact_form' ); ?>)</span>
869
+ </td>
870
+ </tr>
871
+ <tr valign="top">
872
+ <td><?php _e( "Location selectbox", 'contact_form' ); ?></td>
873
+ <td class="bws_pro_version"><input disabled="disabled" type="checkbox" name="cntctfrmpr_display_selectbox" value="1" /></td>
874
+ <td class="bws_pro_version"><input disabled="disabled" type="checkbox" name="cntctfrmpr_required_selectbox" value="1" /></td>
875
+ <td class="bws_pro_version"></td>
876
+ <td class="bws_pro_version"></td>
877
+ <td class="bws_pro_version"><input disabled="disabled" type="file" name="cntctfrmpr_default_location"></td>
878
+ </tr>
879
+ <tr valign="top">
880
+ <td><?php _e( "Address", 'contact_form' ); ?></td>
881
+ <td><input type="checkbox" id="cntctfrm_display_address_field" name="cntctfrm_display_address_field" value="1" <?php if ( '1' == $cntctfrm_options['cntctfrm_display_address_field'] ) echo 'checked="checked" '; ?>/></td>
882
+ <td><input type="checkbox" id="cntctfrm_required_address_field" name="cntctfrm_required_address_field" value="1" <?php if ( '1' == $cntctfrm_options['cntctfrm_required_address_field'] ) echo 'checked="checked" '; ?>/></td>
883
+ <td></td>
884
+ <td></td>
885
+ <td></td>
886
+ </tr>
887
+ <tr valign="top">
888
+ <td><?php _e( "Email Address", 'contact_form' ); ?></td>
889
+ <td></td>
890
+ <td><input type="checkbox" id="cntctfrm_required_email_field" name="cntctfrm_required_email_field" value="1" <?php if ( '1' == $cntctfrm_options['cntctfrm_required_email_field'] ) echo 'checked="checked" '; ?>/></td>
891
+ <td class="bws_pro_version"><input disabled="disabled" type="checkbox" name="cntctfrmpr_visible_email" value="1" checked="checked" /></td>
892
+ <td class="bws_pro_version"><input disabled="disabled" type="checkbox" name="cntctfrmpr_disabled_email" value="1" /></td>
893
+ <td class="bws_pro_version">
894
+ <input disabled="disabled" type="checkbox" name="cntctfrmpr_default_email" value="1" />
895
+ <?php _e( "Use User's email as a default value if the user is logged in.", 'contact_form' ); ?><br />
896
+ <span class="cntctfrm_info">(<?php _e( "'Visible' and 'Disabled for editing' options will be applied only to logged-in users.", 'contact_form' ); ?>)</span>
897
+ </td>
898
+ </tr>
899
+ <tr valign="top">
900
+ <td><?php _e( "Phone number", 'contact_form' ); ?></td>
901
+ <td><input type="checkbox" id="cntctfrm_display_phone_field" name="cntctfrm_display_phone_field" value="1" <?php if ( '1' == $cntctfrm_options['cntctfrm_display_phone_field'] ) echo 'checked="checked" '; ?>/></td>
902
+ <td><input type="checkbox" id="cntctfrm_required_phone_field" name="cntctfrm_required_phone_field" value="1" <?php if ( '1' == $cntctfrm_options['cntctfrm_required_phone_field'] ) echo 'checked="checked" '; ?>/></td>
903
+ <td></td>
904
+ <td></td>
905
+ <td></td>
906
+ </tr>
907
+ <tr valign="top">
908
+ <td><?php _e( "Subject", 'contact_form' ); ?></td>
909
+ <td></td>
910
+ <td><input type="checkbox" id="cntctfrm_required_subject_field" name="cntctfrm_required_subject_field" value="1" <?php if ( '1' == $cntctfrm_options['cntctfrm_required_subject_field'] ) echo 'checked="checked" '; ?>/></td>
911
+ <td class="bws_pro_version"><input class="subject" disabled="disabled" type="checkbox" name="cntctfrmpr_visible_subject" value="1" checked="checked" /></td>
912
+ <td class="bws_pro_version"><input class="subject" disabled="disabled" type="checkbox" name="cntctfrmpr_disabled_subject" value="1" /></td>
913
+ <td class="bws_pro_version"><input class="subject" disabled="disabled" type="text" name="cntctfrmpr_default_subject" value="" /></td>
914
+ </tr>
915
+ <tr valign="top">
916
+ <td><?php _e( "Message", 'contact_form' ); ?></td>
917
+ <td></td>
918
+ <td><input type="checkbox" id="cntctfrm_required_message_field" name="cntctfrm_required_message_field" value="1" <?php if ( '1' == $cntctfrm_options['cntctfrm_required_message_field'] ) echo 'checked="checked" '; ?>/></td>
919
+ <td class="bws_pro_version"><input class="message" disabled="disabled" type="checkbox" name="cntctfrmpr_visible_message" value="1" checked="checked" /></td>
920
+ <td class="bws_pro_version"><input class="message" disabled="disabled" disabled="disabled" type="checkbox" name="cntctfrmpr_disabled_message" value="1" /></td>
921
+ <td class="bws_pro_version"><input class="message" disabled="disabled" type="text" name="cntctfrmpr_default_message" value="" /></td>
922
+ </tr>
923
+ <tr valign="top">
924
+ <td></td>
925
+ <td></td>
926
+ <td></td>
927
+ <td colspan="3" class="bws_pro_version_tooltip">
928
+ <div class="bws_info">
929
+ <?php _e( 'Unlock premium options by upgrading to PRO version.', 'contact_form' ); ?>
930
+ <a href="http://bestwebsoft.com/products/contact-form/?k=697c5e74f39779ce77850e11dbe21962&pn=77&v=<?php echo $cntctfrm_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>" target="_blank" title="Contact Form Pro"><?php _e( 'Learn More', 'contact_form' ); ?></a>
931
+ </div>
932
+ <a class="bws_button" href="http://bestwebsoft.com/products/contact-form/buy/?k=697c5e74f39779ce77850e11dbe21962&pn=77&v=<?php echo $cntctfrm_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>" target="_blank" title="Contact Form Pro">
933
+ <?php _e( 'Go', 'contact_form' ); ?> <strong>PRO</strong>
934
+ </a>
935
+ <div class="clear"></div>
936
+ </td>
937
+ </tr>
938
+ <tr valign="top">
939
+ <td>
940
+ <?php _e( "Attachment block", 'contact_form' ); ?>
941
+ <div class="cntctfrm_help_box">
942
+ <div class="cntctfrm_hidden_help_text"><?php echo __( "Users can attach the following file formats", 'contact_form' ) . ": html, txt, css, gif, png, jpeg, jpg, tiff, bmp, ai, eps, ps, rtf, pdf, doc, docx, xls, xlsx, zip, rar, wav, mp3, ppt, aar, sce"; ?></div>
943
+ </div>
944
+ </td>
945
+ <td><input type="checkbox" id="cntctfrm_attachment" name="cntctfrm_attachment" value="1" <?php if ( '1' == $cntctfrm_options['cntctfrm_attachment'] ) echo 'checked="checked" '; ?>/></td>
946
+ <td></td>
947
+ <td></td>
948
+ <td></td>
949
+ <td></td>
950
+ </tr>
951
+ </tbody>
952
+ </table>
953
+ <table class="form-table" style="width:auto;">
954
+ <tr valign="top">
955
+ <th scope="row"><?php _e( "Add to the form", 'contact_form' ); ?></th>
956
+ <td style="width:750px;" colspan="3">
957
  <div>
958
+ <label>
959
+ <input type="checkbox" id="cntctfrm_attachment_explanations" name="cntctfrm_attachment_explanations" value="1" <?php if ( '1' == $cntctfrm_options['cntctfrm_attachment_explanations'] && '1' == $cntctfrm_options['cntctfrm_attachment'] ) echo 'checked="checked" '; ?>/>
960
+ <?php _e( "Tips below the Attachment", 'contact_form' ); ?>
961
+ </label>
962
  <div class="cntctfrm_help_box">
963
+ <div class="cntctfrm_hidden_help_text"><img title="" src="<?php echo plugins_url( 'images/tooltip_attachment_tips.png', __FILE__ ); ?>" alt=""/></div>
964
  </div>
965
  </div>
966
  <div>
967
+ <label>
968
+ <input type="checkbox" id="cntctfrm_send_copy" name="cntctfrm_send_copy" value="1" <?php if ( '1' == $cntctfrm_options['cntctfrm_send_copy'] ) echo 'checked="checked" '; ?>/>
969
+ <?php _e( "'Send me a copy' block", 'contact_form' ); ?>
970
+ </label>
971
+ <div class="cntctfrm_help_box">
972
+ <div class="cntctfrm_hidden_help_text"><img title="" src="<?php echo plugins_url( 'images/tooltip_sendme_block.png', __FILE__ ); ?>" alt=""/></div>
973
+ </div>
974
+ </div>
975
+ <div style="clear: both;">
976
+ <?php if ( array_key_exists( 'captcha/captcha.php', $all_plugins ) || array_key_exists( 'captcha-plus/captcha-plus.php', $all_plugins ) || array_key_exists( 'captcha-pro/captcha_pro.php', $all_plugins ) ) {
977
+ if ( is_plugin_active( 'captcha/captcha.php' ) || is_plugin_active( 'captcha-plus/captcha-plus.php' ) || is_plugin_active( 'captcha-pro/captcha_pro.php' ) ) { ?>
978
+ <label><input type="checkbox" name="cntctfrm_display_captcha" value="1" <?php if ( ( isset( $cptch_options ) && 1 == $cptch_options["cptch_contact_form"] ) ||( isset( $cptchpls_options ) && 1 == $cptchpls_options["cptchpls_contact_form"] ) || ( isset( $cptchpr_options ) && 1 == $cptchpr_options["cptchpr_contact_form"] ) ) echo 'checked="checked"'; ?> />
979
+ Captcha by BestWebSoft</label>
980
+ <?php } else { ?>
981
+ <label><input disabled="disabled" type="checkbox" name="cntctfrm_display_captcha" value="1" <?php if ( ( isset( $cptch_options ) && 1 == $cptch_options["cptch_contact_form"] ) || ( isset( $cptchpls_options ) && 1 == $cptchpls_options["cptchpls_contact_form"] ) || ( isset( $cptchpr_options ) && 1 == $cptchpr_options["cptchpr_contact_form"] ) ) echo 'checked="checked"'; ?> />
982
+ Captcha by BestWebSoft</label> <span class="bws_info"><a href="<?php echo bloginfo("url"); ?>/wp-admin/plugins.php"><?php _e( 'Activate captcha', 'contact_form' ); ?></a></span>
983
+ <?php }
984
+ } else { ?>
985
+ <label><input disabled="disabled" type="checkbox" name="cntctfrm_display_captcha" value="1" />
986
+ Captcha by BestWebSoft</label> <span class="bws_info"><a href="http://bestwebsoft.com/products/captcha/?k=19ac1e9b23bea947cfc4a9b8e3326c03&pn=77&v=<?php echo $cntctfrm_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>"><?php _e( 'Download captcha', 'contact_form' ); ?></a></span>
987
+ <?php } ?>
988
+ </div>
989
+ <div class="bws_pro_version_bloc">
990
+ <div class="bws_pro_version_table_bloc">
991
+ <div class="bws_table_bg"></div>
992
+ <div class="bws_pro_version">
993
+ <fieldset>
994
+ <label><input disabled="disabled" type="checkbox" value="1" name="cntctfrmpr_display_privacy_check"> <?php _e( 'Agreement checkbox', 'contact_form' ); ?> <span class="bws_info">(<?php _e( 'Required checkbox for submitting the form', 'contact_form' ); ?>)</span></label><br />
995
+ <label><input disabled="disabled" type="checkbox" value="1" name="cntctfrmpr_display_optional_check"> <?php _e( 'Optional checkbox', 'contact_form' ); ?> <span class="bws_info">(<?php _e( 'Optional checkbox, the results of which will be displayed in email', 'contact_form' ); ?>)</span></label>
996
+ </fieldset>
997
+ </div>
998
+ </div>
999
+ <div class="bws_pro_version_tooltip">
1000
+ <div class="bws_info">
1001
+ <?php _e( 'Unlock premium options by upgrading to PRO version.', 'contact_form' ); ?>
1002
+ <a href="http://bestwebsoft.com/products/contact-form/?k=697c5e74f39779ce77850e11dbe21962&pn=77&v=<?php echo $cntctfrm_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>" target="_blank" title="Contact Form Pro"><?php _e( 'Learn More', 'contact_form' ); ?></a>
1003
+ </div>
1004
+ <a class="bws_button" href="http://bestwebsoft.com/products/contact-form/buy/?k=697c5e74f39779ce77850e11dbe21962&pn=77&v=<?php echo $cntctfrm_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>" target="_blank" title="Contact Form Pro">
1005
+ <?php _e( 'Go', 'contact_form' ); ?> <strong>PRO</strong>
1006
+ </a>
1007
+ <div class="clear"></div>
1008
+ </div>
1009
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1010
  </td>
1011
  </tr>
1012
  <tr valign="top">
1013
+ <th scope="row"><?php _e( "Delete an attachment file from the server after the email is sent", 'contact_form' ); ?> </th>
1014
+ <td colspan="3">
1015
+ <input type="checkbox" id="cntctfrm_delete_attached_file" name="cntctfrm_delete_attached_file" value="1" <?php if ( '1' == $cntctfrm_options['cntctfrm_delete_attached_file'] ) echo 'checked="checked" '; ?>/>
1016
+ </td>
 
 
1017
  </tr>
1018
  <tr valign="top">
1019
+ <th scope="row"><?php _e( "Email in HTML format sending", 'contact_form' ); ?></th>
1020
+ <td colspan="2"><input type="checkbox" name="cntctfrm_html_email" value="1" <?php if ( '1' == $cntctfrm_options['cntctfrm_html_email'] ) echo 'checked="checked" '; ?>/></td>
 
 
 
 
1021
  </tr>
1022
  <tr valign="top">
1023
+ <th scope="row"><?php _e( "Display additional info in the email", 'contact_form' ); ?></th>
1024
+ <td style="width:15px;" class="cntctfrm_td_top_align">
1025
+ <input type="checkbox" id="cntctfrm_display_add_info" name="cntctfrm_display_add_info" value="1" <?php if ( '1' == $cntctfrm_options['cntctfrm_display_add_info'] ) echo 'checked="checked" '; ?>/>
1026
+ </td>
1027
+ <td class="cntctfrm_display_add_info_block" <?php if ( '0' == $cntctfrm_options['cntctfrm_display_add_info'] ) echo 'style="display:none"'; ?>>
1028
+ <fieldset>
1029
+ <label><input type="checkbox" id="cntctfrm_display_sent_from" name="cntctfrm_display_sent_from" value="1" <?php if ( '1' == $cntctfrm_options['cntctfrm_display_sent_from'] ) echo 'checked="checked" '; ?>/> <?php _e( "Sent from (ip address)", 'contact_form' ); ?></label> <label class="bws_info"><?php _e( "Example: Sent from (IP address): 127.0.0.1", 'contact_form' ); ?></label><br />
1030
+ <label><input type="checkbox" id="cntctfrm_display_date_time" name="cntctfrm_display_date_time" value="1" <?php if ( '1' == $cntctfrm_options['cntctfrm_display_date_time'] ) echo 'checked="checked" '; ?>/> <?php _e( "Date/Time", 'contact_form' ); ?></label> <label class="bws_info"><?php _e( "Example: Date/Time: August 19, 2013 8:50 pm", 'contact_form' ); ?></label><br />
1031
+ <label><input type="checkbox" id="cntctfrm_display_coming_from" name="cntctfrm_display_coming_from" value="1" <?php if ( '1' == $cntctfrm_options['cntctfrm_display_coming_from'] ) echo 'checked="checked" '; ?>/> <?php _e( "Sent from (referer)", 'contact_form' ); ?></label> <label class="bws_info"><?php _e( "Example: Sent from (referer): http://bestwebsoft.com/contacts/contact-us/", 'contact_form' ); ?></label><br />
1032
+ <label><input type="checkbox" id="cntctfrm_display_user_agent" name="cntctfrm_display_user_agent" value="1" <?php if ( '1' == $cntctfrm_options['cntctfrm_display_user_agent'] ) echo 'checked="checked" '; ?>/> <?php _e( "Using (user agent)", 'contact_form' ); ?></label> <label class="bws_info"><?php _e( "Example: Using (user agent): Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36", 'contact_form' ); ?></label>
1033
+ </fieldset>
1034
  </td>
1035
  </tr>
1036
  <tr valign="top">
1037
+ <th scope="row"><?php _e( "Language settings for the field names in the form", 'contact_form' ); ?></th>
1038
+ <td colspan="2">
1039
+ <select name="cntctfrm_languages" id="cntctfrm_languages" style="width:300px;">
1040
+ <?php foreach ( $lang_codes as $key => $val ) {
1041
+ if ( in_array( $key, $cntctfrm_options['cntctfrm_language'] ) )
1042
+ continue;
1043
+ echo '<option value="' . esc_attr( $key ) . '"> ' . esc_html( $val ) . '</option>';
1044
+ } ?>
1045
+ </select>
1046
+ <input type="button" class="button-primary" id="cntctfrm_add_language_button" value="<?php _e( 'Add a language', 'contact_form' ); ?>" />
1047
+ </td>
1048
  </tr>
1049
  <tr valign="top">
1050
+ <th scope="row"><?php _e( "Change the names of the contact form fields and error messages", 'contact_form' ); ?></th>
1051
+ <td style="width:15px;" class="cntctfrm_td_top_align">
1052
+ <input type="checkbox" id="cntctfrm_change_label" name="cntctfrm_change_label" value="1" <?php if ( $cntctfrm_options['cntctfrm_change_label'] == '1' ) echo 'checked="checked" '; ?>/>
1053
+ </td>
1054
+ <td class="cntctfrm_change_label_block" <?php if ( '0' == $cntctfrm_options['cntctfrm_change_label'] ) echo 'style="display:none"'; ?>>
1055
+ <div class="cntctfrm_label_language_tab cntctfrm_active" id="cntctfrm_label_en"><?php _e( 'English', 'contact_form' ); ?></div>
1056
+ <?php if ( ! empty( $cntctfrm_options['cntctfrm_language'] ) ) {
1057
+ foreach ( $cntctfrm_options['cntctfrm_language'] as $val ) {
1058
+ echo '<div class="cntctfrm_label_language_tab" id="cntctfrm_label_' . $val . '">' . $lang_codes[ $val ] . ' <span class="cntctfrm_delete" rel="' . $val . '">X</span></div>';
1059
+ }
1060
+ } ?>
1061
+ <div class="clear"></div>
1062
+ <div class="cntctfrm_language_tab cntctfrm_tab_en">
1063
+ <div class="cntctfrm_language_tab_block_mini" style="display:none;"><?php _e( "click to expand/hide the list", 'contact_form' ); ?></div>
1064
+ <div class="cntctfrm_language_tab_block">
1065
+ <input type="text" maxlength="250" name="cntctfrm_name_label[en]" value="<?php echo $cntctfrm_options['cntctfrm_name_label']['en']; ?>" /> <span class="cntctfrm_info"><?php _e( "Name:", 'contact_form' ); ?></span><br />
1066
+ <input type="text" maxlength="250" name="cntctfrm_address_label[en]" value="<?php echo $cntctfrm_options['cntctfrm_address_label']['en']; ?>" /> <span class="cntctfrm_info"><?php _e( "Address:", 'contact_form' ); ?></span><br />
1067
+ <input type="text" maxlength="250" name="cntctfrm_email_label[en]" value="<?php echo $cntctfrm_options['cntctfrm_email_label']['en']; ?>" /> <span class="cntctfrm_info"><?php _e( "Email Address:", 'contact_form' ); ?></span><br />
1068
+ <input type="text" maxlength="250" name="cntctfrm_phone_label[en]" value="<?php echo $cntctfrm_options['cntctfrm_phone_label']['en']; ?>" /> <span class="cntctfrm_info"><?php _e( "Phone number:", 'contact_form' ); ?></span><br />
1069
+ <input type="text" maxlength="250" name="cntctfrm_subject_label[en]" value="<?php echo $cntctfrm_options['cntctfrm_subject_label']['en']; ?>" /> <span class="cntctfrm_info"><?php _e( "Subject:", 'contact_form' ); ?></span><br />
1070
+ <input type="text" maxlength="250" name="cntctfrm_message_label[en]" value="<?php echo $cntctfrm_options['cntctfrm_message_label']['en']; ?>" /> <span class="cntctfrm_info"><?php _e( "Message:", 'contact_form' ); ?></span><br />
1071
+ <input type="text" maxlength="250" name="cntctfrm_attachment_label[en]" value="<?php echo $cntctfrm_options['cntctfrm_attachment_label']['en']; ?>" /> <span class="cntctfrm_info"><?php _e( "Attachment:", 'contact_form' ); ?></span><br />
1072
+ <input type="text" maxlength="250" name="cntctfrm_attachment_tooltip[en]" value="<?php echo $cntctfrm_options['cntctfrm_attachment_tooltip']['en']; ?>" /> <span class="cntctfrm_info"><?php _e( "Tips below the Attachment block", 'contact_form' ); ?></span><br />
1073
+ <input type="text" maxlength="250" name="cntctfrm_send_copy_label[en]" value="<?php echo $cntctfrm_options['cntctfrm_send_copy_label']['en']; ?>" /> <span class="cntctfrm_info"><?php _e( "Send me a copy", 'contact_form' ); ?></span><br />
1074
+ <input type="text" maxlength="250" name="cntctfrm_submit_label[en]" value="<?php echo $cntctfrm_options['cntctfrm_submit_label']['en']; ?>" /> <span class="cntctfrm_info"><?php _e( "Submit", 'contact_form' ); ?></span><br />
1075
+ <input type="text" maxlength="250" name="cntctfrm_name_error[en]" value="<?php echo $cntctfrm_options['cntctfrm_name_error']['en']; ?>" /> <span class="cntctfrm_info"><?php _e( "Error message for the Name field", 'contact_form' ); ?></span><br />
1076
+ <input type="text" maxlength="250" name="cntctfrm_address_error[en]" value="<?php echo $cntctfrm_options['cntctfrm_address_error']['en']; ?>" /> <span class="cntctfrm_info"><?php _e( "Error message for the Address field", 'contact_form' ); ?></span><br />
1077
+ <input type="text" maxlength="250" name="cntctfrm_email_error[en]" value="<?php echo $cntctfrm_options['cntctfrm_email_error']['en']; ?>" /> <span class="cntctfrm_info"><?php _e( "Error message for the Email field", 'contact_form' ); ?></span><br />
1078
+ <input type="text" maxlength="250" name="cntctfrm_phone_error[en]" value="<?php echo $cntctfrm_options['cntctfrm_phone_error']['en']; ?>" /> <span class="cntctfrm_info"><?php _e( "Error message for the Phone field", 'contact_form' ); ?></span><br />
1079
+ <input type="text" maxlength="250" name="cntctfrm_subject_error[en]" value="<?php echo $cntctfrm_options['cntctfrm_subject_error']['en']; ?>" /> <span class="cntctfrm_info"><?php _e( "Error message for the Subject field", 'contact_form' ); ?></span><br />
1080
+ <input type="text" maxlength="250" name="cntctfrm_message_error[en]" value="<?php echo $cntctfrm_options['cntctfrm_message_error']['en']; ?>" /> <span class="cntctfrm_info"><?php _e( "Error message for the Message field", 'contact_form' ); ?></span><br />
1081
+ <input type="text" maxlength="250" name="cntctfrm_attachment_error[en]" value="<?php echo $cntctfrm_options['cntctfrm_attachment_error']['en']; ?>" /> <span class="cntctfrm_info"><?php _e( "Error message about the file type for the Attachment field", 'contact_form' ); ?></span><br />
1082
+ <input type="text" maxlength="250" name="cntctfrm_attachment_upload_error[en]" value="<?php echo $cntctfrm_options['cntctfrm_attachment_upload_error']['en']; ?>" /> <span class="cntctfrm_info"><?php _e( "Error message while uploading a file for the Attachment field to the server", 'contact_form' ); ?></span><br />
1083
+ <input type="text" maxlength="250" name="cntctfrm_attachment_move_error[en]" value="<?php echo $cntctfrm_options['cntctfrm_attachment_move_error']['en']; ?>" /> <span class="cntctfrm_info"><?php _e( "Error message while moving the file for the Attachment field", 'contact_form' ); ?></span><br />
1084
+ <input type="text" maxlength="250" name="cntctfrm_attachment_size_error[en]" value="<?php echo $cntctfrm_options['cntctfrm_attachment_size_error']['en']; ?>" /> <span class="cntctfrm_info"><?php _e( "Error message when file size limit for the Attachment field is exceeded", 'contact_form' ); ?></span><br />
1085
+ <input type="text" maxlength="250" name="cntctfrm_captcha_error[en]" value="<?php echo $cntctfrm_options['cntctfrm_captcha_error']['en']; ?>" /> <span class="cntctfrm_info"><?php _e( "Error message for the Captcha field", 'contact_form' ); ?></span><br />
1086
+ <input type="text" maxlength="250" name="cntctfrm_form_error[en]" value="<?php echo $cntctfrm_options['cntctfrm_form_error']['en']; ?>" /> <span class="cntctfrm_info"><?php _e( "Error message for the whole form", 'contact_form' ); ?></span><br />
1087
+ </div>
1088
+ <?php if ( ! isset( $contact_form_multi_active ) && ! isset( $contact_form_multi_pro_active ) ) { ?>
1089
+ <span class="cntctfrm_info" style="margin-left: 5px;"><?php _e( "Use shortcode", 'contact_form' ); ?> <span class="cntctfrm_shortcode">[bestwebsoft_contact_form lang=en]</span> <?php _e( "or", 'contact_form' ) ?> <span class="cntctfrm_shortcode">[bestwebsoft_contact_form]</span> <?php _e( "for this language", 'contact_form' ); ?></span>
1090
+ <?php } else { ?>
1091
+ <span class="cntctfrm_info" style="margin-left: 5px;"><?php _e( "Use shortcode", 'contact_form' ); ?> <span class="cntctfrm_shortcode">[bestwebsoft_contact_form lang=en id=<?php echo $_SESSION['cntctfrmmlt_id_form']; ?>]</span> <?php _e( "or", 'contact_form' ); ?> <span class="cntctfrm_shortcode">[bestwebsoft_contact_form id=<?php echo $_SESSION['cntctfrmmlt_id_form']; ?>]</span> <?php _e( "for this language", 'contact_form' ); ?></span>
1092
+ <?php } ?>
1093
+ </div>
1094
+ <?php if ( ! empty( $cntctfrm_options['cntctfrm_language'] ) ) {
1095
+ foreach ( $cntctfrm_options['cntctfrm_language'] as $val ) { ?>
1096
+ <div class="cntctfrm_language_tab hidden cntctfrm_tab_<?php echo $val; ?>">
1097
+ <div class="cntctfrm_language_tab_block_mini" style="display:none;"><?php _e( "click to expand/hide the list", 'contact_form' ); ?></div>
1098
+ <div class="cntctfrm_language_tab_block">
1099
+ <input type="text" maxlength="250" name="cntctfrm_name_label[<?php echo $val; ?>]" value="<?php if ( isset( $cntctfrm_options['cntctfrm_name_label'][ $val ] ) ) echo $cntctfrm_options['cntctfrm_name_label'][ $val ]; ?>" /> <span class="cntctfrm_info"><?php _e( "Name:", 'contact_form' ); ?></span><br />
1100
+ <input type="text" maxlength="250" name="cntctfrm_address_label[<?php echo $val; ?>]" value="<?php if ( isset( $cntctfrm_options['cntctfrm_address_label'][ $val ] ) ) echo $cntctfrm_options['cntctfrm_address_label'][ $val ]; ?>" /> <span class="cntctfrm_info"><?php _e( "Address:", 'contact_form' ); ?></span><br />
1101
+ <input type="text" maxlength="250" name="cntctfrm_email_label[<?php echo $val; ?>]" value="<?php if ( isset( $cntctfrm_options['cntctfrm_email_label'][ $val ] ) ) echo $cntctfrm_options['cntctfrm_email_label'][ $val ]; ?>" /> <span class="cntctfrm_info"><?php _e( "Email Address:", 'contact_form' ); ?></span><br />
1102
+ <input type="text" maxlength="250" name="cntctfrm_phone_label[<?php echo $val; ?>]" value="<?php if ( isset( $cntctfrm_options['cntctfrm_phone_label'][ $val ] ) ) echo $cntctfrm_options['cntctfrm_phone_label'][ $val ]; ?>" /> <span class="cntctfrm_info"><?php _e( "Phone number:", 'contact_form' ); ?></span><br />
1103
+ <input type="text" maxlength="250" name="cntctfrm_subject_label[<?php echo $val; ?>]" value="<?php if ( isset( $cntctfrm_options['cntctfrm_subject_label'][ $val ] ) ) echo $cntctfrm_options['cntctfrm_subject_label'][ $val ]; ?>" /> <span class="cntctfrm_info"><?php _e( "Subject:", 'contact_form' ); ?></span><br />
1104
+ <input type="text" maxlength="250" name="cntctfrm_message_label[<?php echo $val; ?>]" value="<?php if ( isset( $cntctfrm_options['cntctfrm_message_label'][ $val ] ) ) echo $cntctfrm_options['cntctfrm_message_label'][ $val ]; ?>" /> <span class="cntctfrm_info"><?php _e( "Message:", 'contact_form' ); ?></span><br />
1105
+ <input type="text" maxlength="250" name="cntctfrm_attachment_label[<?php echo $val; ?>]" value="<?php if ( isset( $cntctfrm_options['cntctfrm_attachment_label'][ $val ] ) ) echo $cntctfrm_options['cntctfrm_attachment_label'][ $val ]; ?>" /> <span class="cntctfrm_info"><?php _e( "Attachment:", 'contact_form' ); ?></span><br />
1106
+ <input type="text" maxlength="250" name="cntctfrm_attachment_tooltip[<?php echo $val; ?>]" value="<?php if ( isset( $cntctfrm_options['cntctfrm_attachment_tooltip'][ $val ] ) ) echo $cntctfrm_options['cntctfrm_attachment_tooltip'][ $val ]; ?>" /> <span class="cntctfrm_info"><?php _e( "Tips below the Attachment block", 'contact_form' ); ?></span><br />
1107
+ <input type="text" maxlength="250" name="cntctfrm_send_copy_label[<?php echo $val; ?>]" value="<?php if ( isset( $cntctfrm_options['cntctfrm_send_copy_label'][ $val ] ) ) echo $cntctfrm_options['cntctfrm_send_copy_label'][ $val ]; ?>" /> <span class="cntctfrm_info"><?php _e( "Send me a copy", 'contact_form' ); ?></span><br />
1108
+ <input type="text" maxlength="250" name="cntctfrm_submit_label[<?php echo $val; ?>]" value="<?php if ( isset( $cntctfrm_options['cntctfrm_submit_label'][ $val ] ) ) echo $cntctfrm_options['cntctfrm_submit_label'][ $val ]; ?>" /> <span class="cntctfrm_info"><?php _e( "Submit", 'contact_form' ); ?></span><br />
1109
+ <input type="text" maxlength="250" name="cntctfrm_name_error[<?php echo $val; ?>]" value="<?php if ( isset( $cntctfrm_options['cntctfrm_name_error'][ $val ] ) ) echo $cntctfrm_options['cntctfrm_name_error'][ $val ]; ?>" /> <span class="cntctfrm_info"><?php _e( "Error message for the Name field", 'contact_form' ); ?></span><br />
1110
+ <input type="text" maxlength="250" name="cntctfrm_address_error[<?php echo $val; ?>]" value="<?php if ( isset( $cntctfrm_options['cntctfrm_address_error'][ $val ] ) ) echo $cntctfrm_options['cntctfrm_address_error'][ $val ]; ?>" /> <span class="cntctfrm_info"><?php _e( "Error message for the Address field", 'contact_form' ); ?></span><br />
1111
+ <input type="text" maxlength="250" name="cntctfrm_email_error[<?php echo $val; ?>]" value="<?php if ( isset( $cntctfrm_options['cntctfrm_email_error'][ $val ] ) ) echo $cntctfrm_options['cntctfrm_email_error'][ $val ]; ?>" /> <span class="cntctfrm_info"><?php _e( "Error message for the Email field", 'contact_form' ); ?></span><br />
1112
+ <input type="text" maxlength="250" name="cntctfrm_phone_error[<?php echo $val; ?>]" value="<?php if ( isset( $cntctfrm_options['cntctfrm_phone_error'][ $val ] ) ) echo $cntctfrm_options['cntctfrm_phone_error'][ $val ]; ?>" /> <span class="cntctfrm_info"><?php _e( "Error message for the Phone field", 'contact_form' ); ?></span><br />
1113
+ <input type="text" maxlength="250" name="cntctfrm_subject_error[<?php echo $val; ?>]" value="<?php if ( isset( $cntctfrm_options['cntctfrm_subject_error'][ $val ] ) ) echo $cntctfrm_options['cntctfrm_subject_error'][ $val ]; ?>" /> <span class="cntctfrm_info"><?php _e( "Error message for the Subject field", 'contact_form' ); ?></span><br />
1114
+ <input type="text" maxlength="250" name="cntctfrm_message_error[<?php echo $val; ?>]" value="<?php if ( isset( $cntctfrm_options['cntctfrm_message_error'][ $val ] ) ) echo $cntctfrm_options['cntctfrm_message_error'][ $val ]; ?>" /> <span class="cntctfrm_info"><?php _e( "Error message for the Message field", 'contact_form' ); ?></span><br />
1115
+ <input type="text" maxlength="250" name="cntctfrm_attachment_error[<?php echo $val; ?>]" value="<?php if ( isset( $cntctfrm_options['cntctfrm_attachment_error'][ $val ] ) ) echo $cntctfrm_options['cntctfrm_attachment_error'][ $val ]; ?>" /> <span class="cntctfrm_info"><?php _e( "Error message about the file type for the Attachment field", 'contact_form' ); ?></span><br />
1116
+ <input type="text" maxlength="250" name="cntctfrm_attachment_upload_error[<?php echo $val; ?>]" value="<?php if ( isset( $cntctfrm_options['cntctfrm_attachment_upload_error'][ $val ] ) ) echo $cntctfrm_options['cntctfrm_attachment_upload_error'][ $val ]; ?>" /> <span class="cntctfrm_info"><?php _e( "Error message while uploading a file for the Attachment field to the server", 'contact_form' ); ?></span><br />
1117
+ <input type="text" maxlength="250" name="cntctfrm_attachment_move_error[<?php echo $val; ?>]" value="<?php if ( isset( $cntctfrm_options['cntctfrm_attachment_move_error'][ $val ] ) ) echo $cntctfrm_options['cntctfrm_attachment_move_error'][ $val ]; ?>" /> <span class="cntctfrm_info"><?php _e( "Error message while moving the file for the Attachment field", 'contact_form' ); ?></span><br />
1118
+ <input type="text" maxlength="250" name="cntctfrm_attachment_size_error[<?php echo $val; ?>]" value="<?php if ( isset( $cntctfrm_options['cntctfrm_attachment_size_error'][ $val ] ) ) echo $cntctfrm_options['cntctfrm_attachment_size_error'][ $val ]; ?>" /> <span class="cntctfrm_info"><?php _e( "Error message when file size limit for the Attachment field is exceeded", 'contact_form' ); ?></span><br />
1119
+ <input type="text" maxlength="250" name="cntctfrm_captcha_error[<?php echo $val; ?>]" value="<?php if ( isset( $cntctfrm_options['cntctfrm_captcha_error'][ $val ] ) ) echo $cntctfrm_options['cntctfrm_captcha_error'][ $val ]; ?>" /> <span class="cntctfrm_info"><?php _e( "Error message for the Captcha field", 'contact_form' ); ?></span><br />
1120
+ <input type="text" maxlength="250" name="cntctfrm_form_error[<?php echo $val; ?>]" value="<?php if ( isset( $cntctfrm_options['cntctfrm_form_error'][ $val ] ) ) echo $cntctfrm_options['cntctfrm_form_error'][ $val ]; ?>" /> <span class="cntctfrm_info"><?php _e( "Error message for the whole form", 'contact_form' ); ?></span><br />
1121
+ </div>
1122
+ <?php if ( ! isset( $contact_form_multi_active ) && ! isset( $contact_form_multi_pro_active ) ) { ?>
1123
+ <span class="cntctfrm_info" style="margin-left: 5px;"><?php _e( "Use shortcode", 'contact_form' ); ?> <span class="cntctfrm_shortcode">[bestwebsoft_contact_form lang=<?php echo $val; ?>]</span> <?php _e( "for this language", 'contact_form' ); ?></span>
1124
+ <?php } else { ?>
1125
+ <span class="cntctfrm_info" style="margin-left: 5px;"><?php _e( "Use shortcode", 'contact_form' ); ?> <span class="cntctfrm_shortcode">[bestwebsoft_contact_form lang=<?php $val . ' id=' . $_SESSION['cntctfrmmlt_id_form']; ?>]</span> <?php _e( "for this language", 'contact_form' ); ?></span>
1126
+ <?php } ?>
1127
+ </div>
1128
+ <?php }
1129
+ } ?>
1130
+ </td>
1131
  </tr>
1132
  <tr valign="top">
1133
+ <th scope="row"><?php _e( 'Use the changed names of the contact form fields in the email', 'contact_form' ); ?></th>
1134
+ <td colspan="2">
1135
+ <input type="checkbox" name="cntctfrm_change_label_in_email" value="1" <?php if ( $cntctfrm_options['cntctfrm_change_label_in_email'] == '1' ) echo 'checked="checked" '; ?>/>
1136
+ </td>
 
 
1137
  </tr>
1138
  <tr valign="top">
1139
+ <th scope="row"><?php _e( "Action after email is sent", 'contact_form' ); ?></th>
1140
+ <td colspan="2" class="cntctfrm_action_after_send_block">
1141
+ <label><input type="radio" id="cntctfrm_action_after_send" name="cntctfrm_action_after_send" value="1" <?php if ( '1' == $cntctfrm_options['cntctfrm_action_after_send'] ) echo 'checked="checked" '; ?>/> <?php _e( "Display text", 'contact_form' ); ?></label><br />
1142
+ <div class="cntctfrm_label_language_tab cntctfrm_active" id="cntctfrm_text_en"><?php _e( 'English', 'contact_form' ); ?></div>
1143
+ <?php if ( ! empty( $cntctfrm_options['cntctfrm_language'] ) ) {
1144
+ foreach ( $cntctfrm_options['cntctfrm_language'] as $val ) {
1145
+ echo '<div class="cntctfrm_label_language_tab" id="cntctfrm_text_' . $val . '">' . $lang_codes[ $val ] . ' <span class="cntctfrm_delete" rel="' . $val . '">X</span></div>';
1146
+ }
1147
+ } ?>
 
 
1148
  <div class="clear"></div>
1149
+ <div class="cntctfrm_language_tab cntctfrm_tab_en" style=" padding: 5px 10px 5px 5px;">
1150
+ <input type="text" maxlength="250" name="cntctfrm_thank_text[en]" value="<?php echo $cntctfrm_options['cntctfrm_thank_text']['en']; ?>" /> <span class="cntctfrm_info"><?php _e( "Text", 'contact_form' ); ?></span><br />
1151
+ <?php if ( ! isset( $contact_form_multi_active ) && ! isset( $contact_form_multi_pro_active ) ) { ?>
1152
+ <span class="cntctfrm_info"><?php _e( "Use shortcode", 'contact_form' ); ?> <span class="cntctfrm_shortcode">[bestwebsoft_contact_form lang=en]</span> <?php _e( "or", 'contact_form' ); ?> <span class="cntctfrm_shortcode">[bestwebsoft_contact_form]</span> <?php _e( "for this language", 'contact_form' ); ?></span>
1153
+ <?php } else { ?>
1154
+ <span class="cntctfrm_info"><?php _e( "Use shortcode", 'contact_form' ); ?> <span class="cntctfrm_shortcode">[bestwebsoft_contact_form lang=en id=<?php echo $_SESSION['cntctfrmmlt_id_form']; ?>]</span> <?php _e( "or", 'contact_form' ); ?> <span class="cntctfrm_shortcode">[bestwebsoft_contact_form id=<?php echo $_SESSION['cntctfrmmlt_id_form']; ?>]</span> <?php _e( "for this language", 'contact_form' ); ?></span>
1155
+ <?php } ?>
1156
+ </div>
1157
+ <?php if ( ! empty( $cntctfrm_options['cntctfrm_language'] ) ) {
1158
+ foreach ( $cntctfrm_options['cntctfrm_language'] as $val ) { ?>
1159
+ <div class="cntctfrm_language_tab hidden cntctfrm_tab_<?php echo $val; ?>" style=" padding: 5px 10px 5px 5px;">
1160
+ <label><input type="text" maxlength="250" name="cntctfrm_thank_text[<?php echo $val; ?>]" value="<?php if ( isset( $cntctfrm_options['cntctfrm_thank_text'][ $val ] ) ) echo $cntctfrm_options['cntctfrm_thank_text'][ $val ]; ?>" /> <span class="cntctfrm_info"><?php _e( "Text", 'contact_form' ); ?></span></label><br />
1161
+ <?php if ( ! isset( $contact_form_multi_active ) && ! isset( $contact_form_multi_pro_active ) ) { ?>
1162
+ <span class="cntctfrm_info"><?php _e( "Use shortcode", 'contact_form' ); ?> <span class="cntctfrm_shortcode">[bestwebsoft_contact_form lang=<?php echo $val; ?>]</span> <?php _e( "for this language", 'contact_form' ); ?></span>
1163
+ <?php } else { ?>
1164
+ <span class="cntctfrm_info"><?php _e( "Use shortcode", 'contact_form' ); ?> <span class="cntctfrm_shortcode">[bestwebsoft_contact_form lang=<?php echo $val . ' id=' . $_SESSION['cntctfrmmlt_id_form']; ?>]</span> <?php _e( "for this language", 'contact_form' ); ?></span>
1165
+ <?php } ?>
1166
+ </div>
1167
+ <?php }
1168
+ } ?>
1169
+ <div id="cntctfrm_before"></div>
1170
+ <br />
1171
+ <input type="radio" id="cntctfrm_action_after_send_url" name="cntctfrm_action_after_send" value="0" <?php if ( '0' == $cntctfrm_options['cntctfrm_action_after_send'] ) echo 'checked="checked" '; ?>/> <?php _e( "Redirect to the page", 'contact_form' ); ?><br />
1172
+ <label><input type="text" maxlength="250" name="cntctfrm_redirect_url" value="<?php echo $cntctfrm_options['cntctfrm_redirect_url']; ?>" onfocus="document.getElementById('cntctfrm_action_after_send_url').checked = true;" /> <span class="cntctfrm_info"><?php _e( "Url", 'contact_form' ); ?></span></label>
1173
  </td>
1174
  </tr>
1175
  <tr valign="top">
1176
+ <th scope="row"><?php _e( 'The $_SERVER variable that is used to build a URL of the form', 'contact_form' ); ?></th>
1177
+ <td colspan="2">
1178
+ <fieldset>
1179
+ <label><input type="radio" name="cntctfrm_site_name_parameter" value="SERVER_NAME" <?php if ( 'SERVER_NAME' == $cntctfrm_options['cntctfrm_site_name_parameter'] ) echo 'checked="checked" '; ?>/> SERVER_NAME</label><br />
1180
+ <label><input type="radio" name="cntctfrm_site_name_parameter" value="HTTP_HOST" <?php if ( 'HTTP_HOST' == $cntctfrm_options['cntctfrm_site_name_parameter'] ) echo 'checked="checked" '; ?>/> HTTP_HOST</label><br />
1181
+ <span class="cntctfrm_info"><?php _e( "If you are not sure whether to change this setting or not, please do not do that.", 'contact_form' ); ?></span>
1182
+ </fieldset>
1183
  </td>
 
 
 
 
 
1184
  </tr>
1185
+ </table>
1186
+ <div class="bws_pro_version_bloc">
1187
+ <div class="bws_pro_version_table_bloc">
1188
+ <div class="bws_table_bg"></div>
1189
+ <table class="form-table bws_pro_version">
1190
+ <tr valign="top">
1191
+ <th scope="row"><?php _e( 'Auto Response', 'contact_form' ); ?></th>
1192
+ <td colspan="2">
1193
+ <input disabled="disabled" type="checkbox" value="1" name="cntctfrm_auto_response" checked="checked"/>
1194
+ <textarea name="cntctfrm_auto_response_message" style="position: relative; margin-left: 20px; z-index: -1;">Dear %%NAME%%, Thank you for contacting us. We have received your message and will reply to it shortly. Regards, %%SITENAME%% Team.</textarea><br/>
1195
+ <span class="cntctfrm_info" style="margin-left: 45px"><?php _e( "You can use %%NAME%% to display data from the email field and %%MESSAGE%% to display data from the Message field, as well as %%SITENAME%% to display blog name.", 'contact_form' ); ?></span>
1196
+ </td>
1197
+ </tr>
1198
+ <tr valign="top">
1199
+ <th scope="row" colspan="2">
1200
+ * <?php _e( 'If you upgrade to Pro version all your settings will be saved.', 'contact_form' ); ?>
1201
+ </th>
1202
+ </tr>
1203
+ </table>
1204
+ </div>
1205
+ <div class="bws_pro_version_tooltip">
1206
+ <div class="bws_info">
1207
+ <?php _e( 'Unlock premium options by upgrading to PRO version.', 'contact_form' ); ?>
1208
+ <a href="http://bestwebsoft.com/products/contact-form/?k=697c5e74f39779ce77850e11dbe21962&pn=77&v=<?php echo $cntctfrm_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>" target="_blank" title="Contact Form Pro"><?php _e( 'Learn More', 'contact_form' ); ?></a>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1209
  </div>
1210
+ <a class="bws_button" href="http://bestwebsoft.com/products/contact-form/buy/?k=697c5e74f39779ce77850e11dbe21962&pn=77&v=<?php echo $cntctfrm_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>" target="_blank" title="Contact Form Pro">
1211
+ <?php _e( 'Go', 'contact_form' ); ?> <strong>PRO</strong>
1212
+ </a>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1213
  <div class="clear"></div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1214
  </div>
 
 
 
 
1215
  </div>
1216
  </div>
1217
+ <!-- end of 'Additional' settings -->
1218
+ <input type="hidden" name="cntctfrm_form_submit" value="submit" />
1219
+ <p class="submit">
1220
+ <input type="submit" class="button-primary" value="<?php _e( 'Save Changes', 'contact_form' ); ?>" />
1221
+ </p>
1222
+ <?php wp_nonce_field( $plugin_basename, 'cntctfrm_nonce_name' ); ?>
1223
+ </form>
1224
+ <?php bws_form_restore_default_settings( $plugin_basename );
1225
+ }
1226
  } elseif ( 'appearance' == $_GET['action'] ) { ?>
1227
  <div id="<?php echo is_rtl() ? 'cntctfrmpr_right_table' : 'cntctfrmpr_left_table' ?>">
1228
  <div class="bws_pro_version_bloc">
1388
  </div>
1389
  <div class="bws_pro_version_tooltip">
1390
  <div class="bws_info">
1391
+ <?php _e( 'Unlock premium options by upgrading to PRO version.', 'contact_form' ); ?>
1392
  <a href="http://bestwebsoft.com/products/contact-form/?k=697c5e74f39779ce77850e11dbe21962&pn=77&v=<?php echo $cntctfrm_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>" target="_blank" title="Contact Form Pro"><?php _e( 'Learn More', 'contact_form' ); ?></a>
1393
  </div>
1394
  <a class="bws_button" href="http://bestwebsoft.com/products/contact-form/buy/?k=697c5e74f39779ce77850e11dbe21962&pn=77&v=<?php echo $cntctfrm_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>" target="_blank" title="Contact Form Pro">
1509
  <div class="clear"></div>
1510
  <?php } elseif ( 'go_pro' == $_GET['action'] ) {
1511
  bws_go_pro_tab( $cntctfrm_plugin_info, $plugin_basename, 'contact_form.php', 'contact_form_pro.php', 'contact-form-pro/contact_form_pro.php', 'contact-form', '697c5e74f39779ce77850e11dbe21962', '77', isset( $go_pro_result['pro_plugin_is_activated'] ) );
1512
+ }
1513
+ bws_plugin_reviews_block( $cntctfrm_plugin_info['Name'], 'contact-form-plugin' ); ?>
1514
  </div>
1515
  <?php }
1516
  }
css/style.css CHANGED
@@ -70,7 +70,7 @@
70
  }
71
  #cntctfrmpr_shortcode {
72
  width: 330px;
73
- margin-top: 30px;
74
  max-width: 330px;
75
  }
76
  #cntctfrmpr_shortcode_code {
70
  }
71
  #cntctfrmpr_shortcode {
72
  width: 330px;
73
+ margin: 30px 0;
74
  max-width: 330px;
75
  }
76
  #cntctfrmpr_shortcode_code {
js/script.js CHANGED
File without changes
languages/contact_form-af_ZA.mo CHANGED
Binary file
languages/contact_form-af_ZA.po CHANGED
@@ -2,9 +2,9 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: contact_form\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-07-03 16:08+0300\n"
6
- "PO-Revision-Date: 2015-07-03 16:08+0300\n"
7
- "Last-Translator: bestwebsoft.com <plugins@bestwebsoft.com>\n"
8
  "Language-Team: Aldu <alducornelissen@gmail.com>\n"
9
  "Language: af\n"
10
  "MIME-Version: 1.0\n"
@@ -17,8 +17,7 @@ msgstr ""
17
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
  "X-Poedit-SearchPath-0: .\n"
19
 
20
- #: contact_form.php:35
21
- #: contact_form.php:650
22
  msgid "Contact Form Settings"
23
  msgstr "Kontak Form Verstellings"
24
 
@@ -26,62 +25,50 @@ msgstr "Kontak Form Verstellings"
26
  msgid "Contact Form"
27
  msgstr "Kontak Form"
28
 
29
- #: contact_form.php:123
30
- #: contact_form.php:1047
31
- #: contact_form.php:1081
32
  msgid "Name:"
33
  msgstr "Naam:"
34
 
35
- #: contact_form.php:124
36
- #: contact_form.php:1048
37
- #: contact_form.php:1082
38
  msgid "Address:"
39
  msgstr "Adres:"
40
 
41
- #: contact_form.php:125
42
- #: contact_form.php:1049
43
- #: contact_form.php:1083
44
  msgid "Email Address:"
45
  msgstr "Epos Adres:"
46
 
47
- #: contact_form.php:126
48
- #: contact_form.php:1050
49
- #: contact_form.php:1084
50
  msgid "Phone number:"
51
  msgstr "Telefoon nommer:"
52
 
53
- #: contact_form.php:127
54
- #: contact_form.php:1051
55
- #: contact_form.php:1085
56
  msgid "Subject:"
57
  msgstr "Onderwerp:"
58
 
59
- #: contact_form.php:128
60
- #: contact_form.php:1052
61
- #: contact_form.php:1086
62
  msgid "Message:"
63
  msgstr "Boodskap:"
64
 
65
- #: contact_form.php:129
66
- #: contact_form.php:1053
67
- #: contact_form.php:1087
68
  msgid "Attachment:"
69
  msgstr "Aanhegsel:"
70
 
71
  #: contact_form.php:130
72
  #, fuzzy
73
- msgid "Supported file types: HTML, TXT, CSS, GIF, PNG, JPEG, JPG, TIFF, BMP, AI, EPS, PS, RTF, PDF, DOC, DOCX, XLS, XLSX, ZIP, RAR, WAV, MP3, PPT. Max file size: 2MB"
74
- msgstr "Ondersteunde datalêer tipes: HTML, TXT, CSS, GIF, PNG, JPEG, JPG, TIFF, BMP, AI, EPS, PS, RTF, PDF, DOC, DOCX, XLS, ZIP, RAR, WAV, MP3, PPT. Max Datei-Größe: 2MB"
 
 
 
 
 
 
75
 
76
- #: contact_form.php:131
77
- #: contact_form.php:1055
78
- #: contact_form.php:1089
79
  msgid "Send me a copy"
80
  msgstr "Stuur vir my 'n kopie"
81
 
82
- #: contact_form.php:132
83
- #: contact_form.php:1056
84
- #: contact_form.php:1090
85
  msgid "Submit"
86
  msgstr "Dien in"
87
 
@@ -138,12 +125,18 @@ msgid "Thank you for contacting us."
138
  msgstr "Dankie dat jy ons gekontak het."
139
 
140
  #: contact_form.php:546
141
- msgid "Email 'FROM' field option was changed, which may cause email messages being moved to the spam folder or email delivery failures."
 
 
142
  msgstr ""
143
 
144
  #: contact_form.php:556
145
- msgid "If the 'Redirect to page' option is selected then the URL field should be in the following format"
146
- msgstr "As die 'Redirect to page' opsie geselekteer is moet die URL veld in die volgende formaat wees"
 
 
 
 
147
 
148
  #: contact_form.php:565
149
  #, fuzzy
@@ -152,13 +145,18 @@ msgstr "Hierdie gebruiker bestaan nie. Die instellings is nie gestoor nie."
152
 
153
  #: contact_form.php:575
154
  #, fuzzy
155
- msgid "Please enter a valid email address in the 'Use this email address' field."
156
- msgstr "Vul asseblief 'n geldige epos adres in die 'FROM/VAN' veld. Die verstellings is nie gestoor nie."
 
 
 
157
 
158
  #: contact_form.php:583
159
  #, fuzzy
160
  msgid "Please enter a valid email address in the 'FROM' field."
161
- msgstr "Vul asseblief 'n geldige epos adres in die 'FROM/VAN' veld. Die verstellings is nie gestoor nie."
 
 
162
 
163
  #: contact_form.php:606
164
  msgid "Settings saved."
@@ -169,757 +167,745 @@ msgstr "Verstellings is gestoor."
169
  msgid "Settings are not saved."
170
  msgstr "Verstellings is gestoor."
171
 
172
- #: contact_form.php:652
173
- #: contact_form.php:2188
174
- #: contact_form.php:2202
 
 
175
  msgid "Settings"
176
  msgstr "Verstellings"
177
 
178
- #: contact_form.php:653
179
  #, fuzzy
180
  msgid "Additional settings"
181
  msgstr "Addisionele opsies"
182
 
183
- #: contact_form.php:654
184
  msgid "Appearance"
185
  msgstr ""
186
 
187
- #: contact_form.php:655
188
- #: contact_form.php:2203
189
  msgid "FAQ"
190
  msgstr "Gereeld Gestelde Vrae (FAQ)"
191
 
192
- #: contact_form.php:656
193
  msgid "Go PRO"
194
  msgstr "Gaan PRO"
195
 
196
- #: contact_form.php:659
197
- #: contact_form.php:661
198
  msgid "Notice:"
199
  msgstr "Kennisgewing:"
200
 
201
- #: contact_form.php:659
202
- msgid "The plugin's settings have been changed. In order to save them please don't forget to click the 'Save Changes' button."
203
- msgstr "Die plugin se verstellings het verander. Onthou om 'Save Changes' te kliek om die veranderinge te stoor."
204
-
205
- #: contact_form.php:669
206
- msgid "If you want to create multiple contact forms, please install the Contact Form Multi plugin."
207
  msgstr ""
 
 
208
 
209
- #: contact_form.php:676
210
  #: contact_form.php:679
211
- #: contact_form.php:1482
212
- msgid "If you would like to add the Contact Form to your website, just copy and paste this shortcode to your post or page or widget:"
213
- msgstr "As u die Kontak Vorm by u webstuiste wil bylas, kopieër en plak net die kortkode na u post, bladsy of widget:"
 
214
 
215
- #: contact_form.php:676
216
- #: contact_form.php:677
217
- #: contact_form.php:679
218
- #: contact_form.php:680
219
- #: contact_form.php:1071
220
- #: contact_form.php:1073
221
- #: contact_form.php:1134
222
- #: contact_form.php:1136
 
 
 
 
223
  msgid "or"
224
  msgstr "of"
225
 
226
- #: contact_form.php:677
227
- #: contact_form.php:680
228
- msgid "If have any problems with the standard shortcode [contact_form], you should use the shortcode"
229
- msgstr "As u enige probelem het met die standaard kortkode [contact_form], moet u die volgende kortkodes gebruik"
 
 
 
 
230
 
231
- #: contact_form.php:677
232
- #: contact_form.php:680
233
  msgid "They work the same way."
234
  msgstr "Hulle werk op dieselfde manier."
235
 
236
- #: contact_form.php:684
237
- msgid "If you leave the fields empty, the messages will be sent to the email address specified during registration."
238
- msgstr "As u die velde leeg laat, sal die boodskappe gestuur word na die epos adres wat gespesifiseer was gedurende registrasie"
 
 
 
 
239
 
240
- #: contact_form.php:687
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
241
  msgid "The user's email address:"
242
  msgstr "Die gebruiker se epos adres:"
243
 
244
- #: contact_form.php:691
245
  #, fuzzy
246
  msgid "Select a username"
247
  msgstr "Skep 'n gebruikersnaam"
248
 
249
- #: contact_form.php:704
250
- msgid "Enter a username of the person who should get the messages from the contact form."
251
- msgstr "Sleutel 'n gebruikersnaam in vir die persoon wat die boodskappe moet kry van die kontak vorm."
 
 
 
 
252
 
253
- #: contact_form.php:708
254
  msgid "Use this email address:"
255
  msgstr "Gebruik hierdie epos adres:"
256
 
257
- #: contact_form.php:712
258
  msgid "Enter the email address you want the messages forwarded to."
259
  msgstr "Sleutel in die epos adres in waar u die boodskappe aangestuur wil he."
260
 
261
- #: contact_form.php:721
262
  msgid "Add department selectbox to the contact form:"
263
  msgstr "Voeg 'n departementele keuse-boks by die kontak vorm:"
264
 
265
- #: contact_form.php:729
266
- #: contact_form.php:1182
267
- #: contact_form.php:1365
268
  msgid "If you upgrade to Pro version all your settings will be saved."
269
  msgstr "As u opgradeer na die Pro weergawe sal die verstellings gestoor word."
270
 
271
- #: contact_form.php:736
272
- #: contact_form.php:911
273
- #: contact_form.php:983
274
- #: contact_form.php:1189
275
- #: contact_form.php:1372
276
- msgid "Unlock premium options by upgrading to a PRO version."
277
  msgstr ""
278
 
279
- #: contact_form.php:737
280
- #: contact_form.php:912
281
- #: contact_form.php:984
282
- #: contact_form.php:1190
283
- #: contact_form.php:1373
284
- #: contact_form.php:2475
285
  msgid "Learn More"
286
  msgstr ""
287
 
288
- #: contact_form.php:740
289
- #: contact_form.php:915
290
- #: contact_form.php:987
291
- #: contact_form.php:1193
292
- #: contact_form.php:1376
293
  #, fuzzy
294
  msgid "Go"
295
  msgstr "Go!"
296
 
297
- #: contact_form.php:747
298
  msgid "Save emails to the database"
299
  msgstr "Stoor eposse na die databasis."
300
 
301
- #: contact_form.php:752
302
  msgid "Using"
303
  msgstr "In Gebruik"
304
 
305
- #: contact_form.php:755
306
- #: contact_form.php:759
307
  #, fuzzy
308
  msgid "Using Contact Form to DB by BestWebSoft"
309
  msgstr "Gebruik van Kontak Vorm na DB verrig deur"
310
 
311
- #: contact_form.php:755
312
  msgid "Activate"
313
  msgstr "Aktiveer"
314
 
315
- #: contact_form.php:759
316
  msgid "Download"
317
  msgstr "Download"
318
 
319
- #: contact_form.php:769
320
  msgid "What to use?"
321
  msgstr "Wat om te gebruik?"
322
 
323
- #: contact_form.php:774
324
  msgid "Wp-mail"
325
  msgstr "Wp-mail"
326
 
327
- #: contact_form.php:776
328
  msgid "You can use the wp_mail function for mailing"
329
  msgstr "U kan die wp_mail funksie gebruik vir eposse"
330
 
331
- #: contact_form.php:779
332
  msgid "Mail"
333
  msgstr "Mail"
334
 
335
- #: contact_form.php:781
336
  msgid "To send mail you can use the php mail function"
337
  msgstr "Om eposse te stuur kan u die php epos funksie gebruik"
338
 
339
- #: contact_form.php:786
340
  msgid "'FROM' field"
341
  msgstr ""
342
 
343
- #: contact_form.php:788
344
- #: contact_form.php:842
345
- #: contact_form.php:1234
346
- #: contact_form.php:1980
347
- #: contact_form.php:2016
348
  msgid "Name"
349
  msgstr "Naam"
350
 
351
- #: contact_form.php:795
352
  msgid "User name"
353
  msgstr "Gebruikersnaam"
354
 
355
- #: contact_form.php:797
356
- msgid "The name of the user who fills the form will be used in the field 'From'."
357
- msgstr "Die naam van die gebruiker wie die vorm invul sal gebruik word vir die 'From/Van' veld."
 
 
 
358
 
359
- #: contact_form.php:803
360
- #: contact_form.php:1991
361
- #: contact_form.php:2023
362
  msgid "Email"
363
  msgstr "Epos"
364
 
365
- #: contact_form.php:810
366
  msgid "User email"
367
  msgstr "Gebruiker epos"
368
 
369
- #: contact_form.php:812
370
- msgid "The email address of the user who fills the form will be used in the field 'From'."
371
- msgstr "Die epos adres van die gebruiker wie die vorm invul sal gebruik word in die 'From/van' veld."
 
 
 
 
372
 
373
- #: contact_form.php:816
374
- msgid "If this option is changed, email messages may be moved to the spam folder or email delivery failures may occur."
 
 
375
  msgstr ""
376
 
377
- #: contact_form.php:822
378
  msgid "Required symbol"
379
  msgstr "Benodigde simbool"
380
 
381
- #: contact_form.php:832
382
  msgid "Fields"
383
  msgstr "Velde"
384
 
385
- #: contact_form.php:833
386
  msgid "Used"
387
  msgstr "Gebruik"
388
 
389
- #: contact_form.php:834
390
  msgid "Required"
391
  msgstr "Benodig"
392
 
393
- #: contact_form.php:835
394
  msgid "Visible"
395
  msgstr "Sigbaar"
396
 
397
- #: contact_form.php:836
398
  msgid "Disabled for editing"
399
  msgstr "Gedeaktiveer vir wysiging"
400
 
401
- #: contact_form.php:837
402
  msgid "Field's default value"
403
  msgstr "Veld se verstekwaarde"
404
 
405
- #: contact_form.php:849
 
 
 
 
406
  msgid "Use User's name as a default value if the user is logged in."
407
  msgstr ""
408
 
409
- #: contact_form.php:850
410
- #: contact_form.php:878
411
- msgid "'Visible' and 'Disabled for editing' options will be applied only to logged-in users."
 
412
  msgstr ""
413
 
414
- #: contact_form.php:854
415
  msgid "Location selectbox"
416
  msgstr ""
417
 
418
- #: contact_form.php:862
419
- #: contact_form.php:1239
420
- #: contact_form.php:1986
421
- #: contact_form.php:2020
422
  msgid "Address"
423
  msgstr "Adres: "
424
 
425
- #: contact_form.php:870
426
  msgid "Email Address"
427
  msgstr "Epos Adres:"
428
 
429
- #: contact_form.php:877
430
  msgid "Use User's email as a default value if the user is logged in."
431
  msgstr ""
432
 
433
- #: contact_form.php:882
434
  msgid "Phone number"
435
  msgstr "Telefoon nommer:"
436
 
437
- #: contact_form.php:890
438
- #: contact_form.php:1254
439
- #: contact_form.php:2001
440
- #: contact_form.php:2029
441
  msgid "Subject"
442
  msgstr "Onderwerp"
443
 
444
- #: contact_form.php:898
445
- #: contact_form.php:1258
446