WordPress Landing Pages - Version 1.5.9

Version Description

  • Various bug fixes.
  • Refactored main plugin file to class loader.
  • Improved localization systems.
Download this release

Release Info

Developer DavidWells
Plugin Icon 128x128 WordPress Landing Pages
Version 1.5.9
Comparing to
See all releases

Code changes from version 1.5.8 to 1.5.9

Files changed (169) hide show
  1. classes/class.activation.php +2 -2
  2. classes/class.activation.upgrade-routines.php +2 -3
  3. css/customizer-load.css +7 -0
  4. css/customizer.frontend.css +1 -0
  5. js/customizer.save.js +3 -0
  6. landing-pages.php +127 -119
  7. lang/_get-translations.bat +11 -0
  8. lang/landing-pages-ach.mo +0 -0
  9. lang/landing-pages-af.mo +0 -0
  10. lang/landing-pages-ar.mo +0 -0
  11. lang/landing-pages-az.mo +0 -0
  12. lang/landing-pages-be_BY.mo +0 -0
  13. lang/landing-pages-bg_BG.mo +0 -0
  14. lang/landing-pages-bn_BD.mo +0 -0
  15. lang/landing-pages-br.mo +0 -0
  16. lang/landing-pages-bs_BA.mo +0 -0
  17. lang/landing-pages-ca.mo +0 -0
  18. lang/landing-pages-co.mo +0 -0
  19. lang/landing-pages-cs_CZ.mo +0 -0
  20. lang/landing-pages-cy.mo +0 -0
  21. lang/landing-pages-da_DK.mo +0 -0
  22. lang/landing-pages-de_DE.mo +0 -0
  23. lang/landing-pages-el.mo +0 -0
  24. lang/landing-pages-en@pirate.mo +0 -0
  25. lang/landing-pages-en_GB.mo +0 -0
  26. lang/landing-pages-eo.mo +0 -0
  27. lang/landing-pages-es_CL.mo +0 -0
  28. lang/landing-pages-es_ES.mo +0 -0
  29. lang/landing-pages-es_MX.mo +0 -0
  30. lang/landing-pages-es_PE.mo +0 -0
  31. lang/landing-pages-es_VE.mo +0 -0
  32. lang/landing-pages-et.mo +0 -0
  33. lang/landing-pages-eu.mo +0 -0
  34. lang/landing-pages-fa.mo +0 -0
  35. lang/landing-pages-fa_IR.mo +0 -0
  36. lang/landing-pages-fi.mo +0 -0
  37. lang/landing-pages-fo.mo +0 -0
  38. lang/landing-pages-fr_FR.mo +0 -0
  39. lang/landing-pages-ga.mo +0 -0
  40. lang/landing-pages-gl_ES.mo +0 -0
  41. lang/landing-pages-gu_IN.mo +0 -0
  42. lang/landing-pages-he_IL.mo +0 -0
  43. lang/landing-pages-hi_IN.mo +0 -0
  44. lang/landing-pages-hr.mo +0 -0
  45. lang/landing-pages-hu_HU.mo +0 -0
  46. lang/landing-pages-hy.mo +0 -0
  47. lang/landing-pages-id.mo +0 -0
  48. lang/landing-pages-id_ID.mo +0 -0
  49. lang/landing-pages-is_IS.mo +0 -0
  50. lang/landing-pages-it_IT.mo +0 -0
  51. lang/landing-pages-ja.mo +0 -0
  52. lang/landing-pages-jv.mo +0 -0
  53. lang/landing-pages-ka.mo +0 -0
  54. lang/landing-pages-kk.mo +0 -0
  55. lang/landing-pages-km.mo +0 -0
  56. lang/landing-pages-ko_KR.mo +0 -0
  57. lang/landing-pages-ku.mo +0 -0
  58. lang/landing-pages-ky.mo +0 -0
  59. lang/landing-pages-landing-pages - Copy.mo +0 -0
  60. lang/landing-pages-landing-pages.mo +0 -0
  61. lang/landing-pages-lt_LT.mo +0 -0
  62. lang/landing-pages-lv.mo +0 -0
  63. lang/landing-pages-mg.mo +0 -0
  64. lang/landing-pages-mk_MK.mo +0 -0
  65. lang/landing-pages-mn.mo +0 -0
  66. lang/landing-pages-my_MM.mo +0 -0
  67. lang/landing-pages-nb_NO.mo +0 -0
  68. lang/landing-pages-ne_NP.mo +0 -0
  69. lang/landing-pages-nl.mo +0 -0
  70. lang/landing-pages-nl_NL.mo +0 -0
  71. lang/landing-pages-nn_NO.mo +0 -0
  72. lang/landing-pages-oc.mo +0 -0
  73. lang/landing-pages-pap.mo +0 -0
  74. lang/landing-pages-pl_PL.mo +0 -0
  75. lang/landing-pages-pt_BR.mo +0 -0
  76. lang/landing-pages-pt_PT.mo +0 -0
  77. lang/landing-pages-ro_RO.mo +0 -0
  78. lang/landing-pages-ru_RU.mo +0 -0
  79. lang/landing-pages-sah.mo +0 -0
  80. lang/landing-pages-si_LK.mo +0 -0
  81. lang/landing-pages-sk_SK.mo +0 -0
  82. lang/landing-pages-sl_SI.mo +0 -0
  83. lang/landing-pages-sq.mo +0 -0
  84. lang/landing-pages-sr_RS.mo +0 -0
  85. lang/landing-pages-su.mo +0 -0
  86. lang/landing-pages-sv_SE.mo +0 -0
  87. lang/landing-pages-sw.mo +0 -0
  88. lang/landing-pages-ta_LK.mo +0 -0
  89. lang/landing-pages-te.mo +0 -0
  90. lang/landing-pages-th.mo +0 -0
  91. lang/landing-pages-tk_TM.mo +0 -0
  92. lang/landing-pages-tr_TR.mo +0 -0
  93. lang/landing-pages-ug.mo +0 -0
  94. lang/landing-pages-uk.mo +0 -0
  95. lang/landing-pages-ur_PK.mo +0 -0
  96. lang/landing-pages-uz.mo +0 -0
  97. lang/landing-pages-vi.mo +0 -0
  98. lang/landing-pages-zh_CN.GB2312.mo +0 -0
  99. lang/landing-pages-zh_CN.mo +0 -0
  100. lang/landing-pages-zh_TW.mo +0 -0
  101. lang/landing-pages.mo +0 -0
  102. lang/landing-pages.po +5716 -0
  103. modules/module.clone.php +1 -1
  104. modules/module.customizer.php +1 -1
  105. modules/module.global-settings.php +1 -1
  106. modules/module.install.php +8 -8
  107. modules/module.load-extensions.php +1 -1
  108. modules/module.metaboxes.php +6 -19
  109. modules/module.templates.php +2 -6
  110. readme.txt +6 -1
  111. shared/assets/assets.loader.class.php +6 -13
  112. shared/assets/frontend/js/page-tracking-new.js +1119 -0
  113. shared/assets/frontend/js/page-tracking.js +1 -1
  114. shared/assets/frontend/js/store.lead.ajax-new.js +699 -0
  115. shared/assets/frontend/js/store.lead.ajax.js +8 -10
  116. shared/classes/class.charting.php +1 -1
  117. shared/classes/class.compatibility.php +5 -5
  118. shared/classes/class.debug.php +6 -6
  119. shared/classes/class.feedback.php +345 -343
  120. shared/classes/class.form.php +24 -17
  121. shared/classes/class.inbound-forms.akismet.php +66 -19
  122. shared/classes/class.lead-fields.php +1 -1
  123. shared/classes/class.load-shared.php +110 -0
  124. shared/classes/class.menu.php +3 -3
  125. shared/classes/class.post-type.wp-lead.php +37 -8
  126. shared/classes/class.shortcodes.email-template.php +3 -3
  127. shared/extend/inboundnow.extend.php +9 -2
  128. shared/js/selectron.js +1 -1
  129. shared/metaboxes/template.metaboxes.php +1 -1
  130. shared/shortcodes/css/form-cpt.css +1 -1
  131. shared/shortcodes/css/frontend-render.css +1 -1
  132. shared/shortcodes/inbound-shortcodes.php +23 -45
  133. shared/shortcodes/js/shortcodes.js +1 -1
  134. shared/shortcodes/js/tinymce.js +1 -1
  135. shared/shortcodes/popup.php +1 -1
  136. shared/shortcodes/shortcodes-fields.php +277 -274
  137. shared/shortcodes/shortcodes-includes.php +3 -3
  138. shared/shortcodes/shortcodes/alert.php +2 -2
  139. shared/shortcodes/shortcodes/button.php +4 -4
  140. shared/shortcodes/shortcodes/call-to-action.php +3 -3
  141. shared/shortcodes/shortcodes/callout.php +1 -1
  142. shared/shortcodes/shortcodes/column.php +2 -2
  143. shared/shortcodes/shortcodes/content-box.php +2 -2
  144. shared/shortcodes/shortcodes/divider.php +2 -2
  145. shared/shortcodes/shortcodes/forms.php +2 -2
  146. shared/shortcodes/shortcodes/gmap.php +3 -3
  147. shared/shortcodes/shortcodes/icon.php +1 -1
  148. shared/shortcodes/shortcodes/intro.php +1 -1
  149. shared/shortcodes/shortcodes/landing-page-list.php +1 -1
  150. shared/shortcodes/shortcodes/pricing.php +1 -1
  151. shared/shortcodes/shortcodes/profile.php +1 -1
  152. shared/shortcodes/shortcodes/social-share.php +1 -1
  153. shared/shortcodes/shortcodes/social.php +2 -2
  154. shared/shortcodes/shortcodes/tabs.php +7 -7
  155. shared/shortcodes/shortcodes/teaser.php +3 -3
  156. shared/shortcodes/shortcodes/testimonial.php +28 -28
  157. shared/shortcodes/shortcodes/video.php +2 -2
  158. shared/tracking/store.lead.php +2 -2
  159. templates/countdown-lander/config.php +4 -4
  160. templates/demo/config.php +3 -3
  161. templates/dropcap/config.php +2 -2
  162. templates/half-and-half/config.php +2 -2
  163. templates/simple-solid-lite/config.php +3 -3
  164. templates/simple-two-column/config.php +2 -2
  165. templates/svtle/config.php +2 -2
  166. templates/svtle/index.php +3 -3
  167. templates/three-column-lander/config.php +1 -1
  168. templates/tubelar/config.php +10 -10
  169. templates/tubelar/index.php +1 -0
classes/class.activation.php CHANGED
@@ -52,7 +52,7 @@ class Landing_Pages_Activation {
52
  $updaters = get_class_methods('Landing_Pages_Activation_Update_Routines');
53
 
54
  /* Get transient list of completed update processes */
55
- $completed = ( get_transient( 'lp_completed_updaters' ) ) ? get_transient( 'lp_completed_updaters' ) : array();
56
 
57
  /* Get the difference between the two arrays */
58
  $remaining = array_diff( $updaters , $completed );
@@ -66,7 +66,7 @@ class Landing_Pages_Activation {
66
  }
67
 
68
  /* Update this transient value with list of completed upgrade processes */
69
- set_transient( 'lp_completed_updaters' , $completed );
70
 
71
  }
72
 
52
  $updaters = get_class_methods('Landing_Pages_Activation_Update_Routines');
53
 
54
  /* Get transient list of completed update processes */
55
+ $completed = ( get_option( 'lp_completed_upgrade_routines' ) ) ? get_option( 'lp_completed_upgrade_routines' ) : array();
56
 
57
  /* Get the difference between the two arrays */
58
  $remaining = array_diff( $updaters , $completed );
66
  }
67
 
68
  /* Update this transient value with list of completed upgrade processes */
69
+ update_option( 'lp_completed_upgrade_routines' , $completed );
70
 
71
  }
72
 
classes/class.activation.upgrade-routines.php CHANGED
@@ -13,7 +13,7 @@ if ( !class_exists('Landing_Pages_Activation_Update_Routines') ) {
13
  * @migration: convert meta key lp-conversion-area to template-name-conversion-area-content-{vid}
14
  */
15
  public static function migrate_legacy_conversion_area_contents() {
16
-
17
  /* for all landing pages load variations */
18
  $landing_pages = get_posts( array (
19
  'post_type' => 'landing-page',
@@ -31,8 +31,7 @@ if ( !class_exists('Landing_Pages_Activation_Update_Routines') ) {
31
  ($vid) ? $suffix = '-' . $vid : $suffix = '';
32
 
33
  $selected_template = get_post_meta( $post->ID , 'lp-selected-template' . $suffix , true );
34
- //echo $selected_template;
35
- //echo '<br>';
36
  if ( !$selected_template ) {
37
  continue;
38
  }
13
  * @migration: convert meta key lp-conversion-area to template-name-conversion-area-content-{vid}
14
  */
15
  public static function migrate_legacy_conversion_area_contents() {
16
+
17
  /* for all landing pages load variations */
18
  $landing_pages = get_posts( array (
19
  'post_type' => 'landing-page',
31
  ($vid) ? $suffix = '-' . $vid : $suffix = '';
32
 
33
  $selected_template = get_post_meta( $post->ID , 'lp-selected-template' . $suffix , true );
34
+
 
35
  if ( !$selected_template ) {
36
  continue;
37
  }
css/customizer-load.css CHANGED
@@ -19,6 +19,13 @@
19
  -o-transition: all 0.3s ease-out;
20
  transition: all 0.3s ease-out;
21
  }
 
 
 
 
 
 
 
22
  html {
23
  margin-top: 0px !important;
24
  }
19
  -o-transition: all 0.3s ease-out;
20
  transition: all 0.3s ease-out;
21
  }
22
+
23
+
24
+ #template-display-options .inbound-meta-box-label {
25
+ width:100%;
26
+ }
27
+
28
+
29
  html {
30
  margin-top: 0px !important;
31
  }
css/customizer.frontend.css CHANGED
@@ -7,6 +7,7 @@ body {
7
  #wpadminbar, #adminmenuback, #current_variation_id, #post_ID {
8
  display: none !important;
9
  }
 
10
  #adminmenuwrap {display: none !important;}
11
  .auto-fold #wpcontent {
12
  margin-left: 0px;
7
  #wpadminbar, #adminmenuback, #current_variation_id, #post_ID {
8
  display: none !important;
9
  }
10
+
11
  #adminmenuwrap {display: none !important;}
12
  .auto-fold #wpcontent {
13
  margin-left: 0px;
js/customizer.save.js CHANGED
@@ -20,6 +20,7 @@ jQuery(document).ready(function($) {
20
  //jQuery("#wpcontent").width(iframe_size);
21
 
22
  // On keystroke have save button show
 
23
  jQuery('#lp-frontend-options-container input, #lp-frontend-options-container textarea').on("keyup", function (e) {
24
  var this_id = jQuery(this).attr("id");
25
  var parent_el = jQuery(this).parent();
@@ -156,6 +157,8 @@ jQuery(document).ready(function($) {
156
 
157
  });
158
 
 
 
159
  function MyFunction(id, this_event)
160
  {
161
  var anchor = id;
20
  //jQuery("#wpcontent").width(iframe_size);
21
 
22
  // On keystroke have save button show
23
+ /* Disable single settng save while not working
24
  jQuery('#lp-frontend-options-container input, #lp-frontend-options-container textarea').on("keyup", function (e) {
25
  var this_id = jQuery(this).attr("id");
26
  var parent_el = jQuery(this).parent();
157
 
158
  });
159
 
160
+ */
161
+
162
  function MyFunction(id, this_event)
163
  {
164
  var anchor = id;
landing-pages.php CHANGED
@@ -3,143 +3,151 @@
3
  Plugin Name: Landing Pages
4
  Plugin URI: http://www.inboundnow.com/landing-pages/
5
  Description: The first true all-in-one Landing Page solution for WordPress, including ongoing conversion metrics, a/b split testing, unlimited design options and so much more!
6
- Version: 1.5.8
7
  Author: Inbound Now
8
  Author URI: http://www.inboundnow.com/
9
  Text Domain: landing-pages
10
- Domain Path: shared/languages/landing-pages/
11
  */
12
 
13
- define('LANDINGPAGES_CURRENT_VERSION', '1.5.8' );
14
- define('LANDINGPAGES_URLPATH', WP_PLUGIN_URL.'/'.plugin_basename( dirname(__FILE__) ).'/' );
15
- define('LANDINGPAGES_PATH', WP_PLUGIN_DIR.'/'.plugin_basename( dirname(__FILE__) ).'/' );
16
- define('LANDINGPAGES_PLUGIN_SLUG', plugin_basename( dirname(__FILE__) ) );
17
- define('LANDINGPAGES_FILE', __FILE__ );
18
- define('LANDINGPAGES_STORE_URL', 'http://www.inboundnow.com/' );
19
- $uploads = wp_upload_dir();
20
- define('LANDINGPAGES_UPLOADS_PATH', $uploads['basedir'].'/landing-pages/templates/' );
21
- define('LANDINGPAGES_UPLOADS_URLPATH', $uploads['baseurl'].'/landing-pages/templates/' );
22
- if ( !defined( 'LANDINGPAGES_TEXT_DOMAIN' ) ) {
23
- define('LANDINGPAGES_TEXT_DOMAIN', 'landing-pages' );
24
- }
25
- define('INBOUNDNOW_LABEL', 'inboundnow-legacy' );
26
-
27
-
28
- if (is_admin())
29
- if(!isset($_SESSION)){@session_start();}
30
-
31
-
32
- /* load core files */
33
- switch (is_admin()) :
34
- case true :
35
- /* loads admin files */
36
-
37
- // include_once('modules/module.cron.php'); not ready yet
38
- include_once('modules/module.language-support.php');
39
- include_once('modules/module.javascript-admin.php');
40
- include_once('classes/class.activation.php');
41
- include_once('classes/class.activation.upgrade-routines.php');
42
- include_once('modules/module.global-settings.php');
43
- include_once('modules/module.clone.php');
44
- include_once('modules/module.extension-updater.php');
45
- include_once('modules/module.extension-licensing.php');
46
- include_once('modules/module.admin-menus.php');
47
- include_once('modules/module.welcome.php');
48
- include_once('modules/module.install.php');
49
- include_once('modules/module.alert.php');
50
- include_once('modules/module.metaboxes.php');
51
- include_once('modules/module.metaboxes-global.php');
52
- include_once('modules/module.landing-page.php');
53
- include_once('modules/module.load-extensions.php');
54
- include_once('modules/module.post-type.php');
55
- include_once('modules/module.track.php');
56
- include_once('modules/module.ajax-setup.php');
57
- include_once('modules/module.utils.php');
58
- include_once('modules/module.sidebar.php');
59
- include_once('modules/module.widgets.php');
60
- include_once('modules/module.cookies.php');
61
- include_once('modules/module.ab-testing.php');
62
- include_once('modules/module.click-tracking.php');
63
- include_once('modules/module.templates.php');
64
- include_once('modules/module.store.php');
65
- include_once('modules/module.customizer.php');
66
-
67
-
68
- BREAK;
69
-
70
- case false :
71
- /* load front-end files */
72
- include_once('modules/module.javascript-frontend.php');
73
- include_once('modules/module.post-type.php');
74
- include_once('modules/module.track.php');
75
- include_once('modules/module.ajax-setup.php');
76
- include_once('modules/module.utils.php');
77
- include_once('modules/module.sidebar.php');
78
- include_once('modules/module.widgets.php');
79
- include_once('modules/module.cookies.php');
80
- include_once('modules/module.ab-testing.php');
81
- include_once('modules/module.click-tracking.php');
82
- include_once('modules/module.landing-page.php');
83
- include_once('modules/module.customizer.php');
84
-
85
- BREAK;
86
- endswitch;
87
-
88
- add_action( 'init', 'inbound_load_shared_lp_init' , 11 );
89
- function inbound_load_shared_lp_init(){
90
-
91
- }
92
-
93
-
94
- /* Inbound Core Shared Files. Lead files take presidence */
95
- add_action( 'plugins_loaded', 'inbound_load_shared_landing_pages' , 11 );
96
- function inbound_load_shared_landing_pages(){
97
-
98
- /* Check if Shared Files Already Loaded */
99
- if (defined('INBOUDNOW_SHARED')) {
100
- return;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
101
  }
 
 
 
102
 
103
- /* Define Shared Constant for Load Prevention*/
104
- define('INBOUDNOW_SHARED','loaded');
105
-
106
- /* Singleton Shared Class Loads */
107
- include_once('shared/shortcodes/inbound-shortcodes.php'); // Shared Shortcodes
108
- include_once('shared/classes/class.post-type.wp-lead.php');
109
- include_once('shared/classes/class.menu.php'); // Inbound Marketing Menu
110
- include_once('shared/classes/class.feedback.php'); // Inbound Feedback Form
111
- include_once('shared/classes/class.debug.php'); // Inbound Debug & Scripts Class
112
- include_once('shared/classes/class.compatibility.php'); // Inbound Compatibility Class
113
- include_once('shared/classes/class.form.php'); // Mirrored forms
114
 
115
- include_once('shared/classes/class.templating-engine.php'); // Inbound Templating Engine Class
116
- include_once('shared/classes/class.shortcodes.email-template.php'); //Inbound Email Templating Shortcodes Class
117
- require_once('shared/classes/class.lead-fields.php');
118
- include_once('shared/tracking/store.lead.php'); // Lead Storage from landing pages
119
 
120
- include_once('shared/extend/inboundnow.extend.php');
121
- include_once('shared/extend/inboundnow.extension-licensing.php'); // Legacy - Inboundnow Package Licensing
122
- include_once('shared/extend/inboundnow.extension-updating.php'); // Legacy -Inboundnow Package Updating
123
- include_once('shared/extend/inboundnow.global-settings.php'); // Inboundnow Global Settings
124
- include_once('shared/assets/assets.loader.class.php'); // Load Shared CSS and JS Assets
125
- include_once('shared/functions/global.shared.functions.php'); // Global Shared Utility functions
126
- include_once('shared/metaboxes/template.metaboxes.php'); // Shared Shortcodes
127
 
128
- }
129
 
130
  /* lagacy - Conditional check LP active */
131
- function lp_check_active()
132
- {
133
- return 1;
134
  }
135
 
136
  /* Function to check This has been loaded for the tests */
137
  function landingpages_is_active() {
138
- return true;
139
  }
140
 
141
  /* Function to check plugin code is running in travis */
142
  function inbound_travis_check() {
143
- echo '*** Landing Pages Plugin is Running on Travis ***';
144
- return true;
145
  }
3
  Plugin Name: Landing Pages
4
  Plugin URI: http://www.inboundnow.com/landing-pages/
5
  Description: The first true all-in-one Landing Page solution for WordPress, including ongoing conversion metrics, a/b split testing, unlimited design options and so much more!
6
+ Version: 1.5.9
7
  Author: Inbound Now
8
  Author URI: http://www.inboundnow.com/
9
  Text Domain: landing-pages
10
+ Domain Path: lang
11
  */
12
 
13
+ if (!class_exists('Inbound_Landing_Pages_Plugin')) {
14
+
15
+ final class Inbound_Landing_Pages_Plugin {
16
+
17
+ /**
18
+ * Main Inbound_Landing_Pages_Plugin Instance
19
+ *
20
+ */
21
+ public function __construct() {
22
+
23
+ /* Start a PHP Session if in wp-admin */
24
+ if (is_admin()) {
25
+ if(!isset($_SESSION)){@session_start();}
26
+ }
27
+
28
+ /* Run Loaders */
29
+ self::load_constants();
30
+ self::load_files();
31
+ self::load_shared_files();
32
+ self::load_text_domain();
33
+ }
34
+
35
+ /**
36
+ * Setup plugin constants
37
+ *
38
+ */
39
+ private static function load_constants() {
40
+
41
+ define('LANDINGPAGES_CURRENT_VERSION', '1.5.9' );
42
+ define('LANDINGPAGES_URLPATH', WP_PLUGIN_URL.'/'.plugin_basename( dirname(__FILE__) ).'/' );
43
+ define('LANDINGPAGES_PATH', WP_PLUGIN_DIR.'/'.plugin_basename( dirname(__FILE__) ).'/' );
44
+ define('LANDINGPAGES_PLUGIN_SLUG', plugin_basename( dirname(__FILE__) ) );
45
+ define('LANDINGPAGES_FILE', __FILE__ );
46
+ define('LANDINGPAGES_STORE_URL', 'http://www.inboundnow.com/' );
47
+ $uploads = wp_upload_dir();
48
+ define('LANDINGPAGES_UPLOADS_PATH', $uploads['basedir'].'/landing-pages/templates/' );
49
+ define('LANDINGPAGES_UPLOADS_URLPATH', $uploads['baseurl'].'/landing-pages/templates/' );
50
+
51
+ }
52
+
53
+ /**
54
+ * Include required plugin files
55
+ *
56
+ */
57
+ private static function load_files() {
58
+
59
+ /* load core files */
60
+ switch (is_admin()) :
61
+ case true :
62
+ /* loads admin files */
63
+ include_once('modules/module.language-support.php');
64
+ include_once('modules/module.javascript-admin.php');
65
+ include_once('classes/class.activation.php');
66
+ include_once('classes/class.activation.upgrade-routines.php');
67
+ include_once('modules/module.global-settings.php');
68
+ include_once('modules/module.clone.php');
69
+ include_once('modules/module.extension-updater.php');
70
+ include_once('modules/module.extension-licensing.php');
71
+ include_once('modules/module.admin-menus.php');
72
+ include_once('modules/module.welcome.php');
73
+ include_once('modules/module.install.php');
74
+ include_once('modules/module.alert.php');
75
+ include_once('modules/module.metaboxes.php');
76
+ include_once('modules/module.metaboxes-global.php');
77
+ include_once('modules/module.landing-page.php');
78
+ include_once('modules/module.load-extensions.php');
79
+ include_once('modules/module.post-type.php');
80
+ include_once('modules/module.track.php');
81
+ include_once('modules/module.ajax-setup.php');
82
+ include_once('modules/module.utils.php');
83
+ include_once('modules/module.sidebar.php');
84
+ include_once('modules/module.widgets.php');
85
+ include_once('modules/module.cookies.php');
86
+ include_once('modules/module.ab-testing.php');
87
+ include_once('modules/module.click-tracking.php');
88
+ include_once('modules/module.templates.php');
89
+ include_once('modules/module.store.php');
90
+ include_once('modules/module.customizer.php');
91
+
92
+ BREAK;
93
+
94
+ case false :
95
+ /* load front-end files */
96
+ include_once('modules/module.javascript-frontend.php');
97
+ include_once('modules/module.post-type.php');
98
+ include_once('modules/module.track.php');
99
+ include_once('modules/module.ajax-setup.php');
100
+ include_once('modules/module.utils.php');
101
+ include_once('modules/module.sidebar.php');
102
+ include_once('modules/module.widgets.php');
103
+ include_once('modules/module.cookies.php');
104
+ include_once('modules/module.ab-testing.php');
105
+ include_once('modules/module.click-tracking.php');
106
+ include_once('modules/module.landing-page.php');
107
+ include_once('modules/module.customizer.php');
108
+
109
+ BREAK;
110
+ endswitch;
111
+ }
112
+
113
+ /** Load Shared Files at priority 2 */
114
+ private static function load_shared_files() {
115
+ require_once('shared/classes/class.load-shared.php');
116
+ add_action( 'plugins_loaded', array( 'Inbound_Load_Shared' , 'init' ) , 2 );
117
+ }
118
+
119
+ /**
120
+ * Loads the correct .mo file for this plugin
121
+ *
122
+ */
123
+ private static function load_text_domain() {
124
+ add_action('init' , function() {
125
+ load_plugin_textdomain( 'landing-pages' , false , LANDINGPAGES_PLUGIN_SLUG . '/lang/' );
126
+ });
127
+ }
128
+
129
  }
130
+
131
+ /* Initiate Plugin */
132
+ $GLOBALS['Inbound_Landing_Pages_Plugin'] = new Inbound_Landing_Pages_Plugin;
133
 
134
+ }
 
 
 
 
 
 
 
 
 
 
135
 
 
 
 
 
136
 
 
 
 
 
 
 
 
137
 
 
138
 
139
  /* lagacy - Conditional check LP active */
140
+ function lp_check_active() {
141
+ return 1;
 
142
  }
143
 
144
  /* Function to check This has been loaded for the tests */
145
  function landingpages_is_active() {
146
+ return true;
147
  }
148
 
149
  /* Function to check plugin code is running in travis */
150
  function inbound_travis_check() {
151
+ echo '*** Landing Pages Plugin is Running on Travis ***';
152
+ return true;
153
  }
lang/_get-translations.bat ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ tx.exe pull -a --skip
2
+
3
+
4
+ for %%a in (*.po) do (
5
+ if /i not "%%~na"=="landing-pages" (
6
+ msgfmt -cv -o "landing-pages-%%~na.mo" "%%a"
7
+ del "%%a"
8
+ )
9
+ )
10
+
11
+ PAUSE
lang/landing-pages-ach.mo ADDED
Binary file
lang/landing-pages-af.mo ADDED
Binary file
lang/landing-pages-ar.mo ADDED
Binary file
lang/landing-pages-az.mo ADDED
Binary file
lang/landing-pages-be_BY.mo ADDED
Binary file
lang/landing-pages-bg_BG.mo ADDED
Binary file
lang/landing-pages-bn_BD.mo ADDED
Binary file
lang/landing-pages-br.mo ADDED
Binary file
lang/landing-pages-bs_BA.mo ADDED
Binary file
lang/landing-pages-ca.mo ADDED
Binary file
lang/landing-pages-co.mo ADDED
Binary file
lang/landing-pages-cs_CZ.mo ADDED
Binary file
lang/landing-pages-cy.mo ADDED
Binary file
lang/landing-pages-da_DK.mo ADDED
Binary file
lang/landing-pages-de_DE.mo ADDED
Binary file
lang/landing-pages-el.mo ADDED
Binary file
lang/landing-pages-en@pirate.mo ADDED
Binary file
lang/landing-pages-en_GB.mo ADDED
Binary file
lang/landing-pages-eo.mo ADDED
Binary file
lang/landing-pages-es_CL.mo ADDED
Binary file
lang/landing-pages-es_ES.mo ADDED
Binary file
lang/landing-pages-es_MX.mo ADDED
Binary file
lang/landing-pages-es_PE.mo ADDED
Binary file
lang/landing-pages-es_VE.mo ADDED
Binary file
lang/landing-pages-et.mo ADDED
Binary file
lang/landing-pages-eu.mo ADDED
Binary file
lang/landing-pages-fa.mo ADDED
Binary file
lang/landing-pages-fa_IR.mo ADDED
Binary file
lang/landing-pages-fi.mo ADDED
Binary file
lang/landing-pages-fo.mo ADDED
Binary file
lang/landing-pages-fr_FR.mo ADDED
Binary file
lang/landing-pages-ga.mo ADDED
Binary file
lang/landing-pages-gl_ES.mo ADDED
Binary file
lang/landing-pages-gu_IN.mo ADDED
Binary file
lang/landing-pages-he_IL.mo ADDED
Binary file
lang/landing-pages-hi_IN.mo ADDED
Binary file
lang/landing-pages-hr.mo ADDED
Binary file
lang/landing-pages-hu_HU.mo ADDED
Binary file
lang/landing-pages-hy.mo ADDED
Binary file
lang/landing-pages-id.mo ADDED
Binary file
lang/landing-pages-id_ID.mo ADDED
Binary file
lang/landing-pages-is_IS.mo ADDED
Binary file
lang/landing-pages-it_IT.mo ADDED
Binary file
lang/landing-pages-ja.mo ADDED
Binary file
lang/landing-pages-jv.mo ADDED
Binary file
lang/landing-pages-ka.mo ADDED
Binary file
lang/landing-pages-kk.mo ADDED
Binary file
lang/landing-pages-km.mo ADDED
Binary file
lang/landing-pages-ko_KR.mo ADDED
Binary file
lang/landing-pages-ku.mo ADDED
Binary file
lang/landing-pages-ky.mo ADDED
Binary file
lang/landing-pages-landing-pages - Copy.mo ADDED
Binary file
lang/landing-pages-landing-pages.mo ADDED
Binary file
lang/landing-pages-lt_LT.mo ADDED
Binary file
lang/landing-pages-lv.mo ADDED
Binary file
lang/landing-pages-mg.mo ADDED
Binary file
lang/landing-pages-mk_MK.mo ADDED
Binary file
lang/landing-pages-mn.mo ADDED
Binary file
lang/landing-pages-my_MM.mo ADDED
Binary file
lang/landing-pages-nb_NO.mo ADDED
Binary file
lang/landing-pages-ne_NP.mo ADDED
Binary file
lang/landing-pages-nl.mo ADDED
Binary file
lang/landing-pages-nl_NL.mo ADDED
Binary file
lang/landing-pages-nn_NO.mo ADDED
Binary file
lang/landing-pages-oc.mo ADDED
Binary file
lang/landing-pages-pap.mo ADDED
Binary file
lang/landing-pages-pl_PL.mo ADDED
Binary file
lang/landing-pages-pt_BR.mo ADDED
Binary file
lang/landing-pages-pt_PT.mo ADDED
Binary file
lang/landing-pages-ro_RO.mo ADDED
Binary file
lang/landing-pages-ru_RU.mo ADDED
Binary file
lang/landing-pages-sah.mo ADDED
Binary file
lang/landing-pages-si_LK.mo ADDED
Binary file
lang/landing-pages-sk_SK.mo ADDED
Binary file
lang/landing-pages-sl_SI.mo ADDED
Binary file
lang/landing-pages-sq.mo ADDED
Binary file
lang/landing-pages-sr_RS.mo ADDED
Binary file
lang/landing-pages-su.mo ADDED
Binary file
lang/landing-pages-sv_SE.mo ADDED
Binary file
lang/landing-pages-sw.mo ADDED
Binary file
lang/landing-pages-ta_LK.mo ADDED
Binary file
lang/landing-pages-te.mo ADDED
Binary file
lang/landing-pages-th.mo ADDED
Binary file
lang/landing-pages-tk_TM.mo ADDED
Binary file
lang/landing-pages-tr_TR.mo ADDED
Binary file
lang/landing-pages-ug.mo ADDED
Binary file
lang/landing-pages-uk.mo ADDED
Binary file
lang/landing-pages-ur_PK.mo ADDED
Binary file
lang/landing-pages-uz.mo ADDED
Binary file
lang/landing-pages-vi.mo ADDED
Binary file
lang/landing-pages-zh_CN.GB2312.mo ADDED
Binary file
lang/landing-pages-zh_CN.mo ADDED
Binary file
lang/landing-pages-zh_TW.mo ADDED
Binary file
lang/landing-pages.mo ADDED
Binary file
lang/landing-pages.po ADDED
@@ -0,0 +1,5716 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Landing Pages\n"
4
+ "POT-Creation-Date: 2014-07-08 17:26-0600\n"
5
+ "PO-Revision-Date: 2014-07-08 17:26-0600\n"
6
+ "Last-Translator: \n"
7
+ "Language-Team: InboundNow <support@inboundnow.com>\n"
8
+ "Language: en_US\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.6.6\n"
13
+ "X-Poedit-KeywordsList: __;_e\n"
14
+ "X-Poedit-Basepath: .\n"
15
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
+ "X-Poedit-SearchPath-0: ..\n"
17
+
18
+ #: ../classes/class.activation.php:122 ../classes/class.activation.php:136
19
+ #: ../classes/class.activation.php:150 ../classes/class.activation.php:164
20
+ #: ../classes/class.activation.php:178
21
+ msgid "Landing Plugin could not be installed"
22
+ msgstr ""
23
+
24
+ #: ../classes/class.activation.php:124
25
+ msgid "Server PHP Version"
26
+ msgstr ""
27
+
28
+ #: ../classes/class.activation.php:125
29
+ msgid "Required PHP Version"
30
+ msgstr ""
31
+
32
+ #: ../classes/class.activation.php:127
33
+ #, php-format
34
+ msgid "Please contact your hosting provider to upgrade PHP to %s or greater"
35
+ msgstr ""
36
+
37
+ #: ../classes/class.activation.php:138
38
+ #: ../modules/module.global-settings.php:352
39
+ msgid "WordPress Version"
40
+ msgstr ""
41
+
42
+ #: ../classes/class.activation.php:139
43
+ msgid "Required WordPress Version"
44
+ msgstr ""
45
+
46
+ #: ../classes/class.activation.php:141
47
+ #, php-format
48
+ msgid "Please update landing pages to version %s or greater."
49
+ msgstr ""
50
+
51
+ #: ../classes/class.activation.php:152
52
+ msgid "Calls to Action Version"
53
+ msgstr ""
54
+
55
+ #: ../classes/class.activation.php:153
56
+ msgid "Required Calls to Action Version"
57
+ msgstr ""
58
+
59
+ #: ../classes/class.activation.php:155
60
+ #, php-format
61
+ msgid "Please update Calls to Action to version %s or greater."
62
+ msgstr ""
63
+
64
+ #: ../classes/class.activation.php:166
65
+ msgid "Leads Version"
66
+ msgstr ""
67
+
68
+ #: ../classes/class.activation.php:167
69
+ msgid "Required Leads Version"
70
+ msgstr ""
71
+
72
+ #: ../classes/class.activation.php:169
73
+ #, php-format
74
+ msgid "Please update Leads to version %s or greater."
75
+ msgstr ""
76
+
77
+ #: ../classes/class.activation.php:180
78
+ msgid "Extension: Landing Page as Homepage"
79
+ msgstr ""
80
+
81
+ #: ../classes/class.activation.php:181
82
+ msgid "Required extension version"
83
+ msgstr ""
84
+
85
+ #: ../classes/class.activation.php:183
86
+ #, php-format
87
+ msgid "Please update extension to version %s or greater."
88
+ msgstr ""
89
+
90
+ #: ../libraries/class-tgm-plugin-activation.php:164
91
+ #: ../modules/module.install.php:165
92
+ msgid "Install Required Plugins"
93
+ msgstr ""
94
+
95
+ #: ../libraries/class-tgm-plugin-activation.php:165
96
+ #: ../modules/module.install.php:166
97
+ msgid "Install Plugins"
98
+ msgstr ""
99
+
100
+ #: ../libraries/class-tgm-plugin-activation.php:166
101
+ #: ../modules/module.install.php:167
102
+ #, php-format
103
+ msgid "Installing Plugin: %s"
104
+ msgstr ""
105
+
106
+ #: ../libraries/class-tgm-plugin-activation.php:167
107
+ msgid "Something went wrong."
108
+ msgstr ""
109
+
110
+ #: ../libraries/class-tgm-plugin-activation.php:178
111
+ #: ../libraries/class-tgm-plugin-activation.php:490
112
+ #: ../modules/module.install.php:179
113
+ msgid "Return to Required Plugins Installer"
114
+ msgstr ""
115
+
116
+ #: ../libraries/class-tgm-plugin-activation.php:179
117
+ #: ../libraries/class-tgm-plugin-activation.php:1846
118
+ #: ../modules/module.install.php:180
119
+ msgid "Plugin activated successfully."
120
+ msgstr ""
121
+
122
+ #: ../libraries/class-tgm-plugin-activation.php:180
123
+ #, php-format
124
+ msgid "All plugins installed and activated successfully. %1$s"
125
+ msgstr ""
126
+
127
+ #: ../libraries/class-tgm-plugin-activation.php:517
128
+ #: ../libraries/class-tgm-plugin-activation.php:2058
129
+ msgid "Return to the Dashboard"
130
+ msgstr ""
131
+
132
+ #: ../libraries/class-tgm-plugin-activation.php:545
133
+ #, php-format
134
+ msgid "The following plugin was activated successfully: %s."
135
+ msgstr ""
136
+
137
+ #: ../libraries/class-tgm-plugin-activation.php:704
138
+ msgid "Dismiss this notice"
139
+ msgstr ""
140
+
141
+ #: ../libraries/class-tgm-plugin-activation.php:1091
142
+ msgid "External Link"
143
+ msgstr ""
144
+
145
+ #: ../libraries/class-tgm-plugin-activation.php:1096
146
+ msgid "Private Repository"
147
+ msgstr ""
148
+
149
+ #: ../libraries/class-tgm-plugin-activation.php:1099
150
+ msgid "Pre-Packaged"
151
+ msgstr ""
152
+
153
+ #: ../libraries/class-tgm-plugin-activation.php:1103
154
+ msgid "WordPress Repository"
155
+ msgstr ""
156
+
157
+ #: ../libraries/class-tgm-plugin-activation.php:1106
158
+ msgid "Required"
159
+ msgstr ""
160
+
161
+ #: ../libraries/class-tgm-plugin-activation.php:1106
162
+ msgid "Recommended"
163
+ msgstr ""
164
+
165
+ #: ../libraries/class-tgm-plugin-activation.php:1109
166
+ msgid "Not Installed"
167
+ msgstr ""
168
+
169
+ #: ../libraries/class-tgm-plugin-activation.php:1111
170
+ msgid "Installed But Not Activated"
171
+ msgstr ""
172
+
173
+ #: ../libraries/class-tgm-plugin-activation.php:1281
174
+ #, php-format
175
+ msgid ""
176
+ "No plugins to install or activate. <a href=\"%1$s\" title=\"Return to the "
177
+ "Dashboard\">Return to the Dashboard</a>"
178
+ msgstr ""
179
+
180
+ #: ../libraries/class-tgm-plugin-activation.php:1297
181
+ msgid "Plugin"
182
+ msgstr ""
183
+
184
+ #: ../libraries/class-tgm-plugin-activation.php:1298
185
+ msgid "Source"
186
+ msgstr ""
187
+
188
+ #: ../libraries/class-tgm-plugin-activation.php:1299
189
+ msgid "Type"
190
+ msgstr ""
191
+
192
+ #: ../libraries/class-tgm-plugin-activation.php:1300
193
+ msgid "Status"
194
+ msgstr ""
195
+
196
+ #: ../libraries/class-tgm-plugin-activation.php:1318
197
+ msgid "Install"
198
+ msgstr ""
199
+
200
+ #: ../libraries/class-tgm-plugin-activation.php:1319
201
+ msgid "Activate"
202
+ msgstr ""
203
+
204
+ #: ../libraries/class-tgm-plugin-activation.php:1829
205
+ msgid "Install package not available."
206
+ msgstr ""
207
+
208
+ #: ../libraries/class-tgm-plugin-activation.php:1830
209
+ #, php-format
210
+ msgid "Downloading install package from <span class=\"code\">%s</span>&#8230;"
211
+ msgstr ""
212
+
213
+ #: ../libraries/class-tgm-plugin-activation.php:1831
214
+ msgid "Unpacking the package&#8230;"
215
+ msgstr ""
216
+
217
+ #: ../libraries/class-tgm-plugin-activation.php:1832
218
+ msgid "Installing the plugin&#8230;"
219
+ msgstr ""
220
+
221
+ #: ../libraries/class-tgm-plugin-activation.php:1833
222
+ msgid "Plugin install failed."
223
+ msgstr ""
224
+
225
+ #: ../libraries/class-tgm-plugin-activation.php:1834
226
+ msgid "Plugin installed successfully."
227
+ msgstr ""
228
+
229
+ #: ../libraries/class-tgm-plugin-activation.php:1845
230
+ msgid "Plugin activation failed."
231
+ msgstr ""
232
+
233
+ #: ../libraries/class-tgm-plugin-activation.php:1955
234
+ msgid ""
235
+ "The installation and activation process is starting. This process may take a "
236
+ "while on some hosts, so please be patient."
237
+ msgstr ""
238
+
239
+ #: ../libraries/class-tgm-plugin-activation.php:1956
240
+ #, php-format
241
+ msgid "%1$s installed and activated successfully."
242
+ msgstr ""
243
+
244
+ #: ../libraries/class-tgm-plugin-activation.php:1956
245
+ #: ../libraries/class-tgm-plugin-activation.php:1965
246
+ msgid "Show Details"
247
+ msgstr ""
248
+
249
+ #: ../libraries/class-tgm-plugin-activation.php:1956
250
+ #: ../libraries/class-tgm-plugin-activation.php:1965
251
+ msgid "Hide Details"
252
+ msgstr ""
253
+
254
+ #: ../libraries/class-tgm-plugin-activation.php:1957
255
+ msgid "All installations and activations have been completed."
256
+ msgstr ""
257
+
258
+ #: ../libraries/class-tgm-plugin-activation.php:1958
259
+ #, php-format
260
+ msgid "Installing and Activating Plugin %1$s (%2$d/%3$d)"
261
+ msgstr ""
262
+
263
+ #: ../libraries/class-tgm-plugin-activation.php:1962
264
+ msgid ""
265
+ "The installation process is starting. This process may take a while on some "
266
+ "hosts, so please be patient."
267
+ msgstr ""
268
+
269
+ #: ../libraries/class-tgm-plugin-activation.php:1963
270
+ #, php-format
271
+ msgid "An error occurred while installing %1$s: <strong>%2$s</strong>."
272
+ msgstr ""
273
+
274
+ #: ../libraries/class-tgm-plugin-activation.php:1964
275
+ #, php-format
276
+ msgid "The installation of %1$s failed."
277
+ msgstr ""
278
+
279
+ #: ../libraries/class-tgm-plugin-activation.php:1965
280
+ #, php-format
281
+ msgid "%1$s installed successfully."
282
+ msgstr ""
283
+
284
+ #: ../libraries/class-tgm-plugin-activation.php:1966
285
+ msgid "All installations have been completed."
286
+ msgstr ""
287
+
288
+ #: ../libraries/class-tgm-plugin-activation.php:1967
289
+ #, php-format
290
+ msgid "Installing Plugin %1$s (%2$d/%3$d)"
291
+ msgstr ""
292
+
293
+ #: ../modules/module.ab-testing.metaboxes.php:8
294
+ msgid "A/B Testing"
295
+ msgstr ""
296
+
297
+ #: ../modules/module.ab-testing.metaboxes.php:104
298
+ msgid "Variation"
299
+ msgstr ""
300
+
301
+ #: ../modules/module.ab-testing.metaboxes.php:109
302
+ msgid "Paused"
303
+ msgstr ""
304
+
305
+ #: ../modules/module.ab-testing.metaboxes.php:116
306
+ msgid "Delete this variations stats"
307
+ msgstr ""
308
+
309
+ #: ../modules/module.ab-testing.metaboxes.php:116
310
+ msgid "Clear Stats"
311
+ msgstr ""
312
+
313
+ #: ../modules/module.ab-testing.metaboxes.php:122
314
+ msgid "Views"
315
+ msgstr ""
316
+
317
+ #: ../modules/module.ab-testing.metaboxes.php:126
318
+ msgid "Conversions"
319
+ msgstr ""
320
+
321
+ #: ../modules/module.ab-testing.metaboxes.php:130
322
+ msgid "Conversion Rate"
323
+ msgstr ""
324
+
325
+ #: ../modules/module.ab-testing.metaboxes.php:133
326
+ msgid "Pause this variation"
327
+ msgstr ""
328
+
329
+ #: ../modules/module.ab-testing.metaboxes.php:133
330
+ msgid "Pause"
331
+ msgstr ""
332
+
333
+ #: ../modules/module.ab-testing.metaboxes.php:134
334
+ msgid "Turn this variation on"
335
+ msgstr ""
336
+
337
+ #: ../modules/module.ab-testing.metaboxes.php:134
338
+ msgid "Play"
339
+ msgstr ""
340
+
341
+ #: ../modules/module.ab-testing.metaboxes.php:135
342
+ msgid "Edit this variation"
343
+ msgstr ""
344
+
345
+ #: ../modules/module.ab-testing.metaboxes.php:135
346
+ msgid "Edit"
347
+ msgstr ""
348
+
349
+ #: ../modules/module.ab-testing.metaboxes.php:136
350
+ msgid "Preview this variation"
351
+ msgstr ""
352
+
353
+ #: ../modules/module.ab-testing.metaboxes.php:136
354
+ #: ../modules/module.metaboxes.php:371 ../modules/module.post-type.php:128
355
+ msgid "Preview"
356
+ msgstr ""
357
+
358
+ #: ../modules/module.ab-testing.metaboxes.php:137
359
+ msgid "Clone this variation"
360
+ msgstr ""
361
+
362
+ #: ../modules/module.ab-testing.metaboxes.php:137
363
+ #: ../modules/module.clone.php:1
364
+ msgid "Clone"
365
+ msgstr ""
366
+
367
+ #: ../modules/module.ab-testing.metaboxes.php:138
368
+ msgid "Delete this variation"
369
+ msgstr ""
370
+
371
+ #: ../modules/module.ab-testing.metaboxes.php:138
372
+ #: ../modules/module.templates.php:227
373
+ #: ../shared/templates/email-templates/wp-notify-moderator/wp-notify-moderator.php:76
374
+ msgid "Delete"
375
+ msgstr ""
376
+
377
+ #: ../modules/module.ab-testing.metaboxes.php:207
378
+ msgid "Version "
379
+ msgstr ""
380
+
381
+ #: ../modules/module.ab-testing.metaboxes.php:222
382
+ msgid "Add New Variation"
383
+ msgstr ""
384
+
385
+ #: ../modules/module.ab-testing.metaboxes.php:233
386
+ msgid "Launch Visual Editor"
387
+ msgstr ""
388
+
389
+ #: ../modules/module.admin-menus.php:12
390
+ msgid "Forms"
391
+ msgstr ""
392
+
393
+ #: ../modules/module.admin-menus.php:12 ../shared/classes/class.menu.php:307
394
+ msgid "Manage Forms"
395
+ msgstr ""
396
+
397
+ #: ../modules/module.admin-menus.php:14
398
+ msgid "Templates"
399
+ msgstr ""
400
+
401
+ #: ../modules/module.admin-menus.php:14 ../modules/module.templates.php:239
402
+ #: ../shared/classes/class.menu.php:354
403
+ msgid "Manage Templates"
404
+ msgstr ""
405
+
406
+ #: ../modules/module.admin-menus.php:16
407
+ msgid "Get Addons"
408
+ msgstr ""
409
+
410
+ #: ../modules/module.admin-menus.php:18 ../shared/classes/class.menu.php:397
411
+ msgid "Global Settings"
412
+ msgstr ""
413
+
414
+ #: ../modules/module.clone.php:1
415
+ msgid "Clone this item"
416
+ msgstr ""
417
+
418
+ #: ../modules/module.clone.php:1
419
+ msgid "Copy creation failed, could not find original:"
420
+ msgstr ""
421
+
422
+ #: ../modules/module.clone.php:1
423
+ msgid "New Blank Landing Page"
424
+ msgstr ""
425
+
426
+ #: ../modules/module.cron.php:7
427
+ msgid "Every 3 minutes"
428
+ msgstr ""
429
+
430
+ #: ../modules/module.customizer.php:1
431
+ msgid "No A/B Tests running for this page"
432
+ msgstr ""
433
+
434
+ #: ../modules/module.customizer.php:1
435
+ msgid "Variations"
436
+ msgstr ""
437
+
438
+ #: ../modules/module.extension-licensing.php:72
439
+ #, php-format
440
+ msgid "%1$s"
441
+ msgstr ""
442
+
443
+ #: ../modules/module.global-settings.php:28
444
+ msgid "<h4>Landing Pages Core Settings</h4>"
445
+ msgstr ""
446
+
447
+ #: ../modules/module.global-settings.php:33
448
+ msgid "Default Landing Page Permalink Prefix"
449
+ msgstr ""
450
+
451
+ #: ../modules/module.global-settings.php:34
452
+ msgid ""
453
+ "Enter in the <span style='color:red;'>prefix</span> for landing page URLs "
454
+ "(aka permalinks).<br><br>This is the URL Slug that will be in the landing "
455
+ "page URL.<br><br> Example: http://www.yoursite.com/<span style='color:"
456
+ "red;'>PREFIX</span>/landing-page . Enter in a single word like 'go'"
457
+ msgstr ""
458
+
459
+ #: ../modules/module.global-settings.php:41
460
+ msgid "Enable Form Prepopulation"
461
+ msgstr ""
462
+
463
+ #: ../modules/module.global-settings.php:42
464
+ msgid ""
465
+ "With this setting enabled landing pages plugin will remember form input data "
466
+ "that the user submits to a form and attempt to pre-populate all other forms "
467
+ "with the same user's data when applicable."
468
+ msgstr ""
469
+
470
+ #: ../modules/module.global-settings.php:49
471
+ msgid "Disable Admin Impression/Conversion Tracking"
472
+ msgstr ""
473
+
474
+ #: ../modules/module.global-settings.php:50
475
+ msgid ""
476
+ "With this setting enabled landing pages plugin will not record visits and "
477
+ "conversions for administrative users that are logged in."
478
+ msgstr ""
479
+
480
+ #: ../modules/module.global-settings.php:57
481
+ msgid "Sticky Variations"
482
+ msgstr ""
483
+
484
+ #: ../modules/module.global-settings.php:58
485
+ msgid ""
486
+ "With this setting enabled the landing pages plugin will prevent landing page "
487
+ "version a/b rotation for a specific visitor that has viewed the page."
488
+ "<br><br>This pause on the a/b rotation will automatically expire after 30 "
489
+ "days."
490
+ msgstr ""
491
+
492
+ #: ../modules/module.global-settings.php:65
493
+ msgid "Enable Form Standardization"
494
+ msgstr ""
495
+
496
+ #: ../modules/module.global-settings.php:66
497
+ msgid ""
498
+ "With this setting enabled landing pages plugin will clean and standardize "
499
+ "all input ids and classnames. Uncheck this setting to disable "
500
+ "standardization."
501
+ msgstr ""
502
+
503
+ #: ../modules/module.global-settings.php:73
504
+ msgid "Form Standardization Element Whitelist"
505
+ msgstr ""
506
+
507
+ #: ../modules/module.global-settings.php:74
508
+ msgid ""
509
+ "Form standardization strips the conversion area content of html elements. "
510
+ "Add the elements you do not want to be stripped to this list."
511
+ msgstr ""
512
+
513
+ #: ../modules/module.global-settings.php:92
514
+ msgid "License Keys"
515
+ msgstr ""
516
+
517
+ #: ../modules/module.global-settings.php:95
518
+ msgid "Extensions"
519
+ msgstr ""
520
+
521
+ #: ../modules/module.global-settings.php:107
522
+ msgid "Debug"
523
+ msgstr ""
524
+
525
+ #: ../modules/module.global-settings.php:131
526
+ msgid ""
527
+ "Head to http://www.inboundnow.com/ to retrieve your license key for this "
528
+ "template."
529
+ msgstr ""
530
+
531
+ #: ../modules/module.global-settings.php:133
532
+ msgid "Extension Licensing"
533
+ msgstr ""
534
+
535
+ #: ../modules/module.global-settings.php:225
536
+ msgid ""
537
+ "Oh no! Your .htaccess is not writable and A/B testing won't work unless you "
538
+ "make your .htaccess file writable."
539
+ msgstr ""
540
+
541
+ #: ../modules/module.global-settings.php:306
542
+ msgid "Installation Status"
543
+ msgstr ""
544
+
545
+ #: ../modules/module.global-settings.php:310
546
+ msgid "PHP Version"
547
+ msgstr ""
548
+
549
+ #: ../modules/module.global-settings.php:324
550
+ msgid "Landing Pages requires PHP 5 or above."
551
+ msgstr ""
552
+
553
+ #: ../modules/module.global-settings.php:331
554
+ msgid "MySQL Version"
555
+ msgstr ""
556
+
557
+ #: ../modules/module.global-settings.php:345
558
+ msgid "Gravity Forms requires MySQL 5 or above."
559
+ msgstr ""
560
+
561
+ #: ../modules/module.global-settings.php:366
562
+ msgid "landing pages requires version X or higher"
563
+ msgstr ""
564
+
565
+ #: ../modules/module.global-settings.php:373
566
+ msgid "Landing Page Version"
567
+ msgstr ""
568
+
569
+ #: ../modules/module.global-settings.php:375
570
+ msgid "Version"
571
+ msgstr ""
572
+
573
+ #: ../modules/module.global-settings.php:389
574
+ msgid "The contents of your .htaccess file"
575
+ msgstr ""
576
+
577
+ #: ../modules/module.global-settings.php:425
578
+ msgid "System Information"
579
+ msgstr ""
580
+
581
+ #: ../modules/module.global-settings.php:428
582
+ msgid "Download System Info File for Support Requests"
583
+ msgstr ""
584
+
585
+ #: ../modules/module.global-settings.php:429
586
+ msgid ""
587
+ "To copy the system info, click below then press Ctrl + C (PC) or Cmd + C "
588
+ "(Mac)."
589
+ msgstr ""
590
+
591
+ #: ../modules/module.global-settings.php:479
592
+ msgid "Your server supports fsockopen."
593
+ msgstr ""
594
+
595
+ #: ../modules/module.global-settings.php:479
596
+ msgid "Your server does not support fsockopen."
597
+ msgstr ""
598
+
599
+ #: ../modules/module.global-settings.php:480
600
+ msgid "Your server supports cURL."
601
+ msgstr ""
602
+
603
+ #: ../modules/module.global-settings.php:480
604
+ msgid "Your server does not support cURL."
605
+ msgstr ""
606
+
607
+ #: ../modules/module.global-settings.php:481
608
+ msgid "Your server has the SOAP Client enabled."
609
+ msgstr ""
610
+
611
+ #: ../modules/module.global-settings.php:481
612
+ msgid "Your server does not have the SOAP Client enabled."
613
+ msgstr ""
614
+
615
+ #: ../modules/module.global-settings.php:482
616
+ msgid "Your server has SUHOSIN installed."
617
+ msgstr ""
618
+
619
+ #: ../modules/module.global-settings.php:482
620
+ msgid "Your server does not have SUHOSIN installed."
621
+ msgstr ""
622
+
623
+ #: ../modules/module.install.php:20
624
+ msgid "A/B Testing Landing Page Example"
625
+ msgstr ""
626
+
627
+ #: ../modules/module.install.php:21 ../modules/module.install.php:33
628
+ msgid ""
629
+ "<p>This is the first paragraph of your landing page where you want to draw "
630
+ "the viewers in and quickly explain your value proposition.</p><p><strong>Use "
631
+ "Bullet Points to:</strong><ul><li>Explain why they should fill out the form</"
632
+ "li><li>What they will learn if they download</li><li>A problem this form "
633
+ "will solve for them</li></ul></p><p>Short ending paragraph reiterating the "
634
+ "value behind the form</p>"
635
+ msgstr ""
636
+
637
+ #: ../modules/module.install.php:30
638
+ msgid "Main Catchy Headline (A)"
639
+ msgstr ""
640
+
641
+ #: ../modules/module.install.php:32
642
+ msgid "Form a"
643
+ msgstr ""
644
+
645
+ #: ../modules/module.install.php:32 ../modules/module.install.php:38
646
+ #: ../shared/classes/class.lead-fields.php:14
647
+ #: ../shared/templates/email-templates/token-test/token-test.php:14
648
+ msgid "First Name"
649
+ msgstr ""
650
+
651
+ #: ../modules/module.install.php:32 ../modules/module.install.php:38
652
+ #: ../shared/classes/class.lead-fields.php:20
653
+ #: ../shared/templates/email-templates/token-test/token-test.php:15
654
+ msgid "Last Name"
655
+ msgstr ""
656
+
657
+ #: ../modules/module.install.php:32 ../modules/module.install.php:38
658
+ #: ../shared/classes/class.lead-fields.php:26
659
+ #: ../shared/templates/email-templates/token-test/token-test.php:16
660
+ msgid "Email"
661
+ msgstr ""
662
+
663
+ #: ../modules/module.install.php:32 ../modules/module.install.php:38
664
+ msgid "Submit"
665
+ msgstr ""
666
+
667
+ #: ../modules/module.install.php:36
668
+ msgid "Main Catchy Headline Two (B)"
669
+ msgstr ""
670
+
671
+ #: ../modules/module.install.php:38
672
+ msgid "Form B"
673
+ msgstr ""
674
+
675
+ #: ../modules/module.install.php:133
676
+ msgid "WordPress Leads"
677
+ msgstr ""
678
+
679
+ #: ../modules/module.install.php:133
680
+ msgid ""
681
+ "This <b>free</b> landing page addon will give you the ability to track and "
682
+ "manage incoming web leads. Gather advanced Lead Intelligence and close more "
683
+ "deals."
684
+ msgstr ""
685
+
686
+ #: ../modules/module.install.php:133
687
+ msgid "Learn more about WordPress Leads"
688
+ msgstr ""
689
+
690
+ #: ../modules/module.install.php:138
691
+ msgid "WordPress Calls to Action"
692
+ msgstr ""
693
+
694
+ #: ../modules/module.install.php:138
695
+ msgid ""
696
+ "This <b>free</b> landing page addon will drive more traffic into your "
697
+ "Landing Pages with Targeted Calls to Action in your sites sidebars & "
698
+ "content. Create popups to capture visitor attention and convert more leads."
699
+ msgstr ""
700
+
701
+ #: ../modules/module.install.php:138
702
+ msgid "Learn more about WordPress Calls to Action"
703
+ msgstr ""
704
+
705
+ #: ../modules/module.install.php:168
706
+ msgid "Something went wrong with the plugin API."
707
+ msgstr ""
708
+
709
+ #: ../modules/module.install.php:181
710
+ #, php-format
711
+ msgid "All plugins installed and activated successfully. %s"
712
+ msgstr ""
713
+
714
+ #: ../modules/module.lead-splash.php:24
715
+ msgid "Lead Details "
716
+ msgstr ""
717
+
718
+ #: ../modules/module.lead-splash.php:26
719
+ msgid "View/Edit Lead"
720
+ msgstr ""
721
+
722
+ #: ../modules/module.lead-splash.php:29
723
+ msgid "Name"
724
+ msgstr ""
725
+
726
+ #: ../modules/module.lead-splash.php:33
727
+ msgid "Email Address"
728
+ msgstr ""
729
+
730
+ #: ../modules/module.lead-splash.php:36
731
+ msgid "IP Address"
732
+ msgstr ""
733
+
734
+ #: ../modules/module.lead-splash.php:39
735
+ #: ../shared/classes/class.lead-fields.php:74
736
+ #: ../shared/templates/email-templates/token-test/token-test.php:20
737
+ msgid "City"
738
+ msgstr ""
739
+
740
+ #: ../modules/module.lead-splash.php:42
741
+ msgid "State"
742
+ msgstr ""
743
+
744
+ #: ../modules/module.metaboxes-global.php:29
745
+ msgid "Inbound Statistics"
746
+ msgstr ""
747
+
748
+ #: ../modules/module.metaboxes.php:18
749
+ msgid "Template Preview"
750
+ msgstr ""
751
+
752
+ #: ../modules/module.metaboxes.php:55
753
+ msgid "Preview this theme"
754
+ msgstr ""
755
+
756
+ #: ../modules/module.metaboxes.php:70
757
+ msgid ""
758
+ "Landing Page Form or Conversion Button - <em>click the black & blue power "
759
+ "button icon to build forms/buttons</em>"
760
+ msgstr ""
761
+
762
+ #: ../modules/module.metaboxes.php:130
763
+ msgid ""
764
+ "To help track conversions Landing Pages Plugin will automatically add a "
765
+ "tracking class to forms. If you would like to track a link add this class to "
766
+ "it"
767
+ msgstr ""
768
+
769
+ #: ../modules/module.metaboxes.php:177
770
+ #: ../shared/classes/class.lead-fields.php:141
771
+ msgid "Notes"
772
+ msgstr ""
773
+
774
+ #: ../modules/module.metaboxes.php:177
775
+ msgid ""
776
+ "Add Notes to your variation. Example: This version is testing a green submit "
777
+ "button "
778
+ msgstr ""
779
+
780
+ #: ../modules/module.metaboxes.php:178
781
+ msgid "Primary Headline Goes here. This will be visible on the page"
782
+ msgstr ""
783
+
784
+ #: ../modules/module.metaboxes.php:178
785
+ msgid "This headline will appear in the landing page template."
786
+ msgstr ""
787
+
788
+ #: ../modules/module.metaboxes.php:226
789
+ msgid "Enter Landing Page Description"
790
+ msgstr ""
791
+
792
+ #: ../modules/module.metaboxes.php:240 ../shared/classes/class.menu.php:371
793
+ #: ../shared/classes/class.menu.php:373
794
+ msgid "Landing Page Templates"
795
+ msgstr ""
796
+
797
+ #: ../modules/module.metaboxes.php:262
798
+ msgid "Choose Another Template"
799
+ msgstr ""
800
+
801
+ #: ../modules/module.metaboxes.php:297
802
+ msgid "Select Your Landing Page Template!"
803
+ msgstr ""
804
+
805
+ #: ../modules/module.metaboxes.php:298
806
+ msgid "Cancel Template Change"
807
+ msgstr ""
808
+
809
+ #: ../modules/module.metaboxes.php:301
810
+ msgid "All"
811
+ msgstr ""
812
+
813
+ #: ../modules/module.metaboxes.php:302
814
+ msgid "Theme"
815
+ msgstr ""
816
+
817
+ #: ../modules/module.metaboxes.php:370
818
+ msgid "Select"
819
+ msgstr ""
820
+
821
+ #: ../modules/module.metaboxes.php:380
822
+ msgid "This is Currently Selected"
823
+ msgstr ""
824
+
825
+ #: ../modules/module.metaboxes.php:388
826
+ msgid "Custom CSS"
827
+ msgstr ""
828
+
829
+ #: ../modules/module.metaboxes.php:394
830
+ msgid ""
831
+ "<em>Custom CSS may be required to customize this landing page.</em><strong> "
832
+ "<u>Format</u>: #element-id { display:none !important; }</strong>"
833
+ msgstr ""
834
+
835
+ #: ../modules/module.metaboxes.php:421
836
+ msgid "Custom JS"
837
+ msgstr ""
838
+
839
+ #: ../modules/module.metaboxes.php:622
840
+ #: ../shared/templates/email-templates/inbound-new-lead-notification/inbound-new-lead-notification.php:53
841
+ #: ../shared/templates/email-templates/inbound-new-lead-notification/inbound-new-lead-notification.php:98
842
+ msgid "View Lead"
843
+ msgstr ""
844
+
845
+ #: ../modules/module.metaboxes.php:627
846
+ msgid "First timer!"
847
+ msgstr ""
848
+
849
+ #: ../modules/module.metaboxes.php:647
850
+ msgid "No conversions recorded yet..."
851
+ msgstr ""
852
+
853
+ #: ../modules/module.metaboxes.php:664
854
+ msgid "Conversion logs:"
855
+ msgstr ""
856
+
857
+ #: ../modules/module.post-type.php:22 ../shared/classes/class.menu.php:268
858
+ msgid "Add New Landing Page"
859
+ msgstr ""
860
+
861
+ #: ../modules/module.post-type.php:23
862
+ msgid "Edit Landing Page"
863
+ msgstr ""
864
+
865
+ #: ../modules/module.post-type.php:24
866
+ msgid "New Landing Page"
867
+ msgstr ""
868
+
869
+ #: ../modules/module.post-type.php:25
870
+ msgid "View Landing Page"
871
+ msgstr ""
872
+
873
+ #: ../modules/module.post-type.php:26
874
+ msgid "Search Landing Page"
875
+ msgstr ""
876
+
877
+ #: ../modules/module.post-type.php:27
878
+ #: ../shared/classes/class.post-type.wp-lead.php:37
879
+ #: ../shared/shortcodes/shortcodes/forms.php:347
880
+ msgid "Nothing found"
881
+ msgstr ""
882
+
883
+ #: ../modules/module.post-type.php:28
884
+ #: ../shared/classes/class.post-type.wp-lead.php:38
885
+ #: ../shared/shortcodes/shortcodes/forms.php:348
886
+ msgid "Nothing found in Trash"
887
+ msgstr ""
888
+
889
+ #: ../modules/module.post-type.php:55 ../shared/classes/class.menu.php:220
890
+ #: ../shared/classes/class.menu.php:276
891
+ msgid "Categories"
892
+ msgstr ""
893
+
894
+ #: ../modules/module.post-type.php:56
895
+ msgid "Landing Page Category"
896
+ msgstr ""
897
+
898
+ #: ../modules/module.post-type.php:68
899
+ msgid "All Landing Page Categories"
900
+ msgstr ""
901
+
902
+ #: ../modules/module.post-type.php:82
903
+ msgid "Short Description"
904
+ msgstr ""
905
+
906
+ #: ../modules/module.post-type.php:129
907
+ msgid "Landing Page Title"
908
+ msgstr ""
909
+
910
+ #: ../modules/module.post-type.php:130
911
+ msgid "Variation Testing Stats"
912
+ msgstr ""
913
+
914
+ #: ../modules/module.post-type.php:131
915
+ msgid "Total<br>Visits"
916
+ msgstr ""
917
+
918
+ #: ../modules/module.post-type.php:132
919
+ msgid "Total<br>Conversions"
920
+ msgstr ""
921
+
922
+ #: ../modules/module.post-type.php:133
923
+ msgid "Total<br>Conversion Rate"
924
+ msgstr ""
925
+
926
+ #: ../modules/module.post-type.php:191
927
+ msgid "(Paused)"
928
+ msgstr ""
929
+
930
+ #: ../modules/module.post-type.php:201
931
+ msgid "conversion"
932
+ msgstr ""
933
+
934
+ #: ../modules/module.post-type.php:201
935
+ msgid "conversions"
936
+ msgstr ""
937
+
938
+ #: ../modules/module.post-type.php:202
939
+ msgid "visit"
940
+ msgstr ""
941
+
942
+ #: ../modules/module.post-type.php:202
943
+ msgid "visits"
944
+ msgstr ""
945
+
946
+ #: ../modules/module.post-type.php:203 ../modules/module.post-type.php:225
947
+ msgid "No notes"
948
+ msgstr ""
949
+
950
+ #: ../modules/module.post-type.php:226
951
+ msgid "Preview This variation"
952
+ msgstr ""
953
+
954
+ #: ../modules/module.post-type.php:226
955
+ msgid "Clear These Stats"
956
+ msgstr ""
957
+
958
+ #: ../modules/module.post-type.php:229
959
+ msgid "No A/B Tests running for this landing page"
960
+ msgstr ""
961
+
962
+ #: ../modules/module.post-type.php:229
963
+ msgid "Start one"
964
+ msgstr ""
965
+
966
+ #: ../modules/module.post-type.php:314
967
+ msgid "Click to Preview this variation"
968
+ msgstr ""
969
+
970
+ #: ../modules/module.post-type.php:359
971
+ msgid "Show All "
972
+ msgstr ""
973
+
974
+ #: ../modules/module.post-type.php:411
975
+ msgid "Clear impression and conversion records"
976
+ msgstr ""
977
+
978
+ #: ../modules/module.post-type.php:412
979
+ msgid "Clear All Stats"
980
+ msgstr ""
981
+
982
+ #: ../modules/module.post-type.php:412
983
+ msgid "Hover over the letters to the right for more options"
984
+ msgstr ""
985
+
986
+ #: ../modules/module.sidebar.php:12
987
+ msgid "Landing Pages Sidebar"
988
+ msgstr ""
989
+
990
+ #: ../modules/module.sidebar.php:13
991
+ msgid ""
992
+ "Landing Pages Sidebar Area: For default and native theme templates only."
993
+ msgstr ""
994
+
995
+ #: ../modules/module.store.php:1 ../modules/module.templates-upload.php:42
996
+ #: ../modules/module.templates-upload.php:53
997
+ msgid "Search Templates"
998
+ msgstr ""
999
+
1000
+ #: ../modules/module.templates-upload.php:14
1001
+ msgid "Install Templates"
1002
+ msgstr ""
1003
+
1004
+ #: ../modules/module.templates-upload.php:17
1005
+ #: ../modules/module.templates-upload.php:45
1006
+ msgid "Search"
1007
+ msgstr ""
1008
+
1009
+ #: ../modules/module.templates-upload.php:18
1010
+ #: ../modules/module.templates-upload.php:46
1011
+ msgid "Upload"
1012
+ msgstr ""
1013
+
1014
+ #: ../modules/module.templates-upload.php:22
1015
+ msgid "Install Landing Pages template by uploading them here in .zip format"
1016
+ msgstr ""
1017
+
1018
+ #: ../modules/module.templates-upload.php:24
1019
+ msgid ""
1020
+ "Warning: Do not upload landing page extensions here or you will break the "
1021
+ "plugin! <br>Extensions are uploaded in the WordPress plugins section."
1022
+ msgstr ""
1023
+
1024
+ #: ../modules/module.templates-upload.php:28
1025
+ msgid "Template zip file"
1026
+ msgstr ""
1027
+
1028
+ #: ../modules/module.templates-upload.php:50
1029
+ msgid "Search the Inboundnow marketplace for free and premium templates."
1030
+ msgstr ""
1031
+
1032
+ #: ../modules/module.templates-upload.php:116
1033
+ msgid ""
1034
+ "WARNING! This zip file does not seem to be a template file! If you are "
1035
+ "trying to install a Landing Page extension please use the Plugin's upload "
1036
+ "section! Please press the back button and try again!"
1037
+ msgstr ""
1038
+
1039
+ #: ../modules/module.templates-upload.php:123
1040
+ msgid "There was a problem. Please try again!"
1041
+ msgstr ""
1042
+
1043
+ #: ../modules/module.templates-upload.php:128
1044
+ msgid "Template uploaded successfully!"
1045
+ msgstr ""
1046
+
1047
+ #: ../modules/module.templates.php:110
1048
+ msgid "Template"
1049
+ msgstr ""
1050
+
1051
+ #: ../modules/module.templates.php:111
1052
+ msgid "Description"
1053
+ msgstr ""
1054
+
1055
+ #: ../modules/module.templates.php:112
1056
+ #: ../shared/shortcodes/shortcodes/landing_pages.php:37
1057
+ #: ../shared/shortcodes/shortcodes/landing_pages.php:99
1058
+ msgid "Category"
1059
+ msgstr ""
1060
+
1061
+ #: ../modules/module.templates.php:113
1062
+ msgid "Current Version"
1063
+ msgstr ""
1064
+
1065
+ #: ../modules/module.templates.php:219
1066
+ msgid ""
1067
+ "No premium templates installed. Templates included in the Landing Pages core "
1068
+ "plugin will not be listed here."
1069
+ msgstr ""
1070
+
1071
+ #: ../modules/module.templates.php:226
1072
+ msgid "Upgrade"
1073
+ msgstr ""
1074
+
1075
+ #: ../modules/module.welcome.php:52 ../modules/module.welcome.php:53
1076
+ msgid "Welcome to WordPress Landing Pages"
1077
+ msgstr ""
1078
+
1079
+ #: ../modules/module.welcome.php:60 ../modules/module.welcome.php:61
1080
+ msgid "About the Inbound Now Marketing Platform"
1081
+ msgstr ""
1082
+
1083
+ #: ../modules/module.welcome.php:68 ../modules/module.welcome.php:69
1084
+ msgid "Developers and Designers"
1085
+ msgstr ""
1086
+
1087
+ #: ../modules/module.welcome.php:304 ../modules/module.welcome.php:567
1088
+ #, php-format
1089
+ msgid "Welcome to WordPress Landing Pages %s"
1090
+ msgstr ""
1091
+
1092
+ #: ../modules/module.welcome.php:305
1093
+ #, php-format
1094
+ msgid ""
1095
+ "Thank you for updating to the latest version! WordPress Landing Pages %s is "
1096
+ "help you convert more leads!"
1097
+ msgstr ""
1098
+
1099
+ #: ../modules/module.welcome.php:306 ../modules/module.welcome.php:569
1100
+ #: ../shared/classes/class.welcome.php:169
1101
+ #, php-format
1102
+ msgid "Version %s"
1103
+ msgstr ""
1104
+
1105
+ #: ../modules/module.welcome.php:312
1106
+ msgid "Create Your First Landing Page"
1107
+ msgstr ""
1108
+
1109
+ #: ../modules/module.welcome.php:316
1110
+ msgid "How to Create Forms"
1111
+ msgstr ""
1112
+
1113
+ #: ../modules/module.welcome.php:320
1114
+ msgid "Creating Landing Pages with your Current Theme Template"
1115
+ msgstr ""
1116
+
1117
+ #: ../modules/module.welcome.php:340
1118
+ msgid "Go to WordPress Landing Pages Settings"
1119
+ msgstr ""
1120
+
1121
+ #: ../modules/module.welcome.php:343
1122
+ msgid "Manage Your Landing Page Templates"
1123
+ msgstr ""
1124
+
1125
+ #: ../modules/module.welcome.php:346
1126
+ msgid "Create New Landing Page"
1127
+ msgstr ""
1128
+
1129
+ #: ../modules/module.welcome.php:349
1130
+ msgid "Create Landing Page Forms"
1131
+ msgstr ""
1132
+
1133
+ #: ../modules/module.welcome.php:440
1134
+ msgid "Turbo Charge Your Marketing"
1135
+ msgstr ""
1136
+
1137
+ #: ../modules/module.welcome.php:441
1138
+ msgid ""
1139
+ "WordPress Landing Pages is only one piece of Inbound Now's Marketing Platform"
1140
+ msgstr ""
1141
+
1142
+ #: ../modules/module.welcome.php:446
1143
+ msgid ""
1144
+ "To have an effective marketing strategy for your site you need to "
1145
+ "incorporate a comprehensive conversion strategy to capture visitors "
1146
+ "attention, get them clicking, and convert them on a web form or landing page."
1147
+ msgstr ""
1148
+
1149
+ #: ../modules/module.welcome.php:451
1150
+ msgid "Capture visitor attention with"
1151
+ msgstr ""
1152
+
1153
+ #: ../modules/module.welcome.php:459
1154
+ msgid ""
1155
+ "<b>Convert more website traffic</b> with visually\n"
1156
+ "\t\t appealing calls to action"
1157
+ msgstr ""
1158
+
1159
+ #: ../modules/module.welcome.php:466
1160
+ msgid ""
1161
+ "A/B test your marketing tactics and <b>improve your\n"
1162
+ "\t\t sites conversion rates"
1163
+ msgstr ""
1164
+
1165
+ #: ../modules/module.welcome.php:481
1166
+ msgid "Convert website visitors with"
1167
+ msgstr ""
1168
+
1169
+ #: ../modules/module.welcome.php:489
1170
+ msgid ""
1171
+ "<b>Generate more web leads</b> with pages specifically designed for "
1172
+ "conversion"
1173
+ msgstr ""
1174
+
1175
+ #: ../modules/module.welcome.php:495
1176
+ msgid ""
1177
+ "A/B Test Landing Page effectiveness for <b>continual optimization & "
1178
+ "improvement</b>"
1179
+ msgstr ""
1180
+
1181
+ #: ../modules/module.welcome.php:509
1182
+ msgid "Followup &amp; Close the deal with"
1183
+ msgstr ""
1184
+
1185
+ #: ../modules/module.welcome.php:517
1186
+ msgid ""
1187
+ "Gather & leverage lead intelligence on\n"
1188
+ "\t\t visitors to <b>close more deals</b>"
1189
+ msgstr ""
1190
+
1191
+ #: ../modules/module.welcome.php:524
1192
+ msgid ""
1193
+ "Track page views, site conversions,\n"
1194
+ "\t\t demographics, geolocation, social media data and more."
1195
+ msgstr ""
1196
+
1197
+ #: ../modules/module.welcome.php:527
1198
+ msgid ""
1199
+ "Know everything a lead has seen and done on your site before you contact them"
1200
+ msgstr ""
1201
+
1202
+ #: ../modules/module.welcome.php:568
1203
+ msgid "Learn How to Build Custom Templates & Add Value to Your Clients"
1204
+ msgstr ""
1205
+
1206
+ #: ../modules/module.welcome.php:574
1207
+ msgid ""
1208
+ "WordPress Landing Pages was built as a platform to allow anyone to create "
1209
+ "and use their own landing page designs."
1210
+ msgstr ""
1211
+
1212
+ #: ../modules/module.welcome.php:576
1213
+ msgid ""
1214
+ "Infuse your designs with powerful A/B testing functionality and give clients "
1215
+ "the ability to edit options on the backend with ease."
1216
+ msgstr ""
1217
+
1218
+ #: ../modules/module.widgets.php:17
1219
+ msgid ""
1220
+ "Use this widget on your landing page sidebar. This sidebar replaces the "
1221
+ "normal sidebar while using your default theme as a template, or other "
1222
+ "inactive themes as landing page templates."
1223
+ msgstr ""
1224
+
1225
+ #: ../modules/module.widgets.php:23
1226
+ msgid "Landing Pages: Conversion Area Widget"
1227
+ msgstr ""
1228
+
1229
+ #: ../modules/module.widgets.php:92
1230
+ msgid ""
1231
+ "This box will render the landing page conversion area on the 'default' "
1232
+ "template."
1233
+ msgstr ""
1234
+
1235
+ #: ../shared/classes/class.form.php:1051
1236
+ msgid "AF"
1237
+ msgstr ""
1238
+
1239
+ #: ../shared/classes/class.form.php:1051
1240
+ msgid "Afghanistan"
1241
+ msgstr ""
1242
+
1243
+ #: ../shared/classes/class.form.php:1052
1244
+ msgid "AX"
1245
+ msgstr ""
1246
+
1247
+ #: ../shared/classes/class.form.php:1052
1248
+ msgid "Aland Islands"
1249
+ msgstr ""
1250
+
1251
+ #: ../shared/classes/class.form.php:1053
1252
+ msgid "AL"
1253
+ msgstr ""
1254
+
1255
+ #: ../shared/classes/class.form.php:1053
1256
+ msgid "Albania"
1257
+ msgstr ""
1258
+
1259
+ #: ../shared/classes/class.form.php:1054
1260
+ msgid "DZ"
1261
+ msgstr ""
1262
+
1263
+ #: ../shared/classes/class.form.php:1054
1264
+ msgid "Algeria"
1265
+ msgstr ""
1266
+
1267
+ #: ../shared/classes/class.form.php:1055
1268
+ msgid "AS"
1269
+ msgstr ""
1270
+
1271
+ #: ../shared/classes/class.form.php:1055
1272
+ msgid "American Samoa"
1273
+ msgstr ""
1274
+
1275
+ #: ../shared/classes/class.form.php:1056
1276
+ msgid "AD"
1277
+ msgstr ""
1278
+
1279
+ #: ../shared/classes/class.form.php:1056
1280
+ msgid "Andorra"
1281
+ msgstr ""
1282
+
1283
+ #: ../shared/classes/class.form.php:1057
1284
+ msgid "AO"
1285
+ msgstr ""
1286
+
1287
+ #: ../shared/classes/class.form.php:1057
1288
+ msgid "Angola"
1289
+ msgstr ""
1290
+
1291
+ #: ../shared/classes/class.form.php:1058
1292
+ msgid "AI"
1293
+ msgstr ""
1294
+
1295
+ #: ../shared/classes/class.form.php:1058
1296
+ msgid "Anguilla"
1297
+ msgstr ""
1298
+
1299
+ #: ../shared/classes/class.form.php:1059
1300
+ msgid "AQ"
1301
+ msgstr ""
1302
+
1303
+ #: ../shared/classes/class.form.php:1059
1304
+ msgid "Antarctica"
1305
+ msgstr ""
1306
+
1307
+ #: ../shared/classes/class.form.php:1060
1308
+ msgid "AG"
1309
+ msgstr ""
1310
+
1311
+ #: ../shared/classes/class.form.php:1060
1312
+ msgid "Antigua and Barbuda"
1313
+ msgstr ""
1314
+
1315
+ #: ../shared/classes/class.form.php:1061
1316
+ msgid "AR"
1317
+ msgstr ""
1318
+
1319
+ #: ../shared/classes/class.form.php:1061
1320
+ msgid "Argentina"
1321
+ msgstr ""
1322
+
1323
+ #: ../shared/classes/class.form.php:1062
1324
+ msgid "AM"
1325
+ msgstr ""
1326
+
1327
+ #: ../shared/classes/class.form.php:1062
1328
+ msgid "Armenia"
1329
+ msgstr ""
1330
+
1331
+ #: ../shared/classes/class.form.php:1063
1332
+ msgid "AW"
1333
+ msgstr ""
1334
+
1335
+ #: ../shared/classes/class.form.php:1063
1336
+ msgid "Aruba"
1337
+ msgstr ""
1338
+
1339
+ #: ../shared/classes/class.form.php:1064
1340
+ msgid "AU"
1341
+ msgstr ""
1342
+
1343
+ #: ../shared/classes/class.form.php:1064
1344
+ msgid "Australia"
1345
+ msgstr ""
1346
+
1347
+ #: ../shared/classes/class.form.php:1065
1348
+ msgid "AT"
1349
+ msgstr ""
1350
+
1351
+ #: ../shared/classes/class.form.php:1065
1352
+ msgid "Austria"
1353
+ msgstr ""
1354
+
1355
+ #: ../shared/classes/class.form.php:1066
1356
+ msgid "AZ"
1357
+ msgstr ""
1358
+
1359
+ #: ../shared/classes/class.form.php:1066
1360
+ msgid "Azerbaijan"
1361
+ msgstr ""
1362
+
1363
+ #: ../shared/classes/class.form.php:1067
1364
+ msgid "BS"
1365
+ msgstr ""
1366
+
1367
+ #: ../shared/classes/class.form.php:1067
1368
+ msgid "Bahamas"
1369
+ msgstr ""
1370
+
1371
+ #: ../shared/classes/class.form.php:1068
1372
+ msgid "BH"
1373
+ msgstr ""
1374
+
1375
+ #: ../shared/classes/class.form.php:1068
1376
+ msgid "Bahrain"
1377
+ msgstr ""
1378
+
1379
+ #: ../shared/classes/class.form.php:1069
1380
+ msgid "BD"
1381
+ msgstr ""
1382
+
1383
+ #: ../shared/classes/class.form.php:1069
1384
+ msgid "Bangladesh"
1385
+ msgstr ""
1386
+
1387
+ #: ../shared/classes/class.form.php:1070
1388
+ msgid "BB"
1389
+ msgstr ""
1390
+
1391
+ #: ../shared/classes/class.form.php:1070
1392
+ msgid "Barbados"
1393
+ msgstr ""
1394
+
1395
+ #: ../shared/classes/class.form.php:1071
1396
+ msgid "BY"
1397
+ msgstr ""
1398
+
1399
+ #: ../shared/classes/class.form.php:1071
1400
+ msgid "Belarus"
1401
+ msgstr ""
1402
+
1403
+ #: ../shared/classes/class.form.php:1072
1404
+ msgid "BE"
1405
+ msgstr ""
1406
+
1407
+ #: ../shared/classes/class.form.php:1072
1408
+ msgid "Belgium"
1409
+ msgstr ""
1410
+
1411
+ #: ../shared/classes/class.form.php:1073
1412
+ msgid "BZ"
1413
+ msgstr ""
1414
+
1415
+ #: ../shared/classes/class.form.php:1073
1416
+ msgid "Belize"
1417
+ msgstr ""
1418
+
1419
+ #: ../shared/classes/class.form.php:1074
1420
+ msgid "BJ"
1421
+ msgstr ""
1422
+
1423
+ #: ../shared/classes/class.form.php:1074
1424
+ msgid "Benin"
1425
+ msgstr ""
1426
+
1427
+ #: ../shared/classes/class.form.php:1075
1428
+ msgid "BM"
1429
+ msgstr ""
1430
+
1431
+ #: ../shared/classes/class.form.php:1075
1432
+ msgid "Bermuda"
1433
+ msgstr ""
1434
+
1435
+ #: ../shared/classes/class.form.php:1076
1436
+ msgid "BT"
1437
+ msgstr ""
1438
+
1439
+ #: ../shared/classes/class.form.php:1076
1440
+ msgid "Bhutan"
1441
+ msgstr ""
1442
+
1443
+ #: ../shared/classes/class.form.php:1077
1444
+ msgid "BO"
1445
+ msgstr ""
1446
+
1447
+ #: ../shared/classes/class.form.php:1077
1448
+ msgid "Bolivia"
1449
+ msgstr ""
1450
+
1451
+ #: ../shared/classes/class.form.php:1078
1452
+ msgid "BA"
1453
+ msgstr ""
1454
+
1455
+ #: ../shared/classes/class.form.php:1078
1456
+ msgid "Bosnia and Herzegovina"
1457
+ msgstr ""
1458
+
1459
+ #: ../shared/classes/class.form.php:1079
1460
+ msgid "BW"
1461
+ msgstr ""
1462
+
1463
+ #: ../shared/classes/class.form.php:1079
1464
+ msgid "Botswana"
1465
+ msgstr ""
1466
+
1467
+ #: ../shared/classes/class.form.php:1080
1468
+ msgid "BV"
1469
+ msgstr ""
1470
+
1471
+ #: ../shared/classes/class.form.php:1080
1472
+ msgid "Bouvet Island"
1473
+ msgstr ""
1474
+
1475
+ #: ../shared/classes/class.form.php:1081
1476
+ msgid "BR"
1477
+ msgstr ""
1478
+
1479
+ #: ../shared/classes/class.form.php:1081
1480
+ msgid "Brazil"
1481
+ msgstr ""
1482
+
1483
+ #: ../shared/classes/class.form.php:1082
1484
+ msgid "IO"
1485
+ msgstr ""
1486
+
1487
+ #: ../shared/classes/class.form.php:1082
1488
+ msgid "British Indian Ocean Territory"
1489
+ msgstr ""
1490
+
1491
+ #: ../shared/classes/class.form.php:1083
1492
+ msgid "BN"
1493
+ msgstr ""
1494
+
1495
+ #: ../shared/classes/class.form.php:1083
1496
+ msgid "Brunei Darussalam"
1497
+ msgstr ""
1498
+
1499
+ #: ../shared/classes/class.form.php:1084
1500
+ msgid "BG"
1501
+ msgstr ""
1502
+
1503
+ #: ../shared/classes/class.form.php:1084
1504
+ msgid "Bulgaria"
1505
+ msgstr ""
1506
+
1507
+ #: ../shared/classes/class.form.php:1085
1508
+ msgid "BF"
1509
+ msgstr ""
1510
+
1511
+ #: ../shared/classes/class.form.php:1085
1512
+ msgid "Burkina Faso"
1513
+ msgstr ""
1514
+
1515
+ #: ../shared/classes/class.form.php:1086
1516
+ msgid "BI"
1517
+ msgstr ""
1518
+
1519
+ #: ../shared/classes/class.form.php:1086
1520
+ msgid "Burundi"
1521
+ msgstr ""
1522
+
1523
+ #: ../shared/classes/class.form.php:1087
1524
+ msgid "KH"
1525
+ msgstr ""
1526
+
1527
+ #: ../shared/classes/class.form.php:1087
1528
+ msgid "Cambodia"
1529
+ msgstr ""
1530
+
1531
+ #: ../shared/classes/class.form.php:1088
1532
+ msgid "CM"
1533
+ msgstr ""
1534
+
1535
+ #: ../shared/classes/class.form.php:1088
1536
+ msgid "Cameroon"
1537
+ msgstr ""
1538
+
1539
+ #: ../shared/classes/class.form.php:1089
1540
+ msgid "CA"
1541
+ msgstr ""
1542
+
1543
+ #: ../shared/classes/class.form.php:1089
1544
+ msgid "Canada"
1545
+ msgstr ""
1546
+
1547
+ #: ../shared/classes/class.form.php:1090
1548
+ msgid "CV"
1549
+ msgstr ""
1550
+
1551
+ #: ../shared/classes/class.form.php:1090
1552
+ msgid "Cape Verde"
1553
+ msgstr ""
1554
+
1555
+ #: ../shared/classes/class.form.php:1091
1556
+ msgid "BQ"
1557
+ msgstr ""
1558
+
1559
+ #: ../shared/classes/class.form.php:1091
1560
+ msgid "Caribbean Netherlands "
1561
+ msgstr ""
1562
+
1563
+ #: ../shared/classes/class.form.php:1092
1564
+ msgid "KY"
1565
+ msgstr ""
1566
+
1567
+ #: ../shared/classes/class.form.php:1092
1568
+ msgid "Cayman Islands"
1569
+ msgstr ""
1570
+
1571
+ #: ../shared/classes/class.form.php:1093
1572
+ msgid "CF"
1573
+ msgstr ""
1574
+
1575
+ #: ../shared/classes/class.form.php:1093
1576
+ msgid "Central African Republic"
1577
+ msgstr ""
1578
+
1579
+ #: ../shared/classes/class.form.php:1094
1580
+ msgid "TD"
1581
+ msgstr ""
1582
+
1583
+ #: ../shared/classes/class.form.php:1094
1584
+ msgid "Chad"
1585
+ msgstr ""
1586
+
1587
+ #: ../shared/classes/class.form.php:1095
1588
+ msgid "CL"
1589
+ msgstr ""
1590
+
1591
+ #: ../shared/classes/class.form.php:1095
1592
+ msgid "Chile"
1593
+ msgstr ""
1594
+
1595
+ #: ../shared/classes/class.form.php:1096
1596
+ msgid "CN"
1597
+ msgstr ""
1598
+
1599
+ #: ../shared/classes/class.form.php:1096
1600
+ msgid "China"
1601
+ msgstr ""
1602
+
1603
+ #: ../shared/classes/class.form.php:1097
1604
+ msgid "CX"
1605
+ msgstr ""
1606
+
1607
+ #: ../shared/classes/class.form.php:1097
1608
+ msgid "Christmas Island"
1609
+ msgstr ""
1610
+
1611
+ #: ../shared/classes/class.form.php:1098
1612
+ msgid "CC"
1613
+ msgstr ""
1614
+
1615
+ #: ../shared/classes/class.form.php:1098
1616
+ msgid "Cocos (Keeling) Islands"
1617
+ msgstr ""
1618
+
1619
+ #: ../shared/classes/class.form.php:1099
1620
+ msgid "CO"
1621
+ msgstr ""
1622
+
1623
+ #: ../shared/classes/class.form.php:1099
1624
+ msgid "Colombia"
1625
+ msgstr ""
1626
+
1627
+ #: ../shared/classes/class.form.php:1100
1628
+ msgid "KM"
1629
+ msgstr ""
1630
+
1631
+ #: ../shared/classes/class.form.php:1100
1632
+ msgid "Comoros"
1633
+ msgstr ""
1634
+
1635
+ #: ../shared/classes/class.form.php:1101
1636
+ msgid "CG"
1637
+ msgstr ""
1638
+
1639
+ #: ../shared/classes/class.form.php:1101
1640
+ msgid "Congo"
1641
+ msgstr ""
1642
+
1643
+ #: ../shared/classes/class.form.php:1102
1644
+ msgid "CD"
1645
+ msgstr ""
1646
+
1647
+ #: ../shared/classes/class.form.php:1102
1648
+ msgid "Congo, Democratic Republic of"
1649
+ msgstr ""
1650
+
1651
+ #: ../shared/classes/class.form.php:1103
1652
+ msgid "CK"
1653
+ msgstr ""
1654
+
1655
+ #: ../shared/classes/class.form.php:1103
1656
+ msgid "Cook Islands"
1657
+ msgstr ""
1658
+
1659
+ #: ../shared/classes/class.form.php:1104
1660
+ msgid "CR"
1661
+ msgstr ""
1662
+
1663
+ #: ../shared/classes/class.form.php:1104
1664
+ msgid "Costa Rica"
1665
+ msgstr ""
1666
+
1667
+ #: ../shared/classes/class.form.php:1105
1668
+ msgid "CI"
1669
+ msgstr ""
1670
+
1671
+ #: ../shared/classes/class.form.php:1105
1672
+ msgid "Cote d'Ivoire"
1673
+ msgstr ""
1674
+
1675
+ #: ../shared/classes/class.form.php:1106
1676
+ msgid "HR"
1677
+ msgstr ""
1678
+
1679
+ #: ../shared/classes/class.form.php:1106
1680
+ msgid "Croatia"
1681
+ msgstr ""
1682
+
1683
+ #: ../shared/classes/class.form.php:1107
1684
+ msgid "CU"
1685
+ msgstr ""
1686
+
1687
+ #: ../shared/classes/class.form.php:1107
1688
+ msgid "Cuba"
1689
+ msgstr ""
1690
+
1691
+ #: ../shared/classes/class.form.php:1108
1692
+ msgid "CW"
1693
+ msgstr ""
1694
+
1695
+ #: ../shared/classes/class.form.php:1108
1696
+ msgid "Curacao"
1697
+ msgstr ""
1698
+
1699
+ #: ../shared/classes/class.form.php:1109
1700
+ msgid "CY"
1701
+ msgstr ""
1702
+
1703
+ #: ../shared/classes/class.form.php:1109
1704
+ msgid "Cyprus"
1705
+ msgstr ""
1706
+
1707
+ #: ../shared/classes/class.form.php:1110
1708
+ msgid "CZ"
1709
+ msgstr ""
1710
+
1711
+ #: ../shared/classes/class.form.php:1110
1712
+ msgid "Czech Republic"
1713
+ msgstr ""
1714
+
1715
+ #: ../shared/classes/class.form.php:1111
1716
+ msgid "DK"
1717
+ msgstr ""
1718
+
1719
+ #: ../shared/classes/class.form.php:1111
1720
+ msgid "Denmark"
1721
+ msgstr ""
1722
+
1723
+ #: ../shared/classes/class.form.php:1112
1724
+ msgid "DJ"
1725
+ msgstr ""
1726
+
1727
+ #: ../shared/classes/class.form.php:1112
1728
+ msgid "Djibouti"
1729
+ msgstr ""
1730
+
1731
+ #: ../shared/classes/class.form.php:1113
1732
+ msgid "DM"
1733
+ msgstr ""
1734
+
1735
+ #: ../shared/classes/class.form.php:1113
1736
+ msgid "Dominica"
1737
+ msgstr ""
1738
+
1739
+ #: ../shared/classes/class.form.php:1114
1740
+ msgid "DO"
1741
+ msgstr ""
1742
+
1743
+ #: ../shared/classes/class.form.php:1114
1744
+ msgid "Dominican Republic"
1745
+ msgstr ""
1746
+
1747
+ #: ../shared/classes/class.form.php:1115
1748
+ msgid "EC"
1749
+ msgstr ""
1750
+
1751
+ #: ../shared/classes/class.form.php:1115
1752
+ msgid "Ecuador"
1753
+ msgstr ""
1754
+
1755
+ #: ../shared/classes/class.form.php:1116
1756
+ msgid "EG"
1757
+ msgstr ""
1758
+
1759
+ #: ../shared/classes/class.form.php:1116
1760
+ msgid "Egypt"
1761
+ msgstr ""
1762
+
1763
+ #: ../shared/classes/class.form.php:1117
1764
+ msgid "SV"
1765
+ msgstr ""
1766
+
1767
+ #: ../shared/classes/class.form.php:1117
1768
+ msgid "El Salvador"
1769
+ msgstr ""
1770
+
1771
+ #: ../shared/classes/class.form.php:1118
1772
+ msgid "GQ"
1773
+ msgstr ""
1774
+
1775
+ #: ../shared/classes/class.form.php:1118
1776
+ msgid "Equatorial Guinea"
1777
+ msgstr ""
1778
+
1779
+ #: ../shared/classes/class.form.php:1119
1780
+ msgid "ER"
1781
+ msgstr ""
1782
+
1783
+ #: ../shared/classes/class.form.php:1119
1784
+ msgid "Eritrea"
1785
+ msgstr ""
1786
+
1787
+ #: ../shared/classes/class.form.php:1120
1788
+ msgid "EE"
1789
+ msgstr ""
1790
+
1791
+ #: ../shared/classes/class.form.php:1120
1792
+ msgid "Estonia"
1793
+ msgstr ""
1794
+
1795
+ #: ../shared/classes/class.form.php:1121
1796
+ msgid "ET"
1797
+ msgstr ""
1798
+
1799
+ #: ../shared/classes/class.form.php:1121
1800
+ msgid "Ethiopia"
1801
+ msgstr ""
1802
+
1803
+ #: ../shared/classes/class.form.php:1122
1804
+ msgid "FK"
1805
+ msgstr ""
1806
+
1807
+ #: ../shared/classes/class.form.php:1122
1808
+ msgid "Falkland Islands"
1809
+ msgstr ""
1810
+
1811
+ #: ../shared/classes/class.form.php:1123
1812
+ msgid "FO"
1813
+ msgstr ""
1814
+
1815
+ #: ../shared/classes/class.form.php:1123
1816
+ msgid "Faroe Islands"
1817
+ msgstr ""
1818
+
1819
+ #: ../shared/classes/class.form.php:1124
1820
+ msgid "FJ"
1821
+ msgstr ""
1822
+
1823
+ #: ../shared/classes/class.form.php:1124
1824
+ msgid "Fiji"
1825
+ msgstr ""
1826
+
1827
+ #: ../shared/classes/class.form.php:1125
1828
+ msgid "FI"
1829
+ msgstr ""
1830
+
1831
+ #: ../shared/classes/class.form.php:1125
1832
+ msgid "Finland"
1833
+ msgstr ""
1834
+
1835
+ #: ../shared/classes/class.form.php:1126
1836
+ msgid "FR"
1837
+ msgstr ""
1838
+
1839
+ #: ../shared/classes/class.form.php:1126
1840
+ msgid "France"
1841
+ msgstr ""
1842
+
1843
+ #: ../shared/classes/class.form.php:1127
1844
+ msgid "GF"
1845
+ msgstr ""
1846
+
1847
+ #: ../shared/classes/class.form.php:1127
1848
+ msgid "French Guiana"
1849
+ msgstr ""
1850
+
1851
+ #: ../shared/classes/class.form.php:1128
1852
+ msgid "PF"
1853
+ msgstr ""
1854
+
1855
+ #: ../shared/classes/class.form.php:1128
1856
+ msgid "French Polynesia"
1857
+ msgstr ""
1858
+
1859
+ #: ../shared/classes/class.form.php:1129
1860
+ msgid "TF"
1861
+ msgstr ""
1862
+
1863
+ #: ../shared/classes/class.form.php:1129
1864
+ msgid "French Southern Territories"
1865
+ msgstr ""
1866
+
1867
+ #: ../shared/classes/class.form.php:1130
1868
+ msgid "GA"
1869
+ msgstr ""
1870
+
1871
+ #: ../shared/classes/class.form.php:1130
1872
+ msgid "Gabon"
1873
+ msgstr ""
1874
+
1875
+ #: ../shared/classes/class.form.php:1131
1876
+ msgid "GM"
1877
+ msgstr ""
1878
+
1879
+ #: ../shared/classes/class.form.php:1131
1880
+ msgid "Gambia"
1881
+ msgstr ""
1882
+
1883
+ #: ../shared/classes/class.form.php:1132
1884
+ msgid "GE"
1885
+ msgstr ""
1886
+
1887
+ #: ../shared/classes/class.form.php:1132
1888
+ msgid "Georgia"
1889
+ msgstr ""
1890
+
1891
+ #: ../shared/classes/class.form.php:1133
1892
+ msgid "DE"
1893
+ msgstr ""
1894
+
1895
+ #: ../shared/classes/class.form.php:1133
1896
+ msgid "Germany"
1897
+ msgstr ""
1898
+
1899
+ #: ../shared/classes/class.form.php:1134
1900
+ msgid "GH"
1901
+ msgstr ""
1902
+
1903
+ #: ../shared/classes/class.form.php:1134
1904
+ msgid "Ghana"
1905
+ msgstr ""
1906
+
1907
+ #: ../shared/classes/class.form.php:1135
1908
+ msgid "GI"
1909
+ msgstr ""
1910
+
1911
+ #: ../shared/classes/class.form.php:1135
1912
+ msgid "Gibraltar"
1913
+ msgstr ""
1914
+
1915
+ #: ../shared/classes/class.form.php:1136
1916
+ msgid "GR"
1917
+ msgstr ""
1918
+
1919
+ #: ../shared/classes/class.form.php:1136
1920
+ msgid "Greece"
1921
+ msgstr ""
1922
+
1923
+ #: ../shared/classes/class.form.php:1137
1924
+ msgid "GL"
1925
+ msgstr ""
1926
+
1927
+ #: ../shared/classes/class.form.php:1137
1928
+ msgid "Greenland"
1929
+ msgstr ""
1930
+
1931
+ #: ../shared/classes/class.form.php:1138
1932
+ msgid "GD"
1933
+ msgstr ""
1934
+
1935
+ #: ../shared/classes/class.form.php:1138
1936
+ msgid "Grenada"
1937
+ msgstr ""
1938
+
1939
+ #: ../shared/classes/class.form.php:1139
1940
+ msgid "GP"
1941
+ msgstr ""
1942
+
1943
+ #: ../shared/classes/class.form.php:1139
1944
+ msgid "Guadeloupe"
1945
+ msgstr ""
1946
+
1947
+ #: ../shared/classes/class.form.php:1140
1948
+ msgid "GU"
1949
+ msgstr ""
1950
+
1951
+ #: ../shared/classes/class.form.php:1140
1952
+ msgid "Guam"
1953
+ msgstr ""
1954
+
1955
+ #: ../shared/classes/class.form.php:1141
1956
+ msgid "GT"
1957
+ msgstr ""
1958
+
1959
+ #: ../shared/classes/class.form.php:1141
1960
+ msgid "Guatemala"
1961
+ msgstr ""
1962
+
1963
+ #: ../shared/classes/class.form.php:1142
1964
+ msgid "GG"
1965
+ msgstr ""
1966
+
1967
+ #: ../shared/classes/class.form.php:1142
1968
+ msgid "Guernsey"
1969
+ msgstr ""
1970
+
1971
+ #: ../shared/classes/class.form.php:1143
1972
+ msgid "GN"
1973
+ msgstr ""
1974
+
1975
+ #: ../shared/classes/class.form.php:1143
1976
+ msgid "Guinea"
1977
+ msgstr ""
1978
+
1979
+ #: ../shared/classes/class.form.php:1144
1980
+ msgid "GW"
1981
+ msgstr ""
1982
+
1983
+ #: ../shared/classes/class.form.php:1144
1984
+ msgid "Guinea-Bissau"
1985
+ msgstr ""
1986
+
1987
+ #: ../shared/classes/class.form.php:1145
1988
+ msgid "GY"
1989
+ msgstr ""
1990
+
1991
+ #: ../shared/classes/class.form.php:1145
1992
+ msgid "Guyana"
1993
+ msgstr ""
1994
+
1995
+ #: ../shared/classes/class.form.php:1146
1996
+ msgid "HT"
1997
+ msgstr ""
1998
+
1999
+ #: ../shared/classes/class.form.php:1146
2000
+ msgid "Haiti"
2001
+ msgstr ""
2002
+
2003
+ #: ../shared/classes/class.form.php:1147
2004
+ msgid "HM"
2005
+ msgstr ""
2006
+
2007
+ #: ../shared/classes/class.form.php:1147
2008
+ msgid "Heard and McDonald Islands"
2009
+ msgstr ""
2010
+
2011
+ #: ../shared/classes/class.form.php:1148
2012
+ msgid "HN"
2013
+ msgstr ""
2014
+
2015
+ #: ../shared/classes/class.form.php:1148
2016
+ msgid "Honduras"
2017
+ msgstr ""
2018
+
2019
+ #: ../shared/classes/class.form.php:1149
2020
+ msgid "HK"
2021
+ msgstr ""
2022
+
2023
+ #: ../shared/classes/class.form.php:1149
2024
+ msgid "Hong Kong"
2025
+ msgstr ""
2026
+
2027
+ #: ../shared/classes/class.form.php:1150
2028
+ msgid "HU"
2029
+ msgstr ""
2030
+
2031
+ #: ../shared/classes/class.form.php:1150
2032
+ msgid "Hungary"
2033
+ msgstr ""
2034
+
2035
+ #: ../shared/classes/class.form.php:1151
2036
+ msgid "IS"
2037
+ msgstr ""
2038
+
2039
+ #: ../shared/classes/class.form.php:1151
2040
+ msgid "Iceland"
2041
+ msgstr ""
2042
+
2043
+ #: ../shared/classes/class.form.php:1152
2044
+ msgid "IN"
2045
+ msgstr ""
2046
+
2047
+ #: ../shared/classes/class.form.php:1152
2048
+ msgid "India"
2049
+ msgstr ""
2050
+
2051
+ #: ../shared/classes/class.form.php:1153
2052
+ msgid "ID"
2053
+ msgstr ""
2054
+
2055
+ #: ../shared/classes/class.form.php:1153
2056
+ msgid "Indonesia"
2057
+ msgstr ""
2058
+
2059
+ #: ../shared/classes/class.form.php:1154
2060
+ msgid "IR"
2061
+ msgstr ""
2062
+
2063
+ #: ../shared/classes/class.form.php:1154
2064
+ msgid "Iran"
2065
+ msgstr ""
2066
+
2067
+ #: ../shared/classes/class.form.php:1155
2068
+ msgid "IQ"
2069
+ msgstr ""
2070
+
2071
+ #: ../shared/classes/class.form.php:1155
2072
+ msgid "Iraq"
2073
+ msgstr ""
2074
+
2075
+ #: ../shared/classes/class.form.php:1156
2076
+ msgid "IE"
2077
+ msgstr ""
2078
+
2079
+ #: ../shared/classes/class.form.php:1156
2080
+ msgid "Ireland"
2081
+ msgstr ""
2082
+
2083
+ #: ../shared/classes/class.form.php:1157
2084
+ msgid "IM"
2085
+ msgstr ""
2086
+
2087
+ #: ../shared/classes/class.form.php:1157
2088
+ msgid "Isle of Man"
2089
+ msgstr ""
2090
+
2091
+ #: ../shared/classes/class.form.php:1158
2092
+ msgid "IL"
2093
+ msgstr ""
2094
+
2095
+ #: ../shared/classes/class.form.php:1158
2096
+ msgid "Israel"
2097
+ msgstr ""
2098
+
2099
+ #: ../shared/classes/class.form.php:1159
2100
+ msgid "IT"
2101
+ msgstr ""
2102
+
2103
+ #: ../shared/classes/class.form.php:1159
2104
+ msgid "Italy"
2105
+ msgstr ""
2106
+
2107
+ #: ../shared/classes/class.form.php:1160
2108
+ msgid "JM"
2109
+ msgstr ""
2110
+
2111
+ #: ../shared/classes/class.form.php:1160
2112
+ msgid "Jamaica"
2113
+ msgstr ""
2114
+
2115
+ #: ../shared/classes/class.form.php:1161
2116
+ msgid "JP"
2117
+ msgstr ""
2118
+
2119
+ #: ../shared/classes/class.form.php:1161
2120
+ msgid "Japan"
2121
+ msgstr ""
2122
+
2123
+ #: ../shared/classes/class.form.php:1162
2124
+ msgid "JE"
2125
+ msgstr ""
2126
+
2127
+ #: ../shared/classes/class.form.php:1162
2128
+ msgid "Jersey"
2129
+ msgstr ""
2130
+
2131
+ #: ../shared/classes/class.form.php:1163
2132
+ msgid "JO"
2133
+ msgstr ""
2134
+
2135
+ #: ../shared/classes/class.form.php:1163
2136
+ msgid "Jordan"
2137
+ msgstr ""
2138
+
2139
+ #: ../shared/classes/class.form.php:1164
2140
+ msgid "KZ"
2141
+ msgstr ""
2142
+
2143
+ #: ../shared/classes/class.form.php:1164
2144
+ msgid "Kazakhstan"
2145
+ msgstr ""
2146
+
2147
+ #: ../shared/classes/class.form.php:1165
2148
+ msgid "KE"
2149
+ msgstr ""
2150
+
2151
+ #: ../shared/classes/class.form.php:1165
2152
+ msgid "Kenya"
2153
+ msgstr ""
2154
+
2155
+ #: ../shared/classes/class.form.php:1166
2156
+ msgid "KI"
2157
+ msgstr ""
2158
+
2159
+ #: ../shared/classes/class.form.php:1166
2160
+ msgid "Kiribati"
2161
+ msgstr ""
2162
+
2163
+ #: ../shared/classes/class.form.php:1167
2164
+ msgid "KW"
2165
+ msgstr ""
2166
+
2167
+ #: ../shared/classes/class.form.php:1167
2168
+ msgid "Kuwait"
2169
+ msgstr ""
2170
+
2171
+ #: ../shared/classes/class.form.php:1168
2172
+ msgid "KG"
2173
+ msgstr ""
2174
+
2175
+ #: ../shared/classes/class.form.php:1168
2176
+ msgid "Kyrgyzstan"
2177
+ msgstr ""
2178
+
2179
+ #: ../shared/classes/class.form.php:1169
2180
+ msgid "LA"
2181
+ msgstr ""
2182
+
2183
+ #: ../shared/classes/class.form.php:1169
2184
+ msgid "Lao People's Democratic Republic"
2185
+ msgstr ""
2186
+
2187
+ #: ../shared/classes/class.form.php:1170
2188
+ msgid "LV"
2189
+ msgstr ""
2190
+
2191
+ #: ../shared/classes/class.form.php:1170
2192
+ msgid "Latvia"
2193
+ msgstr ""
2194
+
2195
+ #: ../shared/classes/class.form.php:1171
2196
+ msgid "LB"
2197
+ msgstr ""
2198
+
2199
+ #: ../shared/classes/class.form.php:1171
2200
+ msgid "Lebanon"
2201
+ msgstr ""
2202
+
2203
+ #: ../shared/classes/class.form.php:1172
2204
+ msgid "LS"
2205
+ msgstr ""
2206
+
2207
+ #: ../shared/classes/class.form.php:1172
2208
+ msgid "Lesotho"
2209
+ msgstr ""
2210
+
2211
+ #: ../shared/classes/class.form.php:1173
2212
+ msgid "LR"
2213
+ msgstr ""
2214
+
2215
+ #: ../shared/classes/class.form.php:1173
2216
+ msgid "Liberia"
2217
+ msgstr ""
2218
+
2219
+ #: ../shared/classes/class.form.php:1174
2220
+ msgid "LY"
2221
+ msgstr ""
2222
+
2223
+ #: ../shared/classes/class.form.php:1174
2224
+ msgid "Libya"
2225
+ msgstr ""
2226
+
2227
+ #: ../shared/classes/class.form.php:1175
2228
+ msgid "LI"
2229
+ msgstr ""
2230
+
2231
+ #: ../shared/classes/class.form.php:1175
2232
+ msgid "Liechtenstein"
2233
+ msgstr ""
2234
+
2235
+ #: ../shared/classes/class.form.php:1176
2236
+ msgid "LT"
2237
+ msgstr ""
2238
+
2239
+ #: ../shared/classes/class.form.php:1176
2240
+ msgid "Lithuania"
2241
+ msgstr ""
2242
+
2243
+ #: ../shared/classes/class.form.php:1177
2244
+ msgid "LU"
2245
+ msgstr ""
2246
+
2247
+ #: ../shared/classes/class.form.php:1177
2248
+ msgid "Luxembourg"
2249
+ msgstr ""
2250
+
2251
+ #: ../shared/classes/class.form.php:1178
2252
+ msgid "MO"
2253
+ msgstr ""
2254
+
2255
+ #: ../shared/classes/class.form.php:1178
2256
+ msgid "Macau"
2257
+ msgstr ""
2258
+
2259
+ #: ../shared/classes/class.form.php:1179
2260
+ msgid "MK"
2261
+ msgstr ""
2262
+
2263
+ #: ../shared/classes/class.form.php:1179
2264
+ msgid "Macedonia"
2265
+ msgstr ""
2266
+
2267
+ #: ../shared/classes/class.form.php:1180
2268
+ msgid "MG"
2269
+ msgstr ""
2270
+
2271
+ #: ../shared/classes/class.form.php:1180
2272
+ msgid "Madagascar"
2273
+ msgstr ""
2274
+
2275
+ #: ../shared/classes/class.form.php:1181
2276
+ msgid "MW"
2277
+ msgstr ""
2278
+
2279
+ #: ../shared/classes/class.form.php:1181
2280
+ msgid "Malawi"
2281
+ msgstr ""
2282
+
2283
+ #: ../shared/classes/class.form.php:1182
2284
+ msgid "MY"
2285
+ msgstr ""
2286
+
2287
+ #: ../shared/classes/class.form.php:1182
2288
+ msgid "Malaysia"
2289
+ msgstr ""
2290
+
2291
+ #: ../shared/classes/class.form.php:1183
2292
+ msgid "MV"
2293
+ msgstr ""
2294
+
2295
+ #: ../shared/classes/class.form.php:1183
2296
+ msgid "Maldives"
2297
+ msgstr ""
2298
+
2299
+ #: ../shared/classes/class.form.php:1184
2300
+ msgid "ML"
2301
+ msgstr ""
2302
+
2303
+ #: ../shared/classes/class.form.php:1184
2304
+ msgid "Mali"
2305
+ msgstr ""
2306
+
2307
+ #: ../shared/classes/class.form.php:1185
2308
+ msgid "MT"
2309
+ msgstr ""
2310
+
2311
+ #: ../shared/classes/class.form.php:1185
2312
+ msgid "Malta"
2313
+ msgstr ""
2314
+
2315
+ #: ../shared/classes/class.form.php:1186
2316
+ msgid "MH"
2317
+ msgstr ""
2318
+
2319
+ #: ../shared/classes/class.form.php:1186
2320
+ msgid "Marshall Islands"
2321
+ msgstr ""
2322
+
2323
+ #: ../shared/classes/class.form.php:1187
2324
+ msgid "MQ"
2325
+ msgstr ""
2326
+
2327
+ #: ../shared/classes/class.form.php:1187
2328
+ msgid "Martinique"
2329
+ msgstr ""
2330
+
2331
+ #: ../shared/classes/class.form.php:1188
2332
+ msgid "MR"
2333
+ msgstr ""
2334
+
2335
+ #: ../shared/classes/class.form.php:1188
2336
+ msgid "Mauritania"
2337
+ msgstr ""
2338
+
2339
+ #: ../shared/classes/class.form.php:1189
2340
+ msgid "MU"
2341
+ msgstr ""
2342
+
2343
+ #: ../shared/classes/class.form.php:1189
2344
+ msgid "Mauritius"
2345
+ msgstr ""
2346
+
2347
+ #: ../shared/classes/class.form.php:1190
2348
+ msgid "YT"
2349
+ msgstr ""
2350
+
2351
+ #: ../shared/classes/class.form.php:1190
2352
+ msgid "Mayotte"
2353
+ msgstr ""
2354
+
2355
+ #: ../shared/classes/class.form.php:1191
2356
+ msgid "MX"
2357
+ msgstr ""
2358
+
2359
+ #: ../shared/classes/class.form.php:1191
2360
+ msgid "Mexico"
2361
+ msgstr ""
2362
+
2363
+ #: ../shared/classes/class.form.php:1192
2364
+ msgid "FM"
2365
+ msgstr ""
2366
+
2367
+ #: ../shared/classes/class.form.php:1192
2368
+ msgid "Micronesia, Federated States of"
2369
+ msgstr ""
2370
+
2371
+ #: ../shared/classes/class.form.php:1193
2372
+ msgid "MD"
2373
+ msgstr ""
2374
+
2375
+ #: ../shared/classes/class.form.php:1193
2376
+ msgid "Moldova"
2377
+ msgstr ""
2378
+
2379
+ #: ../shared/classes/class.form.php:1194
2380
+ msgid "MC"
2381
+ msgstr ""
2382
+
2383
+ #: ../shared/classes/class.form.php:1194
2384
+ msgid "Monaco"
2385
+ msgstr ""
2386
+
2387
+ #: ../shared/classes/class.form.php:1195
2388
+ msgid "MN"
2389
+ msgstr ""
2390
+
2391
+ #: ../shared/classes/class.form.php:1195
2392
+ msgid "Mongolia"
2393
+ msgstr ""
2394
+
2395
+ #: ../shared/classes/class.form.php:1196
2396
+ msgid "ME"
2397
+ msgstr ""
2398
+
2399
+ #: ../shared/classes/class.form.php:1196
2400
+ msgid "Montenegro"
2401
+ msgstr ""
2402
+
2403
+ #: ../shared/classes/class.form.php:1197
2404
+ msgid "MS"
2405
+ msgstr ""
2406
+
2407
+ #: ../shared/classes/class.form.php:1197
2408
+ msgid "Montserrat"
2409
+ msgstr ""
2410
+
2411
+ #: ../shared/classes/class.form.php:1198
2412
+ msgid "MA"
2413
+ msgstr ""
2414
+
2415
+ #: ../shared/classes/class.form.php:1198
2416
+ msgid "Morocco"
2417
+ msgstr ""
2418
+
2419
+ #: ../shared/classes/class.form.php:1199
2420
+ msgid "MZ"
2421
+ msgstr ""
2422
+
2423
+ #: ../shared/classes/class.form.php:1199
2424
+ msgid "Mozambique"
2425
+ msgstr ""
2426
+
2427
+ #: ../shared/classes/class.form.php:1200
2428
+ msgid "MM"
2429
+ msgstr ""
2430
+
2431
+ #: ../shared/classes/class.form.php:1200
2432
+ msgid "Myanmar"
2433
+ msgstr ""
2434
+
2435
+ #: ../shared/classes/class.form.php:1201
2436
+ msgid "NA"
2437
+ msgstr ""
2438
+
2439
+ #: ../shared/classes/class.form.php:1201
2440
+ msgid "Namibia"
2441
+ msgstr ""
2442
+
2443
+ #: ../shared/classes/class.form.php:1202
2444
+ msgid "NR"
2445
+ msgstr ""
2446
+
2447
+ #: ../shared/classes/class.form.php:1202
2448
+ msgid "Nauru"
2449
+ msgstr ""
2450
+
2451
+ #: ../shared/classes/class.form.php:1203
2452
+ msgid "NP"
2453
+ msgstr ""
2454
+
2455
+ #: ../shared/classes/class.form.php:1203
2456
+ msgid "Nepal"
2457
+ msgstr ""
2458
+
2459
+ #: ../shared/classes/class.form.php:1204
2460
+ msgid "NC"
2461
+ msgstr ""
2462
+
2463
+ #: ../shared/classes/class.form.php:1204
2464
+ msgid "New Caledonia"
2465
+ msgstr ""
2466
+
2467
+ #: ../shared/classes/class.form.php:1205
2468
+ msgid "NZ"
2469
+ msgstr ""
2470
+
2471
+ #: ../shared/classes/class.form.php:1205
2472
+ msgid "New Zealand"
2473
+ msgstr ""
2474
+
2475
+ #: ../shared/classes/class.form.php:1206
2476
+ msgid "NI"
2477
+ msgstr ""
2478
+
2479
+ #: ../shared/classes/class.form.php:1206
2480
+ msgid "Nicaragua"
2481
+ msgstr ""
2482
+
2483
+ #: ../shared/classes/class.form.php:1207
2484
+ msgid "NE"
2485
+ msgstr ""
2486
+
2487
+ #: ../shared/classes/class.form.php:1207
2488
+ msgid "Niger"
2489
+ msgstr ""
2490
+
2491
+ #: ../shared/classes/class.form.php:1208
2492
+ msgid "NG"
2493
+ msgstr ""
2494
+
2495
+ #: ../shared/classes/class.form.php:1208
2496
+ msgid "Nigeria"
2497
+ msgstr ""
2498
+
2499
+ #: ../shared/classes/class.form.php:1209
2500
+ msgid "NU"
2501
+ msgstr ""
2502
+
2503
+ #: ../shared/classes/class.form.php:1209
2504
+ msgid "Niue"
2505
+ msgstr ""
2506
+
2507
+ #: ../shared/classes/class.form.php:1210
2508
+ msgid "NF"
2509
+ msgstr ""
2510
+
2511
+ #: ../shared/classes/class.form.php:1210
2512
+ msgid "Norfolk Island"
2513
+ msgstr ""
2514
+
2515
+ #: ../shared/classes/class.form.php:1211
2516
+ msgid "KP"
2517
+ msgstr ""
2518
+
2519
+ #: ../shared/classes/class.form.php:1211
2520
+ msgid "North Korea"
2521
+ msgstr ""
2522
+
2523
+ #: ../shared/classes/class.form.php:1212
2524
+ msgid "MP"
2525
+ msgstr ""
2526
+
2527
+ #: ../shared/classes/class.form.php:1212
2528
+ msgid "Northern Mariana Islands"
2529
+ msgstr ""
2530
+
2531
+ #: ../shared/classes/class.form.php:1213
2532
+ msgid "NO"
2533
+ msgstr ""
2534
+
2535
+ #: ../shared/classes/class.form.php:1213
2536
+ msgid "Norway"
2537
+ msgstr ""
2538
+
2539
+ #: ../shared/classes/class.form.php:1214
2540
+ msgid "OM"
2541
+ msgstr ""
2542
+
2543
+ #: ../shared/classes/class.form.php:1214
2544
+ msgid "Oman"
2545
+ msgstr ""
2546
+
2547
+ #: ../shared/classes/class.form.php:1215
2548
+ msgid "PK"
2549
+ msgstr ""
2550
+
2551
+ #: ../shared/classes/class.form.php:1215
2552
+ msgid "Pakistan"
2553
+ msgstr ""
2554
+
2555
+ #: ../shared/classes/class.form.php:1216
2556
+ msgid "PW"
2557
+ msgstr ""
2558
+
2559
+ #: ../shared/classes/class.form.php:1216
2560
+ msgid "Palau"
2561
+ msgstr ""
2562
+
2563
+ #: ../shared/classes/class.form.php:1217
2564
+ msgid "PS"
2565
+ msgstr ""
2566
+
2567
+ #: ../shared/classes/class.form.php:1217
2568
+ msgid "Palestinian Territory, Occupied"
2569
+ msgstr ""
2570
+
2571
+ #: ../shared/classes/class.form.php:1218
2572
+ msgid "PA"
2573
+ msgstr ""
2574
+
2575
+ #: ../shared/classes/class.form.php:1218
2576
+ msgid "Panama"
2577
+ msgstr ""
2578
+
2579
+ #: ../shared/classes/class.form.php:1219
2580
+ msgid "PG"
2581
+ msgstr ""
2582
+
2583
+ #: ../shared/classes/class.form.php:1219
2584
+ msgid "Papua New Guinea"
2585
+ msgstr ""
2586
+
2587
+ #: ../shared/classes/class.form.php:1220
2588
+ msgid "PY"
2589
+ msgstr ""
2590
+
2591
+ #: ../shared/classes/class.form.php:1220
2592
+ msgid "Paraguay"
2593
+ msgstr ""
2594
+
2595
+ #: ../shared/classes/class.form.php:1221
2596
+ msgid "PE"
2597
+ msgstr ""
2598
+
2599
+ #: ../shared/classes/class.form.php:1221
2600
+ msgid "Peru"
2601
+ msgstr ""
2602
+
2603
+ #: ../shared/classes/class.form.php:1222
2604
+ msgid "PH"
2605
+ msgstr ""
2606
+
2607
+ #: ../shared/classes/class.form.php:1222
2608
+ msgid "Philippines"
2609
+ msgstr ""
2610
+
2611
+ #: ../shared/classes/class.form.php:1223
2612
+ msgid "PN"
2613
+ msgstr ""
2614
+
2615
+ #: ../shared/classes/class.form.php:1223
2616
+ msgid "Pitcairn"
2617
+ msgstr ""
2618
+
2619
+ #: ../shared/classes/class.form.php:1224
2620
+ msgid "PL"
2621
+ msgstr ""
2622
+
2623
+ #: ../shared/classes/class.form.php:1224
2624
+ msgid "Poland"
2625
+ msgstr ""
2626
+
2627
+ #: ../shared/classes/class.form.php:1225
2628
+ msgid "PT"
2629
+ msgstr ""
2630
+
2631
+ #: ../shared/classes/class.form.php:1225
2632
+ msgid "Portugal"
2633
+ msgstr ""
2634
+
2635
+ #: ../shared/classes/class.form.php:1226
2636
+ msgid "PR"
2637
+ msgstr ""
2638
+
2639
+ #: ../shared/classes/class.form.php:1226
2640
+ msgid "Puerto Rico"
2641
+ msgstr ""
2642
+
2643
+ #: ../shared/classes/class.form.php:1227
2644
+ msgid "QA"
2645
+ msgstr ""
2646
+
2647
+ #: ../shared/classes/class.form.php:1227
2648
+ msgid "Qatar"
2649
+ msgstr ""
2650
+
2651
+ #: ../shared/classes/class.form.php:1228
2652
+ msgid "RE"
2653
+ msgstr ""
2654
+
2655
+ #: ../shared/classes/class.form.php:1228
2656
+ msgid "Reunion"
2657
+ msgstr ""
2658
+
2659
+ #: ../shared/classes/class.form.php:1229
2660
+ msgid "RO"
2661
+ msgstr ""
2662
+
2663
+ #: ../shared/classes/class.form.php:1229
2664
+ msgid "Romania"
2665
+ msgstr ""
2666
+
2667
+ #: ../shared/classes/class.form.php:1230
2668
+ msgid "RU"
2669
+ msgstr ""
2670
+
2671
+ #: ../shared/classes/class.form.php:1230
2672
+ msgid "Russian Federation"
2673
+ msgstr ""
2674
+
2675
+ #: ../shared/classes/class.form.php:1231
2676
+ msgid "RW"
2677
+ msgstr ""
2678
+
2679
+ #: ../shared/classes/class.form.php:1231
2680
+ msgid "Rwanda"
2681
+ msgstr ""
2682
+
2683
+ #: ../shared/classes/class.form.php:1232
2684
+ msgid "BL"
2685
+ msgstr ""
2686
+
2687
+ #: ../shared/classes/class.form.php:1232
2688
+ msgid "Saint Barthelemy"
2689
+ msgstr ""
2690
+
2691
+ #: ../shared/classes/class.form.php:1233
2692
+ msgid "SH"
2693
+ msgstr ""
2694
+
2695
+ #: ../shared/classes/class.form.php:1233
2696
+ msgid "Saint Helena"
2697
+ msgstr ""
2698
+
2699
+ #: ../shared/classes/class.form.php:1234
2700
+ msgid "KN"
2701
+ msgstr ""
2702
+
2703
+ #: ../shared/classes/class.form.php:1234
2704
+ msgid "Saint Kitts and Nevis"
2705
+ msgstr ""
2706
+
2707
+ #: ../shared/classes/class.form.php:1235
2708
+ msgid "LC"
2709
+ msgstr ""
2710
+
2711
+ #: ../shared/classes/class.form.php:1235
2712
+ msgid "Saint Lucia"
2713
+ msgstr ""
2714
+
2715
+ #: ../shared/classes/class.form.php:1236
2716
+ msgid "VC"
2717
+ msgstr ""
2718
+
2719
+ #: ../shared/classes/class.form.php:1236
2720
+ msgid "Saint Vincent and the Grenadines"
2721
+ msgstr ""
2722
+
2723
+ #: ../shared/classes/class.form.php:1237
2724
+ msgid "MF"
2725
+ msgstr ""
2726
+
2727
+ #: ../shared/classes/class.form.php:1237
2728
+ msgid "Saint-Martin (France)"
2729
+ msgstr ""
2730
+
2731
+ #: ../shared/classes/class.form.php:1238
2732
+ msgid "SX"
2733
+ msgstr ""
2734
+
2735
+ #: ../shared/classes/class.form.php:1238
2736
+ msgid "Saint-Martin (Pays-Bas)"
2737
+ msgstr ""
2738
+
2739
+ #: ../shared/classes/class.form.php:1239
2740
+ msgid "WS"
2741
+ msgstr ""
2742
+
2743
+ #: ../shared/classes/class.form.php:1239
2744
+ msgid "Samoa"
2745
+ msgstr ""
2746
+
2747
+ #: ../shared/classes/class.form.php:1240
2748
+ msgid "SM"
2749
+ msgstr ""
2750
+
2751
+ #: ../shared/classes/class.form.php:1240
2752
+ msgid "San Marino"
2753
+ msgstr ""
2754
+
2755
+ #: ../shared/classes/class.form.php:1241
2756
+ msgid "ST"
2757
+ msgstr ""
2758
+
2759
+ #: ../shared/classes/class.form.php:1241
2760
+ msgid "Sao Tome and Principe"
2761
+ msgstr ""
2762
+
2763
+ #: ../shared/classes/class.form.php:1242
2764
+ msgid "SA"
2765
+ msgstr ""
2766
+
2767
+ #: ../shared/classes/class.form.php:1242
2768
+ msgid "Saudi Arabia"
2769
+ msgstr ""
2770
+
2771
+ #: ../shared/classes/class.form.php:1243
2772
+ msgid "SN"
2773
+ msgstr ""
2774
+
2775
+ #: ../shared/classes/class.form.php:1243
2776
+ msgid "Senegal"
2777
+ msgstr ""
2778
+
2779
+ #: ../shared/classes/class.form.php:1244
2780
+ msgid "RS"
2781
+ msgstr ""
2782
+
2783
+ #: ../shared/classes/class.form.php:1244
2784
+ msgid "Serbia"
2785
+ msgstr ""
2786
+
2787
+ #: ../shared/classes/class.form.php:1245
2788
+ msgid "SC"
2789
+ msgstr ""
2790
+
2791
+ #: ../shared/classes/class.form.php:1245
2792
+ msgid "Seychelles"
2793
+ msgstr ""
2794
+
2795
+ #: ../shared/classes/class.form.php:1246
2796
+ msgid "SL"
2797
+ msgstr ""
2798
+
2799
+ #: ../shared/classes/class.form.php:1246
2800
+ msgid "Sierra Leone"
2801
+ msgstr ""
2802
+
2803
+ #: ../shared/classes/class.form.php:1247
2804
+ msgid "SG"
2805
+ msgstr ""
2806
+
2807
+ #: ../shared/classes/class.form.php:1247
2808
+ msgid "Singapore"
2809
+ msgstr ""
2810
+
2811
+ #: ../shared/classes/class.form.php:1248
2812
+ msgid "SK"
2813
+ msgstr ""
2814
+
2815
+ #: ../shared/classes/class.form.php:1248
2816
+ msgid "Slovakia (Slovak Republic)"
2817
+ msgstr ""
2818
+
2819
+ #: ../shared/classes/class.form.php:1249
2820
+ msgid "SI"
2821
+ msgstr ""
2822
+
2823
+ #: ../shared/classes/class.form.php:1249
2824
+ msgid "Slovenia"
2825
+ msgstr ""
2826
+
2827
+ #: ../shared/classes/class.form.php:1250
2828
+ msgid "SB"
2829
+ msgstr ""
2830
+
2831
+ #: ../shared/classes/class.form.php:1250
2832
+ msgid "Solomon Islands"
2833
+ msgstr ""
2834
+
2835
+ #: ../shared/classes/class.form.php:1251
2836
+ msgid "SO"
2837
+ msgstr ""
2838
+
2839
+ #: ../shared/classes/class.form.php:1251
2840
+ msgid "Somalia"
2841
+ msgstr ""
2842
+
2843
+ #: ../shared/classes/class.form.php:1252
2844
+ msgid "ZA"
2845
+ msgstr ""
2846
+
2847
+ #: ../shared/classes/class.form.php:1252
2848
+ msgid "South Africa"
2849
+ msgstr ""
2850
+
2851
+ #: ../shared/classes/class.form.php:1253
2852
+ msgid "GS"
2853
+ msgstr ""
2854
+
2855
+ #: ../shared/classes/class.form.php:1253
2856
+ msgid "South Georgia and the South Sandwich Islands"
2857
+ msgstr ""
2858
+
2859
+ #: ../shared/classes/class.form.php:1254
2860
+ msgid "KR"
2861
+ msgstr ""
2862
+
2863
+ #: ../shared/classes/class.form.php:1254
2864
+ msgid "South Korea"
2865
+ msgstr ""
2866
+
2867
+ #: ../shared/classes/class.form.php:1255
2868
+ msgid "SS"
2869
+ msgstr ""
2870
+
2871
+ #: ../shared/classes/class.form.php:1255
2872
+ msgid "South Sudan"
2873
+ msgstr ""
2874
+
2875
+ #: ../shared/classes/class.form.php:1256
2876
+ msgid "ES"
2877
+ msgstr ""
2878
+
2879
+ #: ../shared/classes/class.form.php:1256
2880
+ msgid "Spain"
2881
+ msgstr ""
2882
+
2883
+ #: ../shared/classes/class.form.php:1257
2884
+ msgid "LK"
2885
+ msgstr ""
2886
+
2887
+ #: ../shared/classes/class.form.php:1257
2888
+ msgid "Sri Lanka"
2889
+ msgstr ""
2890
+
2891
+ #: ../shared/classes/class.form.php:1258
2892
+ msgid "PM"
2893
+ msgstr ""
2894
+
2895
+ #: ../shared/classes/class.form.php:1258
2896
+ msgid "St. Pierre and Miquelon"
2897
+ msgstr ""
2898
+
2899
+ #: ../shared/classes/class.form.php:1259
2900
+ msgid "SD"
2901
+ msgstr ""
2902
+
2903
+ #: ../shared/classes/class.form.php:1259
2904
+ msgid "Sudan"
2905
+ msgstr ""
2906
+
2907
+ #: ../shared/classes/class.form.php:1260
2908
+ msgid "SR"
2909
+ msgstr ""
2910
+
2911
+ #: ../shared/classes/class.form.php:1260
2912
+ msgid "Suriname"
2913
+ msgstr ""
2914
+
2915
+ #: ../shared/classes/class.form.php:1261
2916
+ msgid "SJ"
2917
+ msgstr ""
2918
+
2919
+ #: ../shared/classes/class.form.php:1261
2920
+ msgid "Svalbard and Jan Mayen Islands"
2921
+ msgstr ""
2922
+
2923
+ #: ../shared/classes/class.form.php:1262
2924
+ msgid "SZ"
2925
+ msgstr ""
2926
+
2927
+ #: ../shared/classes/class.form.php:1262
2928
+ msgid "Swaziland"
2929
+ msgstr ""
2930
+
2931
+ #: ../shared/classes/class.form.php:1263
2932
+ msgid "SE"
2933
+ msgstr ""
2934
+
2935
+ #: ../shared/classes/class.form.php:1263
2936
+ msgid "Sweden"
2937
+ msgstr ""
2938
+
2939
+ #: ../shared/classes/class.form.php:1264
2940
+ msgid "CH"
2941
+ msgstr ""
2942
+
2943
+ #: ../shared/classes/class.form.php:1264
2944
+ msgid "Switzerland"
2945
+ msgstr ""
2946
+
2947
+ #: ../shared/classes/class.form.php:1265
2948
+ msgid "SY"
2949
+ msgstr ""
2950
+
2951
+ #: ../shared/classes/class.form.php:1265
2952
+ msgid "Syria"
2953
+ msgstr ""
2954
+
2955
+ #: ../shared/classes/class.form.php:1266
2956
+ msgid "TW"
2957
+ msgstr ""
2958
+
2959
+ #: ../shared/classes/class.form.php:1266
2960
+ msgid "Taiwan"
2961
+ msgstr ""
2962
+
2963
+ #: ../shared/classes/class.form.php:1267
2964
+ msgid "TJ"
2965
+ msgstr ""
2966
+
2967
+ #: ../shared/classes/class.form.php:1267
2968
+ msgid "Tajikistan"
2969
+ msgstr ""
2970
+
2971
+ #: ../shared/classes/class.form.php:1268
2972
+ msgid "TZ"
2973
+ msgstr ""
2974
+
2975
+ #: ../shared/classes/class.form.php:1268
2976
+ msgid "Tanzania"
2977
+ msgstr ""
2978
+
2979
+ #: ../shared/classes/class.form.php:1269
2980
+ msgid "TH"
2981
+ msgstr ""
2982
+
2983
+ #: ../shared/classes/class.form.php:1269
2984
+ msgid "Thailand"
2985
+ msgstr ""
2986
+
2987
+ #: ../shared/classes/class.form.php:1270
2988
+ msgid "NL"
2989
+ msgstr ""
2990
+
2991
+ #: ../shared/classes/class.form.php:1270
2992
+ msgid "The Netherlands"
2993
+ msgstr ""
2994
+
2995
+ #: ../shared/classes/class.form.php:1271
2996
+ msgid "TL"
2997
+ msgstr ""
2998
+
2999
+ #: ../shared/classes/class.form.php:1271
3000
+ msgid "Timor-Leste"
3001
+ msgstr ""
3002
+
3003
+ #: ../shared/classes/class.form.php:1272
3004
+ msgid "TG"
3005
+ msgstr ""
3006
+
3007
+ #: ../shared/classes/class.form.php:1272
3008
+ msgid "Togo"
3009
+ msgstr ""
3010
+
3011
+ #: ../shared/classes/class.form.php:1273
3012
+ msgid "TK"
3013
+ msgstr ""
3014
+
3015
+ #: ../shared/classes/class.form.php:1273
3016
+ msgid "Tokelau"
3017
+ msgstr ""
3018
+
3019
+ #: ../shared/classes/class.form.php:1274
3020
+ msgid "TO"
3021
+ msgstr ""
3022
+
3023
+ #: ../shared/classes/class.form.php:1274
3024
+ msgid "Tonga"
3025
+ msgstr ""
3026
+
3027
+ #: ../shared/classes/class.form.php:1275
3028
+ msgid "TT"
3029
+ msgstr ""
3030
+
3031
+ #: ../shared/classes/class.form.php:1275
3032
+ msgid "Trinidad and Tobago"
3033
+ msgstr ""
3034
+
3035
+ #: ../shared/classes/class.form.php:1276
3036
+ msgid "TN"
3037
+ msgstr ""
3038
+
3039
+ #: ../shared/classes/class.form.php:1276
3040
+ msgid "Tunisia"
3041
+ msgstr ""
3042
+
3043
+ #: ../shared/classes/class.form.php:1277
3044
+ msgid "TR"
3045
+ msgstr ""
3046
+
3047
+ #: ../shared/classes/class.form.php:1277
3048
+ msgid "Turkey"
3049
+ msgstr ""
3050
+
3051
+ #: ../shared/classes/class.form.php:1278
3052
+ msgid "TM"
3053
+ msgstr ""
3054
+
3055
+ #: ../shared/classes/class.form.php:1278
3056
+ msgid "Turkmenistan"
3057
+ msgstr ""
3058
+
3059
+ #: ../shared/classes/class.form.php:1279
3060
+ msgid "TC"
3061
+ msgstr ""
3062
+
3063
+ #: ../shared/classes/class.form.php:1279
3064
+ msgid "Turks and Caicos Islands"
3065
+ msgstr ""
3066
+
3067
+ #: ../shared/classes/class.form.php:1280
3068
+ msgid "TV"
3069
+ msgstr ""
3070
+
3071
+ #: ../shared/classes/class.form.php:1280
3072
+ msgid "Tuvalu"
3073
+ msgstr ""
3074
+
3075
+ #: ../shared/classes/class.form.php:1281
3076
+ msgid "UG"
3077
+ msgstr ""
3078
+
3079
+ #: ../shared/classes/class.form.php:1281
3080
+ msgid "Uganda"
3081
+ msgstr ""
3082
+
3083
+ #: ../shared/classes/class.form.php:1282
3084
+ msgid "UA"
3085
+ msgstr ""
3086
+
3087
+ #: ../shared/classes/class.form.php:1282
3088
+ msgid "Ukraine"
3089
+ msgstr ""
3090
+
3091
+ #: ../shared/classes/class.form.php:1283
3092
+ msgid "AE"
3093
+ msgstr ""
3094
+
3095
+ #: ../shared/classes/class.form.php:1283
3096
+ msgid "United Arab Emirates"
3097
+ msgstr ""
3098
+
3099
+ #: ../shared/classes/class.form.php:1284
3100
+ msgid "GB"
3101
+ msgstr ""
3102
+
3103
+ #: ../shared/classes/class.form.php:1284
3104
+ msgid "United Kingdom"
3105
+ msgstr ""
3106
+
3107
+ #: ../shared/classes/class.form.php:1285
3108
+ msgid "US"
3109
+ msgstr ""
3110
+
3111
+ #: ../shared/classes/class.form.php:1285
3112
+ msgid "United States"
3113
+ msgstr ""
3114
+
3115
+ #: ../shared/classes/class.form.php:1286
3116
+ msgid "UM"
3117
+ msgstr ""
3118
+
3119
+ #: ../shared/classes/class.form.php:1286
3120
+ msgid "United States Minor Outlying Islands"
3121
+ msgstr ""
3122
+
3123
+ #: ../shared/classes/class.form.php:1287
3124
+ msgid "UY"
3125
+ msgstr ""
3126
+
3127
+ #: ../shared/classes/class.form.php:1287
3128
+ msgid "Uruguay"
3129
+ msgstr ""
3130
+
3131
+ #: ../shared/classes/class.form.php:1288
3132
+ msgid "UZ"
3133
+ msgstr ""
3134
+
3135
+ #: ../shared/classes/class.form.php:1288
3136
+ msgid "Uzbekistan"
3137
+ msgstr ""
3138
+
3139
+ #: ../shared/classes/class.form.php:1289
3140
+ msgid "VU"
3141
+ msgstr ""
3142
+
3143
+ #: ../shared/classes/class.form.php:1289
3144
+ msgid "Vanuatu"
3145
+ msgstr ""
3146
+
3147
+ #: ../shared/classes/class.form.php:1290
3148
+ msgid "VA"
3149
+ msgstr ""
3150
+
3151
+ #: ../shared/classes/class.form.php:1290
3152
+ msgid "Vatican"
3153
+ msgstr ""
3154
+
3155
+ #: ../shared/classes/class.form.php:1291
3156
+ msgid "VE"
3157
+ msgstr ""
3158
+
3159
+ #: ../shared/classes/class.form.php:1291
3160
+ msgid "Venezuela"
3161
+ msgstr ""
3162
+
3163
+ #: ../shared/classes/class.form.php:1292
3164
+ msgid "VN"
3165
+ msgstr ""
3166
+
3167
+ #: ../shared/classes/class.form.php:1292
3168
+ msgid "Vietnam"
3169
+ msgstr ""
3170
+
3171
+ #: ../shared/classes/class.form.php:1293
3172
+ msgid "VG"
3173
+ msgstr ""
3174
+
3175
+ #: ../shared/classes/class.form.php:1293
3176
+ msgid "Virgin Islands (British)"
3177
+ msgstr ""
3178
+
3179
+ #: ../shared/classes/class.form.php:1294
3180
+ msgid "VI"
3181
+ msgstr ""
3182
+
3183
+ #: ../shared/classes/class.form.php:1294
3184
+ msgid "Virgin Islands (U.S.)"
3185
+ msgstr ""
3186
+
3187
+ #: ../shared/classes/class.form.php:1295
3188
+ msgid "WF"
3189
+ msgstr ""
3190
+
3191
+ #: ../shared/classes/class.form.php:1295
3192
+ msgid "Wallis and Futuna Islands"
3193
+ msgstr ""
3194
+
3195
+ #: ../shared/classes/class.form.php:1296
3196
+ msgid "EH"
3197
+ msgstr ""
3198
+
3199
+ #: ../shared/classes/class.form.php:1296
3200
+ msgid "Western Sahara"
3201
+ msgstr ""
3202
+
3203
+ #: ../shared/classes/class.form.php:1297
3204
+ msgid "YE"
3205
+ msgstr ""
3206
+
3207
+ #: ../shared/classes/class.form.php:1297
3208
+ msgid "Yemen"
3209
+ msgstr ""
3210
+
3211
+ #: ../shared/classes/class.form.php:1298
3212
+ msgid "ZM"
3213
+ msgstr ""
3214
+
3215
+ #: ../shared/classes/class.form.php:1298
3216
+ msgid "Zambia"
3217
+ msgstr ""
3218
+
3219
+ #: ../shared/classes/class.form.php:1299
3220
+ msgid "ZW"
3221
+ msgstr ""
3222
+
3223
+ #: ../shared/classes/class.form.php:1299
3224
+ msgid "Zimbabwe"
3225
+ msgstr ""
3226
+
3227
+ #: ../shared/classes/class.lead-fields.php:32
3228
+ msgid "Website"
3229
+ msgstr ""
3230
+
3231
+ #: ../shared/classes/class.lead-fields.php:38
3232
+ msgid "Job Title"
3233
+ msgstr ""
3234
+
3235
+ #: ../shared/classes/class.lead-fields.php:44
3236
+ #: ../shared/templates/email-templates/token-test/token-test.php:17
3237
+ msgid "Company Name"
3238
+ msgstr ""
3239
+
3240
+ #: ../shared/classes/class.lead-fields.php:50
3241
+ msgid "Mobile Phone"
3242
+ msgstr ""
3243
+
3244
+ #: ../shared/classes/class.lead-fields.php:56
3245
+ msgid "Work Phone"
3246
+ msgstr ""
3247
+
3248
+ #: ../shared/classes/class.lead-fields.php:62
3249
+ #: ../shared/shortcodes/shortcodes/gmap.php:31
3250
+ msgid "Address"
3251
+ msgstr ""
3252
+
3253
+ #: ../shared/classes/class.lead-fields.php:68
3254
+ msgid "Address Continued"
3255
+ msgstr ""
3256
+
3257
+ #: ../shared/classes/class.lead-fields.php:80
3258
+ msgid "State/Region"
3259
+ msgstr ""
3260
+
3261
+ #: ../shared/classes/class.lead-fields.php:86
3262
+ msgid "Zip-code"
3263
+ msgstr ""
3264
+
3265
+ #: ../shared/classes/class.lead-fields.php:93
3266
+ msgid "Country"
3267
+ msgstr ""
3268
+
3269
+ #: ../shared/classes/class.lead-fields.php:99
3270
+ msgid "Shipping Address"
3271
+ msgstr ""
3272
+
3273
+ #: ../shared/classes/class.lead-fields.php:105
3274
+ msgid "Shipping Address Continued"
3275
+ msgstr ""
3276
+
3277
+ #: ../shared/classes/class.lead-fields.php:111
3278
+ msgid "Shipping City"
3279
+ msgstr ""
3280
+
3281
+ #: ../shared/classes/class.lead-fields.php:117
3282
+ msgid "Shipping State/Region"
3283
+ msgstr ""
3284
+
3285
+ #: ../shared/classes/class.lead-fields.php:123
3286
+ msgid "Shipping Zip-code"
3287
+ msgstr ""
3288
+
3289
+ #: ../shared/classes/class.lead-fields.php:129
3290
+ msgid "Shipping Country"
3291
+ msgstr ""
3292
+
3293
+ #: ../shared/classes/class.lead-fields.php:135
3294
+ msgid "Related Websites"
3295
+ msgstr ""
3296
+
3297
+ #: ../shared/classes/class.menu.php:24
3298
+ msgid "GO"
3299
+ msgstr ""
3300
+
3301
+ #: ../shared/classes/class.menu.php:41
3302
+ msgid " Marketing"
3303
+ msgstr ""
3304
+
3305
+ #: ../shared/classes/class.menu.php:137
3306
+ msgid "Leads"
3307
+ msgstr ""
3308
+
3309
+ #: ../shared/classes/class.menu.php:143
3310
+ msgid "Search All Leads"
3311
+ msgstr ""
3312
+
3313
+ #: ../shared/classes/class.menu.php:158
3314
+ msgid "View All Leads"
3315
+ msgstr ""
3316
+
3317
+ #: ../shared/classes/class.menu.php:160 ../shared/classes/class.menu.php:315
3318
+ #: ../shared/classes/class.menu.php:317
3319
+ msgid "View All Forms"
3320
+ msgstr ""
3321
+
3322
+ #: ../shared/classes/class.menu.php:166 ../shared/classes/class.menu.php:168
3323
+ msgid "View Lead Lists"
3324
+ msgstr ""
3325
+
3326
+ #: ../shared/classes/class.menu.php:174
3327
+ msgid "Create New Lead"
3328
+ msgstr ""
3329
+
3330
+ #: ../shared/classes/class.menu.php:176
3331
+ msgid "Add new lead"
3332
+ msgstr ""
3333
+
3334
+ #: ../shared/classes/class.menu.php:196
3335
+ msgid "Call to Actions"
3336
+ msgstr ""
3337
+
3338
+ #: ../shared/classes/class.menu.php:198 ../shared/classes/class.menu.php:206
3339
+ #: ../shared/classes/class.menu.php:254 ../shared/classes/class.menu.php:262
3340
+ msgid "View All Landing Pages"
3341
+ msgstr ""
3342
+
3343
+ #: ../shared/classes/class.menu.php:204
3344
+ msgid "View Calls to Action List"
3345
+ msgstr ""
3346
+
3347
+ #: ../shared/classes/class.menu.php:212
3348
+ msgid "Add New Call to Action"
3349
+ msgstr ""
3350
+
3351
+ #: ../shared/classes/class.menu.php:214 ../shared/classes/class.menu.php:337
3352
+ msgid "Add new call to action"
3353
+ msgstr ""
3354
+
3355
+ #: ../shared/classes/class.menu.php:222 ../shared/classes/class.menu.php:278
3356
+ msgid "Landing Page Categories"
3357
+ msgstr ""
3358
+
3359
+ #: ../shared/classes/class.menu.php:229 ../shared/classes/class.menu.php:285
3360
+ msgid "Settings"
3361
+ msgstr ""
3362
+
3363
+ #: ../shared/classes/class.menu.php:231
3364
+ msgid "Manage Call to Action Settings"
3365
+ msgstr ""
3366
+
3367
+ #: ../shared/classes/class.menu.php:252
3368
+ msgid "Landing Pages"
3369
+ msgstr ""
3370
+
3371
+ #: ../shared/classes/class.menu.php:260
3372
+ msgid "View Landing Pages List"
3373
+ msgstr ""
3374
+
3375
+ #: ../shared/classes/class.menu.php:270
3376
+ msgid "Add new Landing Page"
3377
+ msgstr ""
3378
+
3379
+ #: ../shared/classes/class.menu.php:287
3380
+ msgid "Manage Landing Page Settings"
3381
+ msgstr ""
3382
+
3383
+ #: ../shared/classes/class.menu.php:335
3384
+ #: ../shared/shortcodes/shortcodes/forms.php:342
3385
+ msgid "Create New Form"
3386
+ msgstr ""
3387
+
3388
+ #: ../shared/classes/class.menu.php:362 ../shared/classes/class.menu.php:364
3389
+ msgid "Download More Templates"
3390
+ msgstr ""
3391
+
3392
+ #: ../shared/classes/class.menu.php:381 ../shared/classes/class.menu.php:383
3393
+ msgid "Call to Action Templates"
3394
+ msgstr ""
3395
+
3396
+ #: ../shared/classes/class.menu.php:406 ../shared/classes/class.menu.php:408
3397
+ msgid "Call to Action Settings"
3398
+ msgstr ""
3399
+
3400
+ #: ../shared/classes/class.menu.php:415 ../shared/classes/class.menu.php:417
3401
+ msgid "Landing Page Settings"
3402
+ msgstr ""
3403
+
3404
+ #: ../shared/classes/class.menu.php:424 ../shared/classes/class.menu.php:426
3405
+ msgid "Lead Settings"
3406
+ msgstr ""
3407
+
3408
+ #: ../shared/classes/class.menu.php:440 ../shared/classes/class.menu.php:442
3409
+ msgid "Analytics (coming soon)"
3410
+ msgstr ""
3411
+
3412
+ #: ../shared/classes/class.menu.php:455
3413
+ msgid "SEO by Yoast"
3414
+ msgstr ""
3415
+
3416
+ #: ../shared/classes/class.menu.php:457
3417
+ msgid "Manage SEO Settings"
3418
+ msgstr ""
3419
+
3420
+ #: ../shared/classes/class.menu.php:471 ../shared/classes/class.menu.php:473
3421
+ msgid "Support Forum"
3422
+ msgstr ""
3423
+
3424
+ #: ../shared/classes/class.menu.php:479 ../shared/classes/class.menu.php:481
3425
+ msgid "Documentation"
3426
+ msgstr ""
3427
+
3428
+ #: ../shared/classes/class.menu.php:485
3429
+ msgid "Search Docs"
3430
+ msgstr ""
3431
+
3432
+ #: ../shared/classes/class.menu.php:507 ../shared/classes/class.menu.php:509
3433
+ msgid "Inbound Now Plugin HQ"
3434
+ msgstr ""
3435
+
3436
+ #: ../shared/classes/class.menu.php:515 ../shared/classes/class.menu.php:517
3437
+ msgid "GitHub Repository Developer Center"
3438
+ msgstr ""
3439
+
3440
+ #: ../shared/classes/class.menu.php:523 ../shared/classes/class.menu.php:525
3441
+ msgid "Official Blog"
3442
+ msgstr ""
3443
+
3444
+ #: ../shared/classes/class.menu.php:531 ../shared/classes/class.menu.php:533
3445
+ msgid "My Account"
3446
+ msgstr ""
3447
+
3448
+ #: ../shared/classes/class.menu.php:539 ../shared/classes/class.menu.php:541
3449
+ msgid "Purchase History"
3450
+ msgstr ""
3451
+
3452
+ #: ../shared/classes/class.menu.php:554
3453
+ msgid ""
3454
+ "<span style=\"color:#fff;font-size: 13px;margin-top: -1px;display: inline-"
3455
+ "block;\">Debug Tools</span>"
3456
+ msgstr ""
3457
+
3458
+ #: ../shared/classes/class.menu.php:580
3459
+ msgid "Check for Javascript Errors"
3460
+ msgstr ""
3461
+
3462
+ #: ../shared/classes/class.menu.php:582
3463
+ msgid "Click here to check javascript errors on this page"
3464
+ msgstr ""
3465
+
3466
+ #: ../shared/classes/class.menu.php:588
3467
+ msgid "Remove Javascript Errors"
3468
+ msgstr ""
3469
+
3470
+ #: ../shared/classes/class.menu.php:590
3471
+ msgid "Click here to remove broken javascript to fix issues"
3472
+ msgstr ""
3473
+
3474
+ #: ../shared/classes/class.post-type.wp-lead.php:32
3475
+ msgid "Add New Lead"
3476
+ msgstr ""
3477
+
3478
+ #: ../shared/classes/class.post-type.wp-lead.php:33
3479
+ msgid "Edit Lead"
3480
+ msgstr ""
3481
+
3482
+ #: ../shared/classes/class.post-type.wp-lead.php:34
3483
+ msgid "New Leads"
3484
+ msgstr ""
3485
+
3486
+ #: ../shared/classes/class.post-type.wp-lead.php:35
3487
+ msgid "View Leads"
3488
+ msgstr ""
3489
+
3490
+ #: ../shared/classes/class.post-type.wp-lead.php:36
3491
+ msgid "Search Leads"
3492
+ msgstr ""
3493
+
3494
+ #: ../shared/classes/class.post-type.wp-lead.php:66
3495
+ #: ../shared/classes/class.post-type.wp-lead.php:81
3496
+ msgid "Lead Lists"
3497
+ msgstr ""
3498
+
3499
+ #: ../shared/classes/class.post-type.wp-lead.php:67
3500
+ msgid "Lead List"
3501
+ msgstr ""
3502
+
3503
+ #: ../shared/classes/class.post-type.wp-lead.php:68
3504
+ msgid "Search Lead Lists"
3505
+ msgstr ""
3506
+
3507
+ #: ../shared/classes/class.post-type.wp-lead.php:69
3508
+ msgid "Popular Lead Lists"
3509
+ msgstr ""
3510
+
3511
+ #: ../shared/classes/class.post-type.wp-lead.php:70
3512
+ msgid "All Lead Lists"
3513
+ msgstr ""
3514
+
3515
+ #: ../shared/classes/class.post-type.wp-lead.php:73
3516
+ msgid "Edit Lead List"
3517
+ msgstr ""
3518
+
3519
+ #: ../shared/classes/class.post-type.wp-lead.php:74
3520
+ msgid "Update Lead List"
3521
+ msgstr ""
3522
+
3523
+ #: ../shared/classes/class.post-type.wp-lead.php:75
3524
+ msgid "Add New Lead List"
3525
+ msgstr ""
3526
+
3527
+ #: ../shared/classes/class.post-type.wp-lead.php:76
3528
+ msgid "New Lead List"
3529
+ msgstr ""
3530
+
3531
+ #: ../shared/classes/class.post-type.wp-lead.php:77
3532
+ msgid "Separate Lead Lists with commas"
3533
+ msgstr ""
3534
+
3535
+ #: ../shared/classes/class.post-type.wp-lead.php:78
3536
+ msgid "Add or remove Lead Lists"
3537
+ msgstr ""
3538
+
3539
+ #: ../shared/classes/class.post-type.wp-lead.php:79
3540
+ msgid "Choose from the most used lead List"
3541
+ msgstr ""
3542
+
3543
+ #: ../shared/classes/class.post-type.wp-lead.php:80
3544
+ msgid "No Lead Lists found."
3545
+ msgstr ""
3546
+
3547
+ #: ../shared/classes/class.post-type.wp-lead.php:87
3548
+ msgid "List Management"
3549
+ msgstr ""
3550
+
3551
+ #: ../shared/classes/class.post-type.wp-lead.php:102
3552
+ msgid "Search Lead Tags"
3553
+ msgstr ""
3554
+
3555
+ #: ../shared/classes/class.post-type.wp-lead.php:103
3556
+ msgid "Popular Lead Tags"
3557
+ msgstr ""
3558
+
3559
+ #: ../shared/classes/class.post-type.wp-lead.php:104
3560
+ msgid "All Lead Tags"
3561
+ msgstr ""
3562
+
3563
+ #: ../shared/classes/class.post-type.wp-lead.php:107
3564
+ msgid "Edit Lead Tag"
3565
+ msgstr ""
3566
+
3567
+ #: ../shared/classes/class.post-type.wp-lead.php:108
3568
+ msgid "Update Lead Tag"
3569
+ msgstr ""
3570
+
3571
+ #: ../shared/classes/class.post-type.wp-lead.php:109
3572
+ msgid "Add New Lead Tag"
3573
+ msgstr ""
3574
+
3575
+ #: ../shared/classes/class.post-type.wp-lead.php:110
3576
+ msgid "New Lead Tag"
3577
+ msgstr ""
3578
+
3579
+ #: ../shared/classes/class.post-type.wp-lead.php:111
3580
+ msgid "Separate Lead Tags with commas"
3581
+ msgstr ""
3582
+
3583
+ #: ../shared/classes/class.post-type.wp-lead.php:112
3584
+ msgid "Add or remove Lead Tags"
3585
+ msgstr ""
3586
+
3587
+ #: ../shared/classes/class.post-type.wp-lead.php:113
3588
+ msgid "Choose from the most used lead tags"
3589
+ msgstr ""
3590
+
3591
+ #: ../shared/classes/class.post-type.wp-lead.php:114
3592
+ msgid "No lead tags found."
3593
+ msgstr ""
3594
+
3595
+ #: ../shared/classes/class.post-type.wp-lead.php:115
3596
+ msgid "Lead Tags"
3597
+ msgstr ""
3598
+
3599
+ #: ../shared/classes/class.post-type.wp-lead.php:241
3600
+ msgid ""
3601
+ "WordPress Leads is not currently installed/activated to view and manage "
3602
+ "leads please turn it on."
3603
+ msgstr ""
3604
+
3605
+ #: ../shared/classes/class.post-type.wp-lead.php:268
3606
+ #, php-format
3607
+ msgid "%d leads"
3608
+ msgstr ""
3609
+
3610
+ #: ../shared/classes/class.shortcodes.email-template.php:40
3611
+ msgid "n/a"
3612
+ msgstr ""
3613
+
3614
+ #: ../shared/classes/class.shortcodes.email-template.php:56
3615
+ msgid "View/Edit this form"
3616
+ msgstr ""
3617
+
3618
+ #: ../shared/classes/class.shortcodes.email-template.php:60
3619
+ msgid "View/Edit this CTA"
3620
+ msgstr ""
3621
+
3622
+ #: ../shared/classes/class.shortcodes.email-template.php:64
3623
+ msgid "Converted on Page"
3624
+ msgstr ""
3625
+
3626
+ #: ../shared/classes/class.welcome.php:75
3627
+ #: ../shared/classes/class.welcome.php:76
3628
+ msgid "Welcome to"
3629
+ msgstr ""
3630
+
3631
+ #: ../shared/classes/class.welcome.php:167
3632
+ msgid "Welcome to "
3633
+ msgstr ""
3634
+
3635
+ #: ../shared/classes/class.welcome.php:168
3636
+ msgid "Thank you for updating to the latest version! "
3637
+ msgstr ""
3638
+
3639
+ #: ../shared/extend/inboundnow.global-settings.php:30
3640
+ #: ../shared/extend/inboundnow.global-settings.php:39
3641
+ msgid ""
3642
+ "Head to http://www.inboundnow.com/ to retrieve your extension-ready license "
3643
+ "key."
3644
+ msgstr ""
3645
+
3646
+ #: ../shared/extend/inboundnow.global-settings.php:32
3647
+ msgid "InboundNow Master Key"
3648
+ msgstr ""
3649
+
3650
+ #: ../shared/extend/inboundnow.global-settings.php:38
3651
+ msgid "InboundNow Master License Key"
3652
+ msgstr ""
3653
+
3654
+ #: ../shared/functions/global.shared.functions.php:21
3655
+ #: ../shared/functions/global.shared.functions.php:25
3656
+ #, php-format
3657
+ msgid "%s"
3658
+ msgstr ""
3659
+
3660
+ #: ../shared/functions/global.shared.functions.php:22
3661
+ msgid "Marketing"
3662
+ msgstr ""
3663
+
3664
+ #: ../shared/shortcodes/inbound-shortcodes.php:642
3665
+ msgid "Form Conversions"
3666
+ msgstr ""
3667
+
3668
+ #: ../shared/shortcodes/inbound-shortcodes.php:652
3669
+ msgid "View this Lead"
3670
+ msgstr ""
3671
+
3672
+ #: ../shared/shortcodes/inbound-shortcodes.php:656
3673
+ msgid "No Conversions Yet!"
3674
+ msgstr ""
3675
+
3676
+ #: ../shared/shortcodes/inbound-shortcodes.php:662
3677
+ msgid "Set Email Response to Send to the person filling out the form"
3678
+ msgstr ""
3679
+
3680
+ #: ../shared/shortcodes/inbound-shortcodes.php:689
3681
+ msgid "Select Response Email Template"
3682
+ msgstr ""
3683
+
3684
+ #: ../shared/shortcodes/inbound-shortcodes.php:691
3685
+ msgid "Do not use a premade email template"
3686
+ msgstr ""
3687
+
3688
+ #: ../shared/shortcodes/inbound-shortcodes.php:749
3689
+ #: ../shared/shortcodes/inbound-shortcodes.php:771
3690
+ #: ../shared/shortcodes/popup.php:27 ../shared/shortcodes/popup.php:50
3691
+ msgid "Insert Shortcode"
3692
+ msgstr ""
3693
+
3694
+ #: ../shared/shortcodes/inbound-shortcodes.php:758
3695
+ msgid "Form Preview"
3696
+ msgstr ""
3697
+
3698
+ #: ../shared/shortcodes/inbound-shortcodes.php:761
3699
+ #: ../shared/shortcodes/popup.php:39
3700
+ msgid "Shortcode has no preview"
3701
+ msgstr ""
3702
+
3703
+ #: ../shared/shortcodes/popup.php:36
3704
+ msgid "Shortcode Preview"
3705
+ msgstr ""
3706
+
3707
+ #: ../shared/shortcodes/shortcodes/alert.php:12
3708
+ msgid "Color Style"
3709
+ msgstr ""
3710
+
3711
+ #: ../shared/shortcodes/shortcodes/alert.php:13
3712
+ #: ../shared/shortcodes/shortcodes/divider.php:13
3713
+ #: ../shared/shortcodes/shortcodes/divider.php:55
3714
+ #: ../shared/shortcodes/shortcodes/teaser.php:19
3715
+ #: ../shared/shortcodes/shortcodes/teaser.php:106
3716
+ msgid "Select the style."
3717
+ msgstr ""
3718
+
3719
+ #: ../shared/shortcodes/shortcodes/alert.php:16
3720
+ #: ../shared/shortcodes/shortcodes/content-box.php:16
3721
+ #: ../shared/shortcodes/shortcodes/content-box.php:46
3722
+ #: ../shared/shortcodes/shortcodes/teaser.php:22
3723
+ #: ../shared/shortcodes/shortcodes/teaser.php:109
3724
+ msgid "Default"
3725
+ msgstr ""
3726
+
3727
+ #: ../shared/shortcodes/shortcodes/alert.php:17
3728
+ #: ../shared/shortcodes/shortcodes/content-box.php:17
3729
+ #: ../shared/shortcodes/shortcodes/content-box.php:47
3730
+ msgid "Blue"
3731
+ msgstr ""
3732
+
3733
+ #: ../shared/shortcodes/shortcodes/alert.php:18
3734
+ #: ../shared/shortcodes/shortcodes/content-box.php:18
3735
+ #: ../shared/shortcodes/shortcodes/content-box.php:48
3736
+ msgid "Green"
3737
+ msgstr ""
3738
+
3739
+ #: ../shared/shortcodes/shortcodes/alert.php:19
3740
+ #: ../shared/shortcodes/shortcodes/content-box.php:19
3741
+ #: ../shared/shortcodes/shortcodes/content-box.php:49
3742
+ msgid "Red"
3743
+ msgstr ""
3744
+
3745
+ #: ../shared/shortcodes/shortcodes/alert.php:20
3746
+ #: ../shared/shortcodes/shortcodes/content-box.php:20
3747
+ #: ../shared/shortcodes/shortcodes/content-box.php:50
3748
+ msgid "Yellow"
3749
+ msgstr ""
3750
+
3751
+ #: ../shared/shortcodes/shortcodes/alert.php:25
3752
+ msgid "Message"
3753
+ msgstr ""
3754
+
3755
+ #: ../shared/shortcodes/shortcodes/alert.php:26
3756
+ msgid "Your message here."
3757
+ msgstr ""
3758
+
3759
+ #: ../shared/shortcodes/shortcodes/button.php:25
3760
+ msgid "Button Text"
3761
+ msgstr ""
3762
+
3763
+ #: ../shared/shortcodes/shortcodes/button.php:26
3764
+ #: ../shared/shortcodes/shortcodes/callout.php:45
3765
+ #: ../shared/shortcodes/shortcodes/callout.php:111
3766
+ #: ../shared/shortcodes/shortcodes/pricing.php:52
3767
+ #: ../shared/shortcodes/shortcodes/pricing.php:132
3768
+ msgid "Enter the button text label."
3769
+ msgstr ""
3770
+
3771
+ #: ../shared/shortcodes/shortcodes/button.php:31
3772
+ msgid "Button Link"
3773
+ msgstr ""
3774
+
3775
+ #: ../shared/shortcodes/shortcodes/button.php:32
3776
+ msgid "Enter the destination URL."
3777
+ msgstr ""
3778
+
3779
+ #: ../shared/shortcodes/shortcodes/button.php:37
3780
+ #: ../shared/shortcodes/shortcodes/lists.php:19
3781
+ msgid "Font Size"
3782
+ msgstr ""
3783
+
3784
+ #: ../shared/shortcodes/shortcodes/button.php:38
3785
+ msgid "Size of Button Font. This also determines default button size"
3786
+ msgstr ""
3787
+
3788
+ #: ../shared/shortcodes/shortcodes/button.php:64
3789
+ #: ../shared/shortcodes/shortcodes/callout.php:24
3790
+ #: ../shared/shortcodes/shortcodes/callout.php:88
3791
+ msgid "Button Color"
3792
+ msgstr ""
3793
+
3794
+ #: ../shared/shortcodes/shortcodes/button.php:65
3795
+ msgid "Color of button"
3796
+ msgstr ""
3797
+
3798
+ #: ../shared/shortcodes/shortcodes/button.php:70
3799
+ #: ../shared/shortcodes/shortcodes/forms.php:164
3800
+ msgid "Button Text Color"
3801
+ msgstr ""
3802
+
3803
+ #: ../shared/shortcodes/shortcodes/button.php:71
3804
+ #: ../shared/shortcodes/shortcodes/forms.php:165
3805
+ msgid "Color of text"
3806
+ msgstr ""
3807
+
3808
+ #: ../shared/shortcodes/shortcodes/button.php:76
3809
+ #: ../shared/shortcodes/shortcodes/icon.php:11
3810
+ #: ../shared/shortcodes/shortcodes/list-icon.php:14
3811
+ #: ../shared/shortcodes/shortcodes/tabs.php:27
3812
+ #: ../shared/shortcodes/shortcodes/tabs.php:72
3813
+ #: ../shared/shortcodes/shortcodes/teaser.php:57
3814
+ #: ../shared/shortcodes/shortcodes/teaser.php:135
3815
+ msgid "Icon"
3816
+ msgstr ""
3817
+
3818
+ #: ../shared/shortcodes/shortcodes/button.php:77
3819
+ #: ../shared/shortcodes/shortcodes/callout.php:51
3820
+ #: ../shared/shortcodes/shortcodes/callout.php:118
3821
+ #: ../shared/shortcodes/shortcodes/forms.php:139
3822
+ #: ../shared/shortcodes/shortcodes/tabs.php:28
3823
+ #: ../shared/shortcodes/shortcodes/tabs.php:73
3824
+ #: ../shared/shortcodes/shortcodes/teaser.php:58
3825
+ #: ../shared/shortcodes/shortcodes/teaser.php:136
3826
+ msgid "Select an icon."
3827
+ msgstr ""
3828
+
3829
+ #: ../shared/shortcodes/shortcodes/button.php:84
3830
+ #: ../shared/shortcodes/shortcodes/forms.php:178
3831
+ msgid "Custom Width"
3832
+ msgstr ""
3833
+
3834
+ #: ../shared/shortcodes/shortcodes/button.php:85
3835
+ msgid "Enter in pixel width or % width. Example: 200 <u>or</u> 100%"
3836
+ msgstr ""
3837
+
3838
+ #: ../shared/shortcodes/shortcodes/button.php:91
3839
+ msgid "Open Link in New Tab?"
3840
+ msgstr ""
3841
+
3842
+ #: ../shared/shortcodes/shortcodes/button.php:92
3843
+ msgid "Do you want to open links in this window or a new one?"
3844
+ msgstr ""
3845
+
3846
+ #: ../shared/shortcodes/shortcodes/call-to-action.php:11
3847
+ msgid "Insert cta"
3848
+ msgstr ""
3849
+
3850
+ #: ../shared/shortcodes/shortcodes/call-to-action.php:12
3851
+ msgid "Choose CTA"
3852
+ msgstr ""
3853
+
3854
+ #: ../shared/shortcodes/shortcodes/call-to-action.php:17
3855
+ msgid "CTA Alignment"
3856
+ msgstr ""
3857
+
3858
+ #: ../shared/shortcodes/shortcodes/call-to-action.php:18
3859
+ #: ../shared/shortcodes/shortcodes/forms.php:108
3860
+ #: ../shared/shortcodes/shortcodes/forms.php:154
3861
+ msgid "Choose Your Form Layout"
3862
+ msgstr ""
3863
+
3864
+ #: ../shared/shortcodes/shortcodes/callout.php:12
3865
+ #: ../shared/shortcodes/shortcodes/callout.php:74
3866
+ #: ../shared/shortcodes/shortcodes/intro.php:12
3867
+ #: ../shared/shortcodes/shortcodes/intro.php:46
3868
+ #: ../shared/shortcodes/shortcodes/tabs.php:64
3869
+ #: ../shared/shortcodes/shortcodes/teaser.php:45
3870
+ #: ../shared/shortcodes/shortcodes/teaser.php:152
3871
+ msgid "Title"
3872
+ msgstr ""
3873
+
3874
+ #: ../shared/shortcodes/shortcodes/callout.php:13
3875
+ #: ../shared/shortcodes/shortcodes/callout.php:75
3876
+ #: ../shared/shortcodes/shortcodes/intro.php:13
3877
+ #: ../shared/shortcodes/shortcodes/intro.php:47
3878
+ #: ../shared/shortcodes/shortcodes/landing-page-list.php:15
3879
+ #: ../shared/shortcodes/shortcodes/landing-page-list.php:49
3880
+ #: ../shared/shortcodes/shortcodes/landing_pages.php:13
3881
+ #: ../shared/shortcodes/shortcodes/landing_pages.php:69
3882
+ #: ../shared/shortcodes/shortcodes/teaser.php:98
3883
+ #: ../shared/shortcodes/shortcodes/teaser.php:153
3884
+ #: ../shared/shortcodes/shortcodes/testimonial.php:13
3885
+ #: ../shared/shortcodes/shortcodes/testimonial.php:67
3886
+ msgid "Enter the heading text."
3887
+ msgstr ""
3888
+
3889
+ #: ../shared/shortcodes/shortcodes/callout.php:18
3890
+ #: ../shared/shortcodes/shortcodes/callout.php:81
3891
+ #: ../shared/shortcodes/shortcodes/teaser.php:51
3892
+ #: ../shared/shortcodes/shortcodes/teaser.php:159
3893
+ msgid "Sub Title"
3894
+ msgstr ""
3895
+
3896
+ #: ../shared/shortcodes/shortcodes/callout.php:19
3897
+ #: ../shared/shortcodes/shortcodes/callout.php:82
3898
+ #: ../shared/shortcodes/shortcodes/teaser.php:52
3899
+ #: ../shared/shortcodes/shortcodes/teaser.php:160
3900
+ msgid "Enter the sub title."
3901
+ msgstr ""
3902
+
3903
+ #: ../shared/shortcodes/shortcodes/callout.php:25
3904
+ #: ../shared/shortcodes/shortcodes/callout.php:89
3905
+ msgid "Select the button color."
3906
+ msgstr ""
3907
+
3908
+ #: ../shared/shortcodes/shortcodes/callout.php:44
3909
+ #: ../shared/shortcodes/shortcodes/callout.php:110
3910
+ msgid "Button Text Label"
3911
+ msgstr ""
3912
+
3913
+ #: ../shared/shortcodes/shortcodes/callout.php:50
3914
+ #: ../shared/shortcodes/shortcodes/callout.php:117
3915
+ msgid "Button Icon"
3916
+ msgstr ""
3917
+
3918
+ #: ../shared/shortcodes/shortcodes/callout.php:57
3919
+ #: ../shared/shortcodes/shortcodes/callout.php:126
3920
+ #: ../shared/shortcodes/shortcodes/teaser.php:71
3921
+ #: ../shared/shortcodes/shortcodes/teaser.php:166
3922
+ msgid "Link"
3923
+ msgstr ""
3924
+
3925
+ #: ../shared/shortcodes/shortcodes/callout.php:58
3926
+ #: ../shared/shortcodes/shortcodes/callout.php:127
3927
+ #: ../shared/shortcodes/shortcodes/pricing.php:58
3928
+ #: ../shared/shortcodes/shortcodes/pricing.php:140
3929
+ msgid "Enter the button link destination URL."
3930
+ msgstr ""
3931
+
3932
+ #: ../shared/shortcodes/shortcodes/callout.php:70
3933
+ msgid "Call Out"
3934
+ msgstr ""
3935
+
3936
+ #: ../shared/shortcodes/shortcodes/column.php:12
3937
+ msgid "Gutter Width"
3938
+ msgstr ""
3939
+
3940
+ #: ../shared/shortcodes/shortcodes/column.php:13
3941
+ msgid "A space between the columns."
3942
+ msgstr ""
3943
+
3944
+ #: ../shared/shortcodes/shortcodes/column.php:22
3945
+ msgid "Column Set"
3946
+ msgstr ""
3947
+
3948
+ #: ../shared/shortcodes/shortcodes/column.php:23
3949
+ msgid "Select the set."
3950
+ msgstr ""
3951
+
3952
+ #: ../shared/shortcodes/shortcodes/column.php:48
3953
+ #: ../shared/shortcodes/shortcodes/landing-page-list.php:20
3954
+ #: ../shared/shortcodes/shortcodes/landing-page-list.php:56
3955
+ #: ../shared/shortcodes/shortcodes/landing_pages.php:18
3956
+ #: ../shared/shortcodes/shortcodes/landing_pages.php:76
3957
+ #: ../shared/shortcodes/shortcodes/pricing.php:12
3958
+ #: ../shared/shortcodes/shortcodes/pricing.php:83
3959
+ #: ../shared/shortcodes/shortcodes/teaser.php:29
3960
+ #: ../shared/shortcodes/shortcodes/teaser.php:118
3961
+ #: ../shared/shortcodes/shortcodes/testimonial.php:18
3962
+ #: ../shared/shortcodes/shortcodes/testimonial.php:74
3963
+ msgid "Column"
3964
+ msgstr ""
3965
+
3966
+ #: ../shared/shortcodes/shortcodes/column.php:52
3967
+ msgid "Column Content"
3968
+ msgstr ""
3969
+
3970
+ #: ../shared/shortcodes/shortcodes/column.php:53
3971
+ msgid "Enter the column content"
3972
+ msgstr ""
3973
+
3974
+ #: ../shared/shortcodes/shortcodes/content-box.php:12
3975
+ #: ../shared/shortcodes/shortcodes/content-box.php:42
3976
+ msgid "Box Color"
3977
+ msgstr ""
3978
+
3979
+ #: ../shared/shortcodes/shortcodes/content-box.php:13
3980
+ #: ../shared/shortcodes/shortcodes/content-box.php:43
3981
+ msgid "Select the color."
3982
+ msgstr ""
3983
+
3984
+ #: ../shared/shortcodes/shortcodes/content-box.php:25
3985
+ #: ../shared/shortcodes/shortcodes/content-box.php:57
3986
+ #: ../shared/shortcodes/shortcodes/intro.php:29
3987
+ #: ../shared/shortcodes/shortcodes/intro.php:66
3988
+ #: ../shared/shortcodes/shortcodes/tabs.php:81
3989
+ #: ../shared/shortcodes/shortcodes/teaser.php:173
3990
+ msgid "Content"
3991
+ msgstr ""
3992
+
3993
+ #: ../shared/shortcodes/shortcodes/content-box.php:26
3994
+ #: ../shared/shortcodes/shortcodes/teaser.php:78
3995
+ #: ../shared/shortcodes/shortcodes/teaser.php:174
3996
+ msgid "Enter the content."
3997
+ msgstr ""
3998
+
3999
+ #: ../shared/shortcodes/shortcodes/content-box.php:38
4000
+ msgid "Content Box"
4001
+ msgstr ""
4002
+
4003
+ #: ../shared/shortcodes/shortcodes/content-box.php:58
4004
+ #: ../shared/shortcodes/shortcodes/intro.php:30
4005
+ #: ../shared/shortcodes/shortcodes/intro.php:67
4006
+ msgid "Enter the content"
4007
+ msgstr ""
4008
+
4009
+ #: ../shared/shortcodes/shortcodes/divider.php:12
4010
+ #: ../shared/shortcodes/shortcodes/divider.php:54
4011
+ msgid "Border Style"
4012
+ msgstr ""
4013
+
4014
+ #: ../shared/shortcodes/shortcodes/divider.php:16
4015
+ #: ../shared/shortcodes/shortcodes/divider.php:57
4016
+ msgid "No Border"
4017
+ msgstr ""
4018
+
4019
+ #: ../shared/shortcodes/shortcodes/divider.php:17
4020
+ #: ../shared/shortcodes/shortcodes/divider.php:58
4021
+ msgid "Dashed"
4022
+ msgstr ""
4023
+
4024
+ #: ../shared/shortcodes/shortcodes/divider.php:18
4025
+ #: ../shared/shortcodes/shortcodes/divider.php:59
4026
+ msgid "Dotted"
4027
+ msgstr ""
4028
+
4029
+ #: ../shared/shortcodes/shortcodes/divider.php:19
4030
+ #: ../shared/shortcodes/shortcodes/divider.php:60
4031
+ msgid "Double"
4032
+ msgstr ""
4033
+
4034
+ #: ../shared/shortcodes/shortcodes/divider.php:20
4035
+ #: ../shared/shortcodes/shortcodes/divider.php:61
4036
+ #: ../templates/tubelar/config.php:121
4037
+ msgid "Solid"
4038
+ msgstr ""
4039
+
4040
+ #: ../shared/shortcodes/shortcodes/divider.php:25
4041
+ #: ../shared/shortcodes/shortcodes/divider.php:68
4042
+ msgid "Border Color"
4043
+ msgstr ""
4044
+
4045
+ #: ../shared/shortcodes/shortcodes/divider.php:26
4046
+ #: ../shared/shortcodes/shortcodes/divider.php:69
4047
+ msgid "Enter a hex color code."
4048
+ msgstr ""
4049
+
4050
+ #: ../shared/shortcodes/shortcodes/divider.php:31
4051
+ msgid "Top Margin"
4052
+ msgstr ""
4053
+
4054
+ #: ../shared/shortcodes/shortcodes/divider.php:32
4055
+ #: ../shared/shortcodes/shortcodes/divider.php:77
4056
+ msgid "Enter the top margin value."
4057
+ msgstr ""
4058
+
4059
+ #: ../shared/shortcodes/shortcodes/divider.php:37
4060
+ #: ../shared/shortcodes/shortcodes/lists.php:25
4061
+ msgid "Bottom Margin"
4062
+ msgstr ""
4063
+
4064
+ #: ../shared/shortcodes/shortcodes/divider.php:38
4065
+ #: ../shared/shortcodes/shortcodes/divider.php:85
4066
+ msgid "Enter the bottom margin value."
4067
+ msgstr ""
4068
+
4069
+ #: ../shared/shortcodes/shortcodes/divider.php:50
4070
+ #: ../shared/shortcodes/shortcodes/forms.php:207
4071
+ msgid "Divider"
4072
+ msgstr ""
4073
+
4074
+ #: ../shared/shortcodes/shortcodes/divider.php:76
4075
+ msgid "Margin Top"
4076
+ msgstr ""
4077
+
4078
+ #: ../shared/shortcodes/shortcodes/divider.php:84
4079
+ msgid "Margin Bottom"
4080
+ msgstr ""
4081
+
4082
+ #: ../shared/shortcodes/shortcodes/forms.php:19
4083
+ msgid "Choose Starting Template"
4084
+ msgstr ""
4085
+
4086
+ #: ../shared/shortcodes/shortcodes/forms.php:20
4087
+ msgid "Start Building Your Form from premade templates"
4088
+ msgstr ""
4089
+
4090
+ #: ../shared/shortcodes/shortcodes/forms.php:27
4091
+ #: ../shared/shortcodes/shortcodes/quick-forms.php:26
4092
+ msgid "Form Name<span class=\"small-required-text\">*</span>"
4093
+ msgstr ""
4094
+
4095
+ #: ../shared/shortcodes/shortcodes/forms.php:28
4096
+ #: ../shared/shortcodes/shortcodes/quick-forms.php:27
4097
+ msgid "This is not shown to visitors"
4098
+ msgstr ""
4099
+
4100
+ #: ../shared/shortcodes/shortcodes/forms.php:45
4101
+ msgid "Redirect URL<span class=\"small-required-text\">*</span>"
4102
+ msgstr ""
4103
+
4104
+ #: ../shared/shortcodes/shortcodes/forms.php:46
4105
+ msgid "Where do you want to send people after they fill out the form?"
4106
+ msgstr ""
4107
+
4108
+ #: ../shared/shortcodes/shortcodes/forms.php:62
4109
+ msgid "Notify on Form Completions<span class=\"small-required-text\">*</span>"
4110
+ msgstr ""
4111
+
4112
+ #: ../shared/shortcodes/shortcodes/forms.php:63
4113
+ msgid ""
4114
+ "Who should get admin notifications on this form?<br>For multiple "
4115
+ "notifications separate email addresses with commas"
4116
+ msgstr ""
4117
+
4118
+ #: ../shared/shortcodes/shortcodes/forms.php:70
4119
+ msgid "Admin Email Subject Line<span class=\"small-required-text\">*</span>"
4120
+ msgstr ""
4121
+
4122
+ #: ../shared/shortcodes/shortcodes/forms.php:71
4123
+ msgid ""
4124
+ "Customize the subject line of email notifications arriving from this form. "
4125
+ "default: {{site-name}} {{form-name}} - New Lead Conversion"
4126
+ msgstr ""
4127
+
4128
+ #: ../shared/shortcodes/shortcodes/forms.php:78
4129
+ msgid "Add to List(s)"
4130
+ msgstr ""
4131
+
4132
+ #: ../shared/shortcodes/shortcodes/forms.php:79
4133
+ msgid "Add the converting lead to 1 or more lead lists"
4134
+ msgstr ""
4135
+
4136
+ #: ../shared/shortcodes/shortcodes/forms.php:86
4137
+ msgid "Hidden List Values"
4138
+ msgstr ""
4139
+
4140
+ #: ../shared/shortcodes/shortcodes/forms.php:87
4141
+ msgid "Hidden list values"
4142
+ msgstr ""
4143
+
4144
+ #: ../shared/shortcodes/shortcodes/forms.php:93
4145
+ #: ../shared/shortcodes/shortcodes/forms.php:100
4146
+ #: ../shared/shortcodes/shortcodes/quick-forms.php:19
4147
+ msgid "Name Name Name"
4148
+ msgstr ""
4149
+
4150
+ #: ../shared/shortcodes/shortcodes/forms.php:94
4151
+ msgid ""
4152
+ "<span class=\"switch-to-form-insert button\">Cancel Form Creation & Insert "
4153
+ "Existing Form</span>"
4154
+ msgstr ""
4155
+
4156
+ #: ../shared/shortcodes/shortcodes/forms.php:101
4157
+ msgid "Layout Options"
4158
+ msgstr ""
4159
+
4160
+ #: ../shared/shortcodes/shortcodes/forms.php:107
4161
+ msgid "Form Layout"
4162
+ msgstr ""
4163
+
4164
+ #: ../shared/shortcodes/shortcodes/forms.php:118
4165
+ msgid "Label Alignment"
4166
+ msgstr ""
4167
+
4168
+ #: ../shared/shortcodes/shortcodes/forms.php:119
4169
+ msgid "Choose Label Layout"
4170
+ msgstr ""
4171
+
4172
+ #: ../shared/shortcodes/shortcodes/forms.php:131
4173
+ msgid "Form Font Size"
4174
+ msgstr ""
4175
+
4176
+ #: ../shared/shortcodes/shortcodes/forms.php:132
4177
+ msgid "Size of Label Font. This also determines default submit button size"
4178
+ msgstr ""
4179
+
4180
+ #: ../shared/shortcodes/shortcodes/forms.php:138
4181
+ msgid "Submit Button Icon"
4182
+ msgstr ""
4183
+
4184
+ #: ../shared/shortcodes/shortcodes/forms.php:146
4185
+ msgid "Submit Button Text"
4186
+ msgstr ""
4187
+
4188
+ #: ../shared/shortcodes/shortcodes/forms.php:147
4189
+ msgid ""
4190
+ "Enter the text you want to show on the submit button. (or a link to a custom "
4191
+ "submit button image)"
4192
+ msgstr ""
4193
+
4194
+ #: ../shared/shortcodes/shortcodes/forms.php:153
4195
+ msgid "Submit Button Color Options"
4196
+ msgstr ""
4197
+
4198
+ #: ../shared/shortcodes/shortcodes/forms.php:171
4199
+ msgid "Button BG Color"
4200
+ msgstr ""
4201
+
4202
+ #: ../shared/shortcodes/shortcodes/forms.php:172
4203
+ msgid "Background Color of Submit button"
4204
+ msgstr ""
4205
+
4206
+ #: ../shared/shortcodes/shortcodes/forms.php:179
4207
+ msgid "Enter in pixel width or % width. Example: 400 <u>or</u> 100%"
4208
+ msgstr ""
4209
+
4210
+ #: ../shared/shortcodes/shortcodes/forms.php:188
4211
+ msgid "Field Label"
4212
+ msgstr ""
4213
+
4214
+ #: ../shared/shortcodes/shortcodes/forms.php:192
4215
+ msgid "Enter the Form Field Label. Example: First Name"
4216
+ msgstr ""
4217
+
4218
+ #: ../shared/shortcodes/shortcodes/forms.php:195
4219
+ msgid "Field Type"
4220
+ msgstr ""
4221
+
4222
+ #: ../shared/shortcodes/shortcodes/forms.php:196
4223
+ msgid "Select an form field type"
4224
+ msgstr ""
4225
+
4226
+ #: ../shared/shortcodes/shortcodes/forms.php:199
4227
+ msgid "Single Line Text"
4228
+ msgstr ""
4229
+
4230
+ #: ../shared/shortcodes/shortcodes/forms.php:200
4231
+ #: ../shared/shortcodes/shortcodes/leadp.php:23
4232
+ msgid "Paragraph Text"
4233
+ msgstr ""
4234
+
4235
+ #: ../shared/shortcodes/shortcodes/forms.php:201
4236
+ msgid "Dropdown - Custom"
4237
+ msgstr ""
4238
+
4239
+ #: ../shared/shortcodes/shortcodes/forms.php:202
4240
+ msgid "Dropdown - Countries"
4241
+ msgstr ""
4242
+
4243
+ #: ../shared/shortcodes/shortcodes/forms.php:203
4244
+ msgid "Radio Select"
4245
+ msgstr ""
4246
+
4247
+ #: ../shared/shortcodes/shortcodes/forms.php:204
4248
+ msgid "Number"
4249
+ msgstr ""
4250
+
4251
+ #: ../shared/shortcodes/shortcodes/forms.php:205
4252
+ msgid "Checkbox"
4253
+ msgstr ""
4254
+
4255
+ #: ../shared/shortcodes/shortcodes/forms.php:206
4256
+ #: ../shared/shortcodes/shortcodes/forms.php:243
4257
+ msgid "HTML Block"
4258
+ msgstr ""
4259
+
4260
+ #: ../shared/shortcodes/shortcodes/forms.php:208
4261
+ msgid "Date Field"
4262
+ msgstr ""
4263
+
4264
+ #: ../shared/shortcodes/shortcodes/forms.php:209
4265
+ msgid "Time Field"
4266
+ msgstr ""
4267
+
4268
+ #: ../shared/shortcodes/shortcodes/forms.php:210
4269
+ msgid "Hidden Field"
4270
+ msgstr ""
4271
+
4272
+ #: ../shared/shortcodes/shortcodes/forms.php:219
4273
+ msgid "Dropdown choices"
4274
+ msgstr ""
4275
+
4276
+ #: ../shared/shortcodes/shortcodes/forms.php:220
4277
+ msgid "Enter Your Dropdown Options. Separate by commas."
4278
+ msgstr ""
4279
+
4280
+ #: ../shared/shortcodes/shortcodes/forms.php:223
4281
+ #: ../shared/shortcodes/shortcodes/forms.php:239
4282
+ msgid "Choice 1, Choice 2, Choice 3"
4283
+ msgstr ""
4284
+
4285
+ #: ../shared/shortcodes/shortcodes/forms.php:227
4286
+ msgid "Radio Choices"
4287
+ msgstr ""
4288
+
4289
+ #: ../shared/shortcodes/shortcodes/forms.php:228
4290
+ msgid "Enter Your Radio Options. Separate by commas."
4291
+ msgstr ""
4292
+
4293
+ #: ../shared/shortcodes/shortcodes/forms.php:235
4294
+ msgid "Checkbox choices"
4295
+ msgstr ""
4296
+
4297
+ #: ../shared/shortcodes/shortcodes/forms.php:236
4298
+ msgid "Enter Your Checkbox Options. Separate by commas."
4299
+ msgstr ""
4300
+
4301
+ #: ../shared/shortcodes/shortcodes/forms.php:244
4302
+ msgid "This is a raw HTML block in the form. Insert text/HTML"
4303
+ msgstr ""
4304
+
4305
+ #: ../shared/shortcodes/shortcodes/forms.php:250
4306
+ msgid "Default Value"
4307
+ msgstr ""
4308
+
4309
+ #: ../shared/shortcodes/shortcodes/forms.php:251
4310
+ msgid "Enter the Default Value"
4311
+ msgstr ""
4312
+
4313
+ #: ../shared/shortcodes/shortcodes/forms.php:258
4314
+ msgid "Divider Text (optional)"
4315
+ msgstr ""
4316
+
4317
+ #: ../shared/shortcodes/shortcodes/forms.php:259
4318
+ msgid "This is the text in the divider"
4319
+ msgstr ""
4320
+
4321
+ #: ../shared/shortcodes/shortcodes/forms.php:265
4322
+ #: ../shared/shortcodes/shortcodes/forms.php:287
4323
+ msgid "Field Description <span class=\"small-optional-text\">(optional)</span>"
4324
+ msgstr ""
4325
+
4326
+ #: ../shared/shortcodes/shortcodes/forms.php:266
4327
+ msgid "<span class=\"show-advanced-fields\">Show advanced fields</span>"
4328
+ msgstr ""
4329
+
4330
+ #: ../shared/shortcodes/shortcodes/forms.php:272
4331
+ msgid "Required Field? <span class=\"small-optional-text\">(optional)</span>"
4332
+ msgstr ""
4333
+
4334
+ #: ../shared/shortcodes/shortcodes/forms.php:273
4335
+ msgid "Check to make field required"
4336
+ msgstr ""
4337
+
4338
+ #: ../shared/shortcodes/shortcodes/forms.php:280
4339
+ msgid "Field Placeholder <span class=\"small-optional-text\">(optional)</span>"
4340
+ msgstr ""
4341
+
4342
+ #: ../shared/shortcodes/shortcodes/forms.php:281
4343
+ msgid "Put field placeholder text here. Only works for normal text inputs"
4344
+ msgstr ""
4345
+
4346
+ #: ../shared/shortcodes/shortcodes/forms.php:288
4347
+ msgid "Put field description here."
4348
+ msgstr ""
4349
+
4350
+ #: ../shared/shortcodes/shortcodes/forms.php:294
4351
+ msgid ""
4352
+ "Field Container Classes <span class=\"small-optional-text\">(optional)</span>"
4353
+ msgstr ""
4354
+
4355
+ #: ../shared/shortcodes/shortcodes/forms.php:295
4356
+ msgid ""
4357
+ "Add additional class ids to the div that contains this field. Separate "
4358
+ "classes with spaces."
4359
+ msgstr ""
4360
+
4361
+ #: ../shared/shortcodes/shortcodes/forms.php:301
4362
+ msgid ""
4363
+ "Field Input Classes <span class=\"small-optional-text\">(optional)</span>"
4364
+ msgstr ""
4365
+
4366
+ #: ../shared/shortcodes/shortcodes/forms.php:302
4367
+ msgid ""
4368
+ "Add additional class ids to this input field. Separate classes with spaces."
4369
+ msgstr ""
4370
+
4371
+ #: ../shared/shortcodes/shortcodes/forms.php:309
4372
+ msgid ""
4373
+ "Dynamic Field Filling <span class=\"small-optional-text\">(optional)</span>"
4374
+ msgstr ""
4375
+
4376
+ #: ../shared/shortcodes/shortcodes/forms.php:310
4377
+ msgid "Enter Your Dynamic URL parameter"
4378
+ msgstr ""
4379
+
4380
+ #: ../shared/shortcodes/shortcodes/forms.php:318
4381
+ msgid "Map Field To <span class=\"small-optional-text\">(optional)</span>"
4382
+ msgstr ""
4383
+
4384
+ #: ../shared/shortcodes/shortcodes/forms.php:319
4385
+ msgid "Map this field to Leads Value"
4386
+ msgstr ""
4387
+
4388
+ #: ../shared/shortcodes/shortcodes/forms.php:327
4389
+ msgid "Add Another Field"
4390
+ msgstr ""
4391
+
4392
+ #: ../shared/shortcodes/shortcodes/forms.php:343
4393
+ msgid "Edit Form"
4394
+ msgstr ""
4395
+
4396
+ #: ../shared/shortcodes/shortcodes/forms.php:344
4397
+ msgid "New Form"
4398
+ msgstr ""
4399
+
4400
+ #: ../shared/shortcodes/shortcodes/forms.php:345
4401
+ msgid "View Lists"
4402
+ msgstr ""
4403
+
4404
+ #: ../shared/shortcodes/shortcodes/forms.php:346
4405
+ msgid "Search Lists"
4406
+ msgstr ""
4407
+
4408
+ #: ../shared/shortcodes/shortcodes/gmap.php:12
4409
+ msgid "Map Type"
4410
+ msgstr ""
4411
+
4412
+ #: ../shared/shortcodes/shortcodes/gmap.php:13
4413
+ msgid "Select a map type"
4414
+ msgstr ""
4415
+
4416
+ #: ../shared/shortcodes/shortcodes/gmap.php:19
4417
+ msgid "Map Width"
4418
+ msgstr ""
4419
+
4420
+ #: ../shared/shortcodes/shortcodes/gmap.php:25
4421
+ msgid "Map Height"
4422
+ msgstr ""
4423
+
4424
+ #: ../shared/shortcodes/shortcodes/gmap.php:32
4425
+ msgid ""
4426
+ "Enter your address here. ex: \"New York\" or \"New York, USA\" If you want a "
4427
+ "accurate position please fill the Latitude and Longitude fields"
4428
+ msgstr ""
4429
+
4430
+ #: ../shared/shortcodes/shortcodes/gmap.php:37
4431
+ msgid "Latitude"
4432
+ msgstr ""
4433
+
4434
+ #: ../shared/shortcodes/shortcodes/gmap.php:38
4435
+ msgid "Latitude is specified in degrees within the range [-90, 90]"
4436
+ msgstr ""
4437
+
4438
+ #: ../shared/shortcodes/shortcodes/gmap.php:43
4439
+ msgid "Longitude"
4440
+ msgstr ""
4441
+
4442
+ #: ../shared/shortcodes/shortcodes/gmap.php:44
4443
+ msgid "Longitude is specified in degrees within the range [-180, 180]"
4444
+ msgstr ""
4445
+
4446
+ #: ../shared/shortcodes/shortcodes/gmap.php:49
4447
+ msgid "Zoom"
4448
+ msgstr ""
4449
+
4450
+ #: ../shared/shortcodes/shortcodes/gmap.php:50
4451
+ msgid "Set the zoom level, numeric value from 1 to 19"
4452
+ msgstr ""
4453
+
4454
+ #: ../shared/shortcodes/shortcodes/gmap.php:55
4455
+ msgid "Pan Control"
4456
+ msgstr ""
4457
+
4458
+ #: ../shared/shortcodes/shortcodes/gmap.php:56
4459
+ msgid "Enable pan control?"
4460
+ msgstr ""
4461
+
4462
+ #: ../shared/shortcodes/shortcodes/gmap.php:62
4463
+ msgid "Zoom Control"
4464
+ msgstr ""
4465
+
4466
+ #: ../shared/shortcodes/shortcodes/gmap.php:63
4467
+ msgid "Enable zoom control?"
4468
+ msgstr ""
4469
+
4470
+ #: ../shared/shortcodes/shortcodes/gmap.php:69
4471
+ msgid "Map Type Control"
4472
+ msgstr ""
4473
+
4474
+ #: ../shared/shortcodes/shortcodes/gmap.php:70
4475
+ msgid "Enable map type control?"
4476
+ msgstr ""
4477
+
4478
+ #: ../shared/shortcodes/shortcodes/gmap.php:76
4479
+ msgid "Popup Content"
4480
+ msgstr ""
4481
+
4482
+ #: ../shared/shortcodes/shortcodes/gmap.php:77
4483
+ msgid "A descriptive text for the Google Map marker popup, ex: \"My Office\""
4484
+ msgstr ""
4485
+
4486
+ #: ../shared/shortcodes/shortcodes/icon.php:12
4487
+ #: ../shared/shortcodes/shortcodes/list-icon.php:15
4488
+ msgid "Select the icon."
4489
+ msgstr ""
4490
+
4491
+ #: ../shared/shortcodes/shortcodes/icon.php:18
4492
+ msgid "Size"
4493
+ msgstr ""
4494
+
4495
+ #: ../shared/shortcodes/shortcodes/icon.php:19
4496
+ msgid "Select the icon size."
4497
+ msgstr ""
4498
+
4499
+ #: ../shared/shortcodes/shortcodes/icon.php:22
4500
+ msgid "Normal Size"
4501
+ msgstr ""
4502
+
4503
+ #: ../shared/shortcodes/shortcodes/icon.php:23
4504
+ msgid "Large Size"
4505
+ msgstr ""
4506
+
4507
+ #: ../shared/shortcodes/shortcodes/icon.php:24
4508
+ msgid "2x Size"
4509
+ msgstr ""
4510
+
4511
+ #: ../shared/shortcodes/shortcodes/icon.php:25
4512
+ msgid "3x Size"
4513
+ msgstr ""
4514
+
4515
+ #: ../shared/shortcodes/shortcodes/icon.php:26
4516
+ msgid "4x Size"
4517
+ msgstr ""
4518
+
4519
+ #: ../shared/shortcodes/shortcodes/icon.php:31
4520
+ #: ../shared/shortcodes/shortcodes/teaser.php:18
4521
+ #: ../shared/shortcodes/shortcodes/teaser.php:105
4522
+ msgid "Style"
4523
+ msgstr ""
4524
+
4525
+ #: ../shared/shortcodes/shortcodes/icon.php:32
4526
+ msgid "Select the icon style."
4527
+ msgstr ""
4528
+
4529
+ #: ../shared/shortcodes/shortcodes/icon.php:35
4530
+ msgid "Normal"
4531
+ msgstr ""
4532
+
4533
+ #: ../shared/shortcodes/shortcodes/icon.php:36
4534
+ msgid "Muted"
4535
+ msgstr ""
4536
+
4537
+ #: ../shared/shortcodes/shortcodes/icon.php:37
4538
+ msgid "Border"
4539
+ msgstr ""
4540
+
4541
+ #: ../shared/shortcodes/shortcodes/icon.php:38
4542
+ msgid "Spin"
4543
+ msgstr ""
4544
+
4545
+ #: ../shared/shortcodes/shortcodes/intro.php:18
4546
+ #: ../shared/shortcodes/shortcodes/intro.php:53
4547
+ msgid "Text Alignment"
4548
+ msgstr ""
4549
+
4550
+ #: ../shared/shortcodes/shortcodes/intro.php:19
4551
+ msgid "Enter text alignment."
4552
+ msgstr ""
4553
+
4554
+ #: ../shared/shortcodes/shortcodes/intro.php:22
4555
+ #: ../shared/shortcodes/shortcodes/intro.php:57
4556
+ msgid "Align Center"
4557
+ msgstr ""
4558
+
4559
+ #: ../shared/shortcodes/shortcodes/intro.php:23
4560
+ #: ../shared/shortcodes/shortcodes/intro.php:58
4561
+ msgid "Align Left"
4562
+ msgstr ""
4563
+
4564
+ #: ../shared/shortcodes/shortcodes/intro.php:24
4565
+ #: ../shared/shortcodes/shortcodes/intro.php:59
4566
+ msgid "Align Right"
4567
+ msgstr ""
4568
+
4569
+ #: ../shared/shortcodes/shortcodes/intro.php:42
4570
+ msgid "Intro"
4571
+ msgstr ""
4572
+
4573
+ #: ../shared/shortcodes/shortcodes/intro.php:54
4574
+ msgid "The text alignment"
4575
+ msgstr ""
4576
+
4577
+ #: ../shared/shortcodes/shortcodes/landing-page-list.php:14
4578
+ #: ../shared/shortcodes/shortcodes/landing_pages.php:12
4579
+ #: ../shared/shortcodes/shortcodes/testimonial.php:12
4580
+ msgid "Heading Text"
4581
+ msgstr ""
4582
+
4583
+ #: ../shared/shortcodes/shortcodes/landing-page-list.php:21
4584
+ #: ../shared/shortcodes/shortcodes/landing-page-list.php:57
4585
+ #: ../shared/shortcodes/shortcodes/landing_pages.php:19
4586
+ #: ../shared/shortcodes/shortcodes/landing_pages.php:77
4587
+ #: ../shared/shortcodes/shortcodes/teaser.php:30
4588
+ #: ../shared/shortcodes/shortcodes/testimonial.php:19
4589
+ #: ../shared/shortcodes/shortcodes/testimonial.php:75
4590
+ msgid "Select the number of column(s)."
4591
+ msgstr ""
4592
+
4593
+ #: ../shared/shortcodes/shortcodes/landing-page-list.php:24
4594
+ #: ../shared/shortcodes/shortcodes/landing-page-list.php:60
4595
+ #: ../shared/shortcodes/shortcodes/landing_pages.php:23
4596
+ #: ../shared/shortcodes/shortcodes/landing_pages.php:81
4597
+ #: ../shared/shortcodes/shortcodes/pricing.php:16
4598
+ #: ../shared/shortcodes/shortcodes/pricing.php:87
4599
+ #: ../shared/shortcodes/shortcodes/teaser.php:34
4600
+ #: ../shared/shortcodes/shortcodes/teaser.php:123
4601
+ #: ../shared/shortcodes/shortcodes/testimonial.php:23
4602
+ #: ../shared/shortcodes/shortcodes/testimonial.php:79
4603
+ msgid "2 Columns"
4604
+ msgstr ""
4605
+
4606
+ #: ../shared/shortcodes/shortcodes/landing-page-list.php:25
4607
+ #: ../shared/shortcodes/shortcodes/landing-page-list.php:61
4608
+ #: ../shared/shortcodes/shortcodes/landing_pages.php:24
4609
+ #: ../shared/shortcodes/shortcodes/landing_pages.php:82
4610
+ #: ../shared/shortcodes/shortcodes/pricing.php:17
4611
+ #: ../shared/shortcodes/shortcodes/pricing.php:88
4612
+ #: ../shared/shortcodes/shortcodes/teaser.php:35
4613
+ #: ../shared/shortcodes/shortcodes/teaser.php:124
4614
+ #: ../shared/shortcodes/shortcodes/testimonial.php:24
4615
+ #: ../shared/shortcodes/shortcodes/testimonial.php:80
4616
+ msgid "3 Columns"
4617
+ msgstr ""
4618
+
4619
+ #: ../shared/shortcodes/shortcodes/landing-page-list.php:26
4620
+ #: ../shared/shortcodes/shortcodes/landing-page-list.php:62
4621
+ #: ../shared/shortcodes/shortcodes/landing_pages.php:25
4622
+ #: ../shared/shortcodes/shortcodes/landing_pages.php:83
4623
+ #: ../shared/shortcodes/shortcodes/pricing.php:18
4624
+ #: ../shared/shortcodes/shortcodes/pricing.php:89
4625
+ #: ../shared/shortcodes/shortcodes/teaser.php:36
4626
+ #: ../shared/shortcodes/shortcodes/teaser.php:125
4627
+ #: ../shared/shortcodes/shortcodes/testimonial.php:25
4628
+ #: ../shared/shortcodes/shortcodes/testimonial.php:81
4629
+ msgid "4 Columns"
4630
+ msgstr ""
4631
+
4632
+ #: ../shared/shortcodes/shortcodes/landing-page-list.php:31
4633
+ #: ../shared/shortcodes/shortcodes/landing-page-list.php:69
4634
+ #: ../shared/shortcodes/shortcodes/landing_pages.php:31
4635
+ #: ../shared/shortcodes/shortcodes/landing_pages.php:91
4636
+ msgid "Post Number"
4637
+ msgstr ""
4638
+
4639
+ #: ../shared/shortcodes/shortcodes/landing-page-list.php:32
4640
+ #: ../shared/shortcodes/shortcodes/landing-page-list.php:70
4641
+ #: ../shared/shortcodes/shortcodes/landing_pages.php:92
4642
+ msgid "Enter the number of post to show."
4643
+ msgstr ""
4644
+
4645
+ #: ../shared/shortcodes/shortcodes/landing-page-list.php:44
4646
+ msgid "Portfolio"
4647
+ msgstr ""
4648
+
4649
+ #: ../shared/shortcodes/shortcodes/landing-page-list.php:48
4650
+ #: ../shared/shortcodes/shortcodes/landing_pages.php:68
4651
+ #: ../shared/shortcodes/shortcodes/social-share.php:82
4652
+ #: ../shared/shortcodes/shortcodes/tabs.php:12
4653
+ #: ../shared/shortcodes/shortcodes/tabs.php:54
4654
+ #: ../shared/shortcodes/shortcodes/teaser.php:12
4655
+ #: ../shared/shortcodes/shortcodes/teaser.php:97
4656
+ #: ../shared/shortcodes/shortcodes/testimonial.php:66
4657
+ msgid "Heading"
4658
+ msgstr ""
4659
+
4660
+ #: ../shared/shortcodes/shortcodes/landing-page-list.php:117
4661
+ msgid "View Project"
4662
+ msgstr ""
4663
+
4664
+ #: ../shared/shortcodes/shortcodes/landing_pages.php:22
4665
+ #: ../shared/shortcodes/shortcodes/landing_pages.php:80
4666
+ #: ../shared/shortcodes/shortcodes/teaser.php:33
4667
+ #: ../shared/shortcodes/shortcodes/teaser.php:122
4668
+ #: ../shared/shortcodes/shortcodes/testimonial.php:22
4669
+ #: ../shared/shortcodes/shortcodes/testimonial.php:78
4670
+ msgid "1 Column"
4671
+ msgstr ""
4672
+
4673
+ #: ../shared/shortcodes/shortcodes/landing_pages.php:26
4674
+ #: ../shared/shortcodes/shortcodes/landing_pages.php:84
4675
+ #: ../shared/shortcodes/shortcodes/pricing.php:19
4676
+ #: ../shared/shortcodes/shortcodes/pricing.php:90
4677
+ #: ../shared/shortcodes/shortcodes/teaser.php:37
4678
+ #: ../shared/shortcodes/shortcodes/teaser.php:126
4679
+ #: ../shared/shortcodes/shortcodes/testimonial.php:26
4680
+ #: ../shared/shortcodes/shortcodes/testimonial.php:82
4681
+ msgid "5 Columns"
4682
+ msgstr ""
4683
+
4684
+ #: ../shared/shortcodes/shortcodes/landing_pages.php:32
4685
+ msgid "Enter the number of post to show. (enter -1 for all posts)"
4686
+ msgstr ""
4687
+
4688
+ #: ../shared/shortcodes/shortcodes/landing_pages.php:38
4689
+ #: ../shared/shortcodes/shortcodes/landing_pages.php:100
4690
+ msgid "Optional you can sort by a category."
4691
+ msgstr ""
4692
+
4693
+ #: ../shared/shortcodes/shortcodes/landing_pages.php:44
4694
+ #: ../shared/shortcodes/shortcodes/landing_pages.php:108
4695
+ msgid "Excerpt Lenght"
4696
+ msgstr ""
4697
+
4698
+ #: ../shared/shortcodes/shortcodes/landing_pages.php:45
4699
+ #: ../shared/shortcodes/shortcodes/landing_pages.php:109
4700
+ msgid "The post excerpt word lenght."
4701
+ msgstr ""
4702
+
4703
+ #: ../shared/shortcodes/shortcodes/landing_pages.php:50
4704
+ msgid "Show Featured Thumbnails"
4705
+ msgstr ""
4706
+
4707
+ #: ../shared/shortcodes/shortcodes/landing_pages.php:51
4708
+ msgid "Uncheck to hide featured thumbnails"
4709
+ msgstr ""
4710
+
4711
+ #: ../shared/shortcodes/shortcodes/landing_pages.php:58
4712
+ msgid "Insert Landing Page List Shortcode"
4713
+ msgstr ""
4714
+
4715
+ #: ../shared/shortcodes/shortcodes/landing_pages.php:64
4716
+ msgid "Entries"
4717
+ msgstr ""
4718
+
4719
+ #: ../shared/shortcodes/shortcodes/leadp.php:12
4720
+ msgid "Alignment"
4721
+ msgstr ""
4722
+
4723
+ #: ../shared/shortcodes/shortcodes/leadp.php:13
4724
+ msgid "Add the pharagraph alignment"
4725
+ msgstr ""
4726
+
4727
+ #: ../shared/shortcodes/shortcodes/leadp.php:24
4728
+ msgid "Add the pharagraph text"
4729
+ msgstr ""
4730
+
4731
+ #: ../shared/shortcodes/shortcodes/leadp.php:30
4732
+ msgid "Insert Lead Paragraph Shortcode"
4733
+ msgstr ""
4734
+
4735
+ #: ../shared/shortcodes/shortcodes/list-icon.php:21
4736
+ msgid "List Content"
4737
+ msgstr ""
4738
+
4739
+ #: ../shared/shortcodes/shortcodes/list-icon.php:22
4740
+ #: ../shared/shortcodes/shortcodes/pricing.php:64
4741
+ #: ../shared/shortcodes/shortcodes/pricing.php:148
4742
+ #: ../shared/shortcodes/shortcodes/tabs.php:35
4743
+ #: ../shared/shortcodes/shortcodes/testimonial.php:47
4744
+ #: ../shared/shortcodes/shortcodes/testimonial.php:108
4745
+ msgid "Put the content here."
4746
+ msgstr ""
4747
+
4748
+ #: ../shared/shortcodes/shortcodes/list-icon.php:28
4749
+ msgid "Add More List"
4750
+ msgstr ""
4751
+
4752
+ #: ../shared/shortcodes/shortcodes/list-icon.php:31
4753
+ msgid "Insert List Icons Shortcode"
4754
+ msgstr ""
4755
+
4756
+ #: ../shared/shortcodes/shortcodes/lists.php:12
4757
+ msgid "List Icon"
4758
+ msgstr ""
4759
+
4760
+ #: ../shared/shortcodes/shortcodes/lists.php:13
4761
+ msgid "Select an icon for the List"
4762
+ msgstr ""
4763
+
4764
+ #: ../shared/shortcodes/shortcodes/lists.php:20
4765
+ msgid "Size of List Font"
4766
+ msgstr ""
4767
+
4768
+ #: ../shared/shortcodes/shortcodes/lists.php:26
4769
+ msgid "space between list items"
4770
+ msgstr ""
4771
+
4772
+ #: ../shared/shortcodes/shortcodes/lists.php:31
4773
+ msgid "Icon Color"
4774
+ msgstr ""
4775
+
4776
+ #: ../shared/shortcodes/shortcodes/lists.php:32
4777
+ msgid "Color of Icon"
4778
+ msgstr ""
4779
+
4780
+ #: ../shared/shortcodes/shortcodes/lists.php:37
4781
+ #: ../templates/tubelar/config.php:99
4782
+ msgid "Text Color"
4783
+ msgstr ""
4784
+
4785
+ #: ../shared/shortcodes/shortcodes/lists.php:38
4786
+ msgid "Color of Text in List"
4787
+ msgstr ""
4788
+
4789
+ #: ../shared/shortcodes/shortcodes/lists.php:43
4790
+ #: ../shared/shortcodes/shortcodes/lists.php:44
4791
+ msgid "Number of Columns"
4792
+ msgstr ""
4793
+
4794
+ #: ../shared/shortcodes/shortcodes/lists.php:59
4795
+ msgid "Insert Styled List Shortcode"
4796
+ msgstr ""
4797
+
4798
+ #: ../shared/shortcodes/shortcodes/pricing.php:13
4799
+ #: ../shared/shortcodes/shortcodes/pricing.php:84
4800
+ #: ../shared/shortcodes/shortcodes/teaser.php:119
4801
+ msgid "Select the column."
4802
+ msgstr ""
4803
+
4804
+ #: ../shared/shortcodes/shortcodes/pricing.php:27
4805
+ #: ../shared/shortcodes/shortcodes/pricing.php:99
4806
+ msgid "Featured Plan"
4807
+ msgstr ""
4808
+
4809
+ #: ../shared/shortcodes/shortcodes/pricing.php:28
4810
+ #: ../shared/shortcodes/shortcodes/pricing.php:100
4811
+ msgid "Check to set this plan as featured"
4812
+ msgstr ""
4813
+
4814
+ #: ../shared/shortcodes/shortcodes/pricing.php:33
4815
+ #: ../shared/shortcodes/shortcodes/pricing.php:107
4816
+ msgid "Plan Title"
4817
+ msgstr ""
4818
+
4819
+ #: ../shared/shortcodes/shortcodes/pricing.php:34
4820
+ #: ../shared/shortcodes/shortcodes/pricing.php:108
4821
+ msgid "Enter the plan title."
4822
+ msgstr ""
4823
+
4824
+ #: ../shared/shortcodes/shortcodes/pricing.php:39
4825
+ #: ../shared/shortcodes/shortcodes/pricing.php:115
4826
+ msgid "Plan Price"
4827
+ msgstr ""
4828
+
4829
+ #: ../shared/shortcodes/shortcodes/pricing.php:40
4830
+ #: ../shared/shortcodes/shortcodes/pricing.php:116
4831
+ msgid "Enter the plan price."
4832
+ msgstr ""
4833
+
4834
+ #: ../shared/shortcodes/shortcodes/pricing.php:45
4835
+ #: ../shared/shortcodes/shortcodes/pricing.php:123
4836
+ msgid "Plan Term"
4837
+ msgstr ""
4838
+
4839
+ #: ../shared/shortcodes/shortcodes/pricing.php:46
4840
+ #: ../shared/shortcodes/shortcodes/pricing.php:124
4841
+ msgid "Enter the plan term. e.g : \"per month\", \"per year\" etc."
4842
+ msgstr ""
4843
+
4844
+ #: ../shared/shortcodes/shortcodes/pricing.php:51
4845
+ #: ../shared/shortcodes/shortcodes/pricing.php:131
4846
+ msgid "Plan Button Text"
4847
+ msgstr ""
4848
+
4849
+ #: ../shared/shortcodes/shortcodes/pricing.php:57
4850
+ #: ../shared/shortcodes/shortcodes/pricing.php:139
4851
+ msgid "Plan Button Link"
4852
+ msgstr ""
4853
+
4854
+ #: ../shared/shortcodes/shortcodes/pricing.php:63
4855
+ #: ../shared/shortcodes/shortcodes/pricing.php:147
4856
+ msgid "Plan Content"
4857
+ msgstr ""
4858
+
4859
+ #: ../shared/shortcodes/shortcodes/pricing.php:70
4860
+ #: ../shared/shortcodes/shortcodes/testimonial.php:53
4861
+ msgid "Add More Testimony"
4862
+ msgstr ""
4863
+
4864
+ #: ../shared/shortcodes/shortcodes/pricing.php:79
4865
+ msgid "Pricing Table"
4866
+ msgstr ""
4867
+
4868
+ #: ../shared/shortcodes/shortcodes/profile.php:12
4869
+ #: ../shared/shortcodes/shortcodes/profile.php:71
4870
+ msgid "Profile Name"
4871
+ msgstr ""
4872
+
4873
+ #: ../shared/shortcodes/shortcodes/profile.php:13
4874
+ #: ../shared/shortcodes/shortcodes/profile.php:72
4875
+ msgid "Enter the name."
4876
+ msgstr ""
4877
+
4878
+ #: ../shared/shortcodes/shortcodes/profile.php:18
4879
+ #: ../shared/shortcodes/shortcodes/profile.php:79
4880
+ msgid "Profile Meta"
4881
+ msgstr ""
4882
+
4883
+ #: ../shared/shortcodes/shortcodes/profile.php:19
4884
+ #: ../shared/shortcodes/shortcodes/profile.php:80
4885
+ msgid "Enter the profile meta. e.g job position etc."
4886
+ msgstr ""
4887
+
4888
+ #: ../shared/shortcodes/shortcodes/profile.php:24
4889
+ #: ../shared/shortcodes/shortcodes/profile.php:87
4890
+ msgid "Profile Image"
4891
+ msgstr ""
4892
+
4893
+ #: ../shared/shortcodes/shortcodes/profile.php:25
4894
+ #: ../shared/shortcodes/shortcodes/profile.php:88
4895
+ msgid "Paste your profile image URL here."
4896
+ msgstr ""
4897
+
4898
+ #: ../shared/shortcodes/shortcodes/profile.php:30
4899
+ #: ../shared/shortcodes/shortcodes/profile.php:95
4900
+ msgid "Profile Link"
4901
+ msgstr ""
4902
+
4903
+ #: ../shared/shortcodes/shortcodes/profile.php:31
4904
+ msgid "Paste your profile link URL here."
4905
+ msgstr ""
4906
+
4907
+ #: ../shared/shortcodes/shortcodes/profile.php:36
4908
+ #: ../shared/shortcodes/shortcodes/profile.php:103
4909
+ msgid "Profile Facebook"
4910
+ msgstr ""
4911
+
4912
+ #: ../shared/shortcodes/shortcodes/profile.php:37
4913
+ #: ../shared/shortcodes/shortcodes/profile.php:104
4914
+ msgid "Paste your facebook URL here."
4915
+ msgstr ""
4916
+
4917
+ #: ../shared/shortcodes/shortcodes/profile.php:42
4918
+ #: ../shared/shortcodes/shortcodes/profile.php:111
4919
+ msgid "Profile Twitter"
4920
+ msgstr ""
4921
+
4922
+ #: ../shared/shortcodes/shortcodes/profile.php:43
4923
+ #: ../shared/shortcodes/shortcodes/profile.php:112
4924
+ msgid "Paste your twitter URL here."
4925
+ msgstr ""
4926
+
4927
+ #: ../shared/shortcodes/shortcodes/profile.php:48
4928
+ #: ../shared/shortcodes/shortcodes/profile.php:119
4929
+ msgid "Profile Email Address"
4930
+ msgstr ""
4931
+
4932
+ #: ../shared/shortcodes/shortcodes/profile.php:49
4933
+ #: ../shared/shortcodes/shortcodes/profile.php:120
4934
+ msgid "Paste your email address here."
4935
+ msgstr ""
4936
+
4937
+ #: ../shared/shortcodes/shortcodes/profile.php:54
4938
+ #: ../shared/shortcodes/shortcodes/profile.php:127
4939
+ msgid "Profile Description"
4940
+ msgstr ""
4941
+
4942
+ #: ../shared/shortcodes/shortcodes/profile.php:55
4943
+ #: ../shared/shortcodes/shortcodes/profile.php:128
4944
+ msgid "Enter the profile description text."
4945
+ msgstr ""
4946
+
4947
+ #: ../shared/shortcodes/shortcodes/profile.php:67
4948
+ msgid "Profile"
4949
+ msgstr ""
4950
+
4951
+ #: ../shared/shortcodes/shortcodes/profile.php:96
4952
+ msgid "Paste your profile URL here."
4953
+ msgstr ""
4954
+
4955
+ #: ../shared/shortcodes/shortcodes/quick-forms.php:11
4956
+ msgid "Insert Saved Form"
4957
+ msgstr ""
4958
+
4959
+ #: ../shared/shortcodes/shortcodes/quick-forms.php:12
4960
+ msgid "Insert a Saved Form"
4961
+ msgstr ""
4962
+
4963
+ #: ../shared/shortcodes/shortcodes/quick-forms.php:20
4964
+ msgid "<span class=\"switch-to-form-builder button\">Build a New Form</span>"
4965
+ msgstr ""
4966
+
4967
+ #: ../shared/shortcodes/shortcodes/quick-forms.php:35
4968
+ msgid "Quick Insert Inbound Form Shortcode"
4969
+ msgstr ""
4970
+
4971
+ #: ../shared/shortcodes/shortcodes/social-share.php:14
4972
+ msgid "Style of Icons"
4973
+ msgstr ""
4974
+
4975
+ #: ../shared/shortcodes/shortcodes/social-share.php:26
4976
+ msgid "Align Icons"
4977
+ msgstr ""
4978
+
4979
+ #: ../shared/shortcodes/shortcodes/social-share.php:27
4980
+ msgid "Alignment Settings"
4981
+ msgstr ""
4982
+
4983
+ #: ../shared/shortcodes/shortcodes/social-share.php:37
4984
+ #: ../shared/shortcodes/shortcodes/social.php:12
4985
+ msgid "Facebook"
4986
+ msgstr ""
4987
+
4988
+ #: ../shared/shortcodes/shortcodes/social-share.php:38
4989
+ msgid "Show facebook share icon"
4990
+ msgstr ""
4991
+
4992
+ #: ../shared/shortcodes/shortcodes/social-share.php:43
4993
+ #: ../shared/shortcodes/shortcodes/social.php:18
4994
+ msgid "Twitter"
4995
+ msgstr ""
4996
+
4997
+ #: ../shared/shortcodes/shortcodes/social-share.php:44
4998
+ msgid "Show twitter share icon"
4999
+ msgstr ""
5000
+
5001
+ #: ../shared/shortcodes/shortcodes/social-share.php:49
5002
+ #: ../shared/shortcodes/shortcodes/social.php:24
5003
+ msgid "Google+"
5004
+ msgstr ""
5005
+
5006
+ #: ../shared/shortcodes/shortcodes/social-share.php:50
5007
+ msgid "Show google plus share icon"
5008
+ msgstr ""
5009
+
5010
+ #: ../shared/shortcodes/shortcodes/social-share.php:55
5011
+ #: ../shared/shortcodes/shortcodes/social.php:30
5012
+ msgid "Linkedin"
5013
+ msgstr ""
5014
+
5015
+ #: ../shared/shortcodes/shortcodes/social-share.php:56
5016
+ msgid "Show linkedin share icon"
5017
+ msgstr ""
5018
+
5019
+ #: ../shared/shortcodes/shortcodes/social-share.php:61
5020
+ #: ../shared/shortcodes/shortcodes/social.php:48
5021
+ msgid "Pinterest"
5022
+ msgstr ""
5023
+
5024
+ #: ../shared/shortcodes/shortcodes/social-share.php:62
5025
+ msgid "Show pinterest share icon"
5026
+ msgstr ""
5027
+
5028
+ #: ../shared/shortcodes/shortcodes/social-share.php:68
5029
+ msgid "Custom Share Text"
5030
+ msgstr ""
5031
+
5032
+ #: ../shared/shortcodes/shortcodes/social-share.php:69
5033
+ msgid "Optional setting. Enter your custom share text"
5034
+ msgstr ""
5035
+
5036
+ #: ../shared/shortcodes/shortcodes/social-share.php:75
5037
+ msgid "Custom Share URL"
5038
+ msgstr ""
5039
+
5040
+ #: ../shared/shortcodes/shortcodes/social-share.php:76
5041
+ msgid "Optional setting. Enter your custom share link URL"
5042
+ msgstr ""
5043
+
5044
+ #: ../shared/shortcodes/shortcodes/social-share.php:83
5045
+ msgid "Optional setting."
5046
+ msgstr ""
5047
+
5048
+ #: ../shared/shortcodes/shortcodes/social-share.php:89
5049
+ msgid "Heading Align"
5050
+ msgstr ""
5051
+
5052
+ #: ../shared/shortcodes/shortcodes/social-share.php:90
5053
+ msgid "Heading Alignment Settings"
5054
+ msgstr ""
5055
+
5056
+ #: ../shared/shortcodes/shortcodes/social.php:13
5057
+ msgid "Enter your facebook profile URL"
5058
+ msgstr ""
5059
+
5060
+ #: ../shared/shortcodes/shortcodes/social.php:19
5061
+ msgid "Enter your twitter profile URL"
5062
+ msgstr ""
5063
+
5064
+ #: ../shared/shortcodes/shortcodes/social.php:25
5065
+ msgid "Enter your google plus profile URL"
5066
+ msgstr ""
5067
+
5068
+ #: ../shared/shortcodes/shortcodes/social.php:31
5069
+ msgid "Enter your linkedin profile URL"
5070
+ msgstr ""
5071
+
5072
+ #: ../shared/shortcodes/shortcodes/social.php:36
5073
+ msgid "Github"
5074
+ msgstr ""
5075
+
5076
+ #: ../shared/shortcodes/shortcodes/social.php:37
5077
+ msgid "Enter your github profile URL"
5078
+ msgstr ""
5079
+
5080
+ #: ../shared/shortcodes/shortcodes/social.php:42
5081
+ msgid "Instagram"
5082
+ msgstr ""
5083
+
5084
+ #: ../shared/shortcodes/shortcodes/social.php:43
5085
+ msgid "Enter your instagram profile URL"
5086
+ msgstr ""
5087
+
5088
+ #: ../shared/shortcodes/shortcodes/social.php:49
5089
+ msgid "Enter your pinterest profile URL"
5090
+ msgstr ""
5091
+
5092
+ #: ../shared/shortcodes/shortcodes/social.php:54
5093
+ msgid "RSS"
5094
+ msgstr ""
5095
+
5096
+ #: ../shared/shortcodes/shortcodes/social.php:55
5097
+ msgid "Enter your RSS feeds URL"
5098
+ msgstr ""
5099
+
5100
+ #: ../shared/shortcodes/shortcodes/tabs.php:13
5101
+ #: ../shared/shortcodes/shortcodes/tabs.php:55
5102
+ #: ../shared/shortcodes/shortcodes/teaser.php:13
5103
+ msgid "Enter the heading text"
5104
+ msgstr ""
5105
+
5106
+ #: ../shared/shortcodes/shortcodes/tabs.php:21
5107
+ msgid "Tab Title"
5108
+ msgstr ""
5109
+
5110
+ #: ../shared/shortcodes/shortcodes/tabs.php:22
5111
+ msgid "Enter the tab title."
5112
+ msgstr ""
5113
+
5114
+ #: ../shared/shortcodes/shortcodes/tabs.php:34
5115
+ msgid "Tab Content"
5116
+ msgstr ""
5117
+
5118
+ #: ../shared/shortcodes/shortcodes/tabs.php:41
5119
+ msgid "Add More Tab"
5120
+ msgstr ""
5121
+
5122
+ #: ../shared/shortcodes/shortcodes/tabs.php:50
5123
+ msgid "Tabs"
5124
+ msgstr ""
5125
+
5126
+ #: ../shared/shortcodes/shortcodes/tabs.php:65
5127
+ msgid "Enter the tab title"
5128
+ msgstr ""
5129
+
5130
+ #: ../shared/shortcodes/shortcodes/tabs.php:82
5131
+ msgid "Enter the tab content"
5132
+ msgstr ""
5133
+
5134
+ #: ../shared/shortcodes/shortcodes/teaser.php:23
5135
+ #: ../shared/shortcodes/shortcodes/teaser.php:110
5136
+ msgid "Nested"
5137
+ msgstr ""
5138
+
5139
+ #: ../shared/shortcodes/shortcodes/teaser.php:24
5140
+ #: ../shared/shortcodes/shortcodes/teaser.php:111
5141
+ msgid "Centered"
5142
+ msgstr ""
5143
+
5144
+ #: ../shared/shortcodes/shortcodes/teaser.php:46
5145
+ msgid "Enter the title."
5146
+ msgstr ""
5147
+
5148
+ #: ../shared/shortcodes/shortcodes/teaser.php:64
5149
+ #: ../shared/shortcodes/shortcodes/teaser.php:144
5150
+ msgid "Image URL"
5151
+ msgstr ""
5152
+
5153
+ #: ../shared/shortcodes/shortcodes/teaser.php:65
5154
+ #: ../shared/shortcodes/shortcodes/teaser.php:145
5155
+ msgid "Enter your image url, it will override the icon above"
5156
+ msgstr ""
5157
+
5158
+ #: ../shared/shortcodes/shortcodes/teaser.php:72
5159
+ #: ../shared/shortcodes/shortcodes/teaser.php:167
5160
+ msgid "The title link destination URL."
5161
+ msgstr ""
5162
+
5163
+ #: ../shared/shortcodes/shortcodes/teaser.php:77
5164
+ msgid "Teaser Content"
5165
+ msgstr ""
5166
+
5167
+ #: ../shared/shortcodes/shortcodes/teaser.php:84
5168
+ msgid "Add More Block"
5169
+ msgstr ""
5170
+
5171
+ #: ../shared/shortcodes/shortcodes/teaser.php:93
5172
+ msgid "Teaser"
5173
+ msgstr ""
5174
+
5175
+ #: ../shared/shortcodes/shortcodes/testimonial.php:34
5176
+ #: ../shared/shortcodes/shortcodes/testimonial.php:91
5177
+ msgid "Testimony Author"
5178
+ msgstr ""
5179
+
5180
+ #: ../shared/shortcodes/shortcodes/testimonial.php:35
5181
+ #: ../shared/shortcodes/shortcodes/testimonial.php:92
5182
+ msgid "Enter the testimony author name."
5183
+ msgstr ""
5184
+
5185
+ #: ../shared/shortcodes/shortcodes/testimonial.php:40
5186
+ #: ../shared/shortcodes/shortcodes/testimonial.php:99
5187
+ msgid "Testimony Author Meta"
5188
+ msgstr ""
5189
+
5190
+ #: ../shared/shortcodes/shortcodes/testimonial.php:41
5191
+ #: ../shared/shortcodes/shortcodes/testimonial.php:100
5192
+ msgid "The author job, company or website name."
5193
+ msgstr ""
5194
+
5195
+ #: ../shared/shortcodes/shortcodes/testimonial.php:46
5196
+ msgid "Testimony Content"
5197
+ msgstr ""
5198
+
5199
+ #: ../shared/shortcodes/shortcodes/testimonial.php:62
5200
+ #: ../shared/shortcodes/shortcodes/testimonial.php:124
5201
+ msgid "Testimonial"
5202
+ msgstr ""
5203
+
5204
+ #: ../shared/shortcodes/shortcodes/testimonial.php:107
5205
+ msgid "Testimony Text"
5206
+ msgstr ""
5207
+
5208
+ #: ../shared/shortcodes/shortcodes/video.php:12
5209
+ msgid "Video URL"
5210
+ msgstr ""
5211
+
5212
+ #: ../shared/shortcodes/shortcodes/video.php:13
5213
+ msgid ""
5214
+ "Paste the video URL here, click <a href=\"http://codex.wordpress.org/"
5215
+ "Embeds#Okay.2C_So_What_Sites_Can_I_Embed_From.3F\" target=\"_blank\">here</"
5216
+ "a> to see all available video hosts."
5217
+ msgstr ""
5218
+
5219
+ #: ../shared/templates/email-templates/inbound-new-lead-notification/inbound-new-lead-notification.php:33
5220
+ msgid "New Lead on {{form-name}}"
5221
+ msgstr ""
5222
+
5223
+ #: ../shared/templates/email-templates/inbound-new-lead-notification/inbound-new-lead-notification.php:34
5224
+ msgid ""
5225
+ "There is a new lead that just converted on <strong>{{date-time}}</strong> "
5226
+ "from page: <a href=\"{{source}}\">{{source}}</a> {{redirect-message}}"
5227
+ msgstr ""
5228
+
5229
+ #: ../shared/templates/email-templates/inbound-new-lead-notification/inbound-new-lead-notification.php:46
5230
+ msgid "Lead Information"
5231
+ msgstr ""
5232
+
5233
+ #: ../shared/templates/email-templates/inbound-new-lead-notification/inbound-new-lead-notification.php:78
5234
+ msgid "View Lead Activity"
5235
+ msgstr ""
5236
+
5237
+ #: ../shared/templates/email-templates/inbound-new-lead-notification/inbound-new-lead-notification.php:82
5238
+ msgid "Pages Viewed"
5239
+ msgstr ""
5240
+
5241
+ #: ../shared/templates/email-templates/inbound-new-lead-notification/inbound-new-lead-notification.php:86
5242
+ msgid "View Form Data"
5243
+ msgstr ""
5244
+
5245
+ #: ../shared/templates/email-templates/inbound-new-lead-notification/inbound-new-lead-notification.php:101
5246
+ msgid "View the full Lead details in WordPress"
5247
+ msgstr ""
5248
+
5249
+ #: ../shared/templates/email-templates/inbound-new-lead-notification/inbound-new-lead-notification.php:101
5250
+ msgid "View Full Lead Details"
5251
+ msgstr ""
5252
+
5253
+ #: ../shared/templates/email-templates/inbound-new-lead-notification/inbound-new-lead-notification.php:107
5254
+ msgid "Thanks for filling out our form."
5255
+ msgstr ""
5256
+
5257
+ #: ../shared/templates/email-templates/inbound-new-lead-notification/inbound-new-lead-notification.php:109
5258
+ #: ../shared/templates/email-templates/inbound-new-lead-notification/inbound-new-lead-notification.php:112
5259
+ msgid "Reply to Lead Now"
5260
+ msgstr ""
5261
+
5262
+ #: ../shared/templates/email-templates/inbound-new-lead-notification/inbound-new-lead-notification.php:111
5263
+ msgid "Thanks for filling out our form on {{current-page-url}}"
5264
+ msgstr ""
5265
+
5266
+ #: ../shared/templates/email-templates/inbound-new-lead-notification/inbound-new-lead-notification.php:112
5267
+ msgid "Email This Lead now"
5268
+ msgstr ""
5269
+
5270
+ #: ../shared/templates/email-templates/inbound-new-lead-notification/inbound-new-lead-notification.php:140
5271
+ msgid ""
5272
+ "<b>Leads</b>\n"
5273
+ " from Inbound Now"
5274
+ msgstr ""
5275
+
5276
+ #: ../shared/templates/email-templates/token-test/token-test.php:5
5277
+ msgid "Core Tokens"
5278
+ msgstr ""
5279
+
5280
+ #: ../shared/templates/email-templates/token-test/token-test.php:6
5281
+ msgid "Admin Email Address"
5282
+ msgstr ""
5283
+
5284
+ #: ../shared/templates/email-templates/token-test/token-test.php:7
5285
+ msgid "Site Name"
5286
+ msgstr ""
5287
+
5288
+ #: ../shared/templates/email-templates/token-test/token-test.php:8
5289
+ msgid "Site Url"
5290
+ msgstr ""
5291
+
5292
+ #: ../shared/templates/email-templates/token-test/token-test.php:9
5293
+ msgid "Date-time"
5294
+ msgstr ""
5295
+
5296
+ #: ../shared/templates/email-templates/token-test/token-test.php:10
5297
+ msgid "Leads URL Path"
5298
+ msgstr ""
5299
+
5300
+ #: ../shared/templates/email-templates/token-test/token-test.php:11
5301
+ msgid "Landing Pages URL Path"
5302
+ msgstr ""
5303
+
5304
+ #: ../shared/templates/email-templates/token-test/token-test.php:13
5305
+ msgid "Lead Tokens"
5306
+ msgstr ""
5307
+
5308
+ #: ../shared/templates/email-templates/token-test/token-test.php:18
5309
+ msgid "Address Line 1"
5310
+ msgstr ""
5311
+
5312
+ #: ../shared/templates/email-templates/token-test/token-test.php:19
5313
+ msgid "Address Line 2"
5314
+ msgstr ""
5315
+
5316
+ #: ../shared/templates/email-templates/token-test/token-test.php:21
5317
+ msgid "Region/State"
5318
+ msgstr ""
5319
+
5320
+ #: ../shared/templates/email-templates/token-test/token-test.php:22
5321
+ msgid "Form Name"
5322
+ msgstr ""
5323
+
5324
+ #: ../shared/templates/email-templates/token-test/token-test.php:23
5325
+ msgid "Converted Page URL"
5326
+ msgstr ""
5327
+
5328
+ #: ../shared/templates/email-templates/token-test/token-test.php:25
5329
+ msgid "WP User Tokens"
5330
+ msgstr ""
5331
+
5332
+ #: ../shared/templates/email-templates/token-test/token-test.php:26
5333
+ msgid "WordPress User ID"
5334
+ msgstr ""
5335
+
5336
+ #: ../shared/templates/email-templates/token-test/token-test.php:27
5337
+ msgid "WordPress User Username"
5338
+ msgstr ""
5339
+
5340
+ #: ../shared/templates/email-templates/token-test/token-test.php:28
5341
+ msgid "WordPress User First Name"
5342
+ msgstr ""
5343
+
5344
+ #: ../shared/templates/email-templates/token-test/token-test.php:29
5345
+ msgid "WordPress User Last Name"
5346
+ msgstr ""
5347
+
5348
+ #: ../shared/templates/email-templates/token-test/token-test.php:30
5349
+ msgid "WordPress User Password"
5350
+ msgstr ""
5351
+
5352
+ #: ../shared/templates/email-templates/token-test/token-test.php:31
5353
+ msgid "WordPress User Nicename"
5354
+ msgstr ""
5355
+
5356
+ #: ../shared/templates/email-templates/token-test/token-test.php:32
5357
+ msgid "WordPress User Display Name"
5358
+ msgstr ""
5359
+
5360
+ #: ../shared/templates/email-templates/token-test/token-test.php:33
5361
+ msgid "WordPress User Gravatar URL"
5362
+ msgstr ""
5363
+
5364
+ #: ../shared/templates/email-templates/token-test/token-test.php:36
5365
+ msgid "WP Post Tokens"
5366
+ msgstr ""
5367
+
5368
+ #: ../shared/templates/email-templates/token-test/token-test.php:37
5369
+ msgid "WordPress Post ID"
5370
+ msgstr ""
5371
+
5372
+ #: ../shared/templates/email-templates/token-test/token-test.php:38
5373
+ msgid "WordPress Post Title"
5374
+ msgstr ""
5375
+
5376
+ #: ../shared/templates/email-templates/token-test/token-test.php:39
5377
+ msgid "WordPress Post URL"
5378
+ msgstr ""
5379
+
5380
+ #: ../shared/templates/email-templates/token-test/token-test.php:40
5381
+ msgid "WordPress Post Content"
5382
+ msgstr ""
5383
+
5384
+ #: ../shared/templates/email-templates/token-test/token-test.php:41
5385
+ msgid "WordPress Post Excerpt"
5386
+ msgstr ""
5387
+
5388
+ #: ../shared/templates/email-templates/token-test/token-test.php:44
5389
+ msgid "WP Comment Tokens"
5390
+ msgstr ""
5391
+
5392
+ #: ../shared/templates/email-templates/token-test/token-test.php:45
5393
+ msgid "WordPress Comment ID"
5394
+ msgstr ""
5395
+
5396
+ #: ../shared/templates/email-templates/token-test/token-test.php:46
5397
+ msgid "WordPress Comment URL"
5398
+ msgstr ""
5399
+
5400
+ #: ../shared/templates/email-templates/token-test/token-test.php:47
5401
+ msgid "WordPress Comment Author"
5402
+ msgstr ""
5403
+
5404
+ #: ../shared/templates/email-templates/token-test/token-test.php:48
5405
+ msgid "WordPress Comment Author Email"
5406
+ msgstr ""
5407
+
5408
+ #: ../shared/templates/email-templates/token-test/token-test.php:49
5409
+ msgid "WordPress Comment Author IP"
5410
+ msgstr ""
5411
+
5412
+ #: ../shared/templates/email-templates/token-test/token-test.php:50
5413
+ msgid "WordPress Comment Content"
5414
+ msgstr ""
5415
+
5416
+ #: ../shared/templates/email-templates/token-test/token-test.php:51
5417
+ msgid "WordPress Comment Date"
5418
+ msgstr ""
5419
+
5420
+ #: ../shared/templates/email-templates/token-test/token-test.php:52
5421
+ msgid "WordPress Comment Karma"
5422
+ msgstr ""
5423
+
5424
+ #: ../shared/templates/email-templates/wp-new-user-notification/wp-new-user-notification.php:33
5425
+ msgid "Your Account Details"
5426
+ msgstr ""
5427
+
5428
+ #: ../shared/templates/email-templates/wp-new-user-notification/wp-new-user-notification.php:34
5429
+ msgid ""
5430
+ "{{wp-user-login}}, Your account for <a href=\"{{site-url}}\">{{site-name}}</"
5431
+ "a> has been setup! Please use the credentials below to access your account:"
5432
+ msgstr ""
5433
+
5434
+ #: ../shared/templates/email-templates/wp-new-user-notification/wp-new-user-notification.php:48
5435
+ msgid "Username"
5436
+ msgstr ""
5437
+
5438
+ #: ../shared/templates/email-templates/wp-new-user-notification/wp-new-user-notification.php:59
5439
+ msgid "Password"
5440
+ msgstr ""
5441
+
5442
+ #: ../shared/templates/email-templates/wp-notify-moderator/wp-notify-moderator.php:33
5443
+ msgid "New Comment Waiting Moderation"
5444
+ msgstr ""
5445
+
5446
+ #: ../shared/templates/email-templates/wp-notify-moderator/wp-notify-moderator.php:34
5447
+ msgid ""
5448
+ "{{wp-user-displayname}}, There is a new comment on <a href=\"{{wp-post-"
5449
+ "url}}\">{{wp-post-title}}</a>"
5450
+ msgstr ""
5451
+
5452
+ #: ../shared/templates/email-templates/wp-notify-moderator/wp-notify-moderator.php:48
5453
+ #: ../shared/templates/email-templates/wp-notify-post-author/wp-notify-post-author.php:52
5454
+ msgid "says:"
5455
+ msgstr ""
5456
+
5457
+ #: ../shared/templates/email-templates/wp-notify-moderator/wp-notify-moderator.php:51
5458
+ #: ../shared/templates/email-templates/wp-notify-post-author/wp-notify-post-author.php:55
5459
+ msgid "Click here to reply"
5460
+ msgstr ""
5461
+
5462
+ #: ../shared/templates/email-templates/wp-notify-moderator/wp-notify-moderator.php:68
5463
+ msgid "Approve"
5464
+ msgstr ""
5465
+
5466
+ #: ../shared/templates/email-templates/wp-notify-moderator/wp-notify-moderator.php:72
5467
+ msgid "Trash"
5468
+ msgstr ""
5469
+
5470
+ #: ../shared/templates/email-templates/wp-notify-moderator/wp-notify-moderator.php:80
5471
+ msgid "Spam"
5472
+ msgstr ""
5473
+
5474
+ #: ../shared/templates/email-templates/wp-notify-post-author/wp-notify-post-author.php:33
5475
+ msgid "New Comment"
5476
+ msgstr ""
5477
+
5478
+ #: ../shared/templates/email-templates/wp-notify-post-author/wp-notify-post-author.php:34
5479
+ msgid ""
5480
+ "{{wp-user-displayname}}, There is a new comment on the post \"<a href="
5481
+ "\"{{wp-comment-url}}\">{{wp-post-title}}</a>"
5482
+ msgstr ""
5483
+
5484
+ #: ../templates/countdown-lander/config.php:36
5485
+ #: ../templates/demo/config.php:116 ../templates/dropcap/config.php:56
5486
+ #: ../templates/half-and-half/config.php:56
5487
+ #: ../templates/simple-solid-lite/config.php:55
5488
+ #: ../templates/simple-two-column/config.php:42
5489
+ #: ../templates/svtle/config.php:55
5490
+ #: ../templates/three-column-lander/config.php:56
5491
+ #: ../templates/tubelar/config.php:75
5492
+ msgid "Call to Action Content"
5493
+ msgstr ""
5494
+
5495
+ #: ../templates/countdown-lander/config.php:37
5496
+ #: ../templates/demo/config.php:117 ../templates/dropcap/config.php:57
5497
+ #: ../templates/half-and-half/config.php:57
5498
+ #: ../templates/simple-solid-lite/config.php:56
5499
+ #: ../templates/simple-two-column/config.php:43
5500
+ #: ../templates/svtle/config.php:56
5501
+ #: ../templates/three-column-lander/config.php:57
5502
+ #: ../templates/tubelar/config.php:76
5503
+ msgid "Place your call to action here."
5504
+ msgstr ""
5505
+
5506
+ #: ../templates/countdown-lander/config.php:43 ../templates/demo/config.php:94
5507
+ #: ../templates/dropcap/config.php:35 ../templates/half-and-half/config.php:35
5508
+ #: ../templates/simple-solid-lite/config.php:33
5509
+ #: ../templates/simple-two-column/config.php:49
5510
+ #: ../templates/svtle/config.php:34
5511
+ #: ../templates/three-column-lander/config.php:35
5512
+ #: ../templates/tubelar/config.php:53
5513
+ msgid "Main Content"
5514
+ msgstr ""
5515
+
5516
+ #: ../templates/countdown-lander/config.php:44 ../templates/demo/config.php:95
5517
+ #: ../templates/dropcap/config.php:36 ../templates/half-and-half/config.php:36
5518
+ #: ../templates/simple-solid-lite/config.php:34
5519
+ #: ../templates/simple-two-column/config.php:50
5520
+ #: ../templates/svtle/config.php:35
5521
+ #: ../templates/three-column-lander/config.php:36
5522
+ #: ../templates/tubelar/config.php:54
5523
+ msgid "This is the default content from template."
5524
+ msgstr ""
5525
+
5526
+ #: ../templates/svtle/config.php:62 ../templates/svtle/config.php:63
5527
+ #: ../templates/tubelar/config.php:132
5528
+ msgid "Display Social Media Share Buttons"
5529
+ msgstr ""
5530
+
5531
+ #: ../templates/svtle/config.php:71
5532
+ msgid "Sidebar Layout"
5533
+ msgstr ""
5534
+
5535
+ #: ../templates/svtle/config.php:72
5536
+ msgid "Align sidebar to the left or the right"
5537
+ msgstr ""
5538
+
5539
+ #: ../templates/svtle/config.php:76
5540
+ msgid "Sidebar on left"
5541
+ msgstr ""
5542
+
5543
+ #: ../templates/svtle/config.php:76
5544
+ msgid "Sidebar on right"
5545
+ msgstr ""
5546
+
5547
+ #: ../templates/svtle/config.php:80 ../templates/svtle/config.php:81
5548
+ msgid "Submit Button Background Color"
5549
+ msgstr ""
5550
+
5551
+ #: ../templates/svtle/config.php:82
5552
+ msgid "submit-button-color"
5553
+ msgstr ""
5554
+
5555
+ #: ../templates/svtle/config.php:88 ../templates/tubelar/config.php:124
5556
+ msgid "Logo Image"
5557
+ msgstr ""
5558
+
5559
+ #: ../templates/svtle/config.php:89
5560
+ msgid "Upload Your Logo (300x110px)"
5561
+ msgstr ""
5562
+
5563
+ #: ../templates/svtle/config.php:96 ../templates/svtle/config.php:97
5564
+ msgid "Content Area Background Color"
5565
+ msgstr ""
5566
+
5567
+ #: ../templates/svtle/config.php:104
5568
+ msgid "Content Area Text Color"
5569
+ msgstr ""
5570
+
5571
+ #: ../templates/svtle/config.php:105
5572
+ msgid "Use this setting to change the template's text color"
5573
+ msgstr ""
5574
+
5575
+ #: ../templates/svtle/config.php:112
5576
+ msgid "Sidebar color"
5577
+ msgstr ""
5578
+
5579
+ #: ../templates/svtle/config.php:113
5580
+ msgid "Use this setting to change the template's sidebar color"
5581
+ msgstr ""
5582
+
5583
+ #: ../templates/svtle/config.php:120
5584
+ msgid "Sidebar Text Color"
5585
+ msgstr ""
5586
+
5587
+ #: ../templates/svtle/config.php:121
5588
+ msgid "Use this setting to change the template's sidebar text color"
5589
+ msgstr ""
5590
+
5591
+ #: ../templates/svtle/config.php:128
5592
+ msgid "Header Color"
5593
+ msgstr ""
5594
+
5595
+ #: ../templates/svtle/config.php:129
5596
+ msgid "Use this setting to change the template's header color"
5597
+ msgstr ""
5598
+
5599
+ #: ../templates/svtle/config.php:136
5600
+ msgid "Display form below content on mobile?"
5601
+ msgstr ""
5602
+
5603
+ #: ../templates/svtle/config.php:137
5604
+ msgid "Toggle this on to render the form below the content in the mobile view"
5605
+ msgstr ""
5606
+
5607
+ #: ../templates/three-column-lander/config.php:63
5608
+ msgid "Conversion Area Placement"
5609
+ msgstr ""
5610
+
5611
+ #: ../templates/three-column-lander/config.php:64
5612
+ msgid "Where do you want to place the conversion area?"
5613
+ msgstr ""
5614
+
5615
+ #: ../templates/three-column-lander/config.php:72
5616
+ #: ../templates/three-column-lander/config.php:73
5617
+ msgid "Submit Button Color"
5618
+ msgstr ""
5619
+
5620
+ #: ../templates/three-column-lander/config.php:80
5621
+ msgid "Left Content Background Color"
5622
+ msgstr ""
5623
+
5624
+ #: ../templates/three-column-lander/config.php:81
5625
+ #: ../templates/three-column-lander/config.php:121
5626
+ msgid "Content Background Color"
5627
+ msgstr ""
5628
+
5629
+ #: ../templates/three-column-lander/config.php:88
5630
+ msgid "Left Content Text Color"
5631
+ msgstr ""
5632
+
5633
+ #: ../templates/three-column-lander/config.php:89
5634
+ #: ../templates/three-column-lander/config.php:129
5635
+ msgid "Content Text Color"
5636
+ msgstr ""
5637
+
5638
+ #: ../templates/three-column-lander/config.php:96
5639
+ msgid "Left Content"
5640
+ msgstr ""
5641
+
5642
+ #: ../templates/three-column-lander/config.php:97
5643
+ msgid "Left Content Area"
5644
+ msgstr ""
5645
+
5646
+ #: ../templates/three-column-lander/config.php:104
5647
+ msgid "Middle Content Background Color"
5648
+ msgstr ""
5649
+
5650
+ #: ../templates/three-column-lander/config.php:105
5651
+ msgid ""
5652
+ "Content Background Color. The content of this area is controlled by the main "
5653
+ "editor above"
5654
+ msgstr ""
5655
+
5656
+ #: ../templates/three-column-lander/config.php:112
5657
+ msgid "Middle Content Text Color"
5658
+ msgstr ""
5659
+
5660
+ #: ../templates/three-column-lander/config.php:113
5661
+ msgid ""
5662
+ "Content Text Color. The content of this area is controlled by the main "
5663
+ "editor above"
5664
+ msgstr ""
5665
+
5666
+ #: ../templates/three-column-lander/config.php:120
5667
+ msgid "Right Content Background Color"
5668
+ msgstr ""
5669
+
5670
+ #: ../templates/three-column-lander/config.php:128
5671
+ msgid "Right Content Text Color"
5672
+ msgstr ""
5673
+
5674
+ #: ../templates/three-column-lander/config.php:136
5675
+ msgid "Right Content"
5676
+ msgstr ""
5677
+
5678
+ #: ../templates/three-column-lander/config.php:137
5679
+ msgid "Right Content Area"
5680
+ msgstr ""
5681
+
5682
+ #: ../templates/tubelar/config.php:82
5683
+ msgid "Youtube Background Video URL"
5684
+ msgstr ""
5685
+
5686
+ #: ../templates/tubelar/config.php:91
5687
+ msgid "Align sidebar to the right or the left."
5688
+ msgstr ""
5689
+
5690
+ #: ../templates/tubelar/config.php:100 ../templates/tubelar/config.php:116
5691
+ msgid "Use this setting to change the content area's background color"
5692
+ msgstr ""
5693
+
5694
+ #: ../templates/tubelar/config.php:115
5695
+ msgid "Background Color Settings"
5696
+ msgstr ""
5697
+
5698
+ #: ../templates/tubelar/config.php:121
5699
+ msgid "Transparent Background"
5700
+ msgstr ""
5701
+
5702
+ #: ../templates/tubelar/config.php:125
5703
+ msgid "Upload your logo (300px x 110px) "
5704
+ msgstr ""
5705
+
5706
+ #: ../templates/tubelar/config.php:133
5707
+ msgid "Toggle social sharing on and off"
5708
+ msgstr ""
5709
+
5710
+ #: ../templates/tubelar/config.php:141
5711
+ msgid "Show Play Controls"
5712
+ msgstr ""
5713
+
5714
+ #: ../templates/tubelar/config.php:142
5715
+ msgid "Toggle display of background video controls on or off."
5716
+ msgstr ""
modules/module.clone.php CHANGED
@@ -1 +1 @@
1
- <?php
1
+ <?php
modules/module.customizer.php CHANGED
@@ -1 +1 @@
1
- <?php
2
  wp_register_script('lp-customizer-load-js', LANDINGPAGES_URLPATH . 'js/customizer.load.js', array('jquery'));
3
  wp_enqueue_script('lp-customizer-load-js');
 
4
  wp_register_script('lp-customizer-load-js', LANDINGPAGES_URLPATH . 'js/customizer.load.js', array('jquery'));
5
  wp_enqueue_script('lp-customizer-load-js');
 
1
  wp_register_script('lp-customizer-load-js', LANDINGPAGES_URLPATH . 'js/customizer.load.js', array('jquery'));
2
  wp_enqueue_script('lp-customizer-load-js');
3
+ <?php
4
  wp_register_script('lp-customizer-load-js', LANDINGPAGES_URLPATH . 'js/customizer.load.js', array('jquery'));
5
  wp_enqueue_script('lp-customizer-load-js');
modules/module.global-settings.php CHANGED
@@ -448,7 +448,7 @@ Host: <?php echo $host . "\n"; ?>
448
  Registered Post Stati: <?php echo implode( ', ', get_post_stati() ) . "\n\n"; ?>
449
 
450
  PHP Version: <?php echo PHP_VERSION . "\n"; ?>
451
- MySQL Version: <?php echo mysql_get_server_info() . "\n"; ?>
452
  Web Server Info: <?php echo $_SERVER['SERVER_SOFTWARE'] . "\n"; ?>
453
 
454
  PHP Safe Mode: <?php echo ini_get( 'safe_mode' ) ? "Yes" : "No\n"; ?>
448
  Registered Post Stati: <?php echo implode( ', ', get_post_stati() ) . "\n\n"; ?>
449
 
450
  PHP Version: <?php echo PHP_VERSION . "\n"; ?>
451
+ MySQL Version: <?php echo mysql_get_server_info( $wpdb->dbh ) . "\n"; ?>
452
  Web Server Info: <?php echo $_SERVER['SERVER_SOFTWARE'] . "\n"; ?>
453
 
454
  PHP Safe Mode: <?php echo ini_get( 'safe_mode' ) ? "Yes" : "No\n"; ?>
modules/module.install.php CHANGED
@@ -13,7 +13,7 @@ function inbound_create_default_post_type(){
13
  //delete_option( 'lp_settings_general' );
14
  $lp_default_options = get_option($option_name);
15
  // Create Default if it doesn't exist
16
- if ( ! isset( $lp_default_options[$option_key] ) )
17
  {
18
  $default_lander = wp_insert_post(
19
  array(
@@ -25,17 +25,17 @@ function inbound_create_default_post_type(){
25
  'comment_status' => 'closed'
26
  )
27
  );
28
-
29
  // Variation A
30
  add_post_meta($default_lander, 'lp-main-headline', __( 'Main Catchy Headline (A)' , 'landing-pages') );
31
  add_post_meta($default_lander, 'lp-selected-template', 'svtle');
32
- add_post_meta($default_lander, 'svtle-conversion-area-content', '<h2>'.__( 'Form a' , 'landing-pages') .'</h2><form action="" method="post">'. __( 'First Name' , 'landing-pages') .': <input name="first-name" type="text" /><br>'. __('Last Name' , 'landing-pages') .': <input name="last-name" type="text" /><br>'.__('Email' , 'landing-pages') .':<input name="email" type="text" /><br><input name="submit" type="submit" value="'.__('Submit' , 'landing-pages').'" /></form>' );
33
  add_post_meta($default_lander, 'svtle-main-content', __( '<p>This is the first paragraph of your landing page where you want to draw the viewers in and quickly explain your value proposition.</p><p><strong>Use Bullet Points to:</strong><ul><li>Explain why they should fill out the form</li><li>What they will learn if they download</li><li>A problem this form will solve for them</li></ul></p><p>Short ending paragraph reiterating the value behind the form</p>' , 'landing-pages') );
34
-
35
  // variation B
36
  add_post_meta($default_lander, 'lp-main-headline-1', __('Main Catchy Headline Two (B)' , 'landing-pages') );
37
  add_post_meta($default_lander, 'lp-selected-template-1', 'svtle');
38
- add_post_meta($default_lander, 'svtle-conversion-area-content-1', '<h2>'.__( 'Form B' , 'landing-pages') .'</h2><form action="" method="post">'. __( 'First Name' , 'landing-pages') .': <input name="first-name" type="text" /><br>'. __('Last Name' , 'landing-pages') .': <input name="last-name" type="text" /><br>'.__('Email' , 'landing-pages') .':<input name="email" type="text" /><br><input name="submit" type="submit" value="'.__('Submit' , 'landing-pages').'" /></form>' , 'landing-pages');
39
  add_post_meta($default_lander, 'svtle-main-content-1', '<p>(Version B) This is the first paragraph of your landing page where you want to draw the viewers in and quickly explain your value proposition.</p><p><strong>Use Bullet Points to:</strong><ul><li>Explain why they should fill out the form</li><li>What they will learn if they download</li><li>A problem this form will solve for them</li></ul></p><p>Short ending paragraph reiterating the value behind the form</p>');
40
 
41
  // Add A/B Testing meta
@@ -44,7 +44,7 @@ function inbound_create_default_post_type(){
44
  add_post_meta($default_lander, 'lp-ab-variation-impressions-1', 35);
45
  add_post_meta($default_lander, 'lp-ab-variation-conversions-0', 10);
46
  add_post_meta($default_lander, 'lp-ab-variation-conversions-1', 15);
47
-
48
  // Add template meta A
49
  add_post_meta($default_lander, 'svtle-submit-button-color', '5baa1e');
50
  add_post_meta($default_lander, 'svtle-display-social', '0');
@@ -55,7 +55,7 @@ function inbound_create_default_post_type(){
55
  add_post_meta($default_lander, 'svtle-sidebar-color', 'ffffff');
56
  add_post_meta($default_lander, 'svtle-sidebar-text-color', '000000');
57
  add_post_meta($default_lander, 'svtle-header-color', 'ffffff');
58
-
59
  // Add template meta B
60
  add_post_meta($default_lander, 'svtle-submit-button-color-1', 'ff0c00');
61
  add_post_meta($default_lander, 'svtle-display-social-1', '0');
@@ -66,7 +66,7 @@ function inbound_create_default_post_type(){
66
  add_post_meta($default_lander, 'svtle-sidebar-color-1', '51b0ef');
67
  add_post_meta($default_lander, 'svtle-sidebar-text-color-1', '000000');
68
  add_post_meta($default_lander, 'svtle-header-color-1', '51b0ef');
69
-
70
 
71
  // Store our page IDs
72
  $options = array(
13
  //delete_option( 'lp_settings_general' );
14
  $lp_default_options = get_option($option_name);
15
  // Create Default if it doesn't exist
16
+ if ( ! isset( $lp_default_options[$option_key] ) )
17
  {
18
  $default_lander = wp_insert_post(
19
  array(
25
  'comment_status' => 'closed'
26
  )
27
  );
28
+
29
  // Variation A
30
  add_post_meta($default_lander, 'lp-main-headline', __( 'Main Catchy Headline (A)' , 'landing-pages') );
31
  add_post_meta($default_lander, 'lp-selected-template', 'svtle');
32
+ add_post_meta($default_lander, 'svtle-conversion-area-content', '<h2>'.__( 'Form a' , 'landing-pages') .'</h2>[inbound_forms id="default_1" name="First, Last, Email Form"]' );
33
  add_post_meta($default_lander, 'svtle-main-content', __( '<p>This is the first paragraph of your landing page where you want to draw the viewers in and quickly explain your value proposition.</p><p><strong>Use Bullet Points to:</strong><ul><li>Explain why they should fill out the form</li><li>What they will learn if they download</li><li>A problem this form will solve for them</li></ul></p><p>Short ending paragraph reiterating the value behind the form</p>' , 'landing-pages') );
34
+
35
  // variation B
36
  add_post_meta($default_lander, 'lp-main-headline-1', __('Main Catchy Headline Two (B)' , 'landing-pages') );
37
  add_post_meta($default_lander, 'lp-selected-template-1', 'svtle');
38
+ add_post_meta($default_lander, 'svtle-conversion-area-content-1', '<h2>'.__( 'Form B' , 'landing-pages') .'</h2>[inbound_forms id="default_1" name="First, Last, Email Form"]');
39
  add_post_meta($default_lander, 'svtle-main-content-1', '<p>(Version B) This is the first paragraph of your landing page where you want to draw the viewers in and quickly explain your value proposition.</p><p><strong>Use Bullet Points to:</strong><ul><li>Explain why they should fill out the form</li><li>What they will learn if they download</li><li>A problem this form will solve for them</li></ul></p><p>Short ending paragraph reiterating the value behind the form</p>');
40
 
41
  // Add A/B Testing meta
44
  add_post_meta($default_lander, 'lp-ab-variation-impressions-1', 35);
45
  add_post_meta($default_lander, 'lp-ab-variation-conversions-0', 10);
46
  add_post_meta($default_lander, 'lp-ab-variation-conversions-1', 15);
47
+
48
  // Add template meta A
49
  add_post_meta($default_lander, 'svtle-submit-button-color', '5baa1e');
50
  add_post_meta($default_lander, 'svtle-display-social', '0');
55
  add_post_meta($default_lander, 'svtle-sidebar-color', 'ffffff');
56
  add_post_meta($default_lander, 'svtle-sidebar-text-color', '000000');
57
  add_post_meta($default_lander, 'svtle-header-color', 'ffffff');
58
+
59
  // Add template meta B
60
  add_post_meta($default_lander, 'svtle-submit-button-color-1', 'ff0c00');
61
  add_post_meta($default_lander, 'svtle-display-social-1', '0');
66
  add_post_meta($default_lander, 'svtle-sidebar-color-1', '51b0ef');
67
  add_post_meta($default_lander, 'svtle-sidebar-text-color-1', '000000');
68
  add_post_meta($default_lander, 'svtle-header-color-1', '51b0ef');
69
+
70
 
71
  // Store our page IDs
72
  $options = array(
modules/module.load-extensions.php CHANGED
@@ -1 +1 @@
1
- <?php
2
  * LOAD NATIVE TEMPLATES FROM WP-CONTENT/PLUGINS LANDING-PAGES/TEMPLATES/
3
  */
4
  * LOAD NON-NATIVE TEMPLATES FROM WP-CONTENT/UPLOADS/LANDING-PAGES/TEMPLATES/
5
  */
6
  /**
7
  * DECLARE HELPER FUNCTIONS
8
  */
 
9
  * LOAD NON-NATIVE TEMPLATES FROM WP-CONTENT/UPLOADS/LANDING-PAGES/TEMPLATES/
10
  */
 
1
  * LOAD NATIVE TEMPLATES FROM WP-CONTENT/PLUGINS LANDING-PAGES/TEMPLATES/
2
  */
3
  * LOAD NON-NATIVE TEMPLATES FROM WP-CONTENT/UPLOADS/LANDING-PAGES/TEMPLATES/
4
  */
5
  /**
6
  * DECLARE HELPER FUNCTIONS
7
  */
8
+ <?php
9
  * LOAD NON-NATIVE TEMPLATES FROM WP-CONTENT/UPLOADS/LANDING-PAGES/TEMPLATES/
10
  */
modules/module.metaboxes.php CHANGED
@@ -450,9 +450,11 @@ function landing_pages_save_custom_js($post_id) {
450
  add_action('add_meta_boxes', 'add_custom_meta_box_lp_conversion_log');
451
 
452
  function add_custom_meta_box_lp_conversion_log() {
453
- add_meta_box('lp_conversion_log_metabox', __( 'Lead Captures' , 'landing-pages') , 'lp_conversion_log_metabox', 'landing-page', 'normal', 'low');
454
  }
455
 
 
 
456
  function lp_conversion_log_metabox() {
457
 
458
 
@@ -470,6 +472,8 @@ function lp_conversion_log_metabox() {
470
  global $wpdb;
471
 
472
  $final_data = array();
 
 
473
  $query = "SELECT
474
  wposts.*
475
  FROM ".$wpdb->posts." AS wposts
@@ -514,24 +518,7 @@ function lp_conversion_log_metabox() {
514
 
515
  $final_data[] = $this_data;
516
  }
517
- /* Port Old Conversion Logs to new inbound_conversion_data. Not Finished
518
- $page_conversion_data = get_post_meta( $post->ID, 'inbound_conversion_data', TRUE );
519
- $page_conversion_data = json_decode($page_conversion_data,true);
520
- $version = '0';
521
- if (is_array($page_conversion_data)){
522
- $convert_count = count($page_conversion_data) + 1;
523
- $page_conversion_data[$convert_count]['lead_id'] = $row['ID'];
524
- $page_conversion_data[$convert_count]['variation'] = $version;
525
- $page_conversion_data[$convert_count]['datetime'] = $datetime;
526
- } else {
527
- $convert_count = 1;
528
- $page_conversion_data[$convert_count]['lead_id'] = $row['ID'];
529
- $page_conversion_data[$convert_count]['variation'] = $version;
530
- $page_conversion_data[$convert_count]['datetime'] = $datetime;
531
- }
532
- $page_conversion_data = json_encode($page_conversion_data);
533
- update_post_meta($post->ID, 'inbound_conversion_data', $page_conversion_data);
534
- */
535
  }
536
  //print_r($final_data);
537
  $this->table_data = $final_data;
450
  add_action('add_meta_boxes', 'add_custom_meta_box_lp_conversion_log');
451
 
452
  function add_custom_meta_box_lp_conversion_log() {
453
+ //add_meta_box('lp_conversion_log_metabox', __( 'Lead Captures' , 'landing-pages') , 'lp_conversion_log_metabox', 'landing-page', 'normal', 'low');
454
  }
455
 
456
+
457
+ /* This class lists recent conversions for a landing page */
458
  function lp_conversion_log_metabox() {
459
 
460
 
472
  global $wpdb;
473
 
474
  $final_data = array();
475
+
476
+
477
  $query = "SELECT
478
  wposts.*
479
  FROM ".$wpdb->posts." AS wposts
518
 
519
  $final_data[] = $this_data;
520
  }
521
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
522
  }
523
  //print_r($final_data);
524
  $this->table_data = $final_data;
modules/module.templates.php CHANGED
@@ -26,7 +26,7 @@ else if (isset($_GET['page'])&&$_GET['page']=='lp_manage_templates')
26
  require_once( ABSPATH . 'wp-admin/includes/class-wp-list-table.php' );
27
  }
28
 
29
- class LP_MANAGE_TEMPLATES extends WP_List_Table
30
  {
31
  private $template_data;
32
  private $singular;
@@ -233,10 +233,6 @@ else if (isset($_GET['page'])&&$_GET['page']=='lp_manage_templates')
233
 
234
  }
235
 
236
-
237
-
238
-
239
-
240
  function lp_manage_templates()
241
  {
242
  lp_manage_templates_actions_check();
@@ -251,7 +247,7 @@ else if (isset($_GET['page'])&&$_GET['page']=='lp_manage_templates')
251
  </h2>
252
  <?php
253
 
254
- $myListTable = new LP_MANAGE_TEMPLATES();
255
  $myListTable->prepare_items();
256
  ?>
257
  <form method="post" >
26
  require_once( ABSPATH . 'wp-admin/includes/class-wp-list-table.php' );
27
  }
28
 
29
+ class LP_Manage_Custom_Templates extends WP_List_Table
30
  {
31
  private $template_data;
32
  private $singular;
233
 
234
  }
235
 
 
 
 
 
236
  function lp_manage_templates()
237
  {
238
  lp_manage_templates_actions_check();
247
  </h2>
248
  <?php
249
 
250
+ $myListTable = new LP_Manage_Custom_Templates();
251
  $myListTable->prepare_items();
252
  ?>
253
  <form method="post" >
readme.txt CHANGED
@@ -7,7 +7,7 @@ License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
  Tags: landing pages, inbound marketing, conversion pages, split testing, a b test, a b testing, a/b test, a/b testing, coming soon page, email list, landing page, list building, maintenance page, squeeze page, inbound now, landing-pages, splash pages, cpa, click tracking, goal tracking, analytics, free landing page templates
8
  Requires at least: 3.8
9
  Tested up to: 3.9
10
- Stable Tag: 1.5.8
11
 
12
  Create landing pages for your WordPress site. Monitor and improve conversion rates, run A/B split tests, customize your own templates and more.
13
 
@@ -72,6 +72,11 @@ The plugin is also fully extendable and has a number of <a href='http://docs.inb
72
  4. Choose from a ton of pre-made templates, use your existing design, or design your own theme!
73
 
74
  == Changelog ==
 
 
 
 
 
75
  = 1.5.8 =
76
  * Bug Fix: Check all required fields
77
 
7
  Tags: landing pages, inbound marketing, conversion pages, split testing, a b test, a b testing, a/b test, a/b testing, coming soon page, email list, landing page, list building, maintenance page, squeeze page, inbound now, landing-pages, splash pages, cpa, click tracking, goal tracking, analytics, free landing page templates
8
  Requires at least: 3.8
9
  Tested up to: 3.9
10
+ Stable Tag: 1.5.9
11
 
12
  Create landing pages for your WordPress site. Monitor and improve conversion rates, run A/B split tests, customize your own templates and more.
13
 
72
  4. Choose from a ton of pre-made templates, use your existing design, or design your own theme!
73
 
74
  == Changelog ==
75
+ = 1.5.9 =
76
+ * Various bug fixes.
77
+ * Refactored main plugin file to class loader.
78
+ * Improved localization systems.
79
+
80
  = 1.5.8 =
81
  * Bug Fix: Check all required fields
82
 
shared/assets/assets.loader.class.php CHANGED
@@ -1,15 +1,8 @@
1
  <?php
2
- /*
3
  Inbound Scripts and CSS Enqueue
4
  */
5
 
6
- if (!defined('INBOUND_SHARED_ASSETS')) {
7
- define('INBOUND_SHARED_ASSETS', plugin_dir_url(__FILE__));
8
- }
9
-
10
- if (!defined('INBOUND_SHARED_ASSETS_PATH')) {
11
- define('INBOUND_SHARED_ASSETS_PATH', WP_PLUGIN_DIR.'/'.plugin_basename( dirname(__FILE__) ).'/' );
12
- }
13
 
14
  if (!class_exists('Inbound_Asset_Loader')) {
15
  class Inbound_Asset_Loader {
@@ -39,7 +32,7 @@ class Inbound_Asset_Loader {
39
  /* Conditionals for admin or frontend */
40
  if(is_admin()) {
41
 
42
- $inbound_now_screens = InboundCompatibility::return_inbound_now_screens(); // list of inbound now screens
43
  $screen = get_current_screen();
44
 
45
  /* Target Specific screen with // echo $screen->id; */
@@ -91,17 +84,17 @@ class Inbound_Asset_Loader {
91
  static function load_file($name, $file_name, $deps = array(), $localize_var = null, $localize_array = array()) {
92
  $is_script = false;
93
  $deps = (empty($deps)) ? array() : $deps;
94
- $url = INBOUND_SHARED_ASSETS . $file_name;
95
- $file = INBOUND_SHARED_ASSETS_PATH . $file_name;
 
96
  $file_type = strpos($file_name, '.js');
97
  if (!(false === $file_type)) { $is_script = true; }
98
 
99
  if(file_exists($file)) {
100
  if($is_script) {
101
- // wp_register_script( $handle, $src, $deps, $ver, $in_footer );
102
- // $deps = array(), $ver = false, $in_footer = false
103
  wp_register_script($name, $url, $deps);
104
  wp_enqueue_script($name);
 
105
  if ($localize_var != null) {
106
  wp_localize_script( $name , $localize_var, $localize_array );
107
  }
1
  <?php
2
+ /**
3
  Inbound Scripts and CSS Enqueue
4
  */
5
 
 
 
 
 
 
 
 
6
 
7
  if (!class_exists('Inbound_Asset_Loader')) {
8
  class Inbound_Asset_Loader {
32
  /* Conditionals for admin or frontend */
33
  if(is_admin()) {
34
 
35
+ $inbound_now_screens = Inbound_Compatibility::return_inbound_now_screens(); // list of inbound now screens
36
  $screen = get_current_screen();
37
 
38
  /* Target Specific screen with // echo $screen->id; */
84
  static function load_file($name, $file_name, $deps = array(), $localize_var = null, $localize_array = array()) {
85
  $is_script = false;
86
  $deps = (empty($deps)) ? array() : $deps;
87
+ $url = INBOUDNOW_SHARED_URLPATH . 'assets/' . $file_name;
88
+ $file = INBOUDNOW_SHARED_PATH . 'assets/' . $file_name;
89
+
90
  $file_type = strpos($file_name, '.js');
91
  if (!(false === $file_type)) { $is_script = true; }
92
 
93
  if(file_exists($file)) {
94
  if($is_script) {
 
 
95
  wp_register_script($name, $url, $deps);
96
  wp_enqueue_script($name);
97
+
98
  if ($localize_var != null) {
99
  wp_localize_script( $name , $localize_var, $localize_array );
100
  }
shared/assets/frontend/js/page-tracking-new.js ADDED
@@ -0,0 +1,1119 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Lead Tracking JS
3
+ * http://www.inboundnow.com
4
+ */
5
+ var inbound_data = inbound_data || {};
6
+ // Ensure global _gaq Google Analytics queue has been initialized.
7
+ var _gaq = _gaq || [];
8
+ var InboundAnalytics = (function () {
9
+
10
+ var debugMode = false;
11
+
12
+ var _privateMethod = function () {
13
+ console.log('Run private');
14
+ };
15
+
16
+ var App = {
17
+ init: function () {
18
+ this.polyFills();
19
+ InboundAnalytics.PageTracking.StorePageView();
20
+ InboundAnalytics.Events.loadEvents();
21
+ InboundAnalytics.Utils.init();
22
+ },
23
+ polyFills: function() {
24
+ /* Console.log fix for old browsers */
25
+ if (!window.console) { window.console = {}; }
26
+ var m = [
27
+ "log", "info", "warn", "error", "debug", "trace", "dir", "group",
28
+ "groupCollapsed", "groupEnd", "time", "timeEnd", "profile", "profileEnd",
29
+ "dirxml", "assert", "count", "markTimeline", "timeStamp", "clear"
30
+ ];
31
+ // define undefined methods as noops to prevent errors
32
+ for (var i = 0; i < m.length; i++) {
33
+ if (!window.console[m[i]]) {
34
+ window.console[m[i]] = function() {};
35
+ }
36
+ }
37
+ /* Event trigger polyfill for IE9 and 10 */
38
+ (function () {
39
+ function CustomEvent ( event, params ) {
40
+ params = params || { bubbles: false, cancelable: false, detail: undefined };
41
+ var evt = document.createEvent( 'CustomEvent' );
42
+ evt.initCustomEvent( event, params.bubbles, params.cancelable, params.detail );
43
+ return evt;
44
+ };
45
+
46
+ CustomEvent.prototype = window.Event.prototype;
47
+
48
+ window.CustomEvent = CustomEvent;
49
+ })();
50
+ },
51
+ /* Debugger Function toggled by var debugMode */
52
+ debug: function(msg,callback){
53
+ //if app not in debug mode, exit immediately
54
+ if(!debugMode || !console){return};
55
+ var msg = msg || false;
56
+ //console.log the message
57
+ if(msg && (typeof msg === 'string')){console.log(msg)};
58
+
59
+ //execute the callback if one was passed-in
60
+ if(callback && (callback instanceof Function)){
61
+ callback();
62
+ };
63
+ }
64
+ };
65
+
66
+ return App;
67
+
68
+ })();
69
+
70
+
71
+ /**
72
+ * Utility functions
73
+ * @param Object InboundAnalytics - Main JS object
74
+ * @return Object - include util functions
75
+ */
76
+ var InboundAnalyticsUtils = (function (InboundAnalytics) {
77
+
78
+ InboundAnalytics.Utils = {
79
+ init: function() {
80
+ this.setUrlParams();
81
+ this.SetUID();
82
+ this.getReferer();
83
+
84
+ },
85
+ // Create cookie
86
+ createCookie: function(name, value, days, custom_time) {
87
+ var expires = "";
88
+ if (days) {
89
+ var date = new Date();
90
+ date.setTime(date.getTime()+(days*24*60*60*1000));
91
+ expires = "; expires="+date.toGMTString();
92
+ }
93
+ if(custom_time){
94
+ expires = "; expires="+days.toGMTString();
95
+ }
96
+ document.cookie = name+"="+value+expires+"; path=/";
97
+ },
98
+ // Read cookie
99
+ readCookie: function(name) {
100
+ var nameEQ = name + "=";
101
+ var ca = document.cookie.split(';');
102
+ for(var i=0;i < ca.length;i++) {
103
+ var c = ca[i];
104
+ while (c.charAt(0) === ' ') {
105
+ c = c.substring(1,c.length);
106
+ }
107
+ if (c.indexOf(nameEQ) === 0) {
108
+ return c.substring(nameEQ.length,c.length);
109
+ }
110
+ }
111
+ return null;
112
+ },
113
+ // Erase cookie
114
+ eraseCookie: function(name) {
115
+ createCookie(name,"",-1);
116
+ },
117
+ getAllCookies: function(){
118
+ var cookies = {};
119
+ if (document.cookie && document.cookie != '') {
120
+ var split = document.cookie.split(';');
121
+ for (var i = 0; i < split.length; i++) {
122
+ var name_value = split[i].split("=");
123
+ name_value[0] = name_value[0].replace(/^ /, '');
124
+ cookies[decodeURIComponent(name_value[0])] = decodeURIComponent(name_value[1]);
125
+ }
126
+ }
127
+ jQuery.totalStorage('inbound_cookies', cookies); // store cookie data
128
+ return cookies;
129
+ },
130
+ /* Grab URL params and save */
131
+ setUrlParams: function() {
132
+ var urlParams = {},
133
+ local_store = InboundAnalytics.Utils.checkLocalStorage();
134
+
135
+ (function () {
136
+ var e,
137
+ d = function (s) { return decodeURIComponent(s).replace(/\+/g, " "); },
138
+ q = window.location.search.substring(1),
139
+ r = /([^&=]+)=?([^&]*)/g;
140
+
141
+ while (e = r.exec(q)) {
142
+ if (e[1].indexOf("[") == "-1")
143
+ urlParams[d(e[1])] = d(e[2]);
144
+ else {
145
+ var b1 = e[1].indexOf("["),
146
+ aN = e[1].slice(b1+1, e[1].indexOf("]", b1)),
147
+ pN = d(e[1].slice(0, b1));
148
+
149
+ if (typeof urlParams[pN] != "object")
150
+ urlParams[d(pN)] = {},
151
+ urlParams[d(pN)].length = 0;
152
+
153
+ if (aN)
154
+ urlParams[d(pN)][d(aN)] = d(e[2]);
155
+ else
156
+ Array.prototype.push.call(urlParams[d(pN)], d(e[2]));
157
+
158
+ }
159
+ }
160
+ })();
161
+
162
+ if (JSON) {
163
+ for (var k in urlParams) {
164
+ if (typeof urlParams[k] == "object") {
165
+ for (var k2 in urlParams[k])
166
+ this.createCookie(k2, urlParams[k][k2], 30);
167
+ } else {
168
+ this.createCookie(k, urlParams[k], 30);
169
+ }
170
+ }
171
+ }
172
+
173
+ if(local_store){
174
+ var pastParams = jQuery.totalStorage('inbound_url_params');
175
+ var params = this.mergeObjs(pastParams, urlParams);
176
+ jQuery.totalStorage('inbound_url_params', params); // store cookie data
177
+ }
178
+ },
179
+ getUrlParams: function(){
180
+ var local_store = this.checkLocalStorage(),
181
+ get_params = {};
182
+ if(local_store){
183
+ var get_params = jQuery.totalStorage('inbound_url_params');
184
+ }
185
+ return get_params;
186
+ },
187
+ // Check local storage
188
+ // provate browsing safari fix https://github.com/marcuswestin/store.js/issues/42#issuecomment-25274685
189
+ checkLocalStorage: function() {
190
+ if ('localStorage' in window) {
191
+ try {
192
+ ls = (typeof window.localStorage === 'undefined') ? undefined : window.localStorage;
193
+ if (typeof ls == 'undefined' || typeof window.JSON == 'undefined'){
194
+ supported = false;
195
+ } else {
196
+ supported = true;
197
+ }
198
+
199
+ }
200
+ catch (err){
201
+ supported = false;
202
+ }
203
+ }
204
+ return supported;
205
+ /* http://spin.atomicobject.com/2013/01/23/ios-private-browsing-localstorage/
206
+ var hasStorage;
207
+ hasStorage = function() {
208
+ var mod, result;
209
+ try {
210
+ mod = new Date;
211
+ localStorage.setItem(mod, mod.toString());
212
+ result = localStorage.getItem(mod) === mod.toString();
213
+ localStorage.removeItem(mod);
214
+ return result;
215
+ } catch (_error) {}
216
+ };
217
+ */
218
+ },
219
+ /* Add days to datetime */
220
+ addDays: function(myDate,days) {
221
+ return new Date(myDate.getTime() + days*24*60*60*1000);
222
+ },
223
+ GetDate: function(){
224
+ var time_now = new Date(),
225
+ day = time_now.getDate() + 1;
226
+ year = time_now.getFullYear(),
227
+ hour = time_now.getHours(),
228
+ minutes = time_now.getMinutes(),
229
+ seconds = time_now.getSeconds(),
230
+ month = time_now.getMonth() + 1;
231
+ if (month < 10) { month = '0' + month; }
232
+ InboundAnalytics.debug('Current Date:',function(){
233
+ console.log(year + '/' + month + "/" + day + " " + hour + ":" + minutes + ":" + seconds);
234
+ });
235
+ var datetime = year + '/' + month + "/" + day + " " + hour + ":" + minutes + ":" + seconds;
236
+ return datetime;
237
+ },
238
+ /* Set Expiration Date of Session Logging */
239
+ SetSessionTimeout: function(){
240
+ var session_check = this.readCookie("lead_session_expire");
241
+ //console.log(session_check);
242
+ if(session_check === null){
243
+ InboundAnalytics.Events.sessionStart(); // trigger 'inbound_analytics_session_start'
244
+ } else {
245
+ InboundAnalytics.Events.sessionActive(); // trigger 'inbound_analytics_session_active'
246
+ }
247
+ var d = new Date();
248
+ d.setTime(d.getTime() + 30*60*1000);
249
+
250
+ this.createCookie("lead_session_expire", true, d, true); // Set cookie on page loads
251
+ var lead_data_expiration = this.readCookie("lead_data_expiration");
252
+ if (lead_data_expiration === null){
253
+ /* Set 3 day timeout for checking DB for new lead data for Lead_Global var */
254
+ var ex = this.addDays(d, 3);
255
+ this.createCookie("lead_data_expiration", ex, ex, true);
256
+ }
257
+
258
+ },
259
+ getReferer: function(){
260
+ //console.log(expire_time);
261
+ var d = new Date();
262
+ d.setTime(d.getTime() + 30*60*1000);
263
+ var referrer_cookie = InboundAnalytics.Utils.readCookie("wp_lead_referral_site");
264
+ if (typeof (referrer_cookie) === "undefined" || referrer_cookie === null || referrer_cookie === "") {
265
+ var referrer = document.referrer || "NA";
266
+ this.createCookie("wp_lead_referral_site", referrer, d, true); // Set cookie on page loads
267
+ }
268
+ },
269
+ CreateUID: function(length) {
270
+ var chars = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz'.split(''),
271
+ str = '';
272
+ if (! length) {
273
+ length = Math.floor(Math.random() * chars.length);
274
+ }
275
+ for (var i = 0; i < length; i++) {
276
+ str += chars[Math.floor(Math.random() * chars.length)];
277
+ }
278
+ return str;
279
+ },
280
+ SetUID: function () {
281
+ /* Set Lead UID */
282
+
283
+ if(this.readCookie("wp_lead_uid") === null) {
284
+ var wp_lead_uid = this.CreateUID(35);
285
+ this.createCookie("wp_lead_uid", wp_lead_uid );
286
+ InboundAnalytics.debug('Set UID');
287
+ }
288
+ },
289
+ /* Count number of session visits */
290
+ countProperties: function (obj) {
291
+ var count = 0;
292
+ for(var prop in obj) {
293
+ if(obj.hasOwnProperty(prop))
294
+ ++count;
295
+ }
296
+ return count;
297
+ },
298
+ mergeObjs: function(obj1,obj2){
299
+ var obj3 = {};
300
+ for (var attrname in obj1) { obj3[attrname] = obj1[attrname]; }
301
+ for (var attrname in obj2) { obj3[attrname] = obj2[attrname]; }
302
+ return obj3;
303
+ },
304
+ trim: function(s) {
305
+ s = s.replace(/(^\s*)|(\s*$)/gi,"");
306
+ s = s.replace(/[ ]{2,}/gi," ");
307
+ s = s.replace(/\n /,"\n"); return s;
308
+ },
309
+ doAjax: function(data, responseHandler, method, async){
310
+ // Set the variables
311
+ var url = wplft.admin_url || "",
312
+ method = method || "POST",
313
+ async = async || true,
314
+ data = data || null,
315
+ action = data.action;
316
+
317
+ InboundAnalytics.debug('Ajax Processed:',function(){
318
+ console.log('ran ajax action: ' + action);
319
+ });
320
+
321
+ jQuery.ajax({
322
+ type: method,
323
+ url: wplft.admin_url,
324
+ data: data,
325
+ success: responseHandler,
326
+ error: function(MLHttpRequest, textStatus, errorThrown){
327
+ console.log(MLHttpRequest+' '+errorThrown+' '+textStatus);
328
+ InboundAnalytics.Events.analyticsError(MLHttpRequest, textStatus, errorThrown);
329
+ }
330
+
331
+ });
332
+ },
333
+ contentLoaded: function(win, fn) {
334
+
335
+ var done = false, top = true,
336
+
337
+ doc = win.document, root = doc.documentElement,
338
+
339
+ add = doc.addEventListener ? 'addEventListener' : 'attachEvent',
340
+ rem = doc.addEventListener ? 'removeEventListener' : 'detachEvent',
341
+ pre = doc.addEventListener ? '' : 'on',
342
+
343
+ init = function(e) {
344
+ if (e.type == 'readystatechange' && doc.readyState != 'complete') return;
345
+ (e.type == 'load' ? win : doc)[rem](pre + e.type, init, false);
346
+ if (!done && (done = true)) fn.call(win, e.type || e);
347
+ },
348
+
349
+ poll = function() {
350
+ try { root.doScroll('left'); } catch(e) { setTimeout(poll, 50); return; }
351
+ init('poll');
352
+ };
353
+
354
+ if (doc.readyState == 'complete') fn.call(win, 'lazy');
355
+ else {
356
+ if (doc.createEventObject && root.doScroll) {
357
+ try { top = !win.frameElement; } catch(e) { }
358
+ if (top) poll();
359
+ }
360
+ doc[add](pre + 'DOMContentLoaded', init, false);
361
+ doc[add](pre + 'readystatechange', init, false);
362
+ win[add](pre + 'load', init, false);
363
+ }
364
+
365
+ },
366
+ addListener: function(obj, eventName, listener) {
367
+ if(obj.addEventListener) {
368
+ obj.addEventListener(eventName, listener, false);
369
+ } else {
370
+ obj.attachEvent("on" + eventName, listener);
371
+ }
372
+ }
373
+
374
+ };
375
+
376
+ return InboundAnalytics;
377
+
378
+ })(InboundAnalytics || {});
379
+
380
+
381
+ var InboundAnalyticsPageTracking = (function (InboundAnalytics) {
382
+
383
+ InboundAnalytics.PageTracking = {
384
+
385
+ getPageViews: function () {
386
+ var local_store = InboundAnalytics.Utils.checkLocalStorage();
387
+ if(local_store){
388
+ var page_views = localStorage.getItem("page_views"),
389
+ local_object = JSON.parse(page_views);
390
+ if (typeof local_object =='object' && local_object) {
391
+ this.StorePageView();
392
+ }
393
+ return local_object;
394
+ }
395
+ },
396
+ StorePageView: function() {
397
+ var timeout = this.CheckTimeOut();
398
+ var pageviewObj = jQuery.totalStorage('page_views');
399
+ if(pageviewObj === null) {
400
+ pageviewObj = {};
401
+ }
402
+ var current_page_id = wplft.post_id;
403
+ var datetime = InboundAnalytics.Utils.GetDate();
404
+
405
+ if (timeout) {
406
+ // If pageviewObj exists, do this
407
+ var page_seen = pageviewObj[current_page_id];
408
+
409
+ if(typeof(page_seen) != "undefined" && page_seen !== null) {
410
+ pageviewObj[current_page_id].push(datetime);
411
+ /* Page Revisit Trigger */
412
+ var page_seen_count = pageviewObj[current_page_id].length;
413
+ InboundAnalytics.Events.pageRevisit(page_seen_count);
414
+
415
+ } else {
416
+ pageviewObj[current_page_id] = [];
417
+ pageviewObj[current_page_id].push(datetime);
418
+ /* Page First Seen Trigger */
419
+ var page_seen_count = 1;
420
+ InboundAnalytics.Events.pageFirstView(page_seen_count);
421
+ }
422
+
423
+ jQuery.totalStorage('page_views', pageviewObj);
424
+
425
+ }
426
+ },
427
+ CheckTimeOut: function() {
428
+ var PageViews = jQuery.totalStorage('page_views');
429
+ if(PageViews === null) {
430
+ var PageViews = {};
431
+ }
432
+ var page_id = wplft.post_id,
433
+ pageviewTimeout = true, /* Default */
434
+ page_seen = PageViews[page_id];
435
+ if(typeof(page_seen) != "undefined" && page_seen !== null) {
436
+
437
+ var time_now = InboundAnalytics.Utils.GetDate(),
438
+ vc = PageViews[page_id].length - 1,
439
+ last_view = PageViews[page_id][vc],
440
+ last_view_ms = new Date(last_view).getTime(),
441
+ time_now_ms = new Date(time_now).getTime(),
442
+ timeout_ms = last_view_ms + 30*1000,
443
+ time_check = Math.abs(last_view_ms - time_now_ms),
444
+ wait_time = 30000;
445
+
446
+ InboundAnalytics.debug('Timeout Checks =',function(){
447
+ console.log('Current Time is: ' + time_now);
448
+ console.log('Last view is: ' + last_view);
449
+ console.log("Last view milliseconds " + last_view_ms);
450
+ console.log("time now milliseconds " + time_now_ms);
451
+ console.log("Wait Check: " + wait_time);
452
+ console.log("TIME CHECK: " + time_check);
453
+ });
454
+
455
+ //var wait_time = Math.abs(last_view_ms - timeout_ms) // output timeout time 30sec;
456
+
457
+ if (time_check < wait_time){
458
+ time_left = Math.abs((wait_time - time_check)) * .001;
459
+ pageviewTimeout = false;
460
+ var status = '30 sec timeout not done: ' + time_left + " seconds left";
461
+ } else {
462
+ var status = 'Timeout Happened. Page view fired';
463
+ this.firePageView();
464
+ pageviewTimeout = true;
465
+ InboundAnalytics.Events.analyticsTriggered();
466
+ }
467
+
468
+ //InboundAnalytics.debug('',function(){
469
+ console.log(status);
470
+ //});
471
+ } else {
472
+ /* Page never seen before */
473
+ this.firePageView();
474
+ }
475
+
476
+ return pageviewTimeout;
477
+
478
+ },
479
+ firePageView: function() {
480
+ var lead_id = InboundAnalytics.Utils.readCookie('wp_lead_id'),
481
+ lead_uid = InboundAnalytics.Utils.readCookie('wp_lead_uid');
482
+
483
+ if (typeof (lead_id) != "undefined" && lead_id != null && lead_id != "") {
484
+
485
+ InboundAnalytics.debug('Run page view ajax');
486
+
487
+ var data = {
488
+ action: 'wpl_track_user',
489
+ wp_lead_uid: lead_uid,
490
+ wp_lead_id: lead_id,
491
+ page_id: wplft.post_id,
492
+ current_url: window.location.href,
493
+ json: '0'
494
+ };
495
+ var firePageCallback = function(user_id){
496
+ InboundAnalytics.Events.analyticsSaved();
497
+ };
498
+ InboundAnalytics.Utils.doAjax(data, firePageCallback);
499
+ }
500
+ }
501
+ }
502
+
503
+ return InboundAnalytics;
504
+
505
+ })(InboundAnalytics || {});
506
+
507
+
508
+ /**
509
+ * Leads API functions
510
+ * @param Object InboundAnalytics - Main JS object
511
+ * @return Object - include event triggers
512
+ */
513
+ var InboundAnalyticsLeadsAPI = (function (InboundAnalytics) {
514
+ var httpRequest;
515
+ InboundAnalytics.LeadsAPI = {
516
+ init: function() {
517
+
518
+ },
519
+ storeLeadData: function(){
520
+ if(element.addEventListener) {
521
+ element.addEventListener("submit", function(evt){
522
+ evt.preventDefault();
523
+ window.history.back();
524
+ }, true);
525
+ } else {
526
+ element.attachEvent('onsubmit', function(evt){
527
+ evt.preventDefault();
528
+ window.history.back();
529
+ });
530
+ }
531
+ },
532
+ attachFormSubmitEvent: function (){
533
+ for(var i=0; i<window.document.forms.length; i++){
534
+ var form = window.document.forms[i];
535
+ var className = "wpl-track-me";
536
+ if ('classList' in document.documentElement) {
537
+ var hasClass = form.classList.contains(className);
538
+ } else {
539
+ var hasClass = new RegExp('(^|\\s)' + className + '(\\s|$)').test(form.className); /* IE Polyfill */
540
+ }
541
+ /* is tracked form */
542
+ if(hasClass){
543
+ console.log("Has Class", hasClass);
544
+ InboundAnalytics.Utils.addListener(form, 'submit', InboundAnalytics.LeadsAPI.formSubmit );
545
+ console.log(form);
546
+ }
547
+
548
+ }
549
+ console.log("RAN attach event");
550
+ },
551
+ makeRequest: function(url) {
552
+ if (window.XMLHttpRequest) { // Mozilla, Safari, ...
553
+ httpRequest = new XMLHttpRequest();
554
+ } else if (window.ActiveXObject) { // IE
555
+ try {
556
+ httpRequest = new ActiveXObject("Msxml2.XMLHTTP");
557
+ }
558
+ catch (e) {
559
+ try {
560
+ httpRequest = new ActiveXObject("Microsoft.XMLHTTP");
561
+ }
562
+ catch (e) {}
563
+ }
564
+ }
565
+
566
+ if (!httpRequest) {
567
+ alert('Giving up :( Cannot create an XMLHTTP instance');
568
+ return false;
569
+ }
570
+ httpRequest.onreadystatechange = InboundAnalytics.LeadsAPI.alertContents;
571
+ httpRequest.open('GET', url);
572
+ httpRequest.send();
573
+ },
574
+ inbound_map_fields: function (el, value, Obj) {
575
+ var formObj = [];
576
+ var $this = el;
577
+ var clean_output = value;
578
+ var label = $this.closest('label').text();
579
+ var exclude = ['credit-card']; // exlcude values from formObj
580
+ var inarray = jQuery.inArray(clean_output, exclude);
581
+ if(inarray == 0){
582
+ return null;
583
+ }
584
+ // Add items to formObj
585
+ formObj.push({
586
+ field_label: label,
587
+ field_name: $this.attr("name"),
588
+ field_value: $this.attr("value"),
589
+ field_id: $this.attr("id"),
590
+ field_class: $this.attr("class"),
591
+ field_type: $this.attr("type"),
592
+ match: clean_output,
593
+ js_selector: $this.attr("data-js-selector")
594
+ });
595
+ return formObj;
596
+ },
597
+ run_field_map_function: function (el, lookingfor) {
598
+ var return_form;
599
+ var formObj = new Array();
600
+ var $this = el;
601
+ var body = jQuery("body");
602
+ var input_id = $this.attr("id") || "NULL";
603
+ var input_name = $this.attr("name") || "NULL";
604
+ var this_val = $this.attr("value");
605
+ var array = lookingfor.split(",");
606
+ var array_length = array.length - 1;
607
+
608
+ // Main Loop
609
+ for (var i = 0; i < array.length; i++) {
610
+ var clean_output = InboundAnalytics.Utils.trim(array[i]);
611
+ var nice_name = clean_output.replace(/^\s+|\s+$/g,'');
612
+ var nice_name = nice_name.replace(" ",'_');
613
+ var in_object_already = nice_name in inbound_data;
614
+ //console.log(clean_output);
615
+
616
+ if (input_name.toLowerCase().indexOf(clean_output)>-1) {
617
+ /* Look for attr name match */
618
+ var the_map = InboundAnalytics.LeadsAPI.inbound_map_fields($this, clean_output, formObj);
619
+ InboundAnalytics.LeadsAPI.add_inbound_form_class($this, clean_output);
620
+ console.log('match name: ' + clean_output);
621
+ console.log(nice_name in inbound_data);
622
+ if (!in_object_already) {
623
+ inbound_data[nice_name] = this_val;
624
+ }
625
+ } else if (input_id.toLowerCase().indexOf(clean_output)>-1) {
626
+ /* look for id match */
627
+ var the_map = InboundAnalytics.LeadsAPI.inbound_map_fields($this, clean_output, formObj);
628
+ InboundAnalytics.LeadsAPI.add_inbound_form_class($this, clean_output);
629
+ console.log('match id: ' + clean_output);
630
+
631
+ if (!in_object_already) {
632
+ inbound_data[nice_name] = this_val;
633
+ }
634
+
635
+ } else if ($this.closest('li').children('label').length>0) {
636
+ /* Look for label name match */
637
+ var closest_label = $this.closest('li').children('label').html() || "NULL";
638
+ if (closest_label.toLowerCase().indexOf(clean_output)>-1) {
639
+
640
+ var the_map = InboundAnalytics.LeadsAPI.inbound_map_fields($this, clean_output, formObj);
641
+ InboundAnalytics.LeadsAPI.add_inbound_form_class($this, clean_output);
642
+ console.log($this.context);
643
+
644
+ var exists_in_dom = body.find("[data-inbound-form-map='inbound_map_" + nice_name + "']").length;
645
+ console.log(exists_in_dom);
646
+ console.log('match li: ' + clean_output);
647
+
648
+ if (!in_object_already) {
649
+ inbound_data[nice_name] = this_val;
650
+ }
651
+
652
+ }
653
+ } else if ($this.closest('div').children('label').length>0) {
654
+ /* Look for closest div label name match */
655
+ var closest_div = $this.closest('div').children('label').html() || "NULL";
656
+ if (closest_div.toLowerCase().indexOf(clean_output)>-1)
657
+ {
658
+ var the_map = InboundAnalytics.LeadsAPI.inbound_map_fields($this, clean_output, formObj);
659
+ InboundAnalytics.LeadsAPI.add_inbound_form_class($this, clean_output);
660
+ console.log('match div: ' + clean_output);
661
+ if (!in_object_already) {
662
+ inbound_data[nice_name] = this_val;
663
+ }
664
+ }
665
+ } else if ($this.closest('p').children('label').length>0) {
666
+ /* Look for closest p label name match */
667
+ var closest_p = $this.closest('p').children('label').html() || "NULL";
668
+ if (closest_p.toLowerCase().indexOf(clean_output)>-1)
669
+ {
670
+ var the_map = InboundAnalytics.LeadsAPI.inbound_map_fields($this, clean_output, formObj);
671
+ InboundAnalytics.LeadsAPI.add_inbound_form_class($this, clean_output);
672
+ console.log('match p: ' + clean_output);
673
+ if (!in_object_already) {
674
+ inbound_data[nice_name] = this_val;
675
+ }
676
+ }
677
+ } else {
678
+ console.log('Need additional mapping data');
679
+ }
680
+ }
681
+ return_form = the_map;
682
+
683
+ return inbound_data;
684
+ },
685
+ add_inbound_form_class: function(el, value) {
686
+ var value = value.replace(" ", "_");
687
+ var value = value.replace("-", "_");
688
+ el.addClass('inbound_map_value');
689
+ el.attr('data-inbound-form-map', 'inbound_map_' + value);
690
+ },
691
+ inbound_form_type: function(this_form) {
692
+ var inbound_data = inbound_data || {},
693
+ form_type = 'normal';
694
+ if ( this_form.is( ".wpl-comment-form" ) ) {
695
+ inbound_data['form_type'] = 'comment';
696
+ form_type = 'comment';
697
+ } else if ( this_form.is( ".wpl-search-box" ) ) {
698
+ var is_search = true;
699
+ form_type = 'search';
700
+ inbound_data['form_type'] = 'search';
701
+ } else if ( this_form.is( '.wpl-track-me-link' ) ){
702
+ var have_email = readCookie('wp_lead_email');
703
+ console.log(have_email);
704
+ inbound_data['form_type'] = 'link';
705
+ form_type = 'search';
706
+ }
707
+ return form_type;
708
+ },
709
+ grab_all_form_input_vals: function(this_form){
710
+ var post_values = post_values || {},
711
+ inbound_exclude = inbound_exclude || [],
712
+ form_inputs = this_form.find('input,textarea,select');
713
+ inbound_exclude.push('inbound_furl', 'inbound_current_page_url', 'inbound_notify', 'inbound_submitted', 'post_type', 'post_status', 's', 'inbound_form_name', 'inbound_form_id', 'inbound_form_lists');
714
+ var form_type = InboundAnalytics.LeadsAPI.inbound_form_type(this_form),
715
+ inbound_data = inbound_data || {},
716
+ email = inbound_data['email'] || false;
717
+
718
+ form_inputs.each(function() {
719
+ var $input = jQuery(this),
720
+ input_type = $input.attr('type'),
721
+ input_val = $input.val();
722
+ if (input_type === 'checkbox') {
723
+ input_checked = $input.attr("checked");
724
+ console.log(input_val);
725
+ console.log(input_checked);
726
+ console.log(post_values[this.name]);
727
+ if (input_checked === "checked"){
728
+ if (typeof (post_values[this.name]) != "undefined") {
729
+ post_values[this.name] = post_values[this.name] + "," + input_val;
730
+ console.log(post_values[this.name]);
731
+ } else {
732
+ post_values[this.name] = input_val;
733
+ }
734
+
735
+ }
736
+ }
737
+ if (jQuery.inArray(this.name, inbound_exclude) === -1 && input_type != 'checkbox'){
738
+ post_values[this.name] = input_val;
739
+ }
740
+ if (this.value.indexOf('@')>-1&&!email){
741
+ email = input_val;
742
+ inbound_data['email'] = email;
743
+ }
744
+ if (form_type === 'search') {
745
+ inbound_data['search_keyword'] = input_val.replace('"', "'");
746
+ }
747
+ });
748
+ var all_form_fields = JSON.stringify(post_values);
749
+ return all_form_fields;
750
+ },
751
+ return_mapped_values: function (this_form) {
752
+ // Map form fields
753
+ jQuery(this_form).find('input[type!="hidden"],textarea,select').each(function() {
754
+ console.log('run');
755
+ var this_input = jQuery(this);
756
+ var this_input_val = this_input.val();
757
+ if (typeof (this_input_val) != "undefined" && this_input_val != null && this_input_val != "") {
758
+ var inbound_data = InboundAnalytics.LeadsAPI.run_field_map_function( this_input, "name, first name, last name, email, e-mail, phone, website, job title, company, tele, address, comment");
759
+ }
760
+ return inbound_data;
761
+ });
762
+ return inbound_data;
763
+ },
764
+ inbound_form_submit: function(this_form, e) {
765
+ /* Define Variables */
766
+ var data = inbound_data || {};
767
+ // Dynamic JS object for passing custom values. This can be hooked into by third parties by using the below syntax.
768
+ var pageviewObj = jQuery.totalStorage('page_views');
769
+ data['page_view_count'] = InboundAnalytics.Utils.countProperties(pageviewObj);
770
+ data['leads_list'] = jQuery(this_form).find('#inbound_form_lists').val();
771
+ data['source'] = jQuery.cookie("wp_lead_referral_site") || "NA";
772
+ data['page_id'] = inbound_ajax.post_id;
773
+ data['page_views'] = JSON.stringify(pageviewObj);
774
+
775
+ // Map form fields
776
+ var returned_form_data = InboundAnalytics.LeadsAPI.return_mapped_values(this_form); //console.log(returned_form_data);
777
+ var data = InboundAnalytics.Utils.mergeObjs(data,returned_form_data); //console.log(data);
778
+ var this_form = jQuery(this_form);
779
+ // Set variables after mapping
780
+ data['email'] = (!data['email']) ? this_form.find('.inbound-email').val() : data['email'];
781
+ data['form_name'] = this_form.find('.inbound_form_name').val() || "Not Found";
782
+ data['form_id'] = this_form.find('.inbound_form_id').val() || "Not Found";
783
+ data['first_name'] = (!data['first_name']) ? data['name'] : data['first_name'];
784
+ data['last_name'] = data['last_name'] || '';
785
+ data['phone'] = data['phone'] || '';
786
+ data['company'] = data['company'] || '';
787
+ data['address'] = data['address'] || '';
788
+
789
+ // Fallbacks for values
790
+ data['name'] = (data['first_name'] && data['last_name']) ? data['first_name'] + " " + data['last_name'] : data['name'];
791
+
792
+ if (!data['last_name'] && data['first_name']) {
793
+ var parts = data['first_name'].split(" ");
794
+ data['first_name'] = parts[0];
795
+ data['last_name'] = parts[1];
796
+ }
797
+
798
+ /* Store form fields & exclude field values */
799
+ var all_form_fields = InboundAnalytics.LeadsAPI.grab_all_form_input_vals(this_form);
800
+ /* end Store form fields & exclude field values */
801
+
802
+ if(data['email']){
803
+ InboundAnalytics.Utils.createCookie("wp_lead_email", data['email'], 365); /* set email cookie */
804
+ }
805
+
806
+ //var variation = (typeof (landing_path_info) != "undefined") ? landing_path_info.variation : false;
807
+
808
+ if (typeof (landing_path_info) != "undefined") {
809
+ var variation = landing_path_info.variation;
810
+ } else if (typeof (cta_path_info) != "undefined") {
811
+ var variation = cta_path_info.variation;
812
+ } else {
813
+ var variation = 0;
814
+ }
815
+
816
+ data['variation'] = variation;
817
+ data['post_type'] = inbound_ajax.post_type;
818
+ data['wp_lead_uid'] = jQuery.cookie("wp_lead_uid") || null;
819
+ data['ip_address'] = inbound_ajax.ip_address;
820
+ data['search_data'] = JSON.stringify(jQuery.totalStorage('inbound_search')) || {};
821
+
822
+ var lp_check = (inbound_ajax.post_type === 'landing-page') ? 'Landing Page' : "";
823
+ var cta_check = (inbound_ajax.post_type === 'wp-call-to-action') ? 'Call to Action' : "";
824
+ var page_type = (!cta_check && !lp_check) ? inbound_ajax.post_type : lp_check + cta_check;
825
+
826
+ // jsonify data
827
+ var mapped_form_data = JSON.stringify(data);
828
+
829
+ var return_data = {};
830
+ var return_data = {
831
+ "action": 'inbound_store_lead',
832
+ "emailTo": data['email'],
833
+ "first_name": data['first_name'],
834
+ "last_name": data['last_name'],
835
+ "phone": data['phone'],
836
+ "address": data['address'],
837
+ "company_name": data['company'],
838
+ "page_views": data['page_views'],
839
+ "form_input_values": all_form_fields,
840
+ "Mapped_Data": mapped_form_data,
841
+ "Search_Data": data['search_data']
842
+ }
843
+ return return_data;
844
+ },
845
+ formSubmit: function (e){
846
+ /*if(!confirm('Are you sure?')) {
847
+ e.returnValue = false;
848
+ if(e.preventDefault) e.preventDefault();
849
+ return false;
850
+ }
851
+ return true;*/
852
+ /*var inbound_data = inbound_data || {},
853
+ this_form = e.target,
854
+ event_type = e.type,
855
+ is_search = false,
856
+ form_type = 'normal';*/
857
+
858
+ e.preventDefault(); /* Halt form processing */
859
+ console.log("This works");
860
+ var data = InboundAnalytics.LeadsAPI.inbound_form_submit(e.target, e); // big function for processing
861
+ console.log(data);
862
+ alert('Working');
863
+ //document.getElementById("ajaxButton").onclick = function() { makeRequest('test.html'); };
864
+
865
+ /* Final Ajax Call on Submit */
866
+ InboundAnalytics.LeadsAPI.makeRequest('test.html');
867
+ },
868
+ alertContents: function() {
869
+ if (httpRequest.readyState === 4) {
870
+ if (httpRequest.status === 200) {
871
+ alert(httpRequest.responseText);
872
+ } else if(xmlhttp.status == 400) {
873
+ alert('There was an error 400');
874
+ } else {
875
+ alert('There was a problem with the request.');
876
+ }
877
+ }
878
+ },
879
+ getAllLeadData: function(expire_check) {
880
+ var wp_lead_id = InboundAnalytics.Utils.readCookie("wp_lead_id"),
881
+ old_data = jQuery.totalStorage('inbound_lead_data'),
882
+ data = {
883
+ action: 'inbound_get_all_lead_data',
884
+ wp_lead_id: wp_lead_id,
885
+ },
886
+ success = function(returnData){
887
+ var obj = JSON.parse(returnData);
888
+ console.log('RAAAAAAn');
889
+ setGlobalLeadVar(obj);
890
+ jQuery.totalStorage('inbound_lead_data', obj); // store lead data
891
+ };
892
+
893
+ if(!old_data) {
894
+ console.log("No old data");
895
+ }
896
+
897
+ if (expire_check === 'true'){
898
+ console.log("Session has not expired");
899
+ }
900
+
901
+ if(!old_data && expire_check === null) {
902
+ InboundAnalytics.debug('Go to Database',function(){
903
+ console.log(expire_check);
904
+ console.log(old_data);
905
+ });
906
+ InboundAnalytics.Utils.doAjax(data, success);
907
+ } else {
908
+ setGlobalLeadVar(old_data); // set global lead var with localstorage data
909
+ var lead_data_expiration = InboundAnalytics.Utils.readCookie("lead_data_expiration");
910
+ if (lead_data_expiration === null) {
911
+ InboundAnalytics.Utils.doAjax(data, success);
912
+ console.log('localized data old. Pull new from DB');
913
+ }
914
+ }
915
+
916
+ },
917
+ getLeadLists: function() {
918
+ var wp_lead_id = InboundAnalytics.Utils.readCookie("wp_lead_id");
919
+ var data = {
920
+ action: 'wpl_check_lists',
921
+ wp_lead_id: wp_lead_id,
922
+ };
923
+ var success = function(user_id){
924
+ jQuery.cookie("lead_session_list_check", true, { path: '/', expires: 1 });
925
+ console.log("Lists checked");
926
+ };
927
+ InboundAnalytics.Utils.doAjax(data, success);
928
+ }
929
+ };
930
+
931
+ return InboundAnalytics;
932
+
933
+ })(InboundAnalytics || {});
934
+
935
+ /**
936
+ * Custom Event Triggers for Leads -
937
+ * The below functions illustrate how to use custom javascript callbacks to fire events
938
+ * based on lead data and what they have and have not done on the site.
939
+ */
940
+ /**
941
+
942
+ // Raw Javascript Version - trigger custom function on page view trigger
943
+
944
+ window.addEventListener("inbound_analytics_triggered", fireOnPageViewTrigger, false);
945
+ function fireOnPageViewTrigger(){
946
+ alert("page view was triggered");
947
+ }
948
+
949
+ // jQuery version - trigger custom function on analytics loaded
950
+
951
+ jQuery(document).on('inbound_analytics_loaded', function (event, data) {
952
+ console.log("inbound_analytics_loaded");
953
+ });
954
+
955
+ // Raw Javascript Version - trigger custom function on page first seen
956
+
957
+ window.addEventListener("inbound_analytics_page_first_view", page_first_seen_function, false);
958
+ function page_first_seen_function(){
959
+ alert("This is the first time you have seen this page");
960
+ }
961
+
962
+ // Raw Javascript Version - trigger custom function on page already seen
963
+
964
+ window.addEventListener("inbound_analytics_page_revisit", page_seen_function, false);
965
+ function page_seen_function(e){
966
+ var view_count = e.detail.count;
967
+ console.log("This page has been seen " + e.detail.count + " times");
968
+ if(view_count > 10){
969
+ console.log("Page has been viewed more than 10 times");
970
+ }
971
+ }
972
+
973
+ // jQuery version - trigger custom function on page already seen via jQuery
974
+
975
+ jQuery(document).on('inbound_analytics_page_revisit', function (event, data) {
976
+ console.log("inbound_analytics_page_revisit action triggered");
977
+ //console.log(data);
978
+ if(data.count > 10){
979
+ console.log("Page has been viewed more than 10 times");
980
+ }
981
+ });
982
+ */
983
+
984
+ /**
985
+ * Event functions
986
+ * @param Object InboundAnalytics - Main JS object
987
+ * @return Object - include event triggers
988
+ */
989
+ var InboundAnalyticsEvents = (function (InboundAnalytics) {
990
+
991
+ InboundAnalytics.Events = {
992
+ // Create cookie
993
+ loadEvents: function() {
994
+ this.analyticsLoaded();
995
+ },
996
+ triggerJQueryEvent: function(eventName, data){
997
+ if (window.jQuery) {
998
+ var data = data || {};
999
+ jQuery(document).trigger(eventName, data);
1000
+ /* var something = (function() {
1001
+ var executed = false;
1002
+ return function () {
1003
+ if (!executed) {
1004
+ executed = true;
1005
+ console.log(eventName + " RAN");
1006
+
1007
+ }
1008
+ };
1009
+ })();*/
1010
+ }
1011
+ },
1012
+ analyticsLoaded: function() {
1013
+ var eventName = "inbound_analytics_loaded";
1014
+ var loaded = new CustomEvent(eventName);
1015
+ window.dispatchEvent(loaded);
1016
+ this.triggerJQueryEvent(eventName);
1017
+ },
1018
+ analyticsTriggered: function() {
1019
+ var triggered = new CustomEvent("inbound_analytics_triggered");
1020
+ window.dispatchEvent(triggered);
1021
+ },
1022
+ analyticsSaved: function() {
1023
+ var page_view_saved = new CustomEvent("inbound_analytics_saved");
1024
+ window.dispatchEvent(page_view_saved);
1025
+ console.log('Page View Saved');
1026
+ },
1027
+ analyticsError: function(MLHttpRequest, textStatus, errorThrown) {
1028
+ var error = new CustomEvent("inbound_analytics_error", {
1029
+ detail: {
1030
+ MLHttpRequest: MLHttpRequest,
1031
+ textStatus: textStatus,
1032
+ errorThrown: errorThrown
1033
+ }
1034
+ });
1035
+ window.dispatchEvent(error);
1036
+ console.log('Page Save Error');
1037
+ },
1038
+ pageFirstView: function(page_seen_count) {
1039
+ var page_first_view = new CustomEvent("inbound_analytics_page_first_view", {
1040
+ detail: {
1041
+ count: 1,
1042
+ time: new Date(),
1043
+ },
1044
+ bubbles: true,
1045
+ cancelable: true
1046
+ }
1047
+ );
1048
+ window.dispatchEvent(page_first_view);
1049
+
1050
+ console.log('First Ever Page View of this Page');
1051
+ },
1052
+ pageRevisit: function(page_seen_count) {
1053
+ var eventName = "inbound_analytics_page_revisit";
1054
+ var data = { count: page_seen_count,
1055
+ time: new Date()
1056
+ };
1057
+ var page_revisit = new CustomEvent(eventName, {
1058
+ detail: data,
1059
+ bubbles: true,
1060
+ cancelable: true
1061
+ }
1062
+ );
1063
+ window.dispatchEvent(page_revisit);
1064
+ this.triggerJQueryEvent(eventName, data);
1065
+ console.log('Page Revisit');
1066
+ },
1067
+ sessionStart: function() {
1068
+ var session_start = new CustomEvent("inbound_analytics_session_start");
1069
+ window.dispatchEvent(session_start);
1070
+ console.log('Session Start');
1071
+ },
1072
+ sessionActive: function() {
1073
+ var session_active = new CustomEvent("inbound_analytics_session_active");
1074
+ window.dispatchEvent(session_active);
1075
+ console.log('Session Active');
1076
+ },
1077
+
1078
+ };
1079
+
1080
+ return InboundAnalytics;
1081
+
1082
+ })(InboundAnalytics || {});
1083
+
1084
+ var Lead_Globals = jQuery.totalStorage('inbound_lead_data') || null;
1085
+ function setGlobalLeadVar(retString){
1086
+ Lead_Globals = retString;
1087
+ }
1088
+
1089
+ InboundAnalytics.init(); // run analytics
1090
+
1091
+ /* run on ready */
1092
+ jQuery(document).ready(function($) {
1093
+ //record non conversion status
1094
+ var in_u = InboundAnalytics.Utils,
1095
+ wp_lead_uid = in_u.readCookie("wp_lead_uid"),
1096
+ wp_lead_id = in_u.readCookie("wp_lead_id"),
1097
+ expire_check = in_u.readCookie("lead_session_expire"); // check for session
1098
+
1099
+ if (expire_check === null) {
1100
+ console.log('expired vistor. Run Processes');
1101
+ //var data_to_lookup = global-localized-vars;
1102
+ if (typeof (wp_lead_id) != "undefined" && wp_lead_id != null && wp_lead_id != "") {
1103
+ /* Get Lead_Globals */
1104
+ InboundAnalytics.LeadsAPI.getAllLeadData(expire_check);
1105
+ /* Lead list check */
1106
+ InboundAnalytics.LeadsAPI.getLeadLists();
1107
+ }
1108
+ }
1109
+
1110
+ //window.addEventListener('load',function(){
1111
+ // InboundAnalytics.LeadsAPI.attachSubmitEvent(window,InboundAnalytics.LeadsAPI.formSubmit);
1112
+ //}, false);
1113
+
1114
+ in_u.contentLoaded(window, InboundAnalytics.LeadsAPI.attachFormSubmitEvent);
1115
+
1116
+ /* Set Session Timeout */
1117
+ in_u.SetSessionTimeout();
1118
+
1119
+ });
shared/assets/frontend/js/page-tracking.js CHANGED
@@ -517,7 +517,7 @@ var InboundAnalyticsLeadsAPI = (function (InboundAnalytics) {
517
  * The below functions illustrate how to use custom javascript callbacks to fire events
518
  * based on lead data and what they have and have not done on the site.
519
  */
520
- /*
521
 
522
  // Raw Javascript Version - trigger custom function on page view trigger
523
 
517
  * The below functions illustrate how to use custom javascript callbacks to fire events
518
  * based on lead data and what they have and have not done on the site.
519
  */
520
+ /**
521
 
522
  // Raw Javascript Version - trigger custom function on page view trigger
523
 
shared/assets/frontend/js/store.lead.ajax-new.js ADDED
@@ -0,0 +1,699 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ //
2
+ //var inbound_data = inbound_data || {};
3
+ //// Ensure global _gaq Google Analytics queue has been initialized.
4
+ //var _gaq = _gaq || [];
5
+ //
6
+ //function add_inbound_form_class(el, value) {
7
+ // //var value = value.replace(" ", "_");
8
+ // //var value = value.replace("-", "_");
9
+ // //el.addClass('inbound_map_value');
10
+ // //el.attr('data-inbound-form-map', 'inbound_map_' + value);
11
+ //}
12
+ //// http://clubmate.fi/setting-and-reading-cookies-with-javascript/
13
+ //function createCookie(name, value, days) {
14
+ // var expires;
15
+ // if (days) {
16
+ // var date = new Date();
17
+ // date.setTime(date.getTime()+(days*24*60*60*1000));
18
+ // expires = "; expires="+date.toGMTString();
19
+ // }
20
+ // else {
21
+ // expires = "";
22
+ // }
23
+ // document.cookie = name+"="+value+expires+"; path=/";
24
+ //}
25
+ //// Read cookie
26
+ //function readCookie(name) {
27
+ // var nameEQ = name + "=";
28
+ // var ca = document.cookie.split(';');
29
+ // for(var i=0;i < ca.length;i++) {
30
+ // var c = ca[i];
31
+ // while (c.charAt(0) === ' ') {
32
+ // c = c.substring(1,c.length);
33
+ // }
34
+ // if (c.indexOf(nameEQ) === 0) {
35
+ // return c.substring(nameEQ.length,c.length);
36
+ // }
37
+ // }
38
+ // return null;
39
+ //}
40
+ //// Erase cookie
41
+ //function eraseCookie(name) {
42
+ // createCookie(name,"",-1);
43
+ //}
44
+ //
45
+ ///* Count number of session visits */
46
+ //function countProperties(obj) {
47
+ // var count = 0;
48
+ // for(var prop in obj) {
49
+ // if(obj.hasOwnProperty(prop))
50
+ // ++count;
51
+ // }
52
+ // return count;
53
+ //}
54
+ //
55
+ //
56
+ //function get_inbound_form_value(el) {
57
+ // var value = el.value;
58
+ // return value;
59
+ //}
60
+ //
61
+ //
62
+ //// Build Form Object
63
+ //function inbound_map_fields(el, value, Obj) {
64
+ // var formObj = [];
65
+ // var $this = el;
66
+ // var clean_output = value;
67
+ // var label = $this.closest('label').text();
68
+ // var exclude = ['credit-card']; // exlcude values from formObj
69
+ // var inarray = jQuery.inArray(clean_output, exclude);
70
+ // if(inarray == 0){
71
+ // return null;
72
+ // }
73
+ // // Add items to formObj
74
+ // formObj.push({
75
+ // field_label: label,
76
+ // field_name: $this.attr("name"),
77
+ // field_value: $this.attr("value"),
78
+ // field_id: $this.attr("id"),
79
+ // field_class: $this.attr("class"),
80
+ // field_type: $this.attr("type"),
81
+ // match: clean_output,
82
+ // js_selector: $this.attr("data-js-selector")
83
+ // });
84
+ // return formObj;
85
+ //}
86
+ //
87
+ //// Trim Whitespace
88
+ //function trim(s) {
89
+ // s = s.replace(/(^\s*)|(\s*$)/gi,"");
90
+ // s = s.replace(/[ ]{2,}/gi," ");
91
+ // s = s.replace(/\n /,"\n"); return s;
92
+ //}
93
+ //
94
+ //function inbound_ga_log_event(category, action, label) {
95
+ // _gaq.push(['_trackEvent', category, action, label]);
96
+ //}
97
+ //
98
+ //// Run Form Mapper
99
+ //// TODO check for already processesed fields via in_object_already
100
+ //// check on the dupe value
101
+ //function run_field_map_function(el, lookingfor) {
102
+ // var return_form;
103
+ // var formObj = new Array();
104
+ // var $this = el;
105
+ // var body = jQuery("body");
106
+ // var input_id = $this.attr("id") || "NULL";
107
+ // var input_name = $this.attr("name") || "NULL";
108
+ // var this_val = $this.attr("value");
109
+ // var array = lookingfor.split(",");
110
+ // var array_length = array.length - 1;
111
+ //
112
+ // // Main Loop
113
+ // for (var i = 0; i < array.length; i++) {
114
+ // var clean_output = trim(array[i]);
115
+ // var nice_name = clean_output.replace(/^\s+|\s+$/g,'');
116
+ // var nice_name = nice_name.replace(" ",'_');
117
+ // var in_object_already = nice_name in inbound_data;
118
+ // //console.log(clean_output);
119
+ //
120
+ // // Look for attr name match
121
+ // if (input_name.toLowerCase().indexOf(clean_output)>-1) {
122
+ // var the_map = inbound_map_fields($this, clean_output, formObj);
123
+ // add_inbound_form_class($this, clean_output);
124
+ // console.log('match name: ' + clean_output);
125
+ // console.log(nice_name in inbound_data);
126
+ // if (!in_object_already) {
127
+ // inbound_data[nice_name] = this_val;
128
+ // }
129
+ // }
130
+ // // look for id match
131
+ // else if (input_id.toLowerCase().indexOf(clean_output)>-1) {
132
+ // var the_map = inbound_map_fields($this, clean_output, formObj);
133
+ // add_inbound_form_class($this, clean_output);
134
+ // console.log('match id: ' + clean_output);
135
+ // if (!in_object_already) {
136
+ // inbound_data[nice_name] = this_val;
137
+ // }
138
+ // }
139
+ // // Look for label name match
140
+ // else if ($this.closest('li').children('label').length>0){
141
+ // var closest_label = $this.closest('li').children('label').html() || "NULL";
142
+ // if (closest_label.toLowerCase().indexOf(clean_output)>-1)
143
+ // {
144
+ // var the_map = inbound_map_fields($this, clean_output, formObj);
145
+ // add_inbound_form_class($this, clean_output);
146
+ // console.log($this.context);
147
+ //
148
+ // var exists_in_dom = body.find("[data-inbound-form-map='inbound_map_" + nice_name + "']").length;
149
+ // console.log(exists_in_dom);
150
+ // console.log('match li: ' + clean_output);
151
+ // if (!in_object_already) {
152
+ // inbound_data[nice_name] = this_val;
153
+ // }
154
+ //
155
+ // }
156
+ // }
157
+ // // Look for closest div label name match
158
+ // else if ($this.closest('div').children('label').length>0) {
159
+ // var closest_div = $this.closest('div').children('label').html() || "NULL";
160
+ // if (closest_div.toLowerCase().indexOf(clean_output)>-1)
161
+ // {
162
+ // var the_map = inbound_map_fields($this, clean_output, formObj);
163
+ // add_inbound_form_class($this, clean_output);
164
+ // console.log('match div: ' + clean_output);
165
+ // if (!in_object_already) {
166
+ // inbound_data[nice_name] = this_val;
167
+ // }
168
+ // }
169
+ // }
170
+ // // Look for closest p label name match
171
+ // else if ($this.closest('p').children('label').length>0) {
172
+ // var closest_p = $this.closest('p').children('label').html() || "NULL";
173
+ // if (closest_p.toLowerCase().indexOf(clean_output)>-1)
174
+ // {
175
+ // var the_map = inbound_map_fields($this, clean_output, formObj);
176
+ // add_inbound_form_class($this, clean_output);
177
+ // console.log('match p: ' + clean_output);
178
+ // if (!in_object_already) {
179
+ // inbound_data[nice_name] = this_val;
180
+ // }
181
+ // }
182
+ // } else {
183
+ // console.log('Need additional mapping data');
184
+ // }
185
+ // }
186
+ // return_form = the_map;
187
+ //
188
+ // return inbound_data;
189
+ //}
190
+ //
191
+ //function return_mapped_values(this_form) {
192
+ // // Map form fields
193
+ // jQuery(this_form).find('input[type!="hidden"],textarea,select').each(function() {
194
+ // console.log('run');
195
+ // var this_input = jQuery(this);
196
+ // var this_input_val = this_input.val();
197
+ // if (typeof (this_input_val) != "undefined" && this_input_val != null && this_input_val != "") {
198
+ //var inbound_data = run_field_map_function( this_input, "name, first name, last name, email, e-mail, phone, website, job title, company, tele, address, comment");
199
+ // }
200
+ // return inbound_data;
201
+ // });
202
+ // return inbound_data;
203
+ //}
204
+ //
205
+ //function merge_form_options(obj1,obj2){
206
+ // var obj3 = {};
207
+ // for (var attrname in obj1) { obj3[attrname] = obj1[attrname]; }
208
+ // for (var attrname in obj2) { obj3[attrname] = obj2[attrname]; }
209
+ // return obj3;
210
+ //}
211
+ //
212
+ //function release_form_sub(this_form, element_type, form_type){
213
+ // form_type = typeof form_type !== 'undefined' ? form_type : "normal";
214
+ // jQuery('body, button, input, input[type="button"]').css('cursor', 'default');
215
+ // jQuery.totalStorage.deleteItem('inbound_search'); // remove search
216
+ // if (element_type=='FORM') {
217
+ // this_form.unbind('submit');
218
+ // this_form.submit();
219
+ //
220
+ // if (form_type === "comment"){
221
+ // console.log("RELEASE ME");
222
+ // setTimeout(function() {
223
+ // jQuery(".wpl-comment-form").find('[type="submit"]').click();
224
+ // }, 100);
225
+ // }
226
+ // }
227
+ //
228
+ // if (element_type=='A') {
229
+ // this_form.unbind('wpl-track-me');
230
+ // var link = this_form.attr('href');
231
+ // if (link) {
232
+ // window.location = link;
233
+ // } else {
234
+ // location.reload();
235
+ // }
236
+ // }
237
+ //}
238
+ //
239
+ //function set_lead_fallback(data){
240
+ // jQuery.totalStorage('failed_conversion', data); // store failed data
241
+ // jQuery.cookie("failed_conversion", true, { path: '/', expires: 365 });
242
+ // console.log('Set backup lead storage');
243
+ //}
244
+ //
245
+ ///* Check form type */
246
+ //function inbound_form_type(this_form) {
247
+ // var inbound_data = inbound_data || {},
248
+ // form_type = 'normal';
249
+ // if ( this_form.is( ".wpl-comment-form" ) ) {
250
+ // inbound_data['form_type'] = 'comment';
251
+ // form_type = 'comment';
252
+ // } else if ( this_form.is( ".wpl-search-box" ) ) {
253
+ // var is_search = true;
254
+ // form_type = 'search';
255
+ // inbound_data['form_type'] = 'search';
256
+ // } else if ( this_form.is( '.wpl-track-me-link' ) ){
257
+ // var have_email = readCookie('wp_lead_email');
258
+ // console.log(have_email);
259
+ // inbound_data['form_type'] = 'link';
260
+ // form_type = 'search';
261
+ // }
262
+ // return form_type;
263
+ //}
264
+ //
265
+ //function grab_all_form_input_vals(this_form){
266
+ // var post_values = post_values || {},
267
+ // inbound_exclude = inbound_exclude || [],
268
+ // form_inputs = this_form.find('input,textarea,select');
269
+ //inbound_exclude.push('inbound_furl', 'inbound_current_page_url', 'inbound_notify', 'inbound_submitted', 'post_type', 'post_status', 's', 'inbound_form_name', 'inbound_form_id', 'inbound_form_lists');
270
+ // var form_type = inbound_form_type(this_form),
271
+ // inbound_data = inbound_data || {},
272
+ // email = inbound_data['email'] || false;
273
+ //
274
+ // form_inputs.each(function() {
275
+ // var $input = jQuery(this),
276
+ // input_type = $input.attr('type'),
277
+ // input_val = $input.val();
278
+ // if (input_type === 'checkbox') {
279
+ // input_checked = $input.attr("checked");
280
+ // console.log(input_val);
281
+ // console.log(input_checked);
282
+ // console.log(post_values[this.name]);
283
+ // if (input_checked === "checked"){
284
+ // if (typeof (post_values[this.name]) != "undefined") {
285
+ // post_values[this.name] = post_values[this.name] + "," + input_val;
286
+ // console.log(post_values[this.name]);
287
+ // } else {
288
+ // post_values[this.name] = input_val;
289
+ // }
290
+ //
291
+ // }
292
+ // }
293
+ // if (jQuery.inArray(this.name, inbound_exclude) === -1 && input_type != 'checkbox'){
294
+ // post_values[this.name] = input_val;
295
+ // }
296
+ // if (this.value.indexOf('@')>-1&&!email){
297
+ // email = input_val;
298
+ // inbound_data['email'] = email;
299
+ // }
300
+ // if (form_type === 'search') {
301
+ // inbound_data['search_keyword'] = input_val.replace('"', "'");
302
+ // }
303
+ // });
304
+ // var all_form_fields = JSON.stringify(post_values);
305
+ // return all_form_fields;
306
+ //}
307
+ //
308
+ //function inbound_form_submit(this_form, e) {
309
+ // /* Define Variables */
310
+ // var inbound_data = inbound_data || {};
311
+ // // Dynamic JS object for passing custom values. This can be hooked into by third parties by using the below syntax.
312
+ // var pageviewObj = jQuery.totalStorage('page_views');
313
+ // inbound_data['page_view_count'] = countProperties(pageviewObj);
314
+ // inbound_data['leads_list'] = jQuery(this_form).find('#inbound_form_lists').val();
315
+ // inbound_data['source'] = jQuery.cookie("wp_lead_referral_site") || "NA";
316
+ // inbound_data['page_id'] = inbound_ajax.post_id;
317
+ // inbound_data['page_views'] = JSON.stringify(pageviewObj);
318
+ //
319
+ // // Map form fields
320
+ // var returned_form_data = return_mapped_values(this_form); //console.log(returned_form_data);
321
+ // var inbound_data = merge_form_options(inbound_data,returned_form_data); //console.log(inbound_data);
322
+ //
323
+ // // Set variables after mapping
324
+ // inbound_data['email'] = (!inbound_data['email']) ? this_form.find('.inbound-email').val() : inbound_data['email'];
325
+ // inbound_data['form_name'] = this_form.find('.inbound_form_name').val() || "Not Found";
326
+ // inbound_data['form_id'] = this_form.find('.inbound_form_id').val() || "Not Found";
327
+ // inbound_data['first_name'] = (!inbound_data['first_name']) ? inbound_data['name'] : inbound_data['first_name'];
328
+ // inbound_data['last_name'] = inbound_data['last_name'] || '';
329
+ // inbound_data['phone'] = inbound_data['phone'] || '';
330
+ // inbound_data['company'] = inbound_data['company'] || '';
331
+ // inbound_data['address'] = inbound_data['address'] || '';
332
+ //
333
+ // // Fallbacks for values
334
+ //inbound_data['name'] = (inbound_data['first_name'] && inbound_data['last_name']) ? inbound_data['first_name'] + " " + inbound_data['last_name'] : inbound_data['name'];
335
+ //
336
+ // if (!inbound_data['last_name'] && inbound_data['first_name']) {
337
+ // var parts = inbound_data['first_name'].split(" ");
338
+ // inbound_data['first_name'] = parts[0];
339
+ // inbound_data['last_name'] = parts[1];
340
+ // }
341
+ //
342
+ // /* Store form fields & exclude field values */
343
+ // var all_form_fields = grab_all_form_input_vals(this_form);
344
+ // /* end Store form fields & exclude field values */
345
+ //
346
+ // if(inbound_data['email']){
347
+ // createCookie("wp_lead_email", inbound_data['email'], 365); /* set email cookie */
348
+ // }
349
+ //
350
+ // //var variation = (typeof (landing_path_info) != "undefined") ? landing_path_info.variation : false;
351
+ //
352
+ // if (typeof (landing_path_info) != "undefined") {
353
+ // var variation = landing_path_info.variation;
354
+ // } else if (typeof (cta_path_info) != "undefined") {
355
+ // var variation = cta_path_info.variation;
356
+ // } else {
357
+ // var variation = 0;
358
+ // }
359
+ //
360
+ // inbound_data['variation'] = variation;
361
+ // inbound_data['post_type'] = inbound_ajax.post_type;
362
+ // inbound_data['wp_lead_uid'] = jQuery.cookie("wp_lead_uid") || null;
363
+ // inbound_data['ip_address'] = inbound_ajax.ip_address;
364
+ // inbound_data['search_data'] = JSON.stringify(jQuery.totalStorage('inbound_search')) || {};
365
+ //
366
+ // var lp_check = (inbound_ajax.post_type === 'landing-page') ? 'Landing Page' : "";
367
+ // var cta_check = (inbound_ajax.post_type === 'wp-call-to-action') ? 'Call to Action' : "";
368
+ // var page_type = (!cta_check && !lp_check) ? inbound_ajax.post_type : lp_check + cta_check;
369
+ //
370
+ // // jsonify inbound_data
371
+ // var mapped_form_data = JSON.stringify(inbound_data);
372
+ //
373
+ // var data = {};
374
+ // var data = {
375
+ // "action": 'inbound_store_lead',
376
+ // "emailTo": inbound_data['email'],
377
+ // "first_name": inbound_data['first_name'],
378
+ // "last_name": inbound_data['last_name'],
379
+ // "phone": inbound_data['phone'],
380
+ // "address": inbound_data['address'],
381
+ // "company_name": inbound_data['company'],
382
+ // "page_views": inbound_data['page_views'],
383
+ // "form_input_values": all_form_fields,
384
+ // "Mapped_Data": mapped_form_data,
385
+ // "Search_Data": inbound_data['search_data']
386
+ // }
387
+ // return data;
388
+ //}
389
+ //
390
+ //jQuery(document).ready(function($) {
391
+ //
392
+ // var cookies = InboundAnalytics.Utils.getAllCookies();
393
+ // var inbound_store = jQuery.totalStorage('inbound_cookies');
394
+ //
395
+ // // loop through cookies and assign to inbound_data object
396
+ // if (typeof inbound_store =='object' && inbound_store) {
397
+ // for(var name in inbound_store) {
398
+ // if (name.indexOf('utm')>-1) {
399
+ // inbound_data[name] = cookies[name];
400
+ // //console.log( name + " : " + cookies[name] );
401
+ // }
402
+ // }
403
+ // }
404
+ //
405
+ // //console.log(inbound_data);
406
+ // if ( jQuery('.wpl-search-box').length ) {
407
+ // /* Core Inbound Search Tracking Script */
408
+ // jQuery("body").on('submit', '.wpl-search-box', function (e) {
409
+ // var inbound_search_data = jQuery.totalStorage('inbound_search') || {},
410
+ // $this_form = $(this),
411
+ // processed = false;
412
+ // datetime = wplft.track_time;
413
+ // if( $this_form.is(".search-processes") ) {
414
+ // console.log('yep');
415
+ // processed = true;
416
+ //
417
+ // }
418
+ // //return false;
419
+ // $('body, button, input[type="button"], input').css('cursor', 'wait');
420
+ // e.preventDefault();
421
+ // var has_email = readCookie('wp_lead_email');
422
+ // var search_count = countProperties(inbound_search_data);
423
+ // form_inputs = $this_form.find('input[type=text],input[type=search]');
424
+ //
425
+ // form_inputs.each(function(i) {
426
+ // var value = jQuery(this).val().replace('"', "'");
427
+ // inbound_search_data[search_count + 1] = {"value" : value, "date" : datetime};
428
+ // });
429
+ // jQuery.totalStorage('inbound_search', inbound_search_data); // store search history data
430
+ // console.log(JSON.stringify(inbound_search_data));
431
+ //
432
+ // // If no data to id the user exit
433
+ // if (typeof (has_email) != "undefined" && has_email != null && has_email != "" && processed === false) {
434
+ //
435
+ // // store search data and release
436
+ // var data = {};
437
+ // var data = {
438
+ // "action": 'inbound_store_lead_search',
439
+ // "search_data": inbound_search_data,
440
+ // "email": has_email,
441
+ // "date": datetime
442
+ // }
443
+ //
444
+ // //return false;
445
+ // jQuery.ajax({
446
+ // type: 'POST',
447
+ // url: inbound_ajax.admin_url,
448
+ // timeout: 10000,
449
+ // data: data,
450
+ // dataType: 'html',
451
+ // success: function(user_id){
452
+ // $this_form.trigger("inbound_search_form_complete"); // Trigger custom hook
453
+ // $this_form.addClass('search-processed');
454
+ // $this_form.removeClass('wpl-search-box');
455
+ // // Unbind form
456
+ // //release_form_sub($this_form, 'FORM', inbound_data['form_type']);
457
+ //
458
+ // $('body, button, input[type="button"], input').css('cursor', 'default');
459
+ // jQuery.totalStorage.deleteItem('inbound_search'); // remove search
460
+ // console.log("search fired");
461
+ // $this_form.unbind('submit');
462
+ // $this_form.submit();
463
+ // },
464
+ // error: function(MLHttpRequest, textStatus, errorThrown){
465
+ //
466
+ // console.log("failwhale fired");
467
+ // $this_form.unbind('submit');
468
+ // $this_form.submit();
469
+ //
470
+ // }
471
+ // });
472
+ // } else {
473
+ // $this_form.unbind('submit');
474
+ // $this_form.submit();
475
+ // // storage local storage search history
476
+ // jQuery.totalStorage('inbound_search', inbound_search_data); // store search history data
477
+ // }
478
+ //
479
+ //
480
+ // });
481
+ // }
482
+ //
483
+ //
484
+ // /* Core Inbound Form Tracking Script */
485
+ // if ( jQuery('.wpl-track-me').length ) {
486
+ // jQuery("body").on('submit', '.wpl-track-me', function (e) {
487
+ // var inbound_data = inbound_data || {},
488
+ // this_form = jQuery(this),
489
+ // event_type = e.type,
490
+ // is_search = false,
491
+ // form_type = 'normal';
492
+ //
493
+ //
494
+ // inbound_data['form_type'] = inbound_form_type(this_form);
495
+ //
496
+ // element_type = 'FORM';
497
+ //
498
+ // // halt normal form submission
499
+ // $('body, button, input[type="button"], input').css('cursor', 'wait');
500
+ // e.preventDefault();
501
+ //
502
+ // // Email Validation Check
503
+ // var inbound_form_exists = $("#inbound-form-wrapper").length;
504
+ // var email_validation = $(".inbound-email.invalid-email").length;
505
+ // if (email_validation > 0 && inbound_form_exists > 0) {
506
+ // jQuery(".inbound-email.invalid-email").focus();
507
+ // alert("Please enter a valid email address");
508
+ // return false;
509
+ // }
510
+ // $(this_form).trigger("inbound_form_custom_data"); // trigger custom hook
511
+ // data = inbound_form_submit(this_form, e); // big function for processing
512
+ //
513
+ // ajax_fallback = this_form.is('.wpl-ajax-fallback');
514
+ //
515
+ // if (ajax_fallback === true) {
516
+ // console.log('true');
517
+ // this_form.removeClass('wpl-track-me'); // release submit
518
+ // set_lead_fallback(data);
519
+ // console.log('ajax conflict stop process');
520
+ // $('body, button, input[type="button"], input').css('cursor', 'default');
521
+ // var ninja = this_form.is('.ninja-forms-form');
522
+ // var cf7 = this_form.is('.wpcf7-form');
523
+ // if (!ninja && !cf7){
524
+ // release_form_sub( this_form , element_type );
525
+ // }
526
+ // return false;
527
+ // }
528
+ //
529
+ // var inbound_debug = this_form.is('.inbound-debug');
530
+ // if (inbound_debug) {
531
+ // //console.log("Inbound Form Data:"); console.log(post_form_data);
532
+ // //console.log("Raw Field Data:"); console.log(all_form_fields);
533
+ // console.log("Ajax Data:"); console.log(data);
534
+ // return false;
535
+ // }
536
+ //
537
+ // jQuery.ajax({
538
+ // type: 'POST',
539
+ // url: inbound_ajax.admin_url,
540
+ // timeout: 10000,
541
+ // data: data,
542
+ // success: function(user_id){
543
+ // jQuery(this_form).trigger("inbound_form_complete"); // Trigger custom hook
544
+ // createCookie("wp_lead_id", user_id, 365);
545
+ // jQuery.totalStorage('wp_lead_id', user_id);
546
+ //
547
+ //inbound_ga_log_event('Inbound Form Conversions', 'Conversion', "Conversion on '"+ inbound_data['form_name'] + "' form on page '" + document.title + "' on url '" + window.location.href + "'"); // GA push
548
+ // this_form.removeClass('wpl-track-me');
549
+ // // Unbind form
550
+ //
551
+ // release_form_sub(this_form, 'FORM', inbound_data['form_type']);
552
+ //
553
+ // $('body, button, input[type="button"], input').css('cursor', 'default');
554
+ //
555
+ // jQuery.totalStorage.deleteItem('page_views'); // remove pageviews
556
+ // jQuery.totalStorage.deleteItem('tracking_events'); // remove events
557
+ // //jQuery.totalStorage.deleteItem('cta_clicks'); // remove cta
558
+ //
559
+ // },
560
+ // error: function(MLHttpRequest, textStatus, errorThrown){
561
+ // jQuery(this_form).trigger("inbound_form_fail"); // trigger custom hook
562
+ // set_lead_fallback(data); // Create fallback localstorage object
563
+ // console.log('ajax fail'); console.log(MLHttpRequest+' '+errorThrown+' '+textStatus);
564
+ // release_form_sub( this_form , element_type ); // release form
565
+ //
566
+ // }
567
+ // });
568
+ //
569
+ // });
570
+ // }
571
+ //
572
+ // /* Core Inbound Link Tracking */
573
+ // if ( jQuery('.wpl-track-me-link').length ) {
574
+ //
575
+ // jQuery("body").on('click', '.wpl-track-me-link', function (e) {
576
+ //
577
+ // this_link = jQuery(this);
578
+ //
579
+ // var element_type='A';
580
+ // var a_href = jQuery(this).attr("href");
581
+ //
582
+ // // process form only once
583
+ // processed = this_link.hasClass('lead_processed');
584
+ // if (processed === true) {
585
+ // return;
586
+ // }
587
+ //
588
+ // form_id = jQuery(this).attr('id');
589
+ // form_class = jQuery(this).attr('class');
590
+ //
591
+ // jQuery(this).css('cursor', 'wait');
592
+ // jQuery('body').css('cursor', 'wait');
593
+ //
594
+ //
595
+ // e.preventDefault(); // halt normal form
596
+ //
597
+ // var pageviewObj = jQuery.totalStorage('page_views');
598
+ // var page_view_count = countProperties(pageviewObj);
599
+ // //console.log("view count" + page_view_count);
600
+ //
601
+ // var wp_lead_uid = jQuery.cookie("wp_lead_uid");
602
+ // var page_views = JSON.stringify(pageviewObj);
603
+ //
604
+ // var page_id = inbound_ajax.post_id;
605
+ // if (typeof (landing_path_info) != "undefined" && landing_path_info != null && landing_path_info != "") {
606
+ // var lp_variation = landing_path_info.variation;
607
+ // } else if (typeof (cta_path_info) != "undefined" && cta_path_info != null && cta_path_info != "") {
608
+ // var lp_variation = cta_path_info.variation;
609
+ // } else {
610
+ // var lp_variation = null;
611
+ // }
612
+ //
613
+ // jQuery.ajax({
614
+ // type: 'POST',
615
+ // url: inbound_ajax.admin_url,
616
+ // timeout: 10000,
617
+ // data: {
618
+ // action: 'inbound_store_lead',
619
+ // wp_lead_uid: wp_lead_uid,
620
+ // page_views: page_views,
621
+ // post_type: inbound_ajax.post_type,
622
+ // variation: lp_variation,
623
+ // page_id: page_id
624
+ // /* Replace with jquery hook
625
+ // do_action('wpl-lead-collection-add-ajax-data');
626
+ // */
627
+ // },
628
+ // success: function(data){
629
+ // // Unbind form
630
+ // release_form_sub(this_link, 'A');
631
+ // //this_link.click();
632
+ // jQuery.totalStorage.deleteItem('page_views'); // remove pageviews
633
+ // jQuery.totalStorage.deleteItem('tracking_events'); // remove events
634
+ // //jQuery.totalStorage.deleteItem('cta_clicks'); // remove cta
635
+ //
636
+ // return true;
637
+ // },
638
+ // error: function(MLHttpRequest, textStatus, errorThrown){
639
+ // console.log(MLHttpRequest+' '+errorThrown+' '+textStatus); // debug
640
+ //
641
+ // // Create fallback localstorage object
642
+ // var conversionObj = new Array();
643
+ // conversionObj.push({
644
+ // action: 'inbound_store_lead',
645
+ // emailTo: email,
646
+ // first_name: firstname,
647
+ // last_name: lastname,
648
+ // wp_lead_uid: wp_lead_uid,
649
+ //
650
+ // page_views: page_views,
651
+ // post_type: inbound_ajax.post_type,
652
+ // variation: lp_variation,
653
+ // // type: 'form-completion',
654
+ // form_input_values : all_form_fields,
655
+ // page_id: page_id
656
+ // });
657
+ //
658
+ // jQuery.totalStorage('failed_conversion', conversionObj); // store failed data
659
+ // jQuery.cookie("failed_conversion", true, { path: '/', expires: 365 });
660
+ //
661
+ // // If fail, cookie form data and ajax submit on next page load
662
+ // console.log('ajax fail');
663
+ // release_form_sub( this_link , element_type );
664
+ //
665
+ // }
666
+ // });
667
+ //
668
+ // });
669
+ // }
670
+ //
671
+ // // gform_confirmation_loaded
672
+ // /* Fallback for lead storage if ajax fails */
673
+ // var failed_conversion = jQuery.cookie("failed_conversion");
674
+ // var fallback_obj = jQuery.totalStorage('failed_conversion');
675
+ //
676
+ // if (typeof (failed_conversion) != "undefined" && failed_conversion == 'true' ) {
677
+ // if (typeof fallback_obj == 'object' && fallback_obj) {
678
+ //
679
+ // jQuery.ajax({
680
+ // type: 'POST',
681
+ // url: inbound_ajax.admin_url,
682
+ // data: fallback_obj,
683
+ // success: function(user_id){
684
+ // console.log('Fallback fired');
685
+ // jQuery.totalStorage.deleteItem('page_views'); // remove pageviews
686
+ // jQuery.totalStorage.deleteItem('tracking_events'); // remove events
687
+ // jQuery.removeCookie("failed_conversion"); // remove failed cookie
688
+ // jQuery.totalStorage.deleteItem('failed_conversion'); // remove failed data
689
+ // },
690
+ // error: function(MLHttpRequest, textStatus, errorThrown){
691
+ // //alert(MLHttpRequest+' '+errorThrown+' '+textStatus);
692
+ // //die();
693
+ // }
694
+ //
695
+ // });
696
+ // }
697
+ // }
698
+ //
699
+ //});
shared/assets/frontend/js/store.lead.ajax.js CHANGED
@@ -190,7 +190,7 @@ function run_field_map_function(el, lookingfor) {
190
 
191
  function return_mapped_values(this_form) {
192
  // Map form fields
193
- jQuery(this_form).find('input,textarea,select').each(function() {
194
  console.log('run');
195
  var this_input = jQuery(this);
196
  var this_input_val = this_input.val();
@@ -323,11 +323,12 @@ function inbound_form_submit(this_form, e) {
323
  // Set variables after mapping
324
  inbound_data['email'] = (!inbound_data['email']) ? this_form.find('.inbound-email').val() : inbound_data['email'];
325
  inbound_data['form_name'] = this_form.find('.inbound_form_name').val() || "Not Found";
 
326
  inbound_data['first_name'] = (!inbound_data['first_name']) ? inbound_data['name'] : inbound_data['first_name'];
327
- inbound_data['last_name'] = inbound_data['last_name'] || false;
328
- inbound_data['phone'] = inbound_data['phone'] || false;
329
- inbound_data['company'] = inbound_data['company'] || false;
330
- inbound_data['address'] = inbound_data['address'] || false;
331
 
332
  // Fallbacks for values
333
  inbound_data['name'] = (inbound_data['first_name'] && inbound_data['last_name']) ? inbound_data['first_name'] + " " + inbound_data['last_name'] : inbound_data['name'];
@@ -401,8 +402,7 @@ jQuery(document).ready(function($) {
401
  }
402
  }
403
 
404
- //console.log(inbound_data);
405
- if ( jQuery('.wpl-search-box').length ) {
406
  /* Core Inbound Search Tracking Script */
407
  jQuery("body").on('submit', '.wpl-search-box', function (e) {
408
  var inbound_search_data = jQuery.totalStorage('inbound_search') || {},
@@ -477,11 +477,9 @@ jQuery(document).ready(function($) {
477
 
478
 
479
  });
480
- }
481
 
482
 
483
  /* Core Inbound Form Tracking Script */
484
- if ( jQuery('.wpl-track-me').length ) {
485
  jQuery("body").on('submit', '.wpl-track-me', function (e) {
486
  var inbound_data = inbound_data || {},
487
  this_form = jQuery(this),
@@ -566,7 +564,7 @@ jQuery(document).ready(function($) {
566
  });
567
 
568
  });
569
- }
570
 
571
  /* Core Inbound Link Tracking */
572
  if ( jQuery('.wpl-track-me-link').length ) {
190
 
191
  function return_mapped_values(this_form) {
192
  // Map form fields
193
+ jQuery(this_form).find('input[type!="hidden"],textarea,select').each(function() {
194
  console.log('run');
195
  var this_input = jQuery(this);
196
  var this_input_val = this_input.val();
323
  // Set variables after mapping
324
  inbound_data['email'] = (!inbound_data['email']) ? this_form.find('.inbound-email').val() : inbound_data['email'];
325
  inbound_data['form_name'] = this_form.find('.inbound_form_name').val() || "Not Found";
326
+ inbound_data['form_id'] = this_form.find('.inbound_form_id').val() || "Not Found";
327
  inbound_data['first_name'] = (!inbound_data['first_name']) ? inbound_data['name'] : inbound_data['first_name'];
328
+ inbound_data['last_name'] = inbound_data['last_name'] || '';
329
+ inbound_data['phone'] = inbound_data['phone'] || '';
330
+ inbound_data['company'] = inbound_data['company'] || '';
331
+ inbound_data['address'] = inbound_data['address'] || '';
332
 
333
  // Fallbacks for values
334
  inbound_data['name'] = (inbound_data['first_name'] && inbound_data['last_name']) ? inbound_data['first_name'] + " " + inbound_data['last_name'] : inbound_data['name'];
402
  }
403
  }
404
 
405
+
 
406
  /* Core Inbound Search Tracking Script */
407
  jQuery("body").on('submit', '.wpl-search-box', function (e) {
408
  var inbound_search_data = jQuery.totalStorage('inbound_search') || {},
477
 
478
 
479
  });
 
480
 
481
 
482
  /* Core Inbound Form Tracking Script */
 
483
  jQuery("body").on('submit', '.wpl-track-me', function (e) {
484
  var inbound_data = inbound_data || {},
485
  this_form = jQuery(this),
564
  });
565
 
566
  });
567
+
568
 
569
  /* Core Inbound Link Tracking */
570
  if ( jQuery('.wpl-track-me-link').length ) {
shared/classes/class.charting.php CHANGED
@@ -19,7 +19,7 @@ if ( ! defined( 'ABSPATH' ) ) exit;
19
  if (!function_exists('Inbound_Graph')) {
20
  class Inbound_Graph {
21
 
22
- /*
23
 
24
  Simple example:
25
 
19
  if (!function_exists('Inbound_Graph')) {
20
  class Inbound_Graph {
21
 
22
+ /**
23
 
24
  Simple example:
25
 
shared/classes/class.compatibility.php CHANGED
@@ -3,7 +3,7 @@
3
  * Compability Mode Deregisters All Third party scripts not in the whitelist
4
  * - The class was made to cut down on third party support requests
5
  *
6
- * Call the dequeue manually InboundCompatibility::inbound_compatibilities_mode();
7
  */
8
 
9
  /* From Global Settings if compat mode toggled on turn off third party scripts */
@@ -13,7 +13,7 @@ if (!function_exists('inbound_turn_on_compatiblity')) {
13
  $screen = get_current_screen();
14
 
15
  // Add all Plugin Screens to Array
16
- $inbound_screens = InboundCompatibility::return_inbound_now_screens(); // grabs our plugin screen ids
17
 
18
  // If Not Inbound Now Screen Exit function
19
  if (!in_array($screen->id, $inbound_screens)) {
@@ -24,7 +24,7 @@ if (!function_exists('inbound_turn_on_compatiblity')) {
24
  $cta_compatiblity = get_option( 'wp-cta-main-inbound_compatibility_mode', $default = false );
25
  $lp_compatiblity = get_option( 'lp-main-inbound_compatibility_mode', $default = false );
26
  if ( $lead_compatiblity || $cta_compatiblity || $lp_compatiblity ) {
27
- InboundCompatibility::inbound_compatibilities_mode(); // kill third party scripts
28
  }
29
  }
30
  }
@@ -51,8 +51,8 @@ if (!function_exists('inbound_compability_admin_notice')) {
51
  }
52
  }
53
 
54
- if (!class_exists('InboundCompatibility')) {
55
- class InboundCompatibility {
56
  static $add_inbound_compatibility;
57
 
58
  /**
3
  * Compability Mode Deregisters All Third party scripts not in the whitelist
4
  * - The class was made to cut down on third party support requests
5
  *
6
+ * Call the dequeue manually Inbound_Compatibility::inbound_compatibilities_mode();
7
  */
8
 
9
  /* From Global Settings if compat mode toggled on turn off third party scripts */
13
  $screen = get_current_screen();
14
 
15
  // Add all Plugin Screens to Array
16
+ $inbound_screens = Inbound_Compatibility::return_inbound_now_screens(); // grabs our plugin screen ids
17
 
18
  // If Not Inbound Now Screen Exit function
19
  if (!in_array($screen->id, $inbound_screens)) {
24
  $cta_compatiblity = get_option( 'wp-cta-main-inbound_compatibility_mode', $default = false );
25
  $lp_compatiblity = get_option( 'lp-main-inbound_compatibility_mode', $default = false );
26
  if ( $lead_compatiblity || $cta_compatiblity || $lp_compatiblity ) {
27
+ Inbound_Compatibility::inbound_compatibilities_mode(); // kill third party scripts
28
  }
29
  }
30
  }
51
  }
52
  }
53
 
54
+ if (!class_exists('Inbound_Compatibility')) {
55
+ class Inbound_Compatibility {
56
  static $add_inbound_compatibility;
57
 
58
  /**
shared/classes/class.debug.php CHANGED
@@ -8,13 +8,13 @@ if (!defined('INBOUND_CLASS_URL'))
8
  define('INBOUND_CLASS_URL', plugin_dir_url(__FILE__));
9
 
10
  //update_option( 'inbound_global_dequeue', "" );
11
- /*
12
  $global_array = get_option( 'inbound_global_dequeue' );
13
  print_r($global_array);
14
  /**/
15
 
16
- if (!class_exists('InboundDebugScripts')) {
17
- class InboundDebugScripts {
18
  static $add_debug;
19
 
20
  /* Contruct
@@ -73,7 +73,7 @@ if (!class_exists('InboundDebugScripts')) {
73
  wp_dequeue_script( $handle );
74
  }
75
  //wp_enqueue_script( 'jquery' );
76
- wp_register_script('inbound-debug', WP_CTA_URLPATH . 'shared/classes/js/debug.js', array('jquery'));
77
  wp_enqueue_script( 'inbound-debug' );
78
 
79
  foreach ( $store as $handle ) {
@@ -396,7 +396,7 @@ display: inline-block;}
396
  echo "</div>";
397
 
398
  // This will control the dequing
399
- /*
400
  foreach ($scripts_queued as $key => $value) {
401
  //echo $key . $value;
402
  if (!in_array($value, $white_list_scripts)){
@@ -412,6 +412,6 @@ display: inline-block;}
412
  /* Initialize InboundNow Debug
413
  * --------------------------------------------------------- */
414
 
415
- InboundDebugScripts::init();
416
 
417
  ?>
8
  define('INBOUND_CLASS_URL', plugin_dir_url(__FILE__));
9
 
10
  //update_option( 'inbound_global_dequeue', "" );
11
+ /**
12
  $global_array = get_option( 'inbound_global_dequeue' );
13
  print_r($global_array);
14
  /**/
15
 
16
+ if (!class_exists('Inbound_Debug_Scripts')) {
17
+ class Inbound_Debug_Scripts {
18
  static $add_debug;
19
 
20
  /* Contruct
73
  wp_dequeue_script( $handle );
74
  }
75
  //wp_enqueue_script( 'jquery' );
76
+ wp_register_script('inbound-debug', INBOUDNOW_SHARED_URLPATH . 'classes/js/debug.js', array('jquery'));
77
  wp_enqueue_script( 'inbound-debug' );
78
 
79
  foreach ( $store as $handle ) {
396
  echo "</div>";
397
 
398
  // This will control the dequing
399
+ /**
400
  foreach ($scripts_queued as $key => $value) {
401
  //echo $key . $value;
402
  if (!in_array($value, $white_list_scripts)){
412
  /* Initialize InboundNow Debug
413
  * --------------------------------------------------------- */
414
 
415
+ Inbound_Debug_Scripts::init();
416
 
417
  ?>
shared/classes/class.feedback.php CHANGED
@@ -1,381 +1,383 @@
1
  <?php
2
  /* Inbound Now Menu Class */
3
 
4
- if (!class_exists('InboundFeedback')) {
5
- class InboundFeedback {
6
- static $add_feedback;
7
 
8
- /* Contruct
9
- * --------------------------------------------------------- */
10
- static function init() {
11
- self::$add_feedback = true;
12
- // add_action('admin_bar_menu', array( __CLASS__, 'loads' ), 98);
13
- //add_action( 'wp_head', array(__CLASS__, 'menu_admin_head'));
14
- add_action( 'admin_footer', array(__CLASS__, 'show_feedback'));
15
- add_action('wp_ajax_send_inbound_feedback', array(__CLASS__, 'send_inbound_feedback'));
16
- add_action('wp_ajax_send_inbound_feedback', array(__CLASS__, 'send_inbound_feedback'));
17
- }
18
 
19
- /* Loads
20
- * --------------------------------------------------------- */
21
- static function loads($hook) {
22
- if ( ! self::$add_feedback )
23
- return;
24
- global $wp_admin_bar;
25
- // CHECK FOR ACTIVE PLUGINS
26
- $leads_status = FALSE; $landing_page_status = FALSE; $cta_status = FALSE;
27
- if (function_exists( 'is_plugin_active' ) && is_plugin_active('leads/wordpress-leads.php')) {
28
- $leads_status = TRUE;
29
- $leads_version_number = defined( 'WPL_CURRENT_VERSION' ) ? 'v' . WPL_CURRENT_VERSION : '';
30
- }
31
- if (function_exists( 'is_plugin_active' ) && is_plugin_active('landing-pages/landing-pages.php')) {
32
- $landing_page_status = TRUE;
33
- $landing_page_version_number = defined( 'LANDINGPAGES_CURRENT_VERSION' ) ? 'v' . LANDINGPAGES_CURRENT_VERSION : '';
34
 
35
- }
36
- if (function_exists( 'is_plugin_active' ) && is_plugin_active('cta/wordpress-cta.php')) {
37
- $cta_status = TRUE;
38
- $cta_number = defined( 'WP_CTA_CURRENT_VERSION' ) ? 'v' . WP_CTA_CURRENT_VERSION : '';
39
- }
40
 
41
- if ( $leads_status == FALSE && $landing_page_status == FALSE && $cta_status == FALSE ) {
42
 
43
- return; // end plugin is
44
 
45
- }
46
 
47
 
48
- // Exit if admin bar not there
49
- if ( ! is_user_logged_in() || ! is_admin_bar_showing() ) {
50
- return;
51
- }
52
 
53
- /** Show these items only if Inbound Now plugin is actually installed */
54
- if ( $leads_status == TRUE || $landing_page_status == TRUE || $cta_status == TRUE ) {
55
 
56
- }
57
 
58
- }
59
- static function send_inbound_feedback(){
60
- // process feedback
61
- if (isset($_POST['feedback'])) {
62
- $firstname= 'anonymous';
63
- $lastname= 'anonymous';
64
- $email = (isset($_POST['email'])) ? $_POST['email'] : 'anonymous';
65
- $feedback= $_POST['feedback'];
66
- $page = $_POST['page'];
67
- $plugin = (isset($_POST['plugin'])) ? $_POST['plugin'] : 'na';
68
 
69
- $context = array(
70
- 'hutk' => 'anonymous',
71
- 'ipAddress' => 'anonymous',
72
- 'pageUrl' => 'anonymous',
73
- 'pageTitle' => $page
74
- );
75
- $context_json = json_encode($context);
76
- //Need to populate these varilables with values from the form.
77
- $str_post2 = "message=" . urlencode($feedback)
78
- . "&email=" . urlencode($email)
79
- . "&plugin=" . urlencode($plugin)
80
- . "&page=" . urlencode($page)
81
- . "&hs_context=" . urlencode($context_json);
82
- $endpoint2 = 'https://forms.hubspot.com/uploads/form/v2/24784/4c6efedd-40b4-438e-bb4c-050a1944c974';
83
 
84
- $ch2 = @curl_init();
85
- @curl_setopt($ch2, CURLOPT_POST, true);
86
- @curl_setopt($ch2, CURLOPT_POSTFIELDS, $str_post2);
87
- @curl_setopt($ch2, CURLOPT_URL, $endpoint2);
88
- @curl_setopt($ch2, CURLOPT_HTTPHEADER, array('application/x-www-form-urlencoded'));
89
- @curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
90
- $response2 = @curl_exec($ch2); //Log the response from HubSpot as needed.
91
- @curl_close($ch2);
92
- echo $response2;
93
 
94
- }
95
- }
96
- static function show_feedback() {
97
- if ( ! self::$add_feedback || ! is_admin())
98
- return;
99
- $screen = get_current_screen();
 
 
100
 
101
- $show_array = array("edit-landing-page",
102
- "landing-page_page_lp_global_settings",
103
- "landing-page",
104
- "landing-page_page_lp_manage_templates",
105
- "edit-landing_page_category",
106
- "edit-inbound-forms",
107
- "wp-lead",
108
- "edit-wp-lead",
109
- "edit-list",
110
- "wp-lead_page_wpleads_global_settings",
111
- "edit-wp-call-to-action",
112
- "wp-call-to-action",
113
- "edit-wp_call_to_action_category",
114
- "wp-call-to-action_page_wp_cta_manage_templates",
115
- "wp-call-to-action_page_wp_cta_global_settings"
116
- );
117
- $lp_page_array = array("edit-landing-page",
118
- "landing-page_page_lp_global_settings",
119
- "landing-page",
120
- "landing-page_page_lp_manage_templates",
121
- "edit-landing_page_category"
122
- );
123
- $leads_page_array = array("wp-lead",
124
- "edit-wp-lead",
125
- "edit-list",
126
- "wp-lead_page_wpleads_global_settings",
127
- );
128
- $cta_page_array = array(
129
- "edit-wp-call-to-action",
130
- "wp-call-to-action",
131
- "edit-wp_call_to_action_category",
132
- "wp-call-to-action_page_wp_cta_manage_templates",
133
- "wp-call-to-action_page_wp_cta_global_settings"
134
- );
135
- if (!in_array($screen->id, $show_array))
136
- return; // exit if not an inbound now plugin screen
137
- if ( defined( 'WPL_URL' )) {
138
- $final_path = WPL_URL . "/";
139
- } else if (defined( 'LANDINGPAGES_URLPATH' )){
140
- $final_path = LANDINGPAGES_URLPATH;
141
- } else if (defined( 'WP_CTA_URLPATH' )){
142
- $final_path = WP_CTA_URLPATH;
143
- } else {
144
- $final_path = preg_replace("/\/shared\/shortcodes\//", "/", INBOUND_FORMS);
145
- }
146
- $plugin_name = "Inbound Now Marketing Plugins"; // default
147
- if (in_array($screen->id, $lp_page_array)) {
148
- $plugin_name = "Landing Pages plugin";
149
- } else if (in_array($screen->id, $cta_page_array)) {
150
- $plugin_name = "Calls to Action plugin";
151
- } else if (in_array($screen->id, $leads_page_array)) {
152
- $plugin_name = "Leads Pages plugin";
153
- }
154
 
155
- ?>
156
- <div id="launch-feedback" style='z-index:9999999999999; background:gray; position:fixed; bottom:0px; right:20px; width:200px; height:30px;'>
157
- <div id="inbound-fb-request">
158
- <div class="inbound-close-fb">close</div>
159
- <div id="lp-slide-toggle">
160
- <header id="header" class='inbound-customhead'>
161
- <img src="<?php echo $final_path . 'shared/assets/admin/images/inbound-now-logo.png';?>" width="315px">
162
- <h3 class="main-feedback-header" >We love hearing from You!</h3>
163
- <h4>Please leave your <strong>idea/feature request</strong> to make the <?php echo $plugin_name;?> better below!</h4>
164
- </header>
165
- <section id="inbound-rules-main">
166
- <form accept-charset="UTF-8" method="POST" id="inbound-feedback">
167
- <div class="hs_message field hs-form-field">
168
- <label placeholder="Enter your Feature Request" for="message-4c6efedd-40b4-438e-bb4c-050a1944c974">Feature Request<span class="hs-form-required"> * </span>
169
- </label>
170
- <div class="input">
171
- <textarea required="required" id="inbound-feedback-message" name="message" value=""></textarea>
172
- </div>
173
- <div class="input">
174
- <input id="inbound-feedback-email-field" name="email" value="" placeholder="Your Email (optional field)"></textarea>
175
- </div>
176
- </div>
177
 
178
- <div class="inbound-feedback-actions">
179
- <input class="submit-inbound-feedback" type="submit" value="Send Feedback/Feature Request">
180
- </div>
181
- <div class="inbound-feedback-desc" style="display: block;"><strong>Please note:</strong> Support requests will not be handled through this form</div>
182
- </form>
183
- </section>
184
- </div>
185
- <div id="inbound-automation-footer" class="inbound-selectron-foot"><?php //echo $screen->id;?>Submit a Feature Request</div>
186
- </div>
187
- <style type="text/css">
188
- #wpfooter {
189
- display: none;
190
- }
191
- .main-feedback-header {
192
- font-size: 21px;
193
- padding-top: 0px;
194
- margin-top: 14px;
195
- margin-bottom: 10px;
196
- padding-bottom: 0px;
197
- }
198
- .inbound-close-fb {
199
- font-size: 10px;
200
- position: absolute;
201
- right: 5px;
202
- top: -17px;
203
- cursor: pointer;
204
- }
205
- .inbound-customhead {
206
- text-align: center;
207
- }
208
- #inbound-fb-request {
209
- background: #fff;
210
- background: rgba(255, 255, 255, 1);
211
- margin: 0px;
212
- padding: 10px;
213
- margin-bottom: -1px;
214
- border: 1px solid #ccc;
215
- position: relative;
216
- border-top-left-radius: 2px;
217
- border-top-right-radius: 2px;
218
- box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.2), 0 25px 50px 0 rgba(0, 0, 0, 0.15);
219
- }
220
- #inbound-feedback h1 {
221
- font-size: 20px;
222
- color: green;
223
- }
224
- #inbound-feedback h3 {
225
- font-size: 13px;
226
- padding-bottom: 15px;
227
- }
228
- #inbound-fb-request h4{
229
- padding-right: 5px;
230
- text-align: left;
231
- font-weight: 300;
232
- font-size: 16px;
233
- line-height: 22px;
234
- margin-top: 13px;
235
- margin-bottom: 7px;
236
- }
237
- .inbound-feedback-actions {
238
- text-align: center;
239
- margin-top: 10px;
240
- margin-bottom: 5px;
241
- }
242
- .inbound-feedback-desc {
243
- color:#000;
244
- font-weight: 300;
245
- padding-bottom: 5px;
246
- padding-top: 5px;
247
- }
248
- #inbound-fb-request {
249
- position: fixed !important;
250
- right: 10px;
251
- bottom: 0px;
252
- width: 330px;
253
- }
254
- #lp-slide-toggle {
255
- margin-bottom: 30px;
256
- }
257
- #lp-slide-toggle {
258
- display: none;
259
- }
260
- #inbound-automation-footer.inbound-selectron-foot {
261
- color: #777;
262
- font-size: 20px;
263
- padding: 0 15px !important;
264
- cursor: pointer;
265
- padding-bottom: 0px !important;
266
- padding-top: 11px !important;
267
- position: absolute !important;
268
- right: 0 !important;
269
- bottom: 0px !important;
270
- left: 0 !important;
271
- background: #E9E9E9 !important;
272
- height: 26px !important;
273
- z-index: 8 !important;
274
- text-align: center;
275
- box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
276
- }
277
- .submit-inbound-feedback {
278
- position: relative;
279
- display: block;
280
- line-height: 40px;
281
- font-size: 18px;
282
- font-weight: 500;
283
- color: white;
284
- cursor: pointer;
285
- text-align: center;
286
- text-decoration: none;
287
- text-shadow: 0 1px rgba(0, 0, 0, 0.1);
288
- background: #fd935c;
289
- border-bottom: 2px solid #cf7e3b;
290
- border-color: rgba(0, 0, 0, 0.15);
291
- border-radius: 4px;
292
- width: 95%;
293
- margin: auto;
294
- }
295
- #lp-slide-toggle textarea, #inbound-feedback-email-field {
296
- width: 100%;
297
 
298
- padding: 6px 12px;
299
- font-size: 14px;
300
- line-height: 1.428571429;
301
- color: #555;
302
- vertical-align: middle;
303
- background-color: #fff;
304
- background-image: none;
305
- border: 1px solid #ccc;
306
- border-radius: 4px;
307
- -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
308
- box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
309
- -webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
310
- transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
311
 
312
- }
313
- #inbound-feedback-email-field {
314
- margin-top: 5px;
315
- }
316
- #lp-slide-toggle textarea {
317
- min-height: 125px;
318
- }
319
 
320
- #lp-slide-toggle textarea:focus, #inbound-feedback-email-field:focus {
321
  border-color: #66afe9;
322
  outline: 0;
323
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6);
324
  box-shadow: inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6);}
325
  </style>
326
- <script type="text/javascript">
327
- jQuery(document).ready(function($) {
328
- jQuery("body").on('click', '#inbound-automation-footer', function () {
329
 
330
- jQuery("#lp-slide-toggle").slideToggle();
331
- jQuery("#lp-open-close").toggleClass("lp-options-up");
332
 
333
- jQuery("#footer").toggleClass("lp-options-on");
334
- });
335
- jQuery("body").on('click', '.inbound-close-fb', function () {
336
- jQuery("#lp-slide-toggle").slideToggle();
337
- });
338
- jQuery("body").on('submit', '#inbound-feedback', function (e) {
339
- e.preventDefault(); // halt normal form
340
- var feedback = jQuery('#inbound-feedback-message').val();
341
- var email = jQuery('#inbound-feedback-email-field').val();
342
- if (typeof (feedback) != "undefined" && feedback != null && feedback != "") {
343
- jQuery.ajax({
344
- type: 'POST',
345
- url: ajaxurl,
346
- timeout: 10000,
347
- data: {
348
- feedback : feedback,
349
- email: email,
350
- page: document.title,
351
- plugin: "<?php echo $plugin_name;?>",
352
- action: 'send_inbound_feedback'
353
- },
354
- success: function(user_id){
355
- console.log('feedback sent');
356
- $(".inbound-customhead").hide();
357
- $("#inbound-feedback").html('<h1>Thank You for your feedback!</h1><h3>Our team is hard at work to improve things for you!</h3>');
358
- },
359
- error: function(MLHttpRequest, textStatus, errorThrown){
360
- //alert(MLHttpRequest+' '+errorThrown+' '+textStatus); // debug
361
 
362
- }
363
- });
364
- } else {
365
- $("#lp-slide-toggle textarea").css('border', 'red');
366
- }
367
- });
368
- });
369
 
370
- </script>
371
 
372
- <?php }
373
 
374
- }
375
  }
376
- /* Initialize InboundNow Menu
377
- * --------------------------------------------------------- */
378
 
379
- InboundFeedback::init();
380
 
381
  ?>
1
  <?php
2
  /* Inbound Now Menu Class */
3
 
4
+ if (!class_exists('Inbound_Feedback')) {
5
+ class Inbound_Feedback {
6
+ static $add_feedback;
7
 
8
+ /* Contruct
9
+ * --------------------------------------------------------- */
10
+ static function init() {
11
+ self::$add_feedback = true;
12
+ // add_action('admin_bar_menu', array( __CLASS__, 'loads' ), 98);
13
+ //add_action( 'wp_head', array(__CLASS__, 'menu_admin_head'));
14
+ add_action( 'admin_footer', array(__CLASS__, 'show_feedback'));
15
+ add_action('wp_ajax_send_inbound_feedback', array(__CLASS__, 'send_inbound_feedback'));
16
+ add_action('wp_ajax_send_inbound_feedback', array(__CLASS__, 'send_inbound_feedback'));
17
+ }
18
 
19
+ /* Loads
20
+ * --------------------------------------------------------- */
21
+ static function loads($hook) {
22
+ if ( ! self::$add_feedback )
23
+ return;
24
+ global $wp_admin_bar;
25
+ // CHECK FOR ACTIVE PLUGINS
26
+ $leads_status = FALSE; $landing_page_status = FALSE; $cta_status = FALSE;
27
+ if (function_exists( 'is_plugin_active' ) && is_plugin_active('leads/wordpress-leads.php')) {
28
+ $leads_status = TRUE;
29
+ $leads_version_number = defined( 'WPL_CURRENT_VERSION' ) ? 'v' . WPL_CURRENT_VERSION : '';
30
+ }
31
+ if (function_exists( 'is_plugin_active' ) && is_plugin_active('landing-pages/landing-pages.php')) {
32
+ $landing_page_status = TRUE;
33
+ $landing_page_version_number = defined( 'LANDINGPAGES_CURRENT_VERSION' ) ? 'v' . LANDINGPAGES_CURRENT_VERSION : '';
34
 
35
+ }
36
+ if (function_exists( 'is_plugin_active' ) && is_plugin_active('cta/wordpress-cta.php')) {
37
+ $cta_status = TRUE;
38
+ $cta_number = defined( 'WP_CTA_CURRENT_VERSION' ) ? 'v' . WP_CTA_CURRENT_VERSION : '';
39
+ }
40
 
41
+ if ( $leads_status == FALSE && $landing_page_status == FALSE && $cta_status == FALSE ) {
42
 
43
+ return; // end plugin is
44
 
45
+ }
46
 
47
 
48
+ // Exit if admin bar not there
49
+ if ( ! is_user_logged_in() || ! is_admin_bar_showing() ) {
50
+ return;
51
+ }
52
 
53
+ /** Show these items only if Inbound Now plugin is actually installed */
54
+ if ( $leads_status == TRUE || $landing_page_status == TRUE || $cta_status == TRUE ) {
55
 
56
+ }
57
 
58
+ }
59
+ static function send_inbound_feedback(){
60
+ // process feedback
61
+ if (isset($_POST['feedback'])) {
62
+ $firstname= 'anonymous';
63
+ $lastname= 'anonymous';
64
+ $email = (isset($_POST['email'])) ? $_POST['email'] : 'anonymous';
65
+ $feedback= $_POST['feedback'];
66
+ $page = $_POST['page'];
67
+ $plugin = (isset($_POST['plugin'])) ? $_POST['plugin'] : 'na';
68
 
69
+ $context = array(
70
+ 'hutk' => 'anonymous',
71
+ 'ipAddress' => 'anonymous',
72
+ 'pageUrl' => 'anonymous',
73
+ 'pageTitle' => $page
74
+ );
75
+ $context_json = json_encode($context);
76
+ //Need to populate these varilables with values from the form.
77
+ $str_post2 = "message=" . urlencode($feedback)
78
+ . "&email=" . urlencode($email)
79
+ . "&plugin=" . urlencode($plugin)
80
+ . "&page=" . urlencode($page)
81
+ . "&hs_context=" . urlencode($context_json);
82
+ $endpoint2 = 'https://forms.hubspot.com/uploads/form/v2/24784/4c6efedd-40b4-438e-bb4c-050a1944c974';
83
 
84
+ $ch2 = @curl_init();
85
+ @curl_setopt($ch2, CURLOPT_POST, true);
86
+ @curl_setopt($ch2, CURLOPT_POSTFIELDS, $str_post2);
87
+ @curl_setopt($ch2, CURLOPT_URL, $endpoint2);
88
+ @curl_setopt($ch2, CURLOPT_HTTPHEADER, array('application/x-www-form-urlencoded'));
89
+ @curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
90
+ $response2 = @curl_exec($ch2); //Log the response from HubSpot as needed.
91
+ @curl_close($ch2);
92
+ echo $response2;
93
 
94
+ }
95
+ }
96
+ static function show_feedback() {
97
+ if ( ! self::$add_feedback || ! is_admin()) {
98
+ return;
99
+ }
100
+
101
+ $screen = get_current_screen();
102
 
103
+ $show_array = array(
104
+ "edit-landing-page",
105
+ "landing-page_page_lp_global_settings",
106
+ "landing-page",
107
+ "landing-page_page_lp_manage_templates",
108
+ "edit-landing_page_category",
109
+ "edit-inbound-forms",
110
+ "wp-lead",
111
+ "edit-wp-lead",
112
+ "edit-list",
113
+ "wp-lead_page_wpleads_global_settings",
114
+ "edit-wp-call-to-action",
115
+ "wp-call-to-action",
116
+ "edit-wp_call_to_action_category",
117
+ "wp-call-to-action_page_wp_cta_manage_templates",
118
+ "wp-call-to-action_page_wp_cta_global_settings"
119
+ );
120
+
121
+ $lp_page_array = array(
122
+ "edit-landing-page",
123
+ "landing-page_page_lp_global_settings",
124
+ "landing-page",
125
+ "landing-page_page_lp_manage_templates",
126
+ "edit-landing_page_category"
127
+ );
128
+
129
+ $leads_page_array = array(
130
+ "wp-lead",
131
+ "edit-wp-lead",
132
+ "edit-list",
133
+ "wp-lead_page_wpleads_global_settings",
134
+ );
135
+
136
+ $cta_page_array = array(
137
+ "edit-wp-call-to-action",
138
+ "wp-call-to-action",
139
+ "edit-wp_call_to_action_category",
140
+ "wp-call-to-action_page_wp_cta_manage_templates",
141
+ "wp-call-to-action_page_wp_cta_global_settings"
142
+ );
143
+
144
+ if (!in_array($screen->id, $show_array)) {
145
+ return;
146
+ }
147
+
148
+ $plugin_name = "Inbound Now Marketing Plugins"; // default
149
+ if (in_array($screen->id, $lp_page_array)) {
150
+ $plugin_name = "Landing Pages plugin";
151
+ } else if (in_array($screen->id, $cta_page_array)) {
152
+ $plugin_name = "Calls to Action plugin";
153
+ } else if (in_array($screen->id, $leads_page_array)) {
154
+ $plugin_name = "Leads Pages plugin";
155
+ }
156
 
157
+ ?>
158
+ <div id="launch-feedback" style='z-index:9999999999999; background:gray; position:fixed; bottom:0px; right:20px; width:200px; height:30px;'>
159
+ <div id="inbound-fb-request">
160
+ <div class="inbound-close-fb">close</div>
161
+ <div id="lp-slide-toggle">
162
+ <header id="header" class='inbound-customhead'>
163
+ <img src="<?php echo INBOUDNOW_SHARED_URLPATH . 'assets/admin/images/inbound-now-logo.png';?>" width="315px">
164
+ <h3 class="main-feedback-header" >We love hearing from You!</h3>
165
+ <h4>Please leave your <strong>idea/feature request</strong> to make the <?php echo $plugin_name;?> better below!</h4>
166
+ </header>
167
+ <section id="inbound-rules-main">
168
+ <form accept-charset="UTF-8" method="POST" id="inbound-feedback">
169
+ <div class="hs_message field hs-form-field">
170
+ <label placeholder="Enter your Feature Request" for="message-4c6efedd-40b4-438e-bb4c-050a1944c974">Feature Request<span class="hs-form-required"> * </span>
171
+ </label>
172
+ <div class="input">
173
+ <textarea required="required" id="inbound-feedback-message" name="message" value=""></textarea>
174
+ </div>
175
+ <div class="input">
176
+ <input id="inbound-feedback-email-field" name="email" value="" placeholder="Your Email (optional field)"></textarea>
177
+ </div>
178
+ </div>
179
 
180
+ <div class="inbound-feedback-actions">
181
+ <input class="submit-inbound-feedback" type="submit" value="Send Feedback/Feature Request">
182
+ </div>
183
+ <div class="inbound-feedback-desc" style="display: block;"><strong>Please note:</strong> Support requests will not be handled through this form</div>
184
+ </form>
185
+ </section>
186
+ </div>
187
+ <div id="inbound-automation-footer" class="inbound-selectron-foot"><?php //echo $screen->id;?>Submit a Feature Request</div>
188
+ </div>
189
+ <style type="text/css">
190
+ #wpfooter {
191
+ display: none;
192
+ }
193
+ .main-feedback-header {
194
+ font-size: 21px;
195
+ padding-top: 0px;
196
+ margin-top: 14px;
197
+ margin-bottom: 10px;
198
+ padding-bottom: 0px;
199
+ }
200
+ .inbound-close-fb {
201
+ font-size: 10px;
202
+ position: absolute;
203
+ right: 5px;
204
+ top: -17px;
205
+ cursor: pointer;
206
+ }
207
+ .inbound-customhead {
208
+ text-align: center;
209
+ }
210
+ #inbound-fb-request {
211
+ background: #fff;
212
+ background: rgba(255, 255, 255, 1);
213
+ margin: 0px;
214
+ padding: 10px;
215
+ margin-bottom: -1px;
216
+ border: 1px solid #ccc;
217
+ position: relative;
218
+ border-top-left-radius: 2px;
219
+ border-top-right-radius: 2px;
220
+ box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.2), 0 25px 50px 0 rgba(0, 0, 0, 0.15);
221
+ }
222
+ #inbound-feedback h1 {
223
+ font-size: 20px;
224
+ color: green;
225
+ }
226
+ #inbound-feedback h3 {
227
+ font-size: 13px;
228
+ padding-bottom: 15px;
229
+ }
230
+ #inbound-fb-request h4{
231
+ padding-right: 5px;
232
+ text-align: left;
233
+ font-weight: 300;
234
+ font-size: 16px;
235
+ line-height: 22px;
236
+ margin-top: 13px;
237
+ margin-bottom: 7px;
238
+ }
239
+ .inbound-feedback-actions {
240
+ text-align: center;
241
+ margin-top: 10px;
242
+ margin-bottom: 5px;
243
+ }
244
+ .inbound-feedback-desc {
245
+ color:#000;
246
+ font-weight: 300;
247
+ padding-bottom: 5px;
248
+ padding-top: 5px;
249
+ }
250
+ #inbound-fb-request {
251
+ position: fixed !important;
252
+ right: 10px;
253
+ bottom: 0px;
254
+ width: 330px;
255
+ }
256
+ #lp-slide-toggle {
257
+ margin-bottom: 30px;
258
+ }
259
+ #lp-slide-toggle {
260
+ display: none;
261
+ }
262
+ #inbound-automation-footer.inbound-selectron-foot {
263
+ color: #777;
264
+ font-size: 20px;
265
+ padding: 0 15px !important;
266
+ cursor: pointer;
267
+ padding-bottom: 0px !important;
268
+ padding-top: 11px !important;
269
+ position: absolute !important;
270
+ right: 0 !important;
271
+ bottom: 0px !important;
272
+ left: 0 !important;
273
+ background: #E9E9E9 !important;
274
+ height: 26px !important;
275
+ z-index: 8 !important;
276
+ text-align: center;
277
+ box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
278
+ }
279
+ .submit-inbound-feedback {
280
+ position: relative;
281
+ display: block;
282
+ line-height: 40px;
283
+ font-size: 18px;
284
+ font-weight: 500;
285
+ color: white;
286
+ cursor: pointer;
287
+ text-align: center;
288
+ text-decoration: none;
289
+ text-shadow: 0 1px rgba(0, 0, 0, 0.1);
290
+ background: #fd935c;
291
+ border-bottom: 2px solid #cf7e3b;
292
+ border-color: rgba(0, 0, 0, 0.15);
293
+ border-radius: 4px;
294
+ width: 95%;
295
+ margin: auto;
296
+ }
297
+ #lp-slide-toggle textarea, #inbound-feedback-email-field {
298
+ width: 100%;
299
 
300
+ padding: 6px 12px;
301
+ font-size: 14px;
302
+ line-height: 1.428571429;
303
+ color: #555;
304
+ vertical-align: middle;
305
+ background-color: #fff;
306
+ background-image: none;
307
+ border: 1px solid #ccc;
308
+ border-radius: 4px;
309
+ -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
310
+ box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
311
+ -webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
312
+ transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
313
 
314
+ }
315
+ #inbound-feedback-email-field {
316
+ margin-top: 5px;
317
+ }
318
+ #lp-slide-toggle textarea {
319
+ min-height: 125px;
320
+ }
321
 
322
+ #lp-slide-toggle textarea:focus, #inbound-feedback-email-field:focus {
323
  border-color: #66afe9;
324
  outline: 0;
325
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6);
326
  box-shadow: inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6);}
327
  </style>
328
+ <script type="text/javascript">
329
+ jQuery(document).ready(function($) {
330
+ jQuery("body").on('click', '#inbound-automation-footer', function () {
331
 
332
+ jQuery("#lp-slide-toggle").slideToggle();
333
+ jQuery("#lp-open-close").toggleClass("lp-options-up");
334
 
335
+ jQuery("#footer").toggleClass("lp-options-on");
336
+ });
337
+ jQuery("body").on('click', '.inbound-close-fb', function () {
338
+ jQuery("#lp-slide-toggle").slideToggle();
339
+ });
340
+ jQuery("body").on('submit', '#inbound-feedback', function (e) {
341
+ e.preventDefault(); // halt normal form
342
+ var feedback = jQuery('#inbound-feedback-message').val();
343
+ var email = jQuery('#inbound-feedback-email-field').val();
344
+ if (typeof (feedback) != "undefined" && feedback != null && feedback != "") {
345
+ jQuery.ajax({
346
+ type: 'POST',
347
+ url: ajaxurl,
348
+ timeout: 10000,
349
+ data: {
350
+ feedback : feedback,
351
+ email: email,
352
+ page: document.title,
353
+ plugin: "<?php echo $plugin_name;?>",
354
+ action: 'send_inbound_feedback'
355
+ },
356
+ success: function(user_id){
357
+ console.log('feedback sent');
358
+ $(".inbound-customhead").hide();
359
+ $("#inbound-feedback").html('<h1>Thank You for your feedback!</h1><h3>Our team is hard at work to improve things for you!</h3>');
360
+ },
361
+ error: function(MLHttpRequest, textStatus, errorThrown){
362
+ //alert(MLHttpRequest+' '+errorThrown+' '+textStatus); // debug
363
 
364
+ }
365
+ });
366
+ } else {
367
+ $("#lp-slide-toggle textarea").css('border', 'red');
368
+ }
369
+ });
370
+ });
371
 
372
+ </script>
373
 
374
+ <?php }
375
 
376
+ }
377
  }
378
+ /* Initialize InboundNow Menu
379
+ * --------------------------------------------------------- */
380
 
381
+ Inbound_Feedback::init();
382
 
383
  ?>
shared/classes/class.form.php CHANGED
@@ -3,8 +3,8 @@
3
  * Creates Inbound Form Shortcode
4
  */
5
 
6
- if (!class_exists('InboundForms')) {
7
- class InboundForms {
8
  static $add_script;
9
  //=============================================
10
  // Hooks and Filters
@@ -309,7 +309,7 @@ class InboundForms {
309
  '.$icon_insert.''.$submit_button.$inner_button.'</button></div><input type="hidden" name="inbound_submitted" value="1">';
310
  // <!--<input type="submit" '.$submit_button_type.' class="button" value="'.$submit_button.'" name="send" id="inbound_form_submit" />-->
311
 
312
- $form .= '<input type="hidden" name="inbound_form_name" class="inbound_form_name" value="'.$form_name.'"><input type="hidden" name="inbound_form_lists" id="inbound_form_lists" value="'.$lists.'"><input type="hidden" name="inbound_form_id" value="'.$id.'"><input type="hidden" name="inbound_current_page_url" value="'.$current_page.'"><input type="hidden" name="inbound_furl" value="'. base64_encode($redirect) .'"><input type="hidden" name="inbound_notify" value="'. base64_encode($notify) .'"></form></div>';
313
  $form .= "<style type='text/css'>.inbound-button-submit{ {$font_size} }</style>";
314
  $form = preg_replace('/<br class="inbr".\/>/', '', $form); // remove editor br tags
315
 
@@ -384,8 +384,9 @@ class InboundForms {
384
  echo '<script type="text/javascript">
385
  jQuery(document).ready(function($){
386
 
 
387
  jQuery("form").submit(function(e) {
388
- jQuery("form").find("input").each(function(){
389
  if(!jQuery(this).prop("required")){
390
  } else if (!jQuery(this).val()) {
391
  alert("Oops! Looks like you have not filled out all of the required fields!");
@@ -816,29 +817,35 @@ class InboundForms {
816
 
817
  $field = strtolower($field);
818
 
819
- if (preg_match( '/Email|e-mail|email/i', $value)) {
820
- $field = "email";
821
  }
822
 
823
- if (preg_match( '/(?<!((last |last_)))name(?!\=)/im', $value) && !isset($form_data['first-name'])) {
824
- $field = "first-name";
825
  }
826
 
827
- if (preg_match( '/(?<!((first)))(last name|last_name|last)(?!\=)/im', $value) && !isset($form_data['last-name'])) {
828
- $field = "last-name";
829
  }
830
 
831
- if (preg_match( '/Phone|phone number|telephone/i', $value)) {
832
- $field = "phone";
833
  }
834
 
835
  $form_post_data[$field] = strip_tags( $value );
836
  }
837
-
 
838
  $form_meta_data['post_id'] = $_POST['inbound_form_id']; // pass in form id
839
- self::send_conversion_admin_notification($form_post_data , $form_meta_data);
840
- self::send_conversion_lead_notification($form_post_data , $form_meta_data);
 
 
 
 
841
 
 
842
  do_action('inboundnow_form_submit_actions', $form_post_data, $form_meta_data);
843
 
844
  /* redirect now */
@@ -901,7 +908,7 @@ class InboundForms {
901
  $headers = apply_filters( 'inbound_lead_notification_email_headers' , $headers );
902
 
903
  foreach ($to_address as $key => $recipient) {
904
- $result = wp_mail( $recipient , $subject , utf8_encode($body) , $headers );
905
  }
906
 
907
  } else {
@@ -1297,5 +1304,5 @@ class InboundForms {
1297
  }
1298
  }
1299
 
1300
- InboundForms::init();
1301
  ?>
3
  * Creates Inbound Form Shortcode
4
  */
5
 
6
+ if (!class_exists('Inbound_Forms')) {
7
+ class Inbound_Forms {
8
  static $add_script;
9
  //=============================================
10
  // Hooks and Filters
309
  '.$icon_insert.''.$submit_button.$inner_button.'</button></div><input type="hidden" name="inbound_submitted" value="1">';
310
  // <!--<input type="submit" '.$submit_button_type.' class="button" value="'.$submit_button.'" name="send" id="inbound_form_submit" />-->
311
 
312
+ $form .= '<input type="hidden" name="inbound_form_name" class="inbound_form_name" value="'.$form_name.'"><input type="hidden" name="inbound_form_lists" id="inbound_form_lists" value="'.$lists.'"><input type="hidden" name="inbound_form_id" class="inbound_form_id" value="'.$id.'"><input type="hidden" name="inbound_current_page_url" value="'.$current_page.'"><input type="hidden" name="inbound_furl" value="'. base64_encode($redirect) .'"><input type="hidden" name="inbound_notify" value="'. base64_encode($notify) .'"></form></div>';
313
  $form .= "<style type='text/css'>.inbound-button-submit{ {$font_size} }</style>";
314
  $form = preg_replace('/<br class="inbr".\/>/', '', $form); // remove editor br tags
315
 
384
  echo '<script type="text/javascript">
385
  jQuery(document).ready(function($){
386
 
387
+
388
  jQuery("form").submit(function(e) {
389
+ jQuery(this).find("input").each(function(){
390
  if(!jQuery(this).prop("required")){
391
  } else if (!jQuery(this).val()) {
392
  alert("Oops! Looks like you have not filled out all of the required fields!");
817
 
818
  $field = strtolower($field);
819
 
820
+ if (preg_match( '/Email|e-mail|email/i', $field)) {
821
+ $field = "wpleads_email_address";
822
  }
823
 
824
+ if (preg_match( '/(?<!((last |last_)))name(?!\=)/im', $field) && !isset($form_data['first-name'])) {
825
+ $field = "wpleads_first_name";
826
  }
827
 
828
+ if (preg_match( '/(?<!((first)))(last name|last_name|last)(?!\=)/im', $field) && !isset($form_data['last-name'])) {
829
+ $field = "wpleads_last_name";
830
  }
831
 
832
+ if (preg_match( '/Phone|phone number|telephone/i', $field)) {
833
+ $field = "wpleads_work_phone";
834
  }
835
 
836
  $form_post_data[$field] = strip_tags( $value );
837
  }
838
+
839
+
840
  $form_meta_data['post_id'] = $_POST['inbound_form_id']; // pass in form id
841
+
842
+ /* Send emails if passes spam checks - spam checks happen on lead store ajax script and here on the email actions script - redundantly */
843
+ if (!apply_filters( 'form_submission_spam_check' , $form_post_data ) ) {
844
+ self::send_conversion_admin_notification($form_post_data , $form_meta_data);
845
+ self::send_conversion_lead_notification($form_post_data , $form_meta_data);
846
+ }
847
 
848
+ /* hook runs after form actions are completed and before page redirect */
849
  do_action('inboundnow_form_submit_actions', $form_post_data, $form_meta_data);
850
 
851
  /* redirect now */
908
  $headers = apply_filters( 'inbound_lead_notification_email_headers' , $headers );
909
 
910
  foreach ($to_address as $key => $recipient) {
911
+ $result = wp_mail( $recipient , $subject , $body , $headers );
912
  }
913
 
914
  } else {
1304
  }
1305
  }
1306
 
1307
+ Inbound_Forms::init();
1308
  ?>
shared/classes/class.inbound-forms.akismet.php CHANGED
@@ -12,22 +12,52 @@ if ( !class_exists('Inbound_Akismet') ) {
12
  private function load_hooks() {
13
  /* Load hooks if akismet filtering is enabled */
14
  if (get_option('inbound_forms_enable_akismet' , '1' )) {
15
- add_action( 'inbound_store_lead_pre' , array( __CLASS__ , 'check_is_spam' ) );
 
 
 
16
  }
17
  }
18
 
 
 
 
 
 
 
 
19
  public static function check_is_spam( $lead_data ) {
20
  $api_key = Inbound_Akismet::get_api_key();
21
 
 
 
22
  if (!$api_key) {
23
- return;
24
  }
25
 
26
  $params = Inbound_Akismet::prepare_params( $lead_data );
27
- Inbound_Akismet::api_check( $params );
28
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  }
30
 
 
31
  public static function api_check( $params ) {
32
  global $akismet_api_host, $akismet_api_port;
33
 
@@ -50,14 +80,12 @@ if ( !class_exists('Inbound_Akismet') ) {
50
  '/1.1/comment-check', $akismet_api_port );
51
  }
52
 
 
53
  if ( 'true' == $response[1] ) {
54
- error_log( 'spam' );
55
- /* is spam bot kill store command */
56
- exit;
57
  }
58
 
59
- error_log('not spam');
60
-
61
  }
62
 
63
  /* Get Akismet API key */
@@ -81,11 +109,12 @@ if ( !class_exists('Inbound_Akismet') ) {
81
  $last_name = (isset($lead_data['wpleads_last_name'])) ? $lead_data['wpleads_last_name'] : '';
82
  $email_address = (isset($lead_data['wpleads_email_address'])) ? $lead_data['wpleads_email_address'] : '';
83
 
84
- $content = Inbound_Akismet::detect_content( $lead_data['form_input_values'] );
85
 
86
 
87
  $params = array(
88
  'comment_author' => $first_name . ' ' . $last_name,
 
89
  'comment_author_email' => $email_address,
90
  'comment_content' => $content
91
  );
@@ -102,29 +131,47 @@ if ( !class_exists('Inbound_Akismet') ) {
102
  return $params;
103
  }
104
 
105
- public static function detect_content( $form_submit_values ) {
106
- $form_submit_values = json_decode( stripslashes($form_submit_values) , true );
107
-
108
- /* If notes is mapped to the form then use the 'wpleads_notes' map key */
109
- if (isset($form_submit_values['wpleads_notes'])) {
110
- return $form_submit_values['wpleads_notes'];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
111
  }
112
 
113
  /* detect multi-line content in form submission */
114
- foreach ( $form_submit_values as $key => $value ) {
115
  if ( substr_count( $value, "\n" ) > 1 ) {
116
- error_log( $key );
117
  return $value;
118
  }
119
  }
120
 
 
 
121
  return '';
122
  }
123
 
124
  }
125
 
126
  /* Load Email Templates Post Type Pre Init */
127
- add_action('init' , function() {
128
  $GLOBALS['Inbound_Akismet'] = new Inbound_Akismet();
129
  } );
130
  }
12
  private function load_hooks() {
13
  /* Load hooks if akismet filtering is enabled */
14
  if (get_option('inbound_forms_enable_akismet' , '1' )) {
15
+
16
+ /* spam checks have to run in two different locations */
17
+ add_action( 'inbound_store_lead_pre' , array( __CLASS__ , 'check_is_spam' ) ); /* On store lead ajax */
18
+ add_filter( 'lead_processing_spam_check' , array( __CLASS__ , 'check_is_spam' ) ); /* On form email actions */
19
  }
20
  }
21
 
22
+ /* Checks if post content contains spam material
23
+ *
24
+ * @param lead_data ARRAY
25
+ *
26
+ * @return BOOL true for spam and false for spam
27
+ *
28
+ */
29
  public static function check_is_spam( $lead_data ) {
30
  $api_key = Inbound_Akismet::get_api_key();
31
 
32
+
33
+ /* return true if akismet is not setup */
34
  if (!$api_key) {
35
+ return true;
36
  }
37
 
38
  $params = Inbound_Akismet::prepare_params( $lead_data );
39
+ $is_spam = Inbound_Akismet::api_check( $params );
40
+
41
+ /* if not spam return false */
42
+ if (!$is_spam) {
43
+ return false;
44
+ }
45
+
46
+ /* Discover which filter is calling the spam check and react to spam accordingly */
47
+ switch (current_filter()) {
48
+ /* Kill ajax script if inbound_store_lead_pre hook */
49
+ case 'inbound_store_lead_pre':
50
+ exit;
51
+ break;
52
+ /* Return false to prevent email actions if lead_processing_spam_check hook */
53
+ case 'lead_processing_spam_check':
54
+ return true;
55
+ break;
56
+ }
57
+
58
  }
59
 
60
+ /* This function polls Akismet to see if submitted content contains spam */
61
  public static function api_check( $params ) {
62
  global $akismet_api_host, $akismet_api_port;
63
 
80
  '/1.1/comment-check', $akismet_api_port );
81
  }
82
 
83
+ /* returns true if spam else return false */
84
  if ( 'true' == $response[1] ) {
85
+ return true;
 
 
86
  }
87
 
88
+ return false;
 
89
  }
90
 
91
  /* Get Akismet API key */
109
  $last_name = (isset($lead_data['wpleads_last_name'])) ? $lead_data['wpleads_last_name'] : '';
110
  $email_address = (isset($lead_data['wpleads_email_address'])) ? $lead_data['wpleads_email_address'] : '';
111
 
112
+ $content = Inbound_Akismet::detect_content( $lead_data );
113
 
114
 
115
  $params = array(
116
  'comment_author' => $first_name . ' ' . $last_name,
117
+ //'comment_author' => 'spamcheck-test-123',
118
  'comment_author_email' => $email_address,
119
  'comment_content' => $content
120
  );
131
  return $params;
132
  }
133
 
134
+ public static function detect_content( $lead_data ) {
135
+
136
+ /* Look for the form_input_values key in lead data array first */
137
+ if (isset($lead_data['form_input_values'])) {
138
+ $form_submit_values = json_decode( stripslashes($lead_data) , true );
139
+
140
+ /* If notes is mapped to the form then use the 'wpleads_notes' map key */
141
+ if (isset($form_submit_values['wpleads_notes'])) {
142
+ return $form_submit_values['wpleads_notes'];
143
+ }
144
+
145
+ /* detect multi-line content in form submission */
146
+ foreach ( $form_submit_values as $key => $value ) {
147
+ if ( substr_count( $value, "\n" ) > 1 ) {
148
+ return $value;
149
+ }
150
+ }
151
+ }
152
+
153
+
154
+ /* Next look to see if our data is available in the main array */
155
+ if (isset($lead_data['wpleads_notes'])) {
156
+ return $lead_data['wpleads_notes'];
157
  }
158
 
159
  /* detect multi-line content in form submission */
160
+ foreach ( $lead_data as $key => $value ) {
161
  if ( substr_count( $value, "\n" ) > 1 ) {
 
162
  return $value;
163
  }
164
  }
165
 
166
+
167
+
168
  return '';
169
  }
170
 
171
  }
172
 
173
  /* Load Email Templates Post Type Pre Init */
174
+ add_action('plugins_loaded' , function() {
175
  $GLOBALS['Inbound_Akismet'] = new Inbound_Akismet();
176
  } );
177
  }
shared/classes/class.lead-fields.php CHANGED
@@ -183,7 +183,7 @@ if ( !class_exists('Leads_Field_Map') ) {
183
  * type: type of user area. 'text' or 'textarea'
184
  */
185
 
186
- /*
187
  add_filter('wp_leads_add_lead_field', 'custom_add_more_lead_fields', 10, 1);
188
  function custom_add_more_lead_fields($lead_fields) {
189
 
183
  * type: type of user area. 'text' or 'textarea'
184
  */
185
 
186
+ /**
187
  add_filter('wp_leads_add_lead_field', 'custom_add_more_lead_fields', 10, 1);
188
  function custom_add_more_lead_fields($lead_fields) {
189
 
shared/classes/class.load-shared.php ADDED
@@ -0,0 +1,110 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /* Load Shared Files */
4
+ if (!class_exists('Inbound_Load_Shared')) {
5
+
6
+ class Inbound_Load_Shared {
7
+
8
+ /**
9
+ * Initialize shared component loading only once.
10
+ *
11
+ */
12
+ public static function init() {
13
+ /* Bail if shared files already loaded */
14
+ if (defined('INBOUDNOW_SHARED')) {
15
+ return;
16
+ }
17
+
18
+ self::load_constants();
19
+ self::load_files();
20
+ self::load_legacy_elements();
21
+ }
22
+
23
+ /**
24
+ * Define constants used by shared files here
25
+ *
26
+ */
27
+ public static function load_constants() {
28
+ define( 'INBOUDNOW_SHARED' , 'loaded' );
29
+ define( 'INBOUDNOW_SHARED_PATH' , self::get_shared_path() );
30
+ define( 'INBOUDNOW_SHARED_URLPATH' , self::get_shared_urlpath() );
31
+ }
32
+
33
+ /**
34
+ * Include shared php files here
35
+ *
36
+ */
37
+ public static function load_files() {
38
+
39
+ include_once( INBOUDNOW_SHARED_PATH . 'classes/class.post-type.wp-lead.php');
40
+ include_once( INBOUDNOW_SHARED_PATH . 'classes/class.form.php'); // Mirrored forms
41
+ include_once( INBOUDNOW_SHARED_PATH . 'classes/class.menu.php'); // Inbound Marketing Menu
42
+ include_once( INBOUDNOW_SHARED_PATH . 'classes/class.feedback.php'); // Inbound Feedback Form
43
+ include_once( INBOUDNOW_SHARED_PATH . 'classes/class.debug.php'); // Inbound Debug & Scripts Class
44
+ include_once( INBOUDNOW_SHARED_PATH . 'classes/class.compatibility.php'); // Inbound Compatibility Class
45
+ include_once( INBOUDNOW_SHARED_PATH . 'classes/class.templating-engine.php'); // {{token}} Replacement Engine
46
+ include_once( INBOUDNOW_SHARED_PATH . 'classes/class.shortcodes.email-template.php');
47
+ include_once( INBOUDNOW_SHARED_PATH . 'classes/class.lead-fields.php');
48
+ include_once( INBOUDNOW_SHARED_PATH . 'classes/class.inbound-forms.akismet.php');
49
+ include_once( INBOUDNOW_SHARED_PATH . 'tracking/store.lead.php'); // Lead Storage from landing pages
50
+
51
+ include_once( INBOUDNOW_SHARED_PATH . 'shortcodes/inbound-shortcodes.php'); // Shared Shortcodes
52
+ include_once( INBOUDNOW_SHARED_PATH . 'extend/inboundnow.extend.php');
53
+ include_once( INBOUDNOW_SHARED_PATH . 'extend/inboundnow.global-settings.php'); // Inboundnow Global Settings
54
+ include_once( INBOUDNOW_SHARED_PATH . 'metaboxes/template.metaboxes.php'); // Shared Shortcodes
55
+ include_once( INBOUDNOW_SHARED_PATH . 'functions/global.shared.functions.php'); // Global Shared Utility functions
56
+ include_once( INBOUDNOW_SHARED_PATH . 'assets/assets.loader.class.php'); // Load Shared CSS and JS Assets
57
+
58
+ self::load_legacy_elements();
59
+ }
60
+
61
+ /**
62
+ * Legacy constants go here
63
+ *
64
+ *
65
+ */
66
+ public static function load_legacy_elements() {
67
+
68
+ if ( !defined( 'LANDINGPAGES_TEXT_DOMAIN' ) ) {
69
+ define('LANDINGPAGES_TEXT_DOMAIN', 'landing-pages' );
70
+ }
71
+
72
+ if (!defined('INBOUNDNOW_LABEL')) {
73
+ define('INBOUNDNOW_LABEL', 'inboundnow-legacy' );
74
+ }
75
+
76
+ }
77
+
78
+ /**
79
+ * Returns the correct absolute path to the Inbound Now shared directory
80
+ *
81
+ * @return Path to shared folder
82
+ *
83
+ */
84
+ public static function get_shared_path() {
85
+ if ( defined('WP_CTA_PATH') ) {
86
+ return WP_CTA_PATH . 'shared/';
87
+ } else if ( defined('LANDINGPAGES_PATH') ) {
88
+ return LANDINGPAGES_PATH . '/shared/';
89
+ } else if ( defined('WPL_PATH') ) {
90
+ return WPL_PATH . '/shared/';
91
+ }
92
+ }
93
+
94
+ /**
95
+ * Returns the correct URL path to the Inbound Now Shared directory
96
+ *
97
+ * @return URL path to shared directory
98
+ *
99
+ */
100
+ public static function get_shared_urlpath() {
101
+ if ( defined('WP_CTA_PATH') ) {
102
+ return WP_CTA_URLPATH . 'shared/';
103
+ } else if ( defined('LANDINGPAGES_PATH') ) {
104
+ return LANDINGPAGES_URLPATH . '/shared/';
105
+ } else if ( defined('WPL_PATH') ) {
106
+ return WPL_URLPATH . '/shared/';
107
+ }
108
+ }
109
+ }
110
+ }
shared/classes/class.menu.php CHANGED
@@ -1,8 +1,8 @@
1
  <?php
2
  /* Inbound Now Menu Class */
3
 
4
- if (!class_exists('InboundMenu')) {
5
- class InboundMenu {
6
 
7
  static $add_menu;
8
  static $go_button;
@@ -594,5 +594,5 @@ if (!class_exists('InboundMenu')) {
594
  }
595
  }
596
 
597
- $InboundMenu = new InboundMenu();
598
  }
1
  <?php
2
  /* Inbound Now Menu Class */
3
 
4
+ if (!class_exists('Inbound_Menu')) {
5
+ class Inbound_Menu {
6
 
7
  static $add_menu;
8
  static $go_button;
594
  }
595
  }
596
 
597
+ $Inbound_Menu = new Inbound_Menu();
598
  }
shared/classes/class.post-type.wp-lead.php CHANGED
@@ -45,7 +45,7 @@ if ( !class_exists('Inbound_Leads') ) {
45
  'publicly_queryable' => true,
46
  'show_ui' => true,
47
  'query_var' => true,
48
- 'menu_icon' => INBOUND_SHARED_ASSETS . '/global/images/leads.png',
49
  'capability_type' => 'post',
50
  'hierarchical' => false,
51
  'menu_position' => null,
@@ -130,27 +130,56 @@ if ( !class_exists('Inbound_Leads') ) {
130
  register_taxonomy( 'lead-tags', 'wp-lead', $args );
131
  }
132
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
133
  /*
134
  * Adds lead to list
135
  *
136
  * @param lead_id INT
137
- * @param list_id MIXED INT,STRING,ARRAY
138
  *
139
  */
140
  public static function add_lead_to_list( $lead_id , $list_id ) {
141
- wp_set_object_terms( $lead_id, $list_id , 'wpleads_list_category', true );
 
 
 
 
142
  do_action('add_lead_to_lead_list' , $lead_id , $list_id );
143
  }
144
 
 
145
  /*
146
  * Removes lead from list
147
  *
148
  * @param lead_id INT
149
- * @param list_id MIXED INT,STRING,ARRAY
150
  *
151
  */
152
  public static function remove_lead_from_list( $lead_id , $list_id ) {
153
- wp_remove_object_terms( $lead_id, $list_id , 'wpleads_list_category', true );
 
 
 
154
  do_action('remove_lead_from_list' , $lead_id , $list_id );
155
  }
156
 
@@ -159,7 +188,7 @@ if ( !class_exists('Inbound_Leads') ) {
159
  * Adds tag to lead
160
  *
161
  * @param lead_id INT
162
- * @param tag_id MIXED INT,STRING,ARRAY
163
  *
164
  */
165
  public static function add_tag_to_lead( $lead_id , $list_id ) {
@@ -209,7 +238,7 @@ if ( !class_exists('Inbound_Leads') ) {
209
  }
210
 
211
  if (!is_plugin_active('leads/wordpress-leads.php')) {
212
- _e( 'WordPress leads is not currently installed/activated to view and manage leads please turn it on.' , 'leads' );
213
  }
214
  }
215
 
@@ -254,7 +283,7 @@ if ( !class_exists('Inbound_Leads') ) {
254
  // This needs to be set to the URL for the admin menu option to remove (aka "Submenu Page")
255
  $taxonomy_admin_page = 'edit-tags.php?taxonomy=lead-tags&amp;post_type=wp-lead';
256
 
257
- if ( !$submenu[$menu_page] ) {
258
  return;
259
  }
260
 
45
  'publicly_queryable' => true,
46
  'show_ui' => true,
47
  'query_var' => true,
48
+ 'menu_icon' => INBOUDNOW_SHARED_URLPATH . 'assets/global/images/leads.png',
49
  'capability_type' => 'post',
50
  'hierarchical' => false,
51
  'menu_position' => null,
130
  register_taxonomy( 'lead-tags', 'wp-lead', $args );
131
  }
132
 
133
+ /**
134
+ * Make sure that all list ids are intval
135
+ *
136
+ * @param MIXED $lists
137
+ * @return ARRAY
138
+ *
139
+ */
140
+ public static function intval_list_ids( $lists ) {
141
+
142
+ if (is_array($lists)) {
143
+ foreach ($lists as $key => $id) {
144
+ $lists[ $key ] = intval($id);
145
+ }
146
+ } else {
147
+ $lists = intval( $list_id );
148
+ }
149
+
150
+ return $lists;
151
+ }
152
+
153
+
154
  /*
155
  * Adds lead to list
156
  *
157
  * @param lead_id INT
158
+ * @param list_id MIXED INT,ARRAY
159
  *
160
  */
161
  public static function add_lead_to_list( $lead_id , $list_id ) {
162
+
163
+ /* intval list ids */
164
+ $list_id = Inbound_Leads::intval_list_ids( $list_id );
165
+
166
+ wp_set_object_terms( $lead_id, $list_id , 'wplead_list_category', true );
167
  do_action('add_lead_to_lead_list' , $lead_id , $list_id );
168
  }
169
 
170
+
171
  /*
172
  * Removes lead from list
173
  *
174
  * @param lead_id INT
175
+ * @param list_id MIXED INT, ARRAY
176
  *
177
  */
178
  public static function remove_lead_from_list( $lead_id , $list_id ) {
179
+ /* intval list ids */
180
+ $list_id = Inbound_Leads::intval_list_ids( $list_id );
181
+
182
+ wp_remove_object_terms( $lead_id, $list_id , 'wplead_list_category', true );
183
  do_action('remove_lead_from_list' , $lead_id , $list_id );
184
  }
185
 
188
  * Adds tag to lead
189
  *
190
  * @param lead_id INT
191
+ * @param tag_id MIXED INT, STRING, ARRAY
192
  *
193
  */
194
  public static function add_tag_to_lead( $lead_id , $list_id ) {
238
  }
239
 
240
  if (!is_plugin_active('leads/wordpress-leads.php')) {
241
+ _e( 'WordPress Leads is not currently installed/activated to view and manage leads please turn it on.' , 'leads' );
242
  }
243
  }
244
 
283
  // This needs to be set to the URL for the admin menu option to remove (aka "Submenu Page")
284
  $taxonomy_admin_page = 'edit-tags.php?taxonomy=lead-tags&amp;post_type=wp-lead';
285
 
286
+ if ( !isset($submenu[$menu_page]) ) {
287
  return;
288
  }
289
 
shared/classes/class.shortcodes.email-template.php CHANGED
@@ -18,12 +18,12 @@ class Inbound_Email_Template_Shortcodes {
18
  add_shortcode( 'inbound-gravitar', array( __CLASS__, 'generate_gravitar' ), 1 );
19
  }
20
 
21
- /*
22
  * Used by leads-new-lead-notification email template to dispaly form fields the user inputted when converting on a form.
23
  *
24
  */
25
  public static function post_params_table( $atts ) {
26
- /*
27
  extract( shortcode_atts( array(
28
  'foo' => 'no foo',
29
  'baz' => 'default baz'
@@ -79,7 +79,7 @@ class Inbound_Email_Template_Shortcodes {
79
  return $html;
80
  }
81
 
82
- /*
83
  * Used by wp-notify-post-author email template to show comment author gravitar
84
  *
85
  *
18
  add_shortcode( 'inbound-gravitar', array( __CLASS__, 'generate_gravitar' ), 1 );
19
  }
20
 
21
+ /**
22
  * Used by leads-new-lead-notification email template to dispaly form fields the user inputted when converting on a form.
23
  *
24
  */
25
  public static function post_params_table( $atts ) {
26
+ /**
27
  extract( shortcode_atts( array(
28
  'foo' => 'no foo',
29
  'baz' => 'default baz'
79
  return $html;
80
  }
81
 
82
+ /**
83
  * Used by wp-notify-post-author email template to show comment author gravitar
84
  *
85
  *
shared/extend/inboundnow.extend.php CHANGED
@@ -16,10 +16,10 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
16
  if ( ! defined( 'INBOUNDNOW_STORE_URL' ) )
17
  define('INBOUNDNOW_STORE_URL','http://www.inboundnow.com/');
18
 
19
- if ( ! class_exists( 'INBOUNDNOW_EXTEND' ) )
20
  {
21
 
22
- class INBOUNDNOW_EXTEND {
23
 
24
  private $plugin_basename;
25
  private $plugin_slug;
@@ -346,3 +346,10 @@ if ( ! class_exists( 'INBOUNDNOW_EXTEND' ) )
346
 
347
  }
348
  } // end class_exists check
 
 
 
 
 
 
 
16
  if ( ! defined( 'INBOUNDNOW_STORE_URL' ) )
17
  define('INBOUNDNOW_STORE_URL','http://www.inboundnow.com/');
18
 
19
+ if ( ! class_exists( 'Inbound_License' ) )
20
  {
21
 
22
+ class Inbound_License {
23
 
24
  private $plugin_basename;
25
  private $plugin_slug;
346
 
347
  }
348
  } // end class_exists check
349
+
350
+ /* Legacy Class Name */
351
+ if ( !class_exists('INBOUNDNOW_EXTEND') ) {
352
+
353
+ class INBOUNDNOW_EXTEND extends Inbound_License {};
354
+
355
+ }
shared/js/selectron.js CHANGED
@@ -1,4 +1,4 @@
1
- /*
2
  * Selectron.js - v 1.0
3
  * Copyright 2005, 2013 Inbound Now
4
  * Builds jQuery and CSS Selectors for with mouse clicks
1
+ /**
2
  * Selectron.js - v 1.0
3
  * Copyright 2005, 2013 Inbound Now
4
  * Builds jQuery and CSS Selectors for with mouse clicks
shared/metaboxes/template.metaboxes.php CHANGED
@@ -7,7 +7,7 @@ function inbound_template_metabox_render( $plugin , $key , $custom_fields , $pos
7
  case "cta" :
8
  $prefix = 'wp_cta';
9
  $prefix_dash = 'wp-cta';
10
- $CTAExtensions = CTALoadExtensions();
11
  $extension_data = $CTAExtensions->definitions;
12
  break;
13
  }
7
  case "cta" :
8
  $prefix = 'wp_cta';
9
  $prefix_dash = 'wp-cta';
10
+ $CTAExtensions = CTA_Load_Extensions();
11
  $extension_data = $CTAExtensions->definitions;
12
  break;
13
  }
shared/shortcodes/css/form-cpt.css CHANGED
@@ -43,7 +43,7 @@ height: 25px;}
43
  margin-bottom: 10px;
44
  margin-top: 5px;
45
  }
46
- /*
47
  #postbox-container-2 {
48
  display: none;
49
  }*/
43
  margin-bottom: 10px;
44
  margin-top: 5px;
45
  }
46
+ /**
47
  #postbox-container-2 {
48
  display: none;
49
  }*/
shared/shortcodes/css/frontend-render.css CHANGED
@@ -83,7 +83,7 @@ max-width: 98%;
83
  .inbound-field input[type=text], .inbound-field input[type=url], .inbound-field input[type=email], .inbound-field input[type=tel], .inbound-field input[type=number], .inbound-field input[type=password] {
84
  width: 47%;
85
  }
86
- /*
87
  #inbound-form-wrapper input[type=text], #inbound-form-wrapper input[type=url], #inbound-form-wrapper input[type=email], #inbound-form-wrapper input[type=tel], #inbound-form-wrapper input[type=number], #inbound-form-wrapper input[type=password] {
88
  width: 47%;
89
  }
83
  .inbound-field input[type=text], .inbound-field input[type=url], .inbound-field input[type=email], .inbound-field input[type=tel], .inbound-field input[type=number], .inbound-field input[type=password] {
84
  width: 47%;
85
  }
86
+ /**
87
  #inbound-form-wrapper input[type=text], #inbound-form-wrapper input[type=url], #inbound-form-wrapper input[type=email], #inbound-form-wrapper input[type=tel], #inbound-form-wrapper input[type=number], #inbound-form-wrapper input[type=password] {
88
  width: 47%;
89
  }
shared/shortcodes/inbound-shortcodes.php CHANGED
@@ -22,9 +22,9 @@ if (!defined('INBOUND_FORMS_ADMIN'))
22
 
23
  /* InboundNow Shortcodes Class
24
  * --------------------------------------------------------- */
25
- if (!class_exists('InboundShortcodes')) {
26
 
27
- class InboundShortcodes {
28
  static $add_script;
29
 
30
  /* Contruct
@@ -49,31 +49,11 @@ class InboundShortcodes {
49
  require_once( 'shortcodes-includes.php' );
50
  }
51
 
52
-
53
- // Set Consistant File Paths for inbound now plugins
54
- static function set_file_path(){
55
- if (function_exists('is_plugin_active')) {
56
- if (is_plugin_active('leads/wordpress-leads.php')) {
57
- $final_path = WPL_URL;
58
- } else if (is_plugin_active('landing-pages/landing-pages.php')) {
59
- $final_path = LANDINGPAGES_URLPATH;
60
- } else if (is_plugin_active('cta/wordpress-cta.php')) {
61
- $final_path = WP_CTA_URLPATH;
62
- }
63
-
64
- if ( force_ssl_admin() ) {
65
- $final_path = str_replace("http", "https", $final_path);
66
- }
67
- }
68
- return $final_path;
69
- }
70
-
71
  /* Loads
72
  * --------------------------------------------------------- */
73
  static function loads($hook) {
74
 
75
  global $post;
76
- $final_path = self::set_file_path();
77
 
78
  if ( $hook == 'post.php' || $hook == 'post-new.php' || $hook == 'page-new.php' || $hook == 'page.php' ) {
79
 
@@ -87,24 +67,24 @@ class InboundShortcodes {
87
  }
88
 
89
  wp_enqueue_script('jquery' );
90
- wp_enqueue_script('jquery-cookie', $final_path. 'shared/assets/global/js/jquery.cookie.js', array( 'jquery' ));
91
- wp_enqueue_script('jquery-total-storage', $final_path. 'shared/assets/global/js/jquery.total-storage.min.js', array( 'jquery' ));
92
- wp_enqueue_style('inbound-shortcodes', $final_path.'shared/shortcodes/css/shortcodes.css');
93
  wp_enqueue_script('jquery-ui-sortable' );
94
- wp_enqueue_script('inbound-shortcodes-plugins', $final_path.'shared/shortcodes/js/shortcodes-plugins.js');
95
 
96
  if (isset($post)&&post_type_supports($post->post_type,'editor')||isset($post)&&'wp-call-to-action' === $post->post_type) {
97
- wp_enqueue_script('inbound-shortcodes', $final_path.'shared/shortcodes/js/shortcodes.js');
98
  $form_id = (isset($_GET['post'])) ? $_GET['post'] : '';
99
  wp_localize_script( 'inbound-shortcodes', 'inbound_shortcodes', array( 'ajaxurl' => admin_url( 'admin-ajax.php' ) , 'adminurl' => admin_url(), 'inbound_shortcode_nonce' => wp_create_nonce('inbound-shortcode-nonce') , 'form_id' => $form_id ) );
100
- wp_enqueue_script('selectjs', $final_path.'shared/shortcodes/js/select2.min.js');
101
- wp_enqueue_style('selectjs', $final_path.'shared/shortcodes/css/select2.css');
102
  }
103
 
104
  // Forms CPT only
105
  if ((isset($post)&&'inbound-forms'=== $post->post_type)||( isset($_GET['post_type']) && $_GET['post_type']==='inbound-forms')) {
106
- wp_enqueue_style('inbound-forms-css', $final_path.'shared/shortcodes/css/form-cpt.css');
107
- wp_enqueue_script('inbound-forms-cpt-js', $final_path.'shared/shortcodes/js/form-cpt.js');
108
  wp_localize_script( 'inbound-forms-cpt-js', 'inbound_forms', array( 'ajaxurl' => admin_url( 'admin-ajax.php' ), 'inbound_shortcode_nonce' => wp_create_nonce('inbound-shortcode-nonce'), 'form_cpt' => 'on' ) );
109
  }
110
 
@@ -122,7 +102,7 @@ class InboundShortcodes {
122
  array_push($plugins_loaded, "leads");
123
  }
124
 
125
- wp_localize_script( 'inbound-shortcodes-plugins', 'inbound_load', array( 'image_dir' => $final_path.'shared/shortcodes/', 'inbound_plugins' => $plugins_loaded, 'pop_title' => 'Insert Shortcode' ));
126
 
127
  if (isset($post)&&$post->post_type=='inbound-forms') {
128
  require_once( 'shortcodes-fields.php' );
@@ -139,8 +119,7 @@ class InboundShortcodes {
139
  static function frontend_loads() {
140
 
141
  include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
142
- $final_path = self::set_file_path();
143
- wp_enqueue_style('inbound-shortcodes', $final_path.'shared/shortcodes/css/frontend-render.css');
144
 
145
  }
146
 
@@ -169,14 +148,13 @@ class InboundShortcodes {
169
  static function add_rich_plugins( $plugins ) {
170
 
171
  include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
172
- $final_path = self::set_file_path();
173
- $plugins['InboundShortcodes'] = $final_path.'shared/shortcodes/js/tinymce.js';
174
  return $plugins;
175
 
176
  }
177
 
178
  static function register_rich_buttons( $buttons ) {
179
- array_push( $buttons, "|", 'InboundShortcodesButton' );
180
  return $buttons;
181
  }
182
 
@@ -257,7 +235,7 @@ class InboundShortcodes {
257
 
258
  return $button;
259
  }
260
- /*
261
  static function inbound_shortcode_prompt($hook) {
262
 
263
  global $pagenow, $current_user, $post;
@@ -269,9 +247,9 @@ class InboundShortcodes {
269
  <a style="position: absolute; font-size: 13px; top: 0px; right: 30px; color:red;" href="'.$url.'&inbound_shortcode_ignore=0">
270
  Sounds good! Dismiss this
271
  </a>
272
- Looks like you haven\'t clicked the <img style="vertical-align: bottom;" src="'.INBOUND_SHARED_ASSETS.'global/images/shortcodes-blue.png"> button <span style="background:yellow">(highlighted in yellow)</span> in the content editor below. There are some great shortcodes for you to use!
273
  </div>';
274
- echo "<style type='text/css'>.mce_InboundShortcodesButton { background-color: yellow; }</style>";
275
 
276
  }
277
  }
@@ -580,7 +558,7 @@ class InboundShortcodes {
580
  }
581
 
582
  $li_count++;
583
- /*
584
  $new_value = $value;
585
  $new_value = preg_replace('/ class=(["\'])(.*?)(["\'])/','class="$2 lp-track-link"', $new_value);
586
  $content = str_replace($value, $new_value, $content);
@@ -643,14 +621,14 @@ class InboundShortcodes {
643
  static function inbound_forms_header_area()
644
  {
645
  global $post;
646
- $final_path = self::set_file_path();
647
  $post_id = $post->ID;
648
  $post_title = get_the_title( $post_id );
649
  $popup = trim(get_post_meta($post->ID, 'inbound_shortcode', true));
650
  $form_serialize = get_post_meta($post->ID, 'inbound_form_values', true);
651
  $field_count = get_post_meta($post->ID, 'inbound_form_field_count', true);
652
  $short_shortcode = "";
653
- $shortcode = new InboundShortcodesFields( 'forms' );
654
 
655
  if ( empty ( $post ) || 'inbound-forms' !== get_post_type( $GLOBALS['post'] ) ) {
656
  return;
@@ -782,7 +760,7 @@ class InboundShortcodes {
782
  <?php if( $shortcode->no_preview ) : ?>
783
  <div id="inbound-shortcodes-nopreview"><?php _e('Shortcode has no preview', 'leads'); ?></div>
784
  <?php else : ?>
785
- <iframe src='<?php echo $final_path . 'shared/shortcodes/'; ?>preview.php?sc=&post=<?php echo $_GET['post']; ?>' width="285" scrollbar='true' frameborder="0" id="inbound-shortcodes-preview"></iframe>
786
  <?php endif; ?>
787
  </div>
788
  <div class="clear"></div>
@@ -852,6 +830,6 @@ class InboundShortcodes {
852
  }
853
  /* Initialize InboundNow Shortcodes
854
  * --------------------------------------------------------- */
855
- InboundShortcodes::init();
856
 
857
  ?>
22
 
23
  /* InboundNow Shortcodes Class
24
  * --------------------------------------------------------- */
25
+ if (!class_exists('Inbound_Shortcodes')) {
26
 
27
+ class Inbound_Shortcodes {
28
  static $add_script;
29
 
30
  /* Contruct
49
  require_once( 'shortcodes-includes.php' );
50
  }
51
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
52
  /* Loads
53
  * --------------------------------------------------------- */
54
  static function loads($hook) {
55
 
56
  global $post;
 
57
 
58
  if ( $hook == 'post.php' || $hook == 'post-new.php' || $hook == 'page-new.php' || $hook == 'page.php' ) {
59
 
67
  }
68
 
69
  wp_enqueue_script('jquery' );
70
+ wp_enqueue_script('jquery-cookie', INBOUDNOW_SHARED_URLPATH . 'assets/global/js/jquery.cookie.js', array( 'jquery' ));
71
+ wp_enqueue_script('jquery-total-storage', INBOUDNOW_SHARED_URLPATH . 'assets/global/js/jquery.total-storage.min.js', array( 'jquery' ));
72
+ wp_enqueue_style('inbound-shortcodes', INBOUDNOW_SHARED_URLPATH . 'shortcodes/css/shortcodes.css');
73
  wp_enqueue_script('jquery-ui-sortable' );
74
+ wp_enqueue_script('inbound-shortcodes-plugins', INBOUDNOW_SHARED_URLPATH . 'shortcodes/js/shortcodes-plugins.js');
75
 
76
  if (isset($post)&&post_type_supports($post->post_type,'editor')||isset($post)&&'wp-call-to-action' === $post->post_type) {
77
+ wp_enqueue_script('inbound-shortcodes', INBOUDNOW_SHARED_URLPATH . 'shortcodes/js/shortcodes.js');
78
  $form_id = (isset($_GET['post'])) ? $_GET['post'] : '';
79
  wp_localize_script( 'inbound-shortcodes', 'inbound_shortcodes', array( 'ajaxurl' => admin_url( 'admin-ajax.php' ) , 'adminurl' => admin_url(), 'inbound_shortcode_nonce' => wp_create_nonce('inbound-shortcode-nonce') , 'form_id' => $form_id ) );
80
+ wp_enqueue_script('selectjs', INBOUDNOW_SHARED_URLPATH . 'shortcodes/js/select2.min.js');
81
+ wp_enqueue_style('selectjs', INBOUDNOW_SHARED_URLPATH . 'shortcodes/css/select2.css');
82
  }
83
 
84
  // Forms CPT only
85
  if ((isset($post)&&'inbound-forms'=== $post->post_type)||( isset($_GET['post_type']) && $_GET['post_type']==='inbound-forms')) {
86
+ wp_enqueue_style('inbound-forms-css', INBOUDNOW_SHARED_URLPATH . 'shortcodes/css/form-cpt.css');
87
+ wp_enqueue_script('inbound-forms-cpt-js', INBOUDNOW_SHARED_URLPATH . 'shortcodes/js/form-cpt.js');
88
  wp_localize_script( 'inbound-forms-cpt-js', 'inbound_forms', array( 'ajaxurl' => admin_url( 'admin-ajax.php' ), 'inbound_shortcode_nonce' => wp_create_nonce('inbound-shortcode-nonce'), 'form_cpt' => 'on' ) );
89
  }
90
 
102
  array_push($plugins_loaded, "leads");
103
  }
104
 
105
+ wp_localize_script( 'inbound-shortcodes-plugins', 'inbound_load', array( 'image_dir' => INBOUDNOW_SHARED_URLPATH . 'shortcodes/', 'inbound_plugins' => $plugins_loaded, 'pop_title' => 'Insert Shortcode' ));
106
 
107
  if (isset($post)&&$post->post_type=='inbound-forms') {
108
  require_once( 'shortcodes-fields.php' );
119
  static function frontend_loads() {
120
 
121
  include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
122
+ wp_enqueue_style('inbound-shortcodes', INBOUDNOW_SHARED_URLPATH . 'shortcodes/css/frontend-render.css');
 
123
 
124
  }
125
 
148
  static function add_rich_plugins( $plugins ) {
149
 
150
  include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
151
+ $plugins['Inbound_Shortcodes'] = INBOUDNOW_SHARED_URLPATH . 'shortcodes/js/tinymce.js';
 
152
  return $plugins;
153
 
154
  }
155
 
156
  static function register_rich_buttons( $buttons ) {
157
+ array_push( $buttons, "|", 'Inbound_ShortcodesButton' );
158
  return $buttons;
159
  }
160
 
235
 
236
  return $button;
237
  }
238
+ /**
239
  static function inbound_shortcode_prompt($hook) {
240
 
241
  global $pagenow, $current_user, $post;
247
  <a style="position: absolute; font-size: 13px; top: 0px; right: 30px; color:red;" href="'.$url.'&inbound_shortcode_ignore=0">
248
  Sounds good! Dismiss this
249
  </a>
250
+ Looks like you haven\'t clicked the <img style="vertical-align: bottom;" src="'.INBOUDNOW_SHARED_URLPATH . 'assets/' ..'global/images/shortcodes-blue.png"> button <span style="background:yellow">(highlighted in yellow)</span> in the content editor below. There are some great shortcodes for you to use!
251
  </div>';
252
+ echo "<style type='text/css'>.mce_Inbound_ShortcodesButton { background-color: yellow; }</style>";
253
 
254
  }
255
  }
558
  }
559
 
560
  $li_count++;
561
+ /**
562
  $new_value = $value;
563
  $new_value = preg_replace('/ class=(["\'])(.*?)(["\'])/','class="$2 lp-track-link"', $new_value);
564
  $content = str_replace($value, $new_value, $content);
621
  static function inbound_forms_header_area()
622
  {
623
  global $post;
624
+
625
  $post_id = $post->ID;
626
  $post_title = get_the_title( $post_id );
627
  $popup = trim(get_post_meta($post->ID, 'inbound_shortcode', true));
628
  $form_serialize = get_post_meta($post->ID, 'inbound_form_values', true);
629
  $field_count = get_post_meta($post->ID, 'inbound_form_field_count', true);
630
  $short_shortcode = "";
631
+ $shortcode = new Inbound_Shortcodes_Fields( 'forms' );
632
 
633
  if ( empty ( $post ) || 'inbound-forms' !== get_post_type( $GLOBALS['post'] ) ) {
634
  return;
760
  <?php if( $shortcode->no_preview ) : ?>
761
  <div id="inbound-shortcodes-nopreview"><?php _e('Shortcode has no preview', 'leads'); ?></div>
762
  <?php else : ?>
763
+ <iframe src='<?php echo INBOUDNOW_SHARED_URLPATH . 'shortcodes/'; ?>preview.php?sc=&post=<?php echo $_GET['post']; ?>' width="285" scrollbar='true' frameborder="0" id="inbound-shortcodes-preview"></iframe>
764
  <?php endif; ?>
765
  </div>
766
  <div class="clear"></div>
830
  }
831
  /* Initialize InboundNow Shortcodes
832
  * --------------------------------------------------------- */
833
+ Inbound_Shortcodes::init();
834
 
835
  ?>
shared/shortcodes/js/shortcodes.js CHANGED
@@ -843,7 +843,7 @@
843
 
844
  return false;
845
  }
846
- /*
847
  if ( shortcode_name === "insert_inbound_form_shortcode" && form_name == "") {
848
  var email_field = 'x';
849
  var test = get_email();
843
 
844
  return false;
845
  }
846
+ /**
847
  if ( shortcode_name === "insert_inbound_form_shortcode" && form_name == "") {
848
  var email_field = 'x';
849
  var test = get_email();
shared/shortcodes/js/tinymce.js CHANGED
@@ -109,7 +109,7 @@ var shortcode_addons = ["landing-pages","cta","leads"]; // Addon example
109
  a.addWithPopup( b, myArray[i], myArray[i] );
110
  }
111
  */
112
- /*
113
  //a.addWithPopup( b, 'Insert Button Shortcode', 'button' );
114
  //a.addWithPopup( b, 'Alert', 'alert' );
115
  //a.addWithPopup( b, 'Call Out', 'callout' );
109
  a.addWithPopup( b, myArray[i], myArray[i] );
110
  }
111
  */
112
+ /**
113
  //a.addWithPopup( b, 'Insert Button Shortcode', 'button' );
114
  //a.addWithPopup( b, 'Alert', 'alert' );
115
  //a.addWithPopup( b, 'Call Out', 'callout' );
shared/shortcodes/popup.php CHANGED
@@ -2,7 +2,7 @@
2
  include( 'shortcodes-fields.php' );
3
  $popup = trim( $_GET['popup'] );
4
 
5
- $shortcode = new InboundShortcodesFields( $popup );
6
  ?>
7
 
8
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
  include( 'shortcodes-fields.php' );
3
  $popup = trim( $_GET['popup'] );
4
 
5
+ $shortcode = new Inbound_Shortcodes_Fields( $popup );
6
  ?>
7
 
8
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
shared/shortcodes/shortcodes-fields.php CHANGED
@@ -1,323 +1,326 @@
1
  <?php
2
 
3
- /* Include wp-load
4
- * ----------------------------------------------------- */
5
- /* Include wp-load
6
- * ----------------------------------------------------- */
7
- $path_to_file = explode( 'wp-content', __FILE__ );
8
- $path_to_wp = $path_to_file[0];
9
- require_once( $path_to_wp . '/wp-load.php' );
10
-
11
- /* The Class
12
- * ----------------------------------------------------- */
13
- class InboundShortcodesFields {
14
-
15
- /* Variables
16
- * ----------------------------------------------------- */
17
- var $popup,
18
- $options,
19
- $shortcode,
20
- $child_options,
21
- $child_shortcode,
22
- $popup_title,
23
- $no_preview,
24
- $has_child,
25
- $output,
26
- $errors;
27
-
28
- /* Constuctor
29
- * ----------------------------------------------------- */
30
- function __construct( $popup ) {
31
- $this->popup = $popup;
32
- $this->show();
33
- }
34
-
35
- /* Show Fields
36
- * ----------------------------------------------------- */
37
- function show() {
38
 
39
- global $shortcodes_config;
40
- //print_r($shortcodes_config);exit;
41
- $fields = apply_filters('inboundnow_forms_settings', $shortcodes_config);
42
 
43
- if( isset( $fields[$this->popup]['child'] ) )
44
- $this->has_child = true;
 
45
 
46
- if( isset( $fields ) && is_array( $fields ) ) {
 
47
 
48
- $this->options = $fields[$this->popup]['options'];
49
- $this->shortcode = $fields[$this->popup]['shortcode'];
50
- $this->popup_title = $fields[$this->popup]['popup_title'];
51
 
52
- $this->append_output('<div id="_inbound_shortcodes_output" class="hidden">'.$this->shortcode.'</div>');
53
- $this->append_output('<div id="_inbound_shortcodes_popup" class="hidden">'.$this->popup.'</div>');
54
- $this->append_output('<div id="cpt-form-serialize" class="hidden"></div>');
55
 
 
 
 
56
 
57
- if( isset( $fields[$this->popup]['no_preview'] ) && $fields[$this->popup]['no_preview'] ) {
58
- $this->append_output( "\n" . '<div id="_inbound_shortcodes_preview" class="hidden">false</div>' );
59
- $this->no_preview = true;
60
- }
61
- $count = 0;
62
- if(is_array($this->options)) {
63
- foreach( $this->options as $key => $option ) {
64
- $first = $key;
65
-
66
- $key = 'inbound_shortcode_' . $key;
67
- $uniquekey = 'inbound_shortcode_' . $first . "_" . $count;
68
- $name = ( isset($option['name'])) ? $option['name'] : '';
69
- $desc = ( isset($option['desc'])) ? $option['desc'] : '';
70
- $std = ( isset($option['std']) ) ? $option['std'] : '';
71
- $placeholder = (isset($option['placeholder'])) ? $option['placeholder'] : '';
72
- $parent_class = (isset($option['class'])) ? $option['class'] : '';
73
-
74
- $row_start = '<tbody class="inbound_tbody inbound_shortcode_parent_tbody parent-'.$key.' '.$parent_class.'">';
75
- if ($key === "inbound_shortcode_form_name") {
76
- $row_start .= '<ol class="steps">
77
- <li class="step-item first active" data-display-options=".main-form-settings"><a href="#inbound_shortcode_parent_tbody" class="step-link">Main Form Settings</a></li>
78
- <li class="step-item" data-display-options=".inbound_shortcode_child_tbody"><a href="#inbound_shortcode_child_tbody" class="step-link">Edit/Add Fields</a></li>
79
- <li class="step-item last" data-display-options=".main-design-settings"><a href="#" class="step-link">Design & Layout</a></li>
80
- </ol>';
81
- }
82
- $row_start .= '<tr class="form-row">';
83
- $row_start .= '<td class="label">' . $name . '</td>';
84
- $row_start .= '<td class="field">';
85
 
86
- if( $option['type'] != 'checkbox' ) {
87
- $row_end = '<span class="inbound-shortcodes-form-desc">' . $desc . '</span>';
 
88
  }
89
- else {
90
- $row_end = '';
91
- }
92
- $row_end .= '</td>';
93
- $row_end .= '</tr>';
94
- $row_end .= '</tbody>';
95
-
96
- switch( $option['type'] ) {
97
-
98
- case 'text':
99
- $output = $row_start;
100
- $output .= '<input type="text" class="inbound-shortcodes-input '.$key.'" name="'. $uniquekey .'" id="'. $key .'" value="'. $std .'" size="40" placeholder="'.$placeholder.'" />';
101
- $output .= $row_end;
102
- $this->append_output($output);
103
- break;
104
-
105
- case 'hidden':
106
- $output = $row_start;
107
- $output .= '<input type="hidden" class="inbound-shortcodes-input '.$key.'" name="'. $uniquekey .'" id="'. $key .'" value="'. $std .'" size="40" placeholder="'.$placeholder.'" />';
108
- $output .= $row_end;
109
- $this->append_output($output);
110
- break;
111
-
112
- case 'textarea' :
113
- $output = $row_start;
114
- $output .= '<textarea class="inbound-shortcodes-input inbound-shortcodes-textarea" name="'. $key .'" id="'. $key .'" rows="5" cols="50">'. $std .'</textarea>';
115
- $output .= $row_end;
116
- $this->append_output($output);
117
- break;
118
-
119
- case 'select' :
120
- $output = $row_start;
121
- $output .= '<select name="'. $key .'" id="'.$key.'" class="inbound-shortcodes-input select inbound-shortcodes-select">';
122
- if ( isset( $option['options'] ) ) {
123
- foreach( $option['options'] as $val => $opt ) {
124
- $selected = ($std == $val) ? ' selected="selected"' : '';
125
- $output .= '<option'. $selected .' value="'. $val .'">'. $opt .'</option>';
126
- }
127
- }
128
- $output .= '</select>';
129
- $output .= $row_end;
130
- $this->append_output($output);
131
- break;
132
- case 'multiselect' :
133
- $output = $row_start;
134
- $output .= '<select multiple name="'. $key .'" id="'.$key.'" class="inbound-shortcodes-input select inbound-shortcodes-select">';
135
- foreach( $option['options'] as $val => $opt ) {
136
- $selected = ($std == $val) ? ' selected="selected"' : '';
137
- $output .= '<option'. $selected .' value="'. $val .'">'. $opt .'</option>';
138
- }
139
- $output .= '</select>';
140
- $output .= '<div class="wp-hidden-children">
141
- <h4><a class="hide-if-no-js" href="#list-add" id="list-add-toggle"> + Add New Lead List </a></h4>
142
- <div class="list-add wp-hidden-child" id="list-add-wrap"><ul class="child-clone-row-form"><li>
143
- <label for="newcategory" class="screen-reader-text">Add New Lead List</label>
144
- <input type="text" aria-required="true" placeholder="New List Name" class="inbound-shortcodes-input inbound_shortcode_notify form-required" id="newformlist" name="newformlist" autocorrect="off" autocomplete="off" style="width: 80%;"></li>';
145
- $output .= '<li><label for="newlist_parent" class="screen-reader-text"> Parent List: </label><select class="postform" id="newlist_parent" name="newlist_parent"><option value="-1">&mdash; Parent List &mdash;</option>';
146
- $args = array('hide_empty' => false);
147
- $terms = get_terms('wplead_list_category', $args);
148
- foreach($terms as $term){
149
- $term_id=$term->term_id;
150
- $term_name =$term->name;
151
- $parent_level = ($term->parent == 0 ) ? '' : '-';
152
- $output .='<option value="'.$term_id.'" class="level-0">'.$parent_level.$term_name.'</option>';
153
- }
154
- $output .='</select></li>';
155
- $output .='<li><input type="button" value="Add New Lead List" class="button button-primary" data-wp-lists="add:listchecklist:list-add" id="list-add-submit"></li></ul><span id="list-ajax-response"></span></div></div>';
156
- $output .= $row_end;
157
- $this->append_output($output);
158
- break;
159
- case 'checkbox' :
160
- $output = $row_start;
161
- $output .= '<label for="'.$key.'">';
162
- $output .= '<input type="checkbox" class="inbound-shortcodes-input inbound-shortcodes-checkbox" name="'.$key.'" id="'.$key.'"'. checked( $std, 1, false) .' />';
163
- $output .= '&nbsp;&nbsp;<span class="inbound-shortcodes-form-desc">';
164
- $output .= $desc .'</span></label>';
165
- $output .= $row_end;
166
- $this->append_output($output);
167
- break;
168
- case 'helper-block' :
169
- $output = $row_start;
170
- $output .= $row_end;
171
- $this->append_output($output);
172
- break;
173
- case 'colorpicker':
174
- $output = $row_start;
175
- $output .= '<input type="color" class="inbound-shortcodes-input '.$key.'" name="'. $uniquekey .'" id="'. $key .'" value="'. $std .'" size="40" placeholder="'.$placeholder.'" />';
176
- $output .= $row_end;
177
- $this->append_output($output);
178
- break;
179
-
180
- case 'cta' :
181
- $args = array('post_type' => 'wp-call-to-action', 'numberposts' => -1);
182
- $cta_post_type = get_posts($args);
183
- $output = $row_start;
184
- $output .= '<select multiple name="insert_inbound_cta[]"" id="insert_inbound_cta">';
185
- foreach ($cta_post_type as $cta) {
186
- //setup_postdata($cta);
187
- $this_id = $cta->ID;
188
- $post_title = $cta->post_title;
189
- $this_link = get_permalink( $this_id );
190
- $this_link = preg_replace('/\?.*/', '', $this_link);
191
- //$output .= '<input class="checkbox" type="checkbox" value="" name="" id="" />' . $post_title . '<span id="view-cta-in-new-window">'.$this_link.'</span><br>';
192
- $output .= '<option value="'.$this_id.'" rel="" >'.$post_title.'</option>';
193
- }
194
- $output .= '</select></div></div>';
195
- $output .= $row_end;
196
- $this->append_output($output);
197
- break;
198
- }
199
- $count++;
200
- }
201
- }
202
-
203
- if( isset( $fields[$this->popup]['child'] ) ) {
204
-
205
- $this->child_options = $fields[$this->popup]['child']['options'];
206
- $this->child_shortcode = $fields[$this->popup]['child']['shortcode'];
207
-
208
- $parent_row_start = '<tbody class="inbound_tbody inbound_shortcode_child_tbody">';
209
- $parent_row_start .= '<tr class="form-row has-child">';
210
- $parent_row_start .= '<td><a href="#" id="form-child-add" class="button button-secondary">'.$fields[$this->popup]['child']['clone'].'</a>';
211
- $parent_row_start .= '<div class="child-clone-rows">';
212
- $parent_row_start .= '<div id="_inbound_shortcodes_child_output" class="hidden">'.$this->child_shortcode.'</div>';
213
- $parent_row_start .= '<div id="field_instructions">Drag and drop fields to reorder.</div>';
214
- $parent_row_start .= '<div class="child-clone-row"><span class="form-field-row-number">1</span><span class="inbound_field_type"></span><a class="child-clone-row-remove child-options-toggles">Remove</a><a href="#" class="child-clone-row-shrink child-options-toggles ">Minimize</a><a href="#" class="child-clone-row-exact child-options-toggles ">Clone</a>';
215
- $parent_row_start .= '<ul class="child-clone-row-form">';
216
-
217
- $this->append_output( $parent_row_start );
218
- $count = 1;
219
- foreach( $this->child_options as $key => $option ) {
220
  $first = $key;
221
- $uniquekey = 'inbound_shortcode_' . $first . "_" . $count;
222
- $hide_class = ($count > 1) ? 'minimize-class' : '';
223
- $text_class = ($count == 1) ? ' inbound-form-label-input' : '';
224
- $original_key = $key;
225
  $key = 'inbound_shortcode_' . $key;
 
226
  $name = ( isset($option['name'])) ? $option['name'] : '';
227
  $desc = ( isset($option['desc'])) ? $option['desc'] : '';
228
  $std = ( isset($option['std']) ) ? $option['std'] : '';
229
- $type = ( isset($option['type']) ) ? $option['type'] : '';
230
- $tab_class = (isset($option['class'])) ? " inbound-tab-class-".$option['class'] : '';
231
  $placeholder = (isset($option['placeholder'])) ? $option['placeholder'] : '';
232
- $field_class = (isset($option['class'])) ? ' ' . $option['class'] : '';
233
- $dynamic_hide = (isset($option['reveal_on'])) ? ' inbound-hidden-row' : '';
234
- $reveal_on = (isset($option['reveal_on'])) ? ' reveal-' . $option['reveal_on'] : '';
235
-
236
- $child_row_start = '<li class="child-clone-row-form-row '.$hide_class . $dynamic_hide . $reveal_on. $tab_class.'">';
237
- $child_row_start .= '<div class="child-clone-row-label row-class-'.$type.'">';
238
- $child_row_start .= '<label>' . $option['name'] . '</label>';
239
- $child_row_start .= '</div>';
240
- $child_row_start .= '<div class="child-clone-row-field row-class-'.$type.' row-child-class-'.$type.'">';
 
 
 
 
241
 
242
  if( $option['type'] != 'checkbox' ) {
243
- $child_row_end = '<span class="child-clone-row-desc">'.$desc.'</span>';
244
  }
245
  else {
246
- $child_row_end = '';
247
  }
248
- $child_row_end .= '</div>';
249
- $child_row_end .= '</li>';
 
250
 
251
  switch( $option['type'] ) {
252
 
253
- case 'helper-block' :
254
- $child_output = $child_row_start;
255
-
256
- $child_output .= $child_row_end;
257
- $this->append_output($child_output);
258
  break;
259
 
260
- case 'text' :
261
- $child_output = $child_row_start;
262
- $child_output .= '<input type="text" data-conditional-hide="'.$reveal_on.'" class="inbound-shortcodes-child-input'.$text_class.'" name="'. $uniquekey .'" id="'. $key .'" placeholder="'.$placeholder.'" value="'. $std .'" />';
263
- $child_output .= $child_row_end;
264
- $this->append_output($child_output);
265
  break;
266
 
267
  case 'textarea' :
268
- $child_output = $child_row_start;
269
- $child_output .= '<textarea class="inbound-shortcodes-child-input inbound-shortcodes-textarea" name="'. $uniquekey .'" id="'. $key .'">'. $std .'</textarea>';
270
- $child_output .= $child_row_end;
271
- $this->append_output($child_output);
272
  break;
273
 
274
  case 'select' :
275
- $child_output = $child_row_start;
276
- $child_output .= '<select data-field-name="'.$original_key.'" name="'. $uniquekey .'" id="'. $key .'" class="inbound-shortcodes-child-input select inbound-shortcodes-select '.$field_class.'">';
277
- foreach( $option['options'] as $value => $option ) {
278
- $selected = ( $std == $value ) ? ' selected="selected"' : '';
279
- $child_output .= '<option'. $selected .' value="'. $value .'">'. $option .'</option>';
 
 
280
  }
281
- $child_output .= '</select>';
282
- $child_output .= $child_row_end;
283
- $this->append_output($child_output);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
284
  break;
285
-
286
  case 'checkbox' :
287
- $child_output = $child_row_start;
288
- $child_output .= '<label for="'.$key.'">';
289
- $child_output .= '<input type="checkbox" class="inbound-shortcodes-child-input inbound-shortcodes-checkbox" name="'. $uniquekey .'" id="'. $key .'" '. checked( $std, 1, false) .' />';
290
- $child_output .= $desc.'</label>';
291
- $child_output .= $child_row_end;
292
- $this->append_output($child_output);
 
293
  break;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
294
  }
295
  $count++;
296
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
297
 
298
- $parent_row_end = '</ul>';
299
- $parent_row_end .= '</div>';
300
- $parent_row_end .= '</div>';
301
- $parent_row_end .= '</td>';
302
- $parent_row_end .= '</tr>';
303
- $parent_row_end .= '</tbody>';
304
 
305
- $this->append_output( $parent_row_end );
 
306
  }
307
  }
308
- }
309
 
310
- function append_output( $output ) {
311
- $this->output = $this->output . $output;
312
- }
313
 
314
- function reset_output( $output ) {
315
- $this->output = '';
316
- }
317
 
318
- function append_error( $error ) {
319
- $this->errors = $this->errors . $error;
320
- }
321
 
322
- }
323
 
 
1
  <?php
2
 
3
+ if ( !class_exists('Inbound_Shortcodes_Fields') ) {
4
+
5
+ /* Include wp-load
6
+ * ----------------------------------------------------- */
7
+ /* Include wp-load
8
+ * ----------------------------------------------------- */
9
+ $path_to_file = explode( 'wp-content', __FILE__ );
10
+ $path_to_wp = $path_to_file[0];
11
+ require_once( $path_to_wp . '/wp-load.php' );
12
+
13
+ /* The Class
14
+ * ----------------------------------------------------- */
15
+ class Inbound_Shortcodes_Fields {
16
+
17
+ /* Variables
18
+ * ----------------------------------------------------- */
19
+ var $popup,
20
+ $options,
21
+ $shortcode,
22
+ $child_options,
23
+ $child_shortcode,
24
+ $popup_title,
25
+ $no_preview,
26
+ $has_child,
27
+ $output,
28
+ $errors;
29
+
30
+ /* Constuctor
31
+ * ----------------------------------------------------- */
32
+ function __construct( $popup ) {
33
+ $this->popup = $popup;
34
+ $this->show();
35
+ }
 
 
36
 
37
+ /* Show Fields
38
+ * ----------------------------------------------------- */
39
+ function show() {
40
 
41
+ global $shortcodes_config;
42
+ //print_r($shortcodes_config);exit;
43
+ $fields = apply_filters('inboundnow_forms_settings', $shortcodes_config);
44
 
45
+ if( isset( $fields[$this->popup]['child'] ) )
46
+ $this->has_child = true;
47
 
48
+ if( isset( $fields ) && is_array( $fields ) ) {
 
 
49
 
50
+ $this->options = $fields[$this->popup]['options'];
51
+ $this->shortcode = $fields[$this->popup]['shortcode'];
52
+ $this->popup_title = $fields[$this->popup]['popup_title'];
53
 
54
+ $this->append_output('<div id="_inbound_shortcodes_output" class="hidden">'.$this->shortcode.'</div>');
55
+ $this->append_output('<div id="_inbound_shortcodes_popup" class="hidden">'.$this->popup.'</div>');
56
+ $this->append_output('<div id="cpt-form-serialize" class="hidden"></div>');
57
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
 
59
+ if( isset( $fields[$this->popup]['no_preview'] ) && $fields[$this->popup]['no_preview'] ) {
60
+ $this->append_output( "\n" . '<div id="_inbound_shortcodes_preview" class="hidden">false</div>' );
61
+ $this->no_preview = true;
62
  }
63
+ $count = 0;
64
+ if(is_array($this->options)) {
65
+ foreach( $this->options as $key => $option ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
66
  $first = $key;
67
+
 
 
 
68
  $key = 'inbound_shortcode_' . $key;
69
+ $uniquekey = 'inbound_shortcode_' . $first . "_" . $count;
70
  $name = ( isset($option['name'])) ? $option['name'] : '';
71
  $desc = ( isset($option['desc'])) ? $option['desc'] : '';
72
  $std = ( isset($option['std']) ) ? $option['std'] : '';
 
 
73
  $placeholder = (isset($option['placeholder'])) ? $option['placeholder'] : '';
74
+ $parent_class = (isset($option['class'])) ? $option['class'] : '';
75
+
76
+ $row_start = '<tbody class="inbound_tbody inbound_shortcode_parent_tbody parent-'.$key.' '.$parent_class.'">';
77
+ if ($key === "inbound_shortcode_form_name") {
78
+ $row_start .= '<ol class="steps">
79
+ <li class="step-item first active" data-display-options=".main-form-settings"><a href="#inbound_shortcode_parent_tbody" class="step-link">Main Form Settings</a></li>
80
+ <li class="step-item" data-display-options=".inbound_shortcode_child_tbody"><a href="#inbound_shortcode_child_tbody" class="step-link">Edit/Add Fields</a></li>
81
+ <li class="step-item last" data-display-options=".main-design-settings"><a href="#" class="step-link">Design & Layout</a></li>
82
+ </ol>';
83
+ }
84
+ $row_start .= '<tr class="form-row">';
85
+ $row_start .= '<td class="label">' . $name . '</td>';
86
+ $row_start .= '<td class="field">';
87
 
88
  if( $option['type'] != 'checkbox' ) {
89
+ $row_end = '<span class="inbound-shortcodes-form-desc">' . $desc . '</span>';
90
  }
91
  else {
92
+ $row_end = '';
93
  }
94
+ $row_end .= '</td>';
95
+ $row_end .= '</tr>';
96
+ $row_end .= '</tbody>';
97
 
98
  switch( $option['type'] ) {
99
 
100
+ case 'text':
101
+ $output = $row_start;
102
+ $output .= '<input type="text" class="inbound-shortcodes-input '.$key.'" name="'. $uniquekey .'" id="'. $key .'" value="'. $std .'" size="40" placeholder="'.$placeholder.'" />';
103
+ $output .= $row_end;
104
+ $this->append_output($output);
105
  break;
106
 
107
+ case 'hidden':
108
+ $output = $row_start;
109
+ $output .= '<input type="hidden" class="inbound-shortcodes-input '.$key.'" name="'. $uniquekey .'" id="'. $key .'" value="'. $std .'" size="40" placeholder="'.$placeholder.'" />';
110
+ $output .= $row_end;
111
+ $this->append_output($output);
112
  break;
113
 
114
  case 'textarea' :
115
+ $output = $row_start;
116
+ $output .= '<textarea class="inbound-shortcodes-input inbound-shortcodes-textarea" name="'. $key .'" id="'. $key .'" rows="5" cols="50">'. $std .'</textarea>';
117
+ $output .= $row_end;
118
+ $this->append_output($output);
119
  break;
120
 
121
  case 'select' :
122
+ $output = $row_start;
123
+ $output .= '<select name="'. $key .'" id="'.$key.'" class="inbound-shortcodes-input select inbound-shortcodes-select">';
124
+ if ( isset( $option['options'] ) ) {
125
+ foreach( $option['options'] as $val => $opt ) {
126
+ $selected = ($std == $val) ? ' selected="selected"' : '';
127
+ $output .= '<option'. $selected .' value="'. $val .'">'. $opt .'</option>';
128
+ }
129
  }
130
+ $output .= '</select>';
131
+ $output .= $row_end;
132
+ $this->append_output($output);
133
+ break;
134
+ case 'multiselect' :
135
+ $output = $row_start;
136
+ $output .= '<select multiple name="'. $key .'" id="'.$key.'" class="inbound-shortcodes-input select inbound-shortcodes-select">';
137
+ foreach( $option['options'] as $val => $opt ) {
138
+ $selected = ($std == $val) ? ' selected="selected"' : '';
139
+ $output .= '<option'. $selected .' value="'. $val .'">'. $opt .'</option>';
140
+ }
141
+ $output .= '</select>';
142
+ $output .= '<div class="wp-hidden-children">
143
+ <h4><a class="hide-if-no-js" href="#list-add" id="list-add-toggle"> + Add New Lead List </a></h4>
144
+ <div class="list-add wp-hidden-child" id="list-add-wrap"><ul class="child-clone-row-form"><li>
145
+ <label for="newcategory" class="screen-reader-text">Add New Lead List</label>
146
+ <input type="text" aria-required="true" placeholder="New List Name" class="inbound-shortcodes-input inbound_shortcode_notify form-required" id="newformlist" name="newformlist" autocorrect="off" autocomplete="off" style="width: 80%;"></li>';
147
+ $output .= '<li><label for="newlist_parent" class="screen-reader-text"> Parent List: </label><select class="postform" id="newlist_parent" name="newlist_parent"><option value="-1">&mdash; Parent List &mdash;</option>';
148
+ $args = array('hide_empty' => false);
149
+ $terms = get_terms('wplead_list_category', $args);
150
+ foreach($terms as $term){
151
+ $term_id=$term->term_id;
152
+ $term_name =$term->name;
153
+ $parent_level = ($term->parent == 0 ) ? '' : '-';
154
+ $output .='<option value="'.$term_id.'" class="level-0">'.$parent_level.$term_name.'</option>';
155
+ }
156
+ $output .='</select></li>';
157
+ $output .='<li><input type="button" value="Add New Lead List" class="button button-primary" data-wp-lists="add:listchecklist:list-add" id="list-add-submit"></li></ul><span id="list-ajax-response"></span></div></div>';
158
+ $output .= $row_end;
159
+ $this->append_output($output);
160
  break;
 
161
  case 'checkbox' :
162
+ $output = $row_start;
163
+ $output .= '<label for="'.$key.'">';
164
+ $output .= '<input type="checkbox" class="inbound-shortcodes-input inbound-shortcodes-checkbox" name="'.$key.'" id="'.$key.'"'. checked( $std, 1, false) .' />';
165
+ $output .= '&nbsp;&nbsp;<span class="inbound-shortcodes-form-desc">';
166
+ $output .= $desc .'</span></label>';
167
+ $output .= $row_end;
168
+ $this->append_output($output);
169
  break;
170
+ case 'helper-block' :
171
+ $output = $row_start;
172
+ $output .= $row_end;
173
+ $this->append_output($output);
174
+ break;
175
+ case 'colorpicker':
176
+ $output = $row_start;
177
+ $output .= '<input type="color" class="inbound-shortcodes-input '.$key.'" name="'. $uniquekey .'" id="'. $key .'" value="'. $std .'" size="40" placeholder="'.$placeholder.'" />';
178
+ $output .= $row_end;
179
+ $this->append_output($output);
180
+ break;
181
+
182
+ case 'cta' :
183
+ $args = array('post_type' => 'wp-call-to-action', 'numberposts' => -1);
184
+ $cta_post_type = get_posts($args);
185
+ $output = $row_start;
186
+ $output .= '<select multiple name="insert_inbound_cta[]"" id="insert_inbound_cta">';
187
+ foreach ($cta_post_type as $cta) {
188
+ //setup_postdata($cta);
189
+ $this_id = $cta->ID;
190
+ $post_title = $cta->post_title;
191
+ $this_link = get_permalink( $this_id );
192
+ $this_link = preg_replace('/\?.*/', '', $this_link);
193
+ //$output .= '<input class="checkbox" type="checkbox" value="" name="" id="" />' . $post_title . '<span id="view-cta-in-new-window">'.$this_link.'</span><br>';
194
+ $output .= '<option value="'.$this_id.'" rel="" >'.$post_title.'</option>';
195
+ }
196
+ $output .= '</select></div></div>';
197
+ $output .= $row_end;
198
+ $this->append_output($output);
199
+ break;
200
  }
201
  $count++;
202
  }
203
+ }
204
+
205
+ if( isset( $fields[$this->popup]['child'] ) ) {
206
+
207
+ $this->child_options = $fields[$this->popup]['child']['options'];
208
+ $this->child_shortcode = $fields[$this->popup]['child']['shortcode'];
209
+
210
+ $parent_row_start = '<tbody class="inbound_tbody inbound_shortcode_child_tbody">';
211
+ $parent_row_start .= '<tr class="form-row has-child">';
212
+ $parent_row_start .= '<td><a href="#" id="form-child-add" class="button button-secondary">'.$fields[$this->popup]['child']['clone'].'</a>';
213
+ $parent_row_start .= '<div class="child-clone-rows">';
214
+ $parent_row_start .= '<div id="_inbound_shortcodes_child_output" class="hidden">'.$this->child_shortcode.'</div>';
215
+ $parent_row_start .= '<div id="field_instructions">Drag and drop fields to reorder.</div>';
216
+ $parent_row_start .= '<div class="child-clone-row"><span class="form-field-row-number">1</span><span class="inbound_field_type"></span><a class="child-clone-row-remove child-options-toggles">Remove</a><a href="#" class="child-clone-row-shrink child-options-toggles ">Minimize</a><a href="#" class="child-clone-row-exact child-options-toggles ">Clone</a>';
217
+ $parent_row_start .= '<ul class="child-clone-row-form">';
218
+
219
+ $this->append_output( $parent_row_start );
220
+ $count = 1;
221
+ foreach( $this->child_options as $key => $option ) {
222
+ $first = $key;
223
+ $uniquekey = 'inbound_shortcode_' . $first . "_" . $count;
224
+ $hide_class = ($count > 1) ? 'minimize-class' : '';
225
+ $text_class = ($count == 1) ? ' inbound-form-label-input' : '';
226
+ $original_key = $key;
227
+ $key = 'inbound_shortcode_' . $key;
228
+ $name = ( isset($option['name'])) ? $option['name'] : '';
229
+ $desc = ( isset($option['desc'])) ? $option['desc'] : '';
230
+ $std = ( isset($option['std']) ) ? $option['std'] : '';
231
+ $type = ( isset($option['type']) ) ? $option['type'] : '';
232
+ $tab_class = (isset($option['class'])) ? " inbound-tab-class-".$option['class'] : '';
233
+ $placeholder = (isset($option['placeholder'])) ? $option['placeholder'] : '';
234
+ $field_class = (isset($option['class'])) ? ' ' . $option['class'] : '';
235
+ $dynamic_hide = (isset($option['reveal_on'])) ? ' inbound-hidden-row' : '';
236
+ $reveal_on = (isset($option['reveal_on'])) ? ' reveal-' . $option['reveal_on'] : '';
237
+
238
+ $child_row_start = '<li class="child-clone-row-form-row '.$hide_class . $dynamic_hide . $reveal_on. $tab_class.'">';
239
+ $child_row_start .= '<div class="child-clone-row-label row-class-'.$type.'">';
240
+ $child_row_start .= '<label>' . $option['name'] . '</label>';
241
+ $child_row_start .= '</div>';
242
+ $child_row_start .= '<div class="child-clone-row-field row-class-'.$type.' row-child-class-'.$type.'">';
243
+
244
+ if( $option['type'] != 'checkbox' ) {
245
+ $child_row_end = '<span class="child-clone-row-desc">'.$desc.'</span>';
246
+ }
247
+ else {
248
+ $child_row_end = '';
249
+ }
250
+ $child_row_end .= '</div>';
251
+ $child_row_end .= '</li>';
252
+
253
+ switch( $option['type'] ) {
254
+
255
+ case 'helper-block' :
256
+ $child_output = $child_row_start;
257
+
258
+ $child_output .= $child_row_end;
259
+ $this->append_output($child_output);
260
+ break;
261
+
262
+ case 'text' :
263
+ $child_output = $child_row_start;
264
+ $child_output .= '<input type="text" data-conditional-hide="'.$reveal_on.'" class="inbound-shortcodes-child-input'.$text_class.'" name="'. $uniquekey .'" id="'. $key .'" placeholder="'.$placeholder.'" value="'. $std .'" />';
265
+ $child_output .= $child_row_end;
266
+ $this->append_output($child_output);
267
+ break;
268
+
269
+ case 'textarea' :
270
+ $child_output = $child_row_start;
271
+ $child_output .= '<textarea class="inbound-shortcodes-child-input inbound-shortcodes-textarea" name="'. $uniquekey .'" id="'. $key .'">'. $std .'</textarea>';
272
+ $child_output .= $child_row_end;
273
+ $this->append_output($child_output);
274
+ break;
275
+
276
+ case 'select' :
277
+ $child_output = $child_row_start;
278
+ $child_output .= '<select data-field-name="'.$original_key.'" name="'. $uniquekey .'" id="'. $key .'" class="inbound-shortcodes-child-input select inbound-shortcodes-select '.$field_class.'">';
279
+ foreach( $option['options'] as $value => $option ) {
280
+ $selected = ( $std == $value ) ? ' selected="selected"' : '';
281
+ $child_output .= '<option'. $selected .' value="'. $value .'">'. $option .'</option>';
282
+ }
283
+ $child_output .= '</select>';
284
+ $child_output .= $child_row_end;
285
+ $this->append_output($child_output);
286
+ break;
287
+
288
+ case 'checkbox' :
289
+ $child_output = $child_row_start;
290
+ $child_output .= '<label for="'.$key.'">';
291
+ $child_output .= '<input type="checkbox" class="inbound-shortcodes-child-input inbound-shortcodes-checkbox" name="'. $uniquekey .'" id="'. $key .'" '. checked( $std, 1, false) .' />';
292
+ $child_output .= $desc.'</label>';
293
+ $child_output .= $child_row_end;
294
+ $this->append_output($child_output);
295
+ break;
296
+ }
297
+ $count++;
298
+ }
299
 
300
+ $parent_row_end = '</ul>';
301
+ $parent_row_end .= '</div>';
302
+ $parent_row_end .= '</div>';
303
+ $parent_row_end .= '</td>';
304
+ $parent_row_end .= '</tr>';
305
+ $parent_row_end .= '</tbody>';
306
 
307
+ $this->append_output( $parent_row_end );
308
+ }
309
  }
310
  }
 
311
 
312
+ function append_output( $output ) {
313
+ $this->output = $this->output . $output;
314
+ }
315
 
316
+ function reset_output( $output ) {
317
+ $this->output = '';
318
+ }
319
 
320
+ function append_error( $error ) {
321
+ $this->errors = $this->errors . $error;
322
+ }
323
 
324
+ }
325
 
326
+ }
shared/shortcodes/shortcodes-includes.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- /*
4
  Grab all icons from http://fontawesome.io/icons/
5
  jQuery(".container").eq(3).addClass('special-class');
6
  function toTitleCase(str)
@@ -63,7 +63,7 @@ jQuery(".lead").append('"' + clean + '" => "' + toTitleCase(new_name) + '", ');
63
  // Landing Pages and CTA Shared Shortcodes
64
 
65
  /* Temporary need Forks */
66
- /*
67
  require_once ('shortcodes/callout.php');
68
  //require_once ('shortcodes/landing-page-list.php'); // ALL Landing page list
69
 
@@ -86,7 +86,7 @@ jQuery(".lead").append('"' + clean + '" => "' + toTitleCase(new_name) + '", ');
86
  //require_once ('shortcodes/testimonial.php'); // add custom testimonials
87
  //require_once ('shortcodes/video.php'); // Add trackable video
88
  */
89
- /*
90
  * Fix issues when shortcodes are embedded in a block of content that is filtered by wpautop.
91
  * http://www.johannheyne.de
92
  * ----------------------------------------------------- */
1
  <?php
2
 
3
+ /**
4
  Grab all icons from http://fontawesome.io/icons/
5
  jQuery(".container").eq(3).addClass('special-class');
6
  function toTitleCase(str)
63
  // Landing Pages and CTA Shared Shortcodes
64
 
65
  /* Temporary need Forks */
66
+ /**
67
  require_once ('shortcodes/callout.php');
68
  //require_once ('shortcodes/landing-page-list.php'); // ALL Landing page list
69
 
86
  //require_once ('shortcodes/testimonial.php'); // add custom testimonials
87
  //require_once ('shortcodes/video.php'); // Add trackable video
88
  */
89
+ /**
90
  * Fix issues when shortcodes are embedded in a block of content that is filtered by wpautop.
91
  * http://www.johannheyne.de
92
  * ----------------------------------------------------- */
shared/shortcodes/shortcodes/alert.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * Alert Shortcode
4
  */
5
 
6
  /* Shortcode generator config
@@ -29,7 +29,7 @@
29
  )
30
  ),
31
  'shortcode' => '[alert color="{{color}}"]{{content}}[/alert]',
32
- 'popup_title' => __('Insert Alert Message Shortcode', 'leads')
33
  );
34
 
35
  /* Add shortcode
1
  <?php
2
  /**
3
+ * Alert Shortcode
4
  */
5
 
6
  /* Shortcode generator config
29
  )
30
  ),
31
  'shortcode' => '[alert color="{{color}}"]{{content}}[/alert]',
32
+ 'popup_title' => 'Insert Alert Message Shortcode'
33
  );
34
 
35
  /* Add shortcode
shared/shortcodes/shortcodes/button.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * Button Shortcode
4
  */
5
 
6
  /* Shortcode generator config
@@ -9,7 +9,7 @@
9
  'no_preview' => false,
10
 
11
  'options' => array(
12
- /*
13
  'style' => array(
14
  'name' => __('Button Style', 'leads'),
15
  'desc' => __('Select the button style.', 'leads'),
@@ -39,7 +39,7 @@
39
  'type' => 'text',
40
  'std' => '20'
41
  ),
42
- /*
43
  'color' => array(
44
  'name' => __('Button Color', 'leads'),
45
  'desc' => __('Select the button color.', 'leads'),
@@ -102,7 +102,7 @@
102
  ),
103
  // style="{{style}}"
104
  'shortcode' => '[button font_size="{{font-size}}" color="{{color}}" text_color="{{text-color}}" icon="{{icon}}" url="{{url}}" width="{{width}}" target="{{target}}"]{{content}}[/button]',
105
- 'popup_title' => __('Insert Button Shortcode', 'leads')
106
  );
107
 
108
  /* Add shortcode
1
  <?php
2
  /**
3
+ * Button Shortcode
4
  */
5
 
6
  /* Shortcode generator config
9
  'no_preview' => false,
10
 
11
  'options' => array(
12
+ /**
13
  'style' => array(
14
  'name' => __('Button Style', 'leads'),
15
  'desc' => __('Select the button style.', 'leads'),
39
  'type' => 'text',
40
  'std' => '20'
41
  ),
42
+ /**
43
  'color' => array(
44
  'name' => __('Button Color', 'leads'),
45
  'desc' => __('Select the button color.', 'leads'),
102
  ),
103
  // style="{{style}}"
104
  'shortcode' => '[button font_size="{{font-size}}" color="{{color}}" text_color="{{text-color}}" icon="{{icon}}" url="{{url}}" width="{{width}}" target="{{target}}"]{{content}}[/button]',
105
+ 'popup_title' =>'Insert Button Shortcode'
106
  );
107
 
108
  /* Add shortcode
shared/shortcodes/shortcodes/call-to-action.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
- * Inbound Forms Shortcode Options
4
- * Forms code found in /shared/classes/form.class.php
5
  */
6
 
7
  $shortcodes_config['call-to-action'] = array(
@@ -27,5 +27,5 @@
27
 
28
  ),
29
  'shortcode' => '[cta id="{{insert_default}}" align="{{align}}"]',
30
- 'popup_title' => __('Insert Call to Action', 'leads')
31
  );
1
  <?php
2
  /**
3
+ * Inbound Forms Shortcode Options
4
+ * Forms code found in /shared/classes/form.class.php
5
  */
6
 
7
  $shortcodes_config['call-to-action'] = array(
27
 
28
  ),
29
  'shortcode' => '[cta id="{{insert_default}}" align="{{align}}"]',
30
+ 'popup_title' => 'Insert Call to Action'
31
  );
shared/shortcodes/shortcodes/callout.php CHANGED
@@ -61,7 +61,7 @@
61
  )
62
  ),
63
  'shortcode' => '[callout title="{{title}}" subtitle="{{subtitle}}" button_label="{{button_label}}" button_icon="{{button_icon}}" link="{{link}}"]',
64
- 'popup_title' => __('Insert Call Out Shortcode', 'leads')
65
  );
66
 
67
  /* Page builder module config
61
  )
62
  ),
63
  'shortcode' => '[callout title="{{title}}" subtitle="{{subtitle}}" button_label="{{button_label}}" button_icon="{{button_icon}}" link="{{link}}"]',
64
+ 'popup_title' => 'Insert Call Out Shortcode'
65
  );
66
 
67
  /* Page builder module config
shared/shortcodes/shortcodes/column.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * Columns Shortcode
4
  */
5
 
6
  /* Shortcode generator config
@@ -39,7 +39,7 @@
39
  )
40
  ),
41
  'shortcode' => '[columns gutter="{{gutter}}"]{{set}}[/columns]',
42
- 'popup_title' => __('Insert Column Shortcode', 'leads')
43
  );
44
 
45
  /* Page builder module config
1
  <?php
2
  /**
3
+ * Columns Shortcode
4
  */
5
 
6
  /* Shortcode generator config
39
  )
40
  ),
41
  'shortcode' => '[columns gutter="{{gutter}}"]{{set}}[/columns]',
42
+ 'popup_title' => 'Insert Column Shortcode'
43
  );
44
 
45
  /* Page builder module config
shared/shortcodes/shortcodes/content-box.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * Content Box Shortcode
4
  */
5
 
6
  /* Shortcode generator config
@@ -29,7 +29,7 @@
29
  )
30
  ),
31
  'shortcode' => '[content_box color="{{color}}"]{{content}}[/content_box]',
32
- 'popup_title' => __('Insert Content Box Shortcode', 'leads')
33
  );
34
 
35
  /* Page builder module config
1
  <?php
2
  /**
3
+ * Content Box Shortcode
4
  */
5
 
6
  /* Shortcode generator config
29
  )
30
  ),
31
  'shortcode' => '[content_box color="{{color}}"]{{content}}[/content_box]',
32
+ 'popup_title' => 'Insert Content Box Shortcode'
33
  );
34
 
35
  /* Page builder module config
shared/shortcodes/shortcodes/divider.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * Divider Shortcode
4
  */
5
 
6
  /* Shortcode generator config
@@ -41,7 +41,7 @@
41
  )
42
  ),
43
  'shortcode' => '[divider style="{{style}}" color="{{color}}" margin_top="{{margin_top}}" margin_bottom="{{margin_bottom}}"]',
44
- 'popup_title' => __('Insert Divider Shortcode', 'leads')
45
  );
46
 
47
  /* Page builder module config
1
  <?php
2
  /**
3
+ * Divider Shortcode
4
  */
5
 
6
  /* Shortcode generator config
41
  )
42
  ),
43
  'shortcode' => '[divider style="{{style}}" color="{{color}}" margin_top="{{margin_top}}" margin_bottom="{{margin_bottom}}"]',
44
+ 'popup_title' => 'Insert Divider Shortcode'
45
  );
46
 
47
  /* Page builder module config
shared/shortcodes/shortcodes/forms.php CHANGED
@@ -327,7 +327,7 @@
327
  'clone' => __('Add Another Field', 'leads' )
328
  ),
329
  'shortcode' => '[inbound_form name="{{form_name}}" lists="{{lists_hidden}}" redirect="{{redirect}}" notify="{{notify}}" notify_subject="{{notify_subject}}" layout="{{layout}}" font_size="{{font-size}}" labels="{{labels}}" icon="{{icon}}" submit="{{submit}}" submit="{{submit}}" submit_colors="{{submit-colors}}" submit_text_color="{{submit-text-color}}" submit_bg_color="{{submit-bg-color}}" width="{{width}}"]{{child}}[/inbound_form]',
330
- 'popup_title' => __('Insert Inbound Form Shortcode', 'leads')
331
  );
332
 
333
  /* CPT Lead Lists */
@@ -365,7 +365,7 @@ if (!function_exists('inbound_forms_cpt')) {
365
  register_post_type( 'inbound-forms' , $args );
366
  //flush_rewrite_rules( false );
367
 
368
- /*
369
  add_action('admin_menu', 'remove_list_cat_menu');
370
  function remove_list_cat_menu() {
371
  global $submenu;
327
  'clone' => __('Add Another Field', 'leads' )
328
  ),
329
  'shortcode' => '[inbound_form name="{{form_name}}" lists="{{lists_hidden}}" redirect="{{redirect}}" notify="{{notify}}" notify_subject="{{notify_subject}}" layout="{{layout}}" font_size="{{font-size}}" labels="{{labels}}" icon="{{icon}}" submit="{{submit}}" submit="{{submit}}" submit_colors="{{submit-colors}}" submit_text_color="{{submit-text-color}}" submit_bg_color="{{submit-bg-color}}" width="{{width}}"]{{child}}[/inbound_form]',
330
+ 'popup_title' => 'Insert Inbound Form Shortcode'
331
  );
332
 
333
  /* CPT Lead Lists */
365
  register_post_type( 'inbound-forms' , $args );
366
  //flush_rewrite_rules( false );
367
 
368
+ /**
369
  add_action('admin_menu', 'remove_list_cat_menu');
370
  function remove_list_cat_menu() {
371
  global $submenu;
shared/shortcodes/shortcodes/gmap.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * Google Map Shortcode
4
  */
5
 
6
  /* Shortcode generator config
@@ -80,7 +80,7 @@
80
  )
81
  ),
82
  'shortcode' => '[gmap type="{{type}}" address="{{address}}" lat="{{latitude}}" lng="{{longitude}}" zoom="{{zoom}}" pancontrol="{{pancontrol}}" zoomcontrol="{{zoomcontrol}}" maptypecontrol="{{maptypecontrol}}" width="{{width}}" height="{{height}}"]{{content}}[/gmap]',
83
- 'popup_title' => __('Insert Google Map Shortcode', 'leads')
84
  );
85
 
86
  /* Add shortcode
@@ -104,7 +104,7 @@
104
  ), $atts));
105
  $out = '';
106
  if ( !$lat == '' && !$lng == '') :
107
- $out .= '<div id="google_map_'.preg_replace('![^a-z0-9]+!i', '', $lat) . preg_replace('![^a-z0-9]+!i', '', $lng) . $type .'" class="google_map" style="width:'.$width.'px;height:'.$height.'px"></div>' . "\n";
108
  $out .= '
109
  <script type="text/javascript">
110
  (function($) {
1
  <?php
2
  /**
3
+ * Google Map Shortcode
4
  */
5
 
6
  /* Shortcode generator config
80
  )
81
  ),
82
  'shortcode' => '[gmap type="{{type}}" address="{{address}}" lat="{{latitude}}" lng="{{longitude}}" zoom="{{zoom}}" pancontrol="{{pancontrol}}" zoomcontrol="{{zoomcontrol}}" maptypecontrol="{{maptypecontrol}}" width="{{width}}" height="{{height}}"]{{content}}[/gmap]',
83
+ 'popup_title' => 'Insert Google Map Shortcode'
84
  );
85
 
86
  /* Add shortcode
104
  ), $atts));
105
  $out = '';
106
  if ( !$lat == '' && !$lng == '') :
107
+ $out .= '<div id="google_map_'.preg_replace('![^a-z0-9]+!i', '', $lat) . preg_replace('![^a-z0-9]+!i', '', $lng) . $type .'" class="google_map" style="width:'.$width.'px;height:'.$height.'px"></div>' . "\n";
108
  $out .= '
109
  <script type="text/javascript">
110
  (function($) {
shared/shortcodes/shortcodes/icon.php CHANGED
@@ -41,7 +41,7 @@
41
  ),
42
  ),
43
  'shortcode' => '[icon icon="{{icon}}" size="{{size}}" style="{{style}}"]',
44
- 'popup_title' => __('Insert Icon Shortcode', 'leads')
45
  );
46
 
47
  /* Add shortcode
41
  ),
42
  ),
43
  'shortcode' => '[icon icon="{{icon}}" size="{{size}}" style="{{style}}"]',
44
+ 'popup_title' => 'Insert Icon Shortcode'
45
  );
46
 
47
  /* Add shortcode
shared/shortcodes/shortcodes/intro.php CHANGED
@@ -33,7 +33,7 @@
33
  )
34
  ),
35
  'shortcode' => '[intro title="{{title}}" alignment="{{alignment}}"]{{content}}[/intro]',
36
- 'popup_title' => __('Insert Intro Shortcode', 'leads')
37
  );
38
 
39
  /* Page builder module config
33
  )
34
  ),
35
  'shortcode' => '[intro title="{{title}}" alignment="{{alignment}}"]{{content}}[/intro]',
36
+ 'popup_title' => 'Insert Intro Shortcode'
37
  );
38
 
39
  /* Page builder module config
shared/shortcodes/shortcodes/landing-page-list.php CHANGED
@@ -35,7 +35,7 @@
35
  )
36
  ),
37
  'shortcode' => '[landing-page-list heading="{{heading}}" column="{{column}}" number="{{number}}"]',
38
- 'popup_title' => __('Insert Landing Page List Shortcode', 'leads')
39
  );
40
 
41
  /* Page builder module config
35
  )
36
  ),
37
  'shortcode' => '[landing-page-list heading="{{heading}}" column="{{column}}" number="{{number}}"]',
38
+ 'popup_title' => 'Insert Landing Page List Shortcode'
39
  );
40
 
41
  /* Page builder module config
shared/shortcodes/shortcodes/pricing.php CHANGED
@@ -70,7 +70,7 @@
70
  'clone' => __('Add More Testimony', 'leads' )
71
  ),
72
  'shortcode' => '[pricing column="{{column}}"]{{child}}[/pricing]',
73
- 'popup_title' => __('Insert Pricing Shortcode', 'leads')
74
  );
75
 
76
  /* Page builder module config
70
  'clone' => __('Add More Testimony', 'leads' )
71
  ),
72
  'shortcode' => '[pricing column="{{column}}"]{{child}}[/pricing]',
73
+ 'popup_title' => 'Insert Pricing Shortcode'
74
  );
75
 
76
  /* Page builder module config
shared/shortcodes/shortcodes/profile.php CHANGED
@@ -58,7 +58,7 @@
58
  )
59
  ),
60
  'shortcode' => '[profile name="{{name}}" meta="{{meta}}" image="{{image}}"]{{content}}[/profile]',
61
- 'popup_title' => __('Insert Profile Shortcode', 'leads')
62
  );
63
 
64
  /* Page builder module config
58
  )
59
  ),
60
  'shortcode' => '[profile name="{{name}}" meta="{{meta}}" image="{{image}}"]{{content}}[/profile]',
61
+ 'popup_title' => 'Insert Profile Shortcode'
62
  );
63
 
64
  /* Page builder module config
shared/shortcodes/shortcodes/social-share.php CHANGED
@@ -98,5 +98,5 @@
98
  ),
99
  ),
100
  'shortcode' => '[social_share style="{{style}}" align="{{align}}" heading_align="{{header-align}}" text="{{text}}" heading="{{heading}}" facebook="{{facebook}}" twitter="{{twitter}}" google_plus="{{google_plus}}" linkedin="{{linkedin}}" pinterest="{{pinterest}}" link="{{link}}" /]',
101
- 'popup_title' => __('Insert Social Share Shortcode', 'leads')
102
  );
98
  ),
99
  ),
100
  'shortcode' => '[social_share style="{{style}}" align="{{align}}" heading_align="{{header-align}}" text="{{text}}" heading="{{heading}}" facebook="{{facebook}}" twitter="{{twitter}}" google_plus="{{google_plus}}" linkedin="{{linkedin}}" pinterest="{{pinterest}}" link="{{link}}" /]',
101
+ 'popup_title' => 'Insert Social Share Shortcode'
102
  );
shared/shortcodes/shortcodes/social.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * Social Links Shortcode
4
  */
5
 
6
  /* Shortcode generator config
@@ -58,7 +58,7 @@
58
  )
59
  ),
60
  'shortcode' => '[social_links facebook="{{facebook}}" twitter="{{twitter}}" google_plus="{{google_plus}}" linkedin="{{linkedin}}" github="{{github}}" pinterest="{{pinterest}}" /]',
61
- 'popup_title' => __('Insert Social Link Shortcode', 'leads')
62
  );
63
 
64
  /* Add shortcode
1
  <?php
2
  /**
3
+ * Social Links Shortcode
4
  */
5
 
6
  /* Shortcode generator config
58
  )
59
  ),
60
  'shortcode' => '[social_links facebook="{{facebook}}" twitter="{{twitter}}" google_plus="{{google_plus}}" linkedin="{{linkedin}}" github="{{github}}" pinterest="{{pinterest}}" /]',
61
+ 'popup_title' => 'Insert Social Link Shortcode'
62
  );
63
 
64
  /* Add shortcode
shared/shortcodes/shortcodes/tabs.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * Tabs Shortcode
4
  */
5
 
6
  /* Shortcode generator config
@@ -18,8 +18,8 @@
18
  'child' => array(
19
  'options' => array(
20
  'title' => array(
21
- 'name' => __('Tab Title', 'leads'),
22
- 'desc' => __('Enter the tab title.', 'leads'),
23
  'type' => 'text',
24
  'std' => ''
25
  ),
@@ -31,17 +31,17 @@
31
  'std' => ''
32
  ),
33
  'content' => array(
34
- 'name' => __('Tab Content', 'leads'),
35
- 'desc' => __('Put the content here.', 'leads'),
36
  'type' => 'textarea',
37
  'std' => ''
38
  )
39
  ),
40
  'shortcode' => '[tab title="{{title}}" icon="{{icon}}"]{{content}}[/tab]',
41
- 'clone' => __('Add More Tab', 'leads' )
42
  ),
43
  'shortcode' => '[tabs]{{child}}[/tabs]',
44
- 'popup_title' => __('Insert Tabs Shortcode', 'leads')
45
  );
46
 
47
  /* Page builder module config
1
  <?php
2
  /**
3
+ * Tabs Shortcode
4
  */
5
 
6
  /* Shortcode generator config
18
  'child' => array(
19
  'options' => array(
20
  'title' => array(
21
+ 'name' => __('Tab Title', 'leads'),
22
+ 'desc' => __('Enter the tab title.', 'leads'),
23
  'type' => 'text',
24
  'std' => ''
25
  ),
31
  'std' => ''
32
  ),
33
  'content' => array(
34
+ 'name' => __('Tab Content', 'leads'),
35
+ 'desc' => __('Put the content here.', 'leads'),
36
  'type' => 'textarea',
37
  'std' => ''
38
  )
39
  ),
40
  'shortcode' => '[tab title="{{title}}" icon="{{icon}}"]{{content}}[/tab]',
41
+ 'clone' => __('Add More Tab', 'leads' )
42
  ),
43
  'shortcode' => '[tabs]{{child}}[/tabs]',
44
+ 'popup_title' => 'Insert Tabs Shortcode'
45
  );
46
 
47
  /* Page builder module config
shared/shortcodes/shortcodes/teaser.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * Teaser Shortcode
4
  */
5
 
6
  /* Shortcode generator config
@@ -81,10 +81,10 @@
81
  )
82
  ),
83
  'shortcode' => '[block title="{{title}}" subtitle="{{subtitle}}" icon="{{icon}}" link="{{link}}" ]{{content}}[/block]',
84
- 'clone' => __('Add More Block', 'leads' )
85
  ),
86
  'shortcode' => '[teaser heading="{{heading}}" style="{{style}}" column="{{column}}"]{{child}}[/teaser]',
87
- 'popup_title' => __('Insert Teaser Shortcode', 'leads')
88
  );
89
 
90
  /* Page builder module config
1
  <?php
2
  /**
3
+ * Teaser Shortcode
4
  */
5
 
6
  /* Shortcode generator config
81
  )
82
  ),
83
  'shortcode' => '[block title="{{title}}" subtitle="{{subtitle}}" icon="{{icon}}" link="{{link}}" ]{{content}}[/block]',
84
+ 'clone' => __('Add More Block', 'leads' )
85
  ),
86
  'shortcode' => '[teaser heading="{{heading}}" style="{{style}}" column="{{column}}"]{{child}}[/teaser]',
87
+ 'popup_title' => 'Insert Teaser Shortcode'
88
  );
89
 
90
  /* Page builder module config
shared/shortcodes/shortcodes/testimonial.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * Testimonial Shortcode
4
  */
5
 
6
  /* Shortcode generator config
@@ -31,8 +31,8 @@
31
  'child' => array(
32
  'options' => array(
33
  'author' => array(
34
- 'name' => __('Testimony Author', 'leads'),
35
- 'desc' => __('Enter the testimony author name.', 'leads'),
36
  'type' => 'text',
37
  'std' => ''
38
  ),
@@ -43,17 +43,17 @@
43
  'std' => ''
44
  ),
45
  'content' => array(
46
- 'name' => __('Testimony Content', 'leads'),
47
- 'desc' => __('Put the content here.', 'leads'),
48
  'type' => 'textarea',
49
  'std' => ''
50
  )
51
  ),
52
  'shortcode' => '[testimony author="{{author}}" meta="{{meta}}"]{{content}}[/testimony]',
53
- 'clone' => __('Add More Testimony', 'leads' )
54
  ),
55
- 'shortcode' => '[testimonial heading="{{heading}}" column="{{column}}"]{{child}}[/testimonial]',
56
- 'popup_title' => __('Insert Testimonial Shortcode', 'leads')
57
  );
58
 
59
  /* Page builder module config
@@ -148,29 +148,29 @@
148
  }
149
 
150
  for($i = 0; $i < count($matches[0]); $i++) {
151
- $out .= '<div class="'.$grid.'">';
152
- $out .= '<div class="fancy-quote">';
153
- $out .= '<div class="quote-text">';
154
- $out .= '<div class="triangle"></div>';
155
- $out .= '<p>'.do_shortcode(trim($matches[5][$i])).'</p>';
156
- $out .= '</div>';
157
 
158
- $out .= '<div class="quote-author">';
159
- if( $matches[3][$i]['author'] ) {
160
- $out .= '<span class="quote-author-name">'.$matches[3][$i]['author'].'</span>';
161
- }
162
 
163
- if( $matches[3][$i]['meta'] ){
164
- $out .= ' - <span class="quote-author-meta">'.$matches[3][$i]['meta'].'</span>';
165
- }
166
- $out .= '</div>';
167
- $out .= '</div>';
168
- $out .= '</div>';
169
 
170
- if( $i == $column - 1 ) {
171
- $out .= '<div class="clear"></div>';
172
- }
173
- }
174
  }
175
 
176
  $out .= '</div>';
1
  <?php
2
  /**
3
+ * Testimonial Shortcode
4
  */
5
 
6
  /* Shortcode generator config
31
  'child' => array(
32
  'options' => array(
33
  'author' => array(
34
+ 'name' => __('Testimony Author', 'leads'),
35
+ 'desc' => __('Enter the testimony author name.', 'leads'),
36
  'type' => 'text',
37
  'std' => ''
38
  ),
43
  'std' => ''
44
  ),
45
  'content' => array(
46
+ 'name' => __('Testimony Content', 'leads'),
47
+ 'desc' => __('Put the content here.', 'leads'),
48
  'type' => 'textarea',
49
  'std' => ''
50
  )
51
  ),
52
  'shortcode' => '[testimony author="{{author}}" meta="{{meta}}"]{{content}}[/testimony]',
53
+ 'clone' => __('Add More Testimony', 'leads' )
54
  ),
55
+ 'shortcode' => '[testimonial heading="{{heading}}" column="{{column}}"]{{child}}[/testimonial]',
56
+ 'popup_title' => 'Insert Testimonial Shortcode'
57
  );
58
 
59
  /* Page builder module config
148
  }
149
 
150
  for($i = 0; $i < count($matches[0]); $i++) {
151
+ $out .= '<div class="'.$grid.'">';
152
+ $out .= '<div class="fancy-quote">';
153
+ $out .= '<div class="quote-text">';
154
+ $out .= '<div class="triangle"></div>';
155
+ $out .= '<p>'.do_shortcode(trim($matches[5][$i])).'</p>';
156
+ $out .= '</div>';
157
 
158
+ $out .= '<div class="quote-author">';
159
+ if( $matches[3][$i]['author'] ) {
160
+ $out .= '<span class="quote-author-name">'.$matches[3][$i]['author'].'</span>';
161
+ }
162
 
163
+ if( $matches[3][$i]['meta'] ){
164
+ $out .= ' - <span class="quote-author-meta">'.$matches[3][$i]['meta'].'</span>';
165
+ }
166
+ $out .= '</div>';
167
+ $out .= '</div>';
168
+ $out .= '</div>';
169
 
170
+ if( $i == $column - 1 ) {
171
+ $out .= '<div class="clear"></div>';
172
+ }
173
+ }
174
  }
175
 
176
  $out .= '</div>';
shared/shortcodes/shortcodes/video.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * Video Shortcode
4
  */
5
 
6
  /* Shortcode generator config
@@ -16,7 +16,7 @@
16
  )
17
  ),
18
  'shortcode' => '[video url="{{url}}" /]',
19
- 'popup_title' => __('Insert Video Shortcode', 'leads')
20
  );
21
 
22
  /* Add shortcode
1
  <?php
2
  /**
3
+ * Video Shortcode
4
  */
5
 
6
  /* Shortcode generator config
16
  )
17
  ),
18
  'shortcode' => '[video url="{{url}}" /]',
19
+ 'popup_title' => 'Insert Video Shortcode'
20
  );
21
 
22
  /* Add shortcode
shared/tracking/store.lead.php CHANGED
@@ -80,7 +80,7 @@ add_action('wp_ajax_nopriv_inbound_store_lead', 'inbound_store_lead');
80
 
81
  function inbound_store_lead( $args = array() ) {
82
  global $user_ID, $wpdb;
83
- /*
84
  // simulate ajax fail
85
  header('HTTP/1.0 404 Not found'); exit;
86
  /**/
@@ -132,7 +132,7 @@ function inbound_store_lead( $args = array() ) {
132
  */
133
 
134
  /* NEW MAPPING Loop In Progress */
135
- /*
136
  $check_map = array(
137
  "phone" => 'wpleads_work_phone',
138
  "company" => "wpleads_company_name",
80
 
81
  function inbound_store_lead( $args = array() ) {
82
  global $user_ID, $wpdb;
83
+ /**
84
  // simulate ajax fail
85
  header('HTTP/1.0 404 Not found'); exit;
86
  /**/
132
  */
133
 
134
  /* NEW MAPPING Loop In Progress */
135
+ /**
136
  $check_map = array(
137
  "phone" => 'wpleads_work_phone',
138
  "company" => "wpleads_company_name",
templates/countdown-lander/config.php CHANGED
@@ -24,7 +24,7 @@ array(
24
 
25
  // Define Meta Options for template
26
  $lp_data[$key]['settings'] =
27
- array(
28
  array(
29
  'label' => 'turn-off-editor', /* Turns off main content */
30
  'description' => 'Turn off editor',
@@ -33,7 +33,7 @@ array(
33
  'default' => '#postdivrich, #lp_2_form_content {display:none !important;}'
34
  ),
35
  array(
36
- 'label' => __( 'Call to Action Content' , 'landing-pages' ),
37
  'description' => __( 'Place your call to action here.' , 'landing-page' ),
38
  'id' => "conversion-area-content",
39
  'type' => "wysiwyg",
@@ -59,8 +59,8 @@ array(
59
  [/list]
60
 
61
  <p>This is the final sentence or paragraph reassuring the visitor of the benefits of filling out the form and how their data will be safe.</p>'
62
- ),
63
-
64
  array(
65
  'label' => 'Countdown Date', // Name of field
66
  'description' => "What date are we counting down to?", // what field does
24
 
25
  // Define Meta Options for template
26
  $lp_data[$key]['settings'] =
27
+ array(
28
  array(
29
  'label' => 'turn-off-editor', /* Turns off main content */
30
  'description' => 'Turn off editor',
33
  'default' => '#postdivrich, #lp_2_form_content {display:none !important;}'
34
  ),
35
  array(
36
+ 'label' => __( 'Conversion Area' , 'landing-pages' ),
37
  'description' => __( 'Place your call to action here.' , 'landing-page' ),
38
  'id' => "conversion-area-content",
39
  'type' => "wysiwyg",
59
  [/list]
60
 
61
  <p>This is the final sentence or paragraph reassuring the visitor of the benefits of filling out the form and how their data will be safe.</p>'
62
+ ),
63
+
64
  array(
65
  'label' => 'Countdown Date', // Name of field
66
  'description' => "What date are we counting down to?", // what field does
templates/demo/config.php CHANGED
@@ -110,10 +110,10 @@ array(
110
  [/list]
111
 
112
  <p>This is the final sentence or paragraph reassuring the visitor of the benefits of filling out the form and how their data will be safe.</p>'
113
- ),
114
-
115
  array(
116
- 'label' => __( 'Call to Action Content' , 'landing-pages' ),
117
  'description' => __( 'Place your call to action here.' , 'landing-page' ),
118
  'id' => "conversion-area-content",
119
  'type' => "wysiwyg",
110
  [/list]
111
 
112
  <p>This is the final sentence or paragraph reassuring the visitor of the benefits of filling out the form and how their data will be safe.</p>'
113
+ ),
114
+
115
  array(
116
+ 'label' => __( 'Conversion Area' , 'landing-pages' ),
117
  'description' => __( 'Place your call to action here.' , 'landing-page' ),
118
  'id' => "conversion-area-content",
119
  'type' => "wysiwyg",
templates/dropcap/config.php CHANGED
@@ -30,7 +30,7 @@ array(
30
  'id' => 'turn-off-editor',
31
  'type' => 'custom-css',
32
  'default' => '#postdivrich, #lp_2_form_content {display:none !important;}'
33
- ),
34
  array(
35
  'label' => __( 'Main Content' , 'landing-pages' ) ,
36
  'description' => __( 'This is the default content from template.' , 'landing-pages' ),
@@ -53,7 +53,7 @@ array(
53
  <p>This is the final sentence or paragraph reassuring the visitor of the benefits of filling out the form and how their data will be safe.</p>'
54
  ),
55
  array(
56
- 'label' => __( 'Call to Action Content' , 'landing-pages' ),
57
  'description' => __( 'Place your call to action here.' , 'landing-page' ),
58
  'id' => "conversion-area-content",
59
  'type' => "wysiwyg",
30
  'id' => 'turn-off-editor',
31
  'type' => 'custom-css',
32
  'default' => '#postdivrich, #lp_2_form_content {display:none !important;}'
33
+ ),
34
  array(
35
  'label' => __( 'Main Content' , 'landing-pages' ) ,
36
  'description' => __( 'This is the default content from template.' , 'landing-pages' ),
53
  <p>This is the final sentence or paragraph reassuring the visitor of the benefits of filling out the form and how their data will be safe.</p>'
54
  ),
55
  array(
56
+ 'label' => __( 'Conversion Area' , 'landing-pages' ),
57
  'description' => __( 'Place your call to action here.' , 'landing-page' ),
58
  'id' => "conversion-area-content",
59
  'type' => "wysiwyg",
templates/half-and-half/config.php CHANGED
@@ -30,7 +30,7 @@ array(
30
  'id' => 'turn-off-editor',
31
  'type' => 'custom-css',
32
  'default' => '#postdivrich, #lp_2_form_content {display:none !important;}'
33
- ),
34
  array(
35
  'label' => __( 'Main Content' , 'landing-pages' ) ,
36
  'description' => __( 'This is the default content from template.' , 'landing-pages' ),
@@ -53,7 +53,7 @@ array(
53
  <p>This is the final sentence or paragraph reassuring the visitor of the benefits of filling out the form and how their data will be safe.</p>'
54
  ),
55
  array(
56
- 'label' => __( 'Call to Action Content' , 'landing-pages' ),
57
  'description' => __( 'Place your call to action here.' , 'landing-page' ),
58
  'id' => "conversion-area-content",
59
  'type' => "wysiwyg",
30
  'id' => 'turn-off-editor',
31
  'type' => 'custom-css',
32
  'default' => '#postdivrich, #lp_2_form_content {display:none !important;}'
33
+ ),
34
  array(
35
  'label' => __( 'Main Content' , 'landing-pages' ) ,
36
  'description' => __( 'This is the default content from template.' , 'landing-pages' ),
53
  <p>This is the final sentence or paragraph reassuring the visitor of the benefits of filling out the form and how their data will be safe.</p>'
54
  ),
55
  array(
56
+ 'label' => __( 'Conversion Area' , 'landing-pages' ),
57
  'description' => __( 'Place your call to action here.' , 'landing-page' ),
58
  'id' => "conversion-area-content",
59
  'type' => "wysiwyg",
templates/simple-solid-lite/config.php CHANGED
@@ -49,10 +49,10 @@ $lp_data[$key]['settings'] = array(
49
  [/list]
50
 
51
  <p>This is the final sentence or paragraph reassuring the visitor of the benefits of filling out the form and how their data will be safe.</p>'
52
- ),
53
-
54
  array(
55
- 'label' => __( 'Call to Action Content' , 'landing-pages' ),
56
  'description' => __( 'Place your call to action here.' , 'landing-page' ),
57
  'id' => "conversion-area-content",
58
  'type' => "wysiwyg",
49
  [/list]
50
 
51
  <p>This is the final sentence or paragraph reassuring the visitor of the benefits of filling out the form and how their data will be safe.</p>'
52
+ ),
53
+
54
  array(
55
+ 'label' => __( 'Conversion Area' , 'landing-pages' ),
56
  'description' => __( 'Place your call to action here.' , 'landing-page' ),
57
  'id' => "conversion-area-content",
58
  'type' => "wysiwyg",
templates/simple-two-column/config.php CHANGED
@@ -37,9 +37,9 @@ array(
37
  'id' => 'turn-off-editor',
38
  'type' => 'custom-css',
39
  'default' => '#postdivrich, #lp_2_form_content {display:none !important;}'
40
- ),
41
  array(
42
- 'label' => __( 'Call to Action Content' , 'landing-pages' ),
43
  'description' => __( 'Place your call to action here.' , 'landing-page' ),
44
  'id' => "conversion-area-content",
45
  'type' => "wysiwyg",
37
  'id' => 'turn-off-editor',
38
  'type' => 'custom-css',
39
  'default' => '#postdivrich, #lp_2_form_content {display:none !important;}'
40
+ ),
41
  array(
42
+ 'label' => __( 'Conversion Area' , 'landing-pages' ),
43
  'description' => __( 'Place your call to action here.' , 'landing-page' ),
44
  'id' => "conversion-area-content",
45
  'type' => "wysiwyg",
templates/svtle/config.php CHANGED
@@ -52,7 +52,7 @@ array(
52
  <p>This is the final sentence or paragraph reassuring the visitor of the benefits of filling out the form and how their data will be safe.</p>'
53
  ),
54
  array(
55
- 'label' => __( 'Call to Action Content' , 'landing-pages' ),
56
  'description' => __( 'Place your call to action here.' , 'landing-page' ),
57
  'id' => "conversion-area-content",
58
  'type' => "wysiwyg",
@@ -79,7 +79,7 @@ array(
79
  array(
80
  'label' => __( 'Submit Button Background Color' , 'landing-pages' ),
81
  'description' => __( 'Submit Button Background Color' , 'landing-pages' ) ,
82
- 'id' => __( 'submit-button-color' , 'landing-pages' ),
83
  'type' => 'colorpicker',
84
  'default' => '5baa1e',
85
  'context' => 'normal'
52
  <p>This is the final sentence or paragraph reassuring the visitor of the benefits of filling out the form and how their data will be safe.</p>'
53
  ),
54
  array(
55
+ 'label' => __( 'Conversion Area' , 'landing-pages' ),
56
  'description' => __( 'Place your call to action here.' , 'landing-page' ),
57
  'id' => "conversion-area-content",
58
  'type' => "wysiwyg",
79
  array(
80
  'label' => __( 'Submit Button Background Color' , 'landing-pages' ),
81
  'description' => __( 'Submit Button Background Color' , 'landing-pages' ) ,
82
+ 'id' =>'submit-button-color',
83
  'type' => 'colorpicker',
84
  'default' => '5baa1e',
85
  'context' => 'normal'
templates/svtle/index.php CHANGED
@@ -84,7 +84,7 @@ $blue = (isset($RBG_array['b'])) ? $RBG_array['b'] : '0';
84
  echo "@media (max-width: 630px) { #lp_container {display:none;}}"; // css rule for mobile devices
85
  }
86
  ?> <?php if ($sidebar_color !="") {
87
- echo "header#sidebar {background-color: #$sidebar_color;}"; // change sidebar color
88
  echo "@media (max-width: 900px) { body { background-color: #$sidebar_color;} }";
89
  }
90
  ?> <?php if ($header_color !="") {
@@ -125,7 +125,7 @@ $blue = (isset($RBG_array['b'])) ? $RBG_array['b'] : '0';
125
  }
126
  </style>
127
  <script type="text/javascript">
128
- jQuery(document).ready(function () {
129
  $(function () {
130
  $('figure, picture').picture();
131
  });
@@ -147,7 +147,7 @@ $blue = (isset($RBG_array['b'])) ? $RBG_array['b'] : '0';
147
  </figure>
148
  </aside>
149
  <aside id="form-area">
150
- <?php echo do_shortcode( $conversion_area ); ?>
151
  </aside>
152
  </header>
153
  <section id="river" role="main">
84
  echo "@media (max-width: 630px) { #lp_container {display:none;}}"; // css rule for mobile devices
85
  }
86
  ?> <?php if ($sidebar_color !="") {
87
+ echo "body, header#sidebar {background-color: #$sidebar_color;}"; // change sidebar color
88
  echo "@media (max-width: 900px) { body { background-color: #$sidebar_color;} }";
89
  }
90
  ?> <?php if ($header_color !="") {
125
  }
126
  </style>
127
  <script type="text/javascript">
128
+ jQuery(document).ready(function($) {
129
  $(function () {
130
  $('figure, picture').picture();
131
  });
147
  </figure>
148
  </aside>
149
  <aside id="form-area">
150
+ <?php echo do_shortcode( $conversion_area ); ?>
151
  </aside>
152
  </header>
153
  <section id="river" role="main">
templates/three-column-lander/config.php CHANGED
@@ -53,7 +53,7 @@ array(
53
  <p>This is the final sentence or paragraph reassuring the visitor of the benefits of filling out the form and how their data will be safe.</p>'
54
  ),
55
  array(
56
- 'label' => __( 'Call to Action Content' , 'landing-pages' ),
57
  'description' => __( 'Place your call to action here.' , 'landing-page' ),
58
  'id' => "conversion-area-content",
59
  'type' => "wysiwyg",
53
  <p>This is the final sentence or paragraph reassuring the visitor of the benefits of filling out the form and how their data will be safe.</p>'
54
  ),
55
  array(
56
+ 'label' => __( 'Conversion Area' , 'landing-pages' ),
57
  'description' => __( 'Place your call to action here.' , 'landing-page' ),
58
  'id' => "conversion-area-content",
59
  'type' => "wysiwyg",
templates/tubelar/config.php CHANGED
@@ -15,10 +15,10 @@ $key = lp_get_parent_directory(dirname(__FILE__));
15
  //adds template data to global array for use with landing page plugin - edit theme category and description only.
16
 
17
  //EDIT - START - defines template information - helps categorizae template and provides additional popup information
18
- $lp_data[$key]['category'] = "Video";
19
- $lp_data[$key]['description'] = "Tubelar Template";
20
- $lp_data[$key]['version'] = "1.0.1";
21
- $lp_data[$key]['thumbnail'] = LANDINGPAGES_URLPATH.'templates/'.$key.'/thumbnail.png';
22
 
23
  //DO NOT EDIT - adds template to template selection dropdown
24
  $lp_data[$key]['value'] = $key;
@@ -41,7 +41,7 @@ array(
41
 
42
  // Define Meta Options for template
43
  $lp_data[$key]['settings'] =
44
- array(
45
  array(
46
  'label' => 'turn-off-editor', /* Turns off main content */
47
  'description' => 'Turn off editor',
@@ -69,10 +69,10 @@ array(
69
  [/list]
70
 
71
  <p>This is the final sentence or paragraph reassuring the visitor of the benefits of filling out the form and how their data will be safe.</p>'
72
- ),
73
-
74
  array(
75
- 'label' => __( 'Call to Action Content' , 'landing-pages' ),
76
  'description' => __( 'Place your call to action here.' , 'landing-page' ),
77
  'id' => "conversion-area-content",
78
  'type' => "wysiwyg",
@@ -106,7 +106,7 @@ array(
106
  array(
107
  'label' => 'Content Background Color',
108
  'description' => "Use this setting to change the template's submit button color.",
109
- 'id' => 'boxcolor',
110
  'type' => 'colorpicker',
111
  'default' => '000000',
112
  'context' => 'normal'
@@ -114,7 +114,7 @@ array(
114
  array(
115
  'label' => __('Background Color Settings' , 'landing-pages' ),
116
  'description' => __ ('Use this setting to change the content area\'s background color' , 'landing-pages' ),
117
- 'id' => 'content-background',
118
  'type' => 'dropdown',
119
  'default' => 'clear-bg-settings',
120
  'context' => 'normal',
15
  //adds template data to global array for use with landing page plugin - edit theme category and description only.
16
 
17
  //EDIT - START - defines template information - helps categorizae template and provides additional popup information
18
+ $lp_data[$key]['category'] = "Video";
19
+ $lp_data[$key]['description'] = "Tubelar Template";
20
+ $lp_data[$key]['version'] = "1.0.1";
21
+ $lp_data[$key]['thumbnail'] = LANDINGPAGES_URLPATH.'templates/'.$key.'/thumbnail.png';
22
 
23
  //DO NOT EDIT - adds template to template selection dropdown
24
  $lp_data[$key]['value'] = $key;
41
 
42
  // Define Meta Options for template
43
  $lp_data[$key]['settings'] =
44
+ array(
45
  array(
46
  'label' => 'turn-off-editor', /* Turns off main content */
47
  'description' => 'Turn off editor',
69
  [/list]
70
 
71
  <p>This is the final sentence or paragraph reassuring the visitor of the benefits of filling out the form and how their data will be safe.</p>'
72
+ ),
73
+
74
  array(
75
+ 'label' => __( 'Conversion Area' , 'landing-pages' ),
76
  'description' => __( 'Place your call to action here.' , 'landing-page' ),
77
  'id' => "conversion-area-content",
78
  'type' => "wysiwyg",
106
  array(
107
  'label' => 'Content Background Color',
108
  'description' => "Use this setting to change the template's submit button color.",
109
+ 'id' => 'box-color',
110
  'type' => 'colorpicker',
111
  'default' => '000000',
112
  'context' => 'normal'
114
  array(
115
  'label' => __('Background Color Settings' , 'landing-pages' ),
116
  'description' => __ ('Use this setting to change the content area\'s background color' , 'landing-pages' ),
117
+ 'id' => 'clear-bg-settings',
118
  'type' => 'dropdown',
119
  'default' => 'clear-bg-settings',
120
  'context' => 'normal',
templates/tubelar/index.php CHANGED
@@ -86,6 +86,7 @@ $blue = $RBG_array["b"];
86
  if ($boxcolor != "") { echo ".black-50{background: url('".$path."image.php?hex=$boxcolor');}"; }
87
  } ?>
88
  <?php if ($clear_bg_settings === "solid"){
 
89
  echo ".black-50{background: #$boxcolor}";
90
  } ?>
91
  <?php if ($submit_button_color != "") {
86
  if ($boxcolor != "") { echo ".black-50{background: url('".$path."image.php?hex=$boxcolor');}"; }
87
  } ?>
88
  <?php if ($clear_bg_settings === "solid"){
89
+ //echo $boxcolor;exit;
90
  echo ".black-50{background: #$boxcolor}";
91
  } ?>
92
  <?php if ($submit_button_color != "") {