WordPress Page Builder – Beaver Builder - Version 1.3.9

Version Description

Download this release

Release Info

Developer justinbusa
Plugin Icon 128x128 WordPress Page Builder – Beaver Builder
Version 1.3.9
Comparing to
See all releases

Code changes from version 1.3.8.2 to 1.3.9

changelog.txt CHANGED
@@ -1,3 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <h4>1.3.8</h4>
2
  <p><strong>Enhancements</strong></p>
3
  <ul>
1
+ <h4>1.3.9</h4>
2
+ <p><strong>Enhancements</strong></p>
3
+ <ul>
4
+ <li>Clicking a Beaver Builder theme header link now asks if you want to publish before launching the builder on a new page.</li>
5
+ <li>Added support for multiple builder layouts on the same page.</li>
6
+ <li>Color picker hex inputs now accept the # symbol.</li>
7
+ <li>Added a new link field that allows you to search for a post of any type to link to.</li>
8
+ <li>Added white labeling to the plugins page.</li>
9
+ <li>Added an admin setting for disabling advanced editing functionality such as adding, deleting and moving modules.</li>
10
+ </ul>
11
+ <p><strong>Bug Fixes</strong></p>
12
+ <ul>
13
+ <li>Fixed a compatibility issue with themes that use older versions of Option Tree.</li>
14
+ <li>Removed deprecated like_escape function from FLBuilderLoop class.</li>
15
+ </ul>
16
+
17
  <h4>1.3.8</h4>
18
  <p><strong>Enhancements</strong></p>
19
  <ul>
classes/FLBuilder.php CHANGED
@@ -197,7 +197,8 @@ final class FLBuilder {
197
  */
198
  static public function layout_styles_scripts()
199
  {
200
- global $post;
 
201
 
202
  $ver = FL_BUILDER_VERSION;
203
  $css_url = FL_BUILDER_URL . 'css/';
@@ -230,11 +231,8 @@ final class FLBuilder {
230
  }
231
 
232
  // Enqueue assets for posts in the main query.
233
- if(have_posts()) {
234
- while(have_posts()) {
235
- the_post();
236
- self::enqueue_layout_styles_scripts();
237
- }
238
  }
239
 
240
  // Enqueue assets for posts via the fl_builder_global_posts filter.
@@ -245,8 +243,7 @@ final class FLBuilder {
245
  $posts = get_posts(array('post__in' => $post_ids, 'post_type' => 'any'));
246
 
247
  foreach($posts as $post) {
248
- setup_postdata($post);
249
- self::enqueue_layout_styles_scripts();
250
  }
251
  }
252
 
@@ -257,11 +254,10 @@ final class FLBuilder {
257
  /**
258
  * @method enqueue_layout_styles_scripts
259
  */
260
- static public function enqueue_layout_styles_scripts()
261
  {
262
  if(FLBuilderModel::is_builder_enabled()) {
263
 
264
- $post_id = FLBuilderModel::get_post_id();
265
  $rows = FLBuilderModel::get_nodes('row');
266
  $modules = FLBuilderModel::get_all_modules();
267
  $asset_info = FLBuilderModel::get_asset_info();
@@ -385,6 +381,9 @@ final class FLBuilder {
385
  if(FLBuilderModel::is_builder_enabled()) {
386
  $classes[] = 'fl-builder';
387
  }
 
 
 
388
 
389
  return $classes;
390
  }
@@ -527,6 +526,7 @@ final class FLBuilder {
527
  {
528
  global $post;
529
 
 
530
  $enabled = FLBuilderModel::is_builder_enabled();
531
  $ajax = defined('DOING_AJAX');
532
  $global_posts = FLBuilderModel::get_global_posts();
@@ -541,7 +541,7 @@ final class FLBuilder {
541
 
542
  // Render the content.
543
  ob_start();
544
- echo '<div class="fl-builder-content">';
545
  self::render_rows();
546
  echo '</div>';
547
  $content = do_shortcode(ob_get_clean());
197
  */
198
  static public function layout_styles_scripts()
199
  {
200
+ global $wp_query;
201
+ global $post;
202
 
203
  $ver = FL_BUILDER_VERSION;
204
  $css_url = FL_BUILDER_URL . 'css/';
231
  }
232
 
233
  // Enqueue assets for posts in the main query.
234
+ foreach($wp_query->posts as $post) {
235
+ self::enqueue_layout_styles_scripts($post->ID);
 
 
 
236
  }
237
 
238
  // Enqueue assets for posts via the fl_builder_global_posts filter.
243
  $posts = get_posts(array('post__in' => $post_ids, 'post_type' => 'any'));
244
 
245
  foreach($posts as $post) {
246
+ self::enqueue_layout_styles_scripts($post->ID);
 
247
  }
248
  }
249
 
254
  /**
255
  * @method enqueue_layout_styles_scripts
256
  */
257
+ static public function enqueue_layout_styles_scripts($post_id)
258
  {
259
  if(FLBuilderModel::is_builder_enabled()) {
260
 
 
261
  $rows = FLBuilderModel::get_nodes('row');
262
  $modules = FLBuilderModel::get_all_modules();
263
  $asset_info = FLBuilderModel::get_asset_info();
381
  if(FLBuilderModel::is_builder_enabled()) {
382
  $classes[] = 'fl-builder';
383
  }
384
+ if(FLBuilderModel::is_builder_active() && !current_user_can(FLBuilderModel::get_editing_capability())) {
385
+ $classes[] = 'fl-builder-simple';
386
+ }
387
 
388
  return $classes;
389
  }
526
  {
527
  global $post;
528
 
529
+ $post_id = FLBuilderModel::get_post_id();
530
  $enabled = FLBuilderModel::is_builder_enabled();
531
  $ajax = defined('DOING_AJAX');
532
  $global_posts = FLBuilderModel::get_global_posts();
541
 
542
  // Render the content.
543
  ob_start();
544
+ echo '<div class="fl-builder-content fl-builder-content-' . $post_id . '">';
545
  self::render_rows();
546
  echo '</div>';
547
  $content = do_shortcode(ob_get_clean());
classes/FLBuilderAdmin.php CHANGED
@@ -131,7 +131,7 @@ final class FLBuilderAdmin {
131
  if(file_exists($ms_class)) {
132
  require_once $ms_class;
133
  }
134
- if(file_exists($ms_settings_class) && !FL_BUILDER_VERSION == '{FL_BUILDER_VERSION}') {
135
  require_once $ms_settings_class;
136
  }
137
 
@@ -183,4 +183,32 @@ final class FLBuilderAdmin {
183
 
184
  return $actions;
185
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
186
  }
131
  if(file_exists($ms_class)) {
132
  require_once $ms_class;
133
  }
134
+ if(file_exists($ms_settings_class) && FL_BUILDER_VERSION != '{FL_BUILDER_VERSION}') {
135
  require_once $ms_settings_class;
136
  }
137
 
183
 
184
  return $actions;
185
  }
186
+
187
+ /**
188
+ * @method white_label_plugins_page
189
+ */
190
+ static public function white_label_plugins_page($plugins)
191
+ {
192
+ $branding = FLBuilderModel::get_branding();
193
+
194
+ if($branding != __('Page Builder', 'fl-builder')) {
195
+
196
+ if(isset($plugins['fl-builder/fl-builder.php'])) {
197
+ $plugins['fl-builder/fl-builder.php']['Name'] = $branding;
198
+ $plugins['fl-builder/fl-builder.php']['Title'] = $branding;
199
+ $plugins['fl-builder/fl-builder.php']['Author'] = '';
200
+ $plugins['fl-builder/fl-builder.php']['AuthorName'] = '';
201
+ $plugins['fl-builder/fl-builder.php']['PluginURI'] = '';
202
+ }
203
+ else if(isset($plugins['bb-plugin/fl-builder.php'])) {
204
+ $plugins['bb-plugin/fl-builder.php']['Name'] = $branding;
205
+ $plugins['bb-plugin/fl-builder.php']['Title'] = $branding;
206
+ $plugins['bb-plugin/fl-builder.php']['Author'] = '';
207
+ $plugins['bb-plugin/fl-builder.php']['AuthorName'] = '';
208
+ $plugins['bb-plugin/fl-builder.php']['PluginURI'] = '';
209
+ }
210
+ }
211
+
212
+ return $plugins;
213
+ }
214
  }
classes/FLBuilderAdminSettings.php CHANGED
@@ -72,6 +72,7 @@ final class FLBuilderAdminSettings {
72
  self::saveEnabledModules();
73
  self::saveEnabledTemplates();
74
  self::saveEnabledPostTypes();
 
75
  self::saveBranding();
76
  self::uninstall();
77
  }
@@ -144,6 +145,26 @@ final class FLBuilderAdminSettings {
144
  }
145
  }
146
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
147
  /**
148
  * @method saveBranding
149
  * @private
72
  self::saveEnabledModules();
73
  self::saveEnabledTemplates();
74
  self::saveEnabledPostTypes();
75
+ self::saveEditingCapability();
76
  self::saveBranding();
77
  self::uninstall();
78
  }
145
  }
146
  }
147
 
148
+ /**
149
+ * @method saveEditingCapability
150
+ * @private
151
+ */
152
+ static private function saveEditingCapability()
153
+ {
154
+ if(isset($_POST['fl-editing-nonce']) && wp_verify_nonce($_POST['fl-editing-nonce'], 'editing')) {
155
+
156
+ if(class_exists('FLBuilderMultisiteSettings') && !isset($_POST['fl-override-ms'])) {
157
+ delete_option('_fl_builder_editing_capability');
158
+ }
159
+ else {
160
+
161
+ $capability = sanitize_text_field($_POST['fl-editing-capability']);
162
+
163
+ update_option('_fl_builder_editing_capability', $capability);
164
+ }
165
+ }
166
+ }
167
+
168
  /**
169
  * @method saveBranding
170
  * @private
classes/FLBuilderAutoSuggest.php CHANGED
@@ -27,6 +27,10 @@ final class FLBuilderAutoSuggest {
27
  case 'fl_as_users':
28
  $data = self::users();
29
  break;
 
 
 
 
30
  }
31
 
32
  if(isset($data)) {
@@ -75,7 +79,7 @@ final class FLBuilderAutoSuggest {
75
  global $wpdb;
76
 
77
  $data = array();
78
- $like = like_escape(esc_sql(urldecode($_REQUEST['fl_as_query'])));
79
  $type = esc_sql($_REQUEST['fl_as_action_data']);
80
 
81
  $posts = $wpdb->get_results("
@@ -162,7 +166,7 @@ final class FLBuilderAutoSuggest {
162
  global $wpdb;
163
 
164
  $data = array();
165
- $like = like_escape(esc_sql(urldecode($_REQUEST['fl_as_query'])));
166
  $users = $wpdb->get_results("SELECT * FROM {$wpdb->users} WHERE user_login LIKE '%{$like}%'");
167
 
168
  foreach($users as $user) {
@@ -190,6 +194,36 @@ final class FLBuilderAutoSuggest {
190
  }
191
  }
192
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
193
  return $data;
194
  }
195
  }
27
  case 'fl_as_users':
28
  $data = self::users();
29
  break;
30
+
31
+ case 'fl_as_links':
32
+ $data = self::links();
33
+ break;
34
  }
35
 
36
  if(isset($data)) {
79
  global $wpdb;
80
 
81
  $data = array();
82
+ $like = esc_sql($wpdb->esc_like(urldecode($_REQUEST['fl_as_query'])));
83
  $type = esc_sql($_REQUEST['fl_as_action_data']);
84
 
85
  $posts = $wpdb->get_results("
166
  global $wpdb;
167
 
168
  $data = array();
169
+ $like = esc_sql($wpdb->esc_like(urldecode($_REQUEST['fl_as_query'])));
170
  $users = $wpdb->get_results("SELECT * FROM {$wpdb->users} WHERE user_login LIKE '%{$like}%'");
171
 
172
  foreach($users as $user) {
194
  }
195
  }
196
 
197
+ return $data;
198
+ }
199
+
200
+ /**
201
+ * @method links
202
+ */
203
+ static public function links()
204
+ {
205
+ global $wpdb;
206
+
207
+ $data = array();
208
+ $like = esc_sql($wpdb->esc_like(urldecode($_REQUEST['fl_as_query'])));
209
+ $types = FLBuilderLoop::post_types();
210
+ $slugs = array();
211
+
212
+ foreach($types as $slug => $type) {
213
+ $slugs[] = esc_sql($slug);
214
+ }
215
+
216
+ $posts = $wpdb->get_results("
217
+ SELECT ID, post_title FROM {$wpdb->posts}
218
+ WHERE post_title LIKE '%{$like}%'
219
+ AND post_type IN ('" . implode("','", $slugs) . "')
220
+ AND post_status = 'publish'
221
+ ");
222
+
223
+ foreach($posts as $post) {
224
+ $data[] = array('name' => $post->post_title, 'value' => get_permalink($post->ID));
225
+ }
226
+
227
  return $data;
228
  }
229
  }
classes/FLBuilderModel.php CHANGED
@@ -949,25 +949,26 @@ final class FLBuilderModel {
949
  $col_groups = self::get_child_nodes($node_id);
950
  $new_nodes = array();
951
 
952
- // Set the new row id.
953
- $row->node = $new_row_id;
954
-
955
  // Add the new row.
956
- $layout_data[$new_row_id] = $row;
 
 
957
 
958
  // Get the new child nodes.
959
  foreach($col_groups as $col_group_id => $col_group) {
960
 
961
- $new_nodes[$col_group_id] = $col_group;
962
- $cols = self::get_child_nodes($col_group_id);
963
 
964
  foreach($cols as $col_id => $col) {
965
 
966
- $new_nodes[$col_id] = $col;
967
- $modules = self::get_child_nodes($col_id);
 
968
 
969
  foreach($modules as $module_id => $module) {
970
- $new_nodes[$module_id] = $module;
 
971
  }
972
  }
973
  }
@@ -2442,6 +2443,35 @@ final class FLBuilderModel {
2442
  }
2443
  }
2444
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2445
  /**
2446
  * We don't delete _fl_builder_enabled, _fl_builder_data and _fl_builder_draft
2447
  * so layouts can be recovered should the plugin be installed again.
@@ -2458,6 +2488,7 @@ final class FLBuilderModel {
2458
  delete_option('_fl_builder_enabled_templates');
2459
  delete_option('_fl_builder_post_types');
2460
  delete_option('_fl_builder_branding');
 
2461
 
2462
  // Delete cache files and folders.
2463
  $cache_dir = self::get_cache_dir();
949
  $col_groups = self::get_child_nodes($node_id);
950
  $new_nodes = array();
951
 
 
 
 
952
  // Add the new row.
953
+ $layout_data[$new_row_id] = clone $row;
954
+ $layout_data[$new_row_id]->settings = clone $row->settings;
955
+ $layout_data[$new_row_id]->node = $new_row_id;
956
 
957
  // Get the new child nodes.
958
  foreach($col_groups as $col_group_id => $col_group) {
959
 
960
+ $new_nodes[$col_group_id] = clone $col_group;
961
+ $cols = self::get_child_nodes($col_group_id);
962
 
963
  foreach($cols as $col_id => $col) {
964
 
965
+ $new_nodes[$col_id] = clone $col;
966
+ $new_nodes[$col_id]->settings = clone $col->settings;
967
+ $modules = self::get_child_nodes($col_id);
968
 
969
  foreach($modules as $module_id => $module) {
970
+ $new_nodes[$module_id] = clone $module;
971
+ $new_nodes[$module_id]->settings = clone $module->settings;
972
  }
973
  }
974
  }
2443
  }
2444
  }
2445
 
2446
+ /**
2447
+ * @method get_editing_capability
2448
+ */
2449
+ static public function get_editing_capability()
2450
+ {
2451
+ $key = '_fl_builder_editing_capability';
2452
+ $default = 'edit_posts';
2453
+
2454
+ // Get the value.
2455
+ if(is_network_admin()) {
2456
+ $value = get_site_option($key);
2457
+ }
2458
+ else if(class_exists('FLBuilderMultisiteSettings')) {
2459
+ $value = get_option($key);
2460
+ $value = !$value ? get_site_option($key) : $value;
2461
+ }
2462
+ else {
2463
+ $value = get_option($key);
2464
+ }
2465
+
2466
+ // Return the value.
2467
+ if(!$value) {
2468
+ return $default;
2469
+ }
2470
+ else {
2471
+ return $value;
2472
+ }
2473
+ }
2474
+
2475
  /**
2476
  * We don't delete _fl_builder_enabled, _fl_builder_data and _fl_builder_draft
2477
  * so layouts can be recovered should the plugin be installed again.
2488
  delete_option('_fl_builder_enabled_templates');
2489
  delete_option('_fl_builder_post_types');
2490
  delete_option('_fl_builder_branding');
2491
+ delete_option('_fl_builder_editing_capability');
2492
 
2493
  // Delete cache files and folders.
2494
  $cache_dir = self::get_cache_dir();
css/fl-builder-admin-settings.css CHANGED
@@ -71,6 +71,7 @@ h2.fl-settings-content-header {
71
 
72
  .fl-settings-form {
73
  display: none;
 
74
  }
75
  .fl-settings-form-header {
76
  margin-bottom: 20px !important;
71
 
72
  .fl-settings-form {
73
  display: none;
74
+ max-width: 450px;
75
  }
76
  .fl-settings-form-header {
77
  margin-bottom: 20px !important;
css/fl-builder.css CHANGED
@@ -28,6 +28,19 @@ html.fl-builder-edit {
28
  z-index: 200000;
29
  }
30
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  /* Responsive Utilities
32
  ------------------------------------------------------ */
33
 
@@ -89,6 +102,11 @@ html.fl-builder-edit {
89
  line-height: 28px !important;
90
  padding: 0 12px 2px;
91
  }
 
 
 
 
 
92
 
93
  /* Builder Bar
94
  ------------------------------------------------------ */
@@ -763,12 +781,12 @@ form.fl-builder-settings {
763
 
764
  /* Text Field */
765
  .fl-builder-settings-fields input.text-full {
766
- width: 100%;
767
  }
768
 
769
  /* Textarea */
770
  .fl-builder-settings-fields textarea {
771
- width: 100%;
772
  }
773
 
774
  /* Color Picker */
@@ -1016,6 +1034,27 @@ form.fl-builder-settings {
1016
  max-width: 100%;
1017
  }
1018
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1019
  /* Tooltips */
1020
  .fl-help-tooltip {
1021
  display: inline-block;
28
  z-index: 200000;
29
  }
30
 
31
+ /* Simple UI
32
+ ------------------------------------------------------ */
33
+
34
+ .fl-builder-simple .fl-builder-tools-button,
35
+ .fl-builder-simple .fl-builder-add-content-button,
36
+ .fl-builder-simple .fl-builder-panel,
37
+ .fl-builder-simple .fl-block-overlay-actions .fl-block-move,
38
+ .fl-builder-simple .fl-block-overlay-actions .fl-block-copy,
39
+ .fl-builder-simple .fl-block-overlay-actions .fl-block-remove,
40
+ .fl-builder-simple .fl-col-highlight {
41
+ display: none !important;
42
+ }
43
+
44
  /* Responsive Utilities
45
  ------------------------------------------------------ */
46
 
102
  line-height: 28px !important;
103
  padding: 0 12px 2px;
104
  }
105
+ .fl-builder-button-small {
106
+ font-size: 11px !important;
107
+ line-height: 24px !important;
108
+ height: 24px;
109
+ }
110
 
111
  /* Builder Bar
112
  ------------------------------------------------------ */
781
 
782
  /* Text Field */
783
  .fl-builder-settings-fields input.text-full {
784
+ width: 97%;
785
  }
786
 
787
  /* Textarea */
788
  .fl-builder-settings-fields textarea {
789
+ width: 97%;
790
  }
791
 
792
  /* Color Picker */
1034
  max-width: 100%;
1035
  }
1036
 
1037
+ /* Link Field */
1038
+ .fl-link-field-input {
1039
+ width: 244px !important;
1040
+ }
1041
+ .fl-link-field-search {
1042
+ display: none;
1043
+ border: 1px solid #dfdfdf;
1044
+ border-radius: 3px;
1045
+ -moz-border-radius: 3px;
1046
+ -webkit-border-radius: 3px;
1047
+ margin: 4px 0 0 0;
1048
+ padding: 10px;
1049
+ }
1050
+ .fl-link-field-search-title {
1051
+ display: block;
1052
+ margin: 0 0 3px 2px;
1053
+ }
1054
+ .fl-link-field-search-cancel {
1055
+ margin-top: 6px;
1056
+ }
1057
+
1058
  /* Tooltips */
1059
  .fl-help-tooltip {
1060
  display: inline-block;
fl-builder.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Beaver Builder Plugin (Lite Version)
4
  * Plugin URI: http://www.wpbeaverbuilder.com
5
  * Description: A drag and drop frontend WordPress page builder plugin that works with almost any theme!
6
- * Version: 1.3.8.2
7
  * Author: The Beaver Builder Team
8
  * Author URI: http://www.wpbeaverbuilder.com
9
  * Copyright: (c) 2014 Beaver Builder
@@ -11,7 +11,7 @@
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  * Text Domain: fl-builder
13
  */
14
- define('FL_BUILDER_VERSION', '1.3.8.2');
15
  define('FL_BUILDER_DIR', plugin_dir_path(__FILE__));
16
  define('FL_BUILDER_URL', plugins_url('/', __FILE__));
17
  define('FL_BUILDER_LITE', true);
@@ -69,6 +69,7 @@ add_filter('redirect_post_location', 'FLBuilderAdminPo
69
  add_filter('page_row_actions', 'FLBuilderAdminPosts::render_row_actions_link');
70
  add_filter('post_row_actions', 'FLBuilderAdminPosts::render_row_actions_link');
71
  add_filter('plugin_action_links_' . plugin_basename(__FILE__), 'FLBuilderAdmin::render_plugin_action_links');
 
72
 
73
  /* AJAX Actions */
74
  add_action('fl_ajax_fl_builder_update', 'FLBuilderModel::update');
3
  * Plugin Name: Beaver Builder Plugin (Lite Version)
4
  * Plugin URI: http://www.wpbeaverbuilder.com
5
  * Description: A drag and drop frontend WordPress page builder plugin that works with almost any theme!
6
+ * Version: 1.3.9
7
  * Author: The Beaver Builder Team
8
  * Author URI: http://www.wpbeaverbuilder.com
9
  * Copyright: (c) 2014 Beaver Builder
11
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  * Text Domain: fl-builder
13
  */
14
+ define('FL_BUILDER_VERSION', '1.3.9');
15
  define('FL_BUILDER_DIR', plugin_dir_path(__FILE__));
16
  define('FL_BUILDER_URL', plugins_url('/', __FILE__));
17
  define('FL_BUILDER_LITE', true);
69
  add_filter('page_row_actions', 'FLBuilderAdminPosts::render_row_actions_link');
70
  add_filter('post_row_actions', 'FLBuilderAdminPosts::render_row_actions_link');
71
  add_filter('plugin_action_links_' . plugin_basename(__FILE__), 'FLBuilderAdmin::render_plugin_action_links');
72
+ add_filter('all_plugins', 'FLBuilderAdmin::white_label_plugins_page');
73
 
74
  /* AJAX Actions */
75
  add_action('fl_ajax_fl_builder_update', 'FLBuilderModel::update');
includes/admin-settings.php CHANGED
@@ -30,6 +30,7 @@
30
  <?php endif; ?>
31
 
32
  <li><a href="#post-types"><?php _e('Post Types', 'fl-builder'); ?></a></li>
 
33
 
34
  <?php if(!class_exists('FLBuilderMultisiteSettings') && file_exists(FL_BUILDER_DIR . 'includes/admin-branding.php')) : ?>
35
  <li><a href="#branding"><?php _e('Branding', 'fl-builder'); ?></a></li>
@@ -57,7 +58,7 @@
57
 
58
  <h3 class="fl-settings-form-header"><?php _e('Upgrade', 'fl-builder'); ?></h3>
59
 
60
- <p style="max-width: 550px;"><?php _e('You are currently running the lite version of the Beaver Builder plugin. Upgrade today for access to premium features such as advanced modules, templates, support and more!', 'fl-builder'); ?></p>
61
 
62
  <input type="button" class="button button-primary" value="<?php _e('Upgrade Now', 'fl-builder'); ?>" onclick="window.location.href='<?php echo FL_BUILDER_UPGRADE_URL; ?>';" style="margin-right: 10px;">
63
 
@@ -207,6 +208,35 @@
207
  </form>
208
  </div>
209
  <!-- POST TYPES -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
210
 
211
  <?php if(file_exists(FL_BUILDER_DIR . 'includes/admin-branding.php')) : ?>
212
  <!-- BRANDING -->
@@ -219,9 +249,9 @@
219
 
220
  <h3 class="fl-settings-form-header"><?php _e('Uninstall', 'fl-builder'); ?></h3>
221
 
222
- <p style="max-width: 550px;"><?php _e('Clicking the button below will uninstall the page builder plugin and delete all of the data associated with it. You can uninstall or deactivate the page builder from the plugins page instead if you do not wish to delete the data.', 'fl-builder'); ?></p>
223
 
224
- <p style="max-width: 550px;"><strong><?php _e('NOTE:'); ?></strong> <?php _e('The builder does not delete the post meta _fl_builder_data, _fl_builder_draft and _fl_builder_enabled in case you want to reinstall it later. If you do, the builder will rebuild all of its data using those meta values.', 'fl-builder'); ?></p>
225
 
226
  <?php if(is_multisite()) : ?>
227
  <p><strong style="color:#ff0000;"><?php _e('NOTE:'); ?></strong> <?php _e('This applies to all sites on the network.', 'fl-builder'); ?></p>
30
  <?php endif; ?>
31
 
32
  <li><a href="#post-types"><?php _e('Post Types', 'fl-builder'); ?></a></li>
33
+ <li><a href="#editing"><?php _e('Editing', 'fl-builder'); ?></a></li>
34
 
35
  <?php if(!class_exists('FLBuilderMultisiteSettings') && file_exists(FL_BUILDER_DIR . 'includes/admin-branding.php')) : ?>
36
  <li><a href="#branding"><?php _e('Branding', 'fl-builder'); ?></a></li>
58
 
59
  <h3 class="fl-settings-form-header"><?php _e('Upgrade', 'fl-builder'); ?></h3>
60
 
61
+ <p><?php _e('You are currently running the lite version of the Beaver Builder plugin. Upgrade today for access to premium features such as advanced modules, templates, support and more!', 'fl-builder'); ?></p>
62
 
63
  <input type="button" class="button button-primary" value="<?php _e('Upgrade Now', 'fl-builder'); ?>" onclick="window.location.href='<?php echo FL_BUILDER_UPGRADE_URL; ?>';" style="margin-right: 10px;">
64
 
208
  </form>
209
  </div>
210
  <!-- POST TYPES -->
211
+
212
+ <!-- EDITING -->
213
+ <div id="fl-editing-form" class="fl-settings-form">
214
+
215
+ <h3 class="fl-settings-form-header"><?php _e('Editing Settings', 'fl-builder'); ?></h3>
216
+
217
+ <form id="editing-form" action="<?php echo admin_url('/options-general.php?page=fl-builder-settings#editing'); ?>" method="post">
218
+
219
+ <?php if(class_exists('FLBuilderMultisiteSettings')) : ?>
220
+ <label>
221
+ <input class="fl-override-ms-cb" type="checkbox" name="fl-override-ms" value="1" <?php if(get_option('_fl_builder_editing_capability')) echo 'checked="checked"'; ?> />
222
+ <?php _e('Override network settings?', 'fl-builder'); ?>
223
+ </label>
224
+ <?php endif; ?>
225
+
226
+ <div class="fl-settings-form-content">
227
+
228
+ <p><?php echo sprintf(__('Set the <a href="%s" target="_blank">capability</a> required for users to access advanced builder editing such as adding, deleting or moving modules.', 'fl-builder'), 'http://codex.wordpress.org/Roles_and_Capabilities#Capability_vs._Role_Table'); ?></p>
229
+
230
+ <input type="text" name="fl-editing-capability" value="<?php echo esc_html(FLBuilderModel::get_editing_capability()); ?>" class="regular-text" />
231
+
232
+ </div>
233
+ <p class="submit">
234
+ <input type="submit" name="update" class="button-primary" value="Save Editing Settings" />
235
+ <?php wp_nonce_field('editing', 'fl-editing-nonce'); ?>
236
+ </p>
237
+ </form>
238
+ </div>
239
+ <!-- EDITING -->
240
 
241
  <?php if(file_exists(FL_BUILDER_DIR . 'includes/admin-branding.php')) : ?>
242
  <!-- BRANDING -->
249
 
250
  <h3 class="fl-settings-form-header"><?php _e('Uninstall', 'fl-builder'); ?></h3>
251
 
252
+ <p><?php _e('Clicking the button below will uninstall the page builder plugin and delete all of the data associated with it. You can uninstall or deactivate the page builder from the plugins page instead if you do not wish to delete the data.', 'fl-builder'); ?></p>
253
 
254
+ <p><strong><?php _e('NOTE:'); ?></strong> <?php _e('The builder does not delete the post meta _fl_builder_data, _fl_builder_draft and _fl_builder_enabled in case you want to reinstall it later. If you do, the builder will rebuild all of its data using those meta values.', 'fl-builder'); ?></p>
255
 
256
  <?php if(is_multisite()) : ?>
257
  <p><strong style="color:#ff0000;"><?php _e('NOTE:'); ?></strong> <?php _e('This applies to all sites on the network.', 'fl-builder'); ?></p>
includes/field-link.php ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <div class="fl-link-field">
2
+ <input type="text" name="<?php echo $name; ?>" value="<?php echo esc_url($value); ?>" class="text fl-link-field-input" placeholder="http://www.example.com" />
3
+ <span class="fl-link-field-select fl-builder-button fl-builder-button-small" href="javascript:void(0);" onclick="return false;"><?php _e('Select', 'fl-builder'); ?></span>
4
+ <div class="fl-link-field-search">
5
+ <span class="fl-link-field-search-title"><?php _e('Enter a post title to search.', 'fl-builder'); ?></span>
6
+ <input type="text" name="<?php echo $name; ?>-search" class="text text-full fl-link-field-search-input" placeholder="<?php _e('Start typing...', 'fl-builder'); ?>" />
7
+ <span class="fl-link-field-search-cancel fl-builder-button fl-builder-button-small" href="javascript:void(0);" onclick="return false;"><?php _e('Cancel', 'fl-builder'); ?></span>
8
+ </div>
9
+ </div>
includes/js-config.php CHANGED
@@ -2,11 +2,13 @@
2
 
3
  var FLBuilderConfig = {
4
  ajaxUrl: '<?php wp_reset_query(); global $post; echo get_permalink($post->ID); ?>',
5
- lite: <?php if(FL_BUILDER_LITE === true) echo 'true'; else echo 'false'; ?>,
6
  homeUrl: '<?php echo home_url(); ?>',
7
- upgradeUrl: '<?php echo FL_BUILDER_UPGRADE_URL; ?>',
 
8
  postType: '<?php echo get_post_type(); ?>',
9
- enabledTemplates: '<?php echo FLBuilderModel::get_enabled_templates(); ?>'
 
10
  };
11
 
12
  var FLBuilderStrings = {
2
 
3
  var FLBuilderConfig = {
4
  ajaxUrl: '<?php wp_reset_query(); global $post; echo get_permalink($post->ID); ?>',
5
+ enabledTemplates: '<?php echo FLBuilderModel::get_enabled_templates(); ?>',
6
  homeUrl: '<?php echo home_url(); ?>',
7
+ lite: <?php if(FL_BUILDER_LITE === true) echo 'true'; else echo 'false'; ?>,
8
+ postId: <?php echo FLBuilderModel::get_post_id(); ?>,
9
  postType: '<?php echo get_post_type(); ?>',
10
+ simpleUi: <?php if(!current_user_can(FLBuilderModel::get_editing_capability())) echo 'true'; else echo 'false'; ?>,
11
+ upgradeUrl: '<?php echo FL_BUILDER_UPGRADE_URL; ?>'
12
  };
13
 
14
  var FLBuilderStrings = {
includes/updater-config.php CHANGED
@@ -3,7 +3,7 @@
3
  if(class_exists('FLUpdater')) {
4
  FLUpdater::add_product(array(
5
  'name' => 'Beaver Builder Plugin (Lite Version)',
6
- 'version' => '1.3.8.2',
7
  'slug' => 'bb-plugin',
8
  'type' => 'plugin'
9
  ));
3
  if(class_exists('FLUpdater')) {
4
  FLUpdater::add_product(array(
5
  'name' => 'Beaver Builder Plugin (Lite Version)',
6
+ 'version' => '1.3.9',
7
  'slug' => 'bb-plugin',
8
  'type' => 'plugin'
9
  ));
js/fl-builder-preview.js CHANGED
@@ -126,8 +126,8 @@ var FLBuilderPreview;
126
  $.extend(this.classes, {
127
  settings : '.fl-builder-' + this.type + '-settings',
128
  settingsHeader : '.fl-builder-' + this.type + '-settings .fl-lightbox-header',
129
- node : '.fl-builder-content .fl-node-' + this.nodeId,
130
- content : '.fl-builder-content .fl-node-' + this.nodeId + ' ' + contentClass
131
  });
132
 
133
  // Elements
@@ -206,7 +206,7 @@ var FLBuilderPreview;
206
  var post = $('#fl-post-id').val(),
207
  css = $('#fl-builder-layout-' + post + '-css').attr('href'),
208
  js = $('script[src*="/fl-builder/' + post + '"]').attr('src'),
209
- html = $('.fl-builder-content').html();
210
 
211
  this.state = {
212
  css : css,
126
  $.extend(this.classes, {
127
  settings : '.fl-builder-' + this.type + '-settings',
128
  settingsHeader : '.fl-builder-' + this.type + '-settings .fl-lightbox-header',
129
+ node : FLBuilder._contentClass + ' .fl-node-' + this.nodeId,
130
+ content : FLBuilder._contentClass + ' .fl-node-' + this.nodeId + ' ' + contentClass
131
  });
132
 
133
  // Elements
206
  var post = $('#fl-post-id').val(),
207
  css = $('#fl-builder-layout-' + post + '-css').attr('href'),
208
  js = $('script[src*="/fl-builder/' + post + '"]').attr('src'),
209
+ html = $(FLBuilder._contentClass).html();
210
 
211
  this.state = {
212
  css : css,
js/fl-builder.js CHANGED
@@ -27,6 +27,12 @@ var FLBuilder;
27
  */
28
  _addModuleAfterRowRender : null,
29
 
 
 
 
 
 
 
30
  /**
31
  * @param _dragEnabled
32
  * @private
@@ -141,10 +147,8 @@ var FLBuilder;
141
  */
142
  _init: function()
143
  {
144
- $('html').addClass('fl-builder-edit');
145
- $('body').addClass('fl-builder');
146
-
147
  FLBuilder._lockPost();
 
148
  FLBuilder._initMediaUploader();
149
  FLBuilder._initOverflowFix();
150
  FLBuilder._initScrollbars();
@@ -174,6 +178,22 @@ var FLBuilder;
174
  }
175
  },
176
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
177
  /**
178
  * @method _initMediaUploader
179
  * @private
@@ -189,7 +209,7 @@ var FLBuilder;
189
  */
190
  _initOverflowFix: function()
191
  {
192
- $('.fl-builder-content').parents().css('overflow', 'visible');
193
  },
194
 
195
  /**
@@ -249,20 +269,20 @@ var FLBuilder;
249
 
250
  // Row layouts from the builder panel.
251
  $('.fl-builder-rows').sortable($.extend({}, defaults, {
252
- connectWith: '.fl-builder-content, .fl-row-content',
253
  items: '.fl-builder-block-row',
254
  stop: FLBuilder._rowDragStop
255
  }));
256
 
257
  // Modules from the builder panel.
258
  $('.fl-builder-modules, .fl-builder-widgets').sortable($.extend({}, defaults, {
259
- connectWith: '.fl-builder-content, .fl-row-content, .fl-col-content',
260
  items: '.fl-builder-block-module',
261
  stop: FLBuilder._moduleDragStop
262
  }));
263
 
264
  // Row position.
265
- $('.fl-builder-content').sortable($.extend({}, defaults, {
266
  handle: '.fl-row-overlay .fl-block-overlay-actions .fl-block-move',
267
  helper: FLBuilder._rowDragHelper,
268
  items: '.fl-row',
@@ -279,7 +299,7 @@ var FLBuilder;
279
 
280
  // Module position.
281
  $('.fl-col-content').sortable($.extend({}, defaults, {
282
- connectWith: '.fl-builder-content, .fl-row-content, .fl-col-content',
283
  handle: '.fl-module-overlay .fl-block-overlay-actions .fl-block-move',
284
  helper: FLBuilder._moduleDragHelper,
285
  items: '.fl-module',
@@ -408,6 +428,10 @@ var FLBuilder;
408
  /* Layout Fields */
409
  $('body').delegate('.fl-layout-field-option', 'click', FLBuilder._layoutFieldClicked);
410
 
 
 
 
 
411
  /* Loop Builder */
412
  $('body').delegate('.fl-loop-builder select[name=post_type]', 'change', FLBuilder._loopBuilderPostTypeChange);
413
  },
@@ -822,7 +846,7 @@ var FLBuilder;
822
  */
823
  _initTemplateSelector: function()
824
  {
825
- var rows = $('.fl-builder-content').find('.fl-row');
826
 
827
  if(rows.length === 0) {
828
  FLBuilder._showTemplateSelector();
@@ -867,7 +891,7 @@ var FLBuilder;
867
  var template = $(this),
868
  index = template.closest('.fl-template-preview').attr('data-index');
869
 
870
- if($('.fl-builder-content').children('.fl-row').length > 0) {
871
 
872
  if(index == 0) {
873
  if(confirm(FLBuilderStrings.changeTemplateMessage)) {
@@ -895,7 +919,7 @@ var FLBuilder;
895
  {
896
  var id = $(this).attr('data-id');
897
 
898
- if($('.fl-builder-content').children('.fl-row').length > 0) {
899
 
900
  if(id == 'blank') {
901
  if(confirm(FLBuilderStrings.changeTemplateMessage)) {
@@ -1109,7 +1133,7 @@ var FLBuilder;
1109
  */
1110
  _setupEmptyLayout: function()
1111
  {
1112
- var content = $('.fl-builder-content');
1113
 
1114
  content.removeClass('fl-builder-empty');
1115
  content.find('.fl-builder-empty-message').remove();
@@ -1146,7 +1170,7 @@ var FLBuilder;
1146
  var post = $('#fl-post-id').val(),
1147
  head = $('head').eq(0),
1148
  body = $('body').eq(0),
1149
- content = $('.fl-builder-content'),
1150
  loader = $('<img src="' + data.css + '" />'),
1151
  oldCss = $('#fl-builder-layout-' + post + '-css'),
1152
  oldJs = $('script[src*="/fl-builder/' + post + '"]'),
@@ -1355,7 +1379,7 @@ var FLBuilder;
1355
  FLBuilder._dragging = true;
1356
 
1357
  // Refresh sortables.
1358
- $('.fl-builder-content').sortable('refreshPositions');
1359
  $('.fl-row-content').sortable('refreshPositions');
1360
  $('.fl-col-content').sortable('refreshPositions');
1361
  },
@@ -1389,7 +1413,7 @@ var FLBuilder;
1389
  title = FLBuilderStrings.newColumn;
1390
  }
1391
  }
1392
- else if(parent.hasClass('fl-builder-content')) {
1393
  if(ui.item.hasClass('fl-builder-block-row')) {
1394
  title = ui.item.text();
1395
  }
@@ -1613,7 +1637,7 @@ var FLBuilder;
1613
  */
1614
  _addRowComplete: function(response)
1615
  {
1616
- var content = $('.fl-builder-content'),
1617
  rows = $('.fl-row'),
1618
  row = $(response),
1619
  module = null,
@@ -2000,7 +2024,7 @@ var FLBuilder;
2000
  else if(ui.item.hasClass('fl-builder-block')) {
2001
 
2002
  // A new module was dropped into a row position.
2003
- if(parent.hasClass('fl-builder-content')) {
2004
  parentId = 0;
2005
  }
2006
  // A new module was dropped into a column position.
@@ -2019,7 +2043,7 @@ var FLBuilder;
2019
  ui.item.remove();
2020
  }
2021
  // A module was dropped into the main layout.
2022
- else if(parent.hasClass('fl-builder-content')) {
2023
  FLBuilder._addModuleAfterRowRender = ui.item;
2024
  FLBuilder._addRow('1-col', ui.item.index());
2025
  ui.item.remove();
@@ -2314,6 +2338,7 @@ var FLBuilder;
2314
  FLBuilder._initSelectFields();
2315
  FLBuilder._initMultipleFields();
2316
  FLBuilder._initAutoSuggestFields();
 
2317
  },
2318
 
2319
  /**
@@ -3332,6 +3357,80 @@ var FLBuilder;
3332
  option.siblings('input').val(option.attr('data-value'));
3333
  },
3334
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3335
  /* Loop Builder
3336
  ----------------------------------------------------------*/
3337
 
27
  */
28
  _addModuleAfterRowRender : null,
29
 
30
+ /**
31
+ * @param _contentClass
32
+ * @private
33
+ */
34
+ _contentClass : false,
35
+
36
  /**
37
  * @param _dragEnabled
38
  * @private
147
  */
148
  _init: function()
149
  {
 
 
 
150
  FLBuilder._lockPost();
151
+ FLBuilder._initClassNames();
152
  FLBuilder._initMediaUploader();
153
  FLBuilder._initOverflowFix();
154
  FLBuilder._initScrollbars();
178
  }
179
  },
180
 
181
+ /**
182
+ * @method _initClassNames
183
+ * @private
184
+ */
185
+ _initClassNames: function()
186
+ {
187
+ $('html').addClass('fl-builder-edit');
188
+ $('body').addClass('fl-builder');
189
+
190
+ if(FLBuilderConfig.simpleUi) {
191
+ $('body').addClass('fl-builder-simple');
192
+ }
193
+
194
+ FLBuilder._contentClass = '.fl-builder-content-' + FLBuilderConfig.postId;
195
+ },
196
+
197
  /**
198
  * @method _initMediaUploader
199
  * @private
209
  */
210
  _initOverflowFix: function()
211
  {
212
+ $(FLBuilder._contentClass).parents().css('overflow', 'visible');
213
  },
214
 
215
  /**
269
 
270
  // Row layouts from the builder panel.
271
  $('.fl-builder-rows').sortable($.extend({}, defaults, {
272
+ connectWith: FLBuilder._contentClass + ', .fl-row-content',
273
  items: '.fl-builder-block-row',
274
  stop: FLBuilder._rowDragStop
275
  }));
276
 
277
  // Modules from the builder panel.
278
  $('.fl-builder-modules, .fl-builder-widgets').sortable($.extend({}, defaults, {
279
+ connectWith: FLBuilder._contentClass + ', .fl-row-content, .fl-col-content',
280
  items: '.fl-builder-block-module',
281
  stop: FLBuilder._moduleDragStop
282
  }));
283
 
284
  // Row position.
285
+ $(FLBuilder._contentClass).sortable($.extend({}, defaults, {
286
  handle: '.fl-row-overlay .fl-block-overlay-actions .fl-block-move',
287
  helper: FLBuilder._rowDragHelper,
288
  items: '.fl-row',
299
 
300
  // Module position.
301
  $('.fl-col-content').sortable($.extend({}, defaults, {
302
+ connectWith: FLBuilder._contentClass + ', .fl-row-content, .fl-col-content',
303
  handle: '.fl-module-overlay .fl-block-overlay-actions .fl-block-move',
304
  helper: FLBuilder._moduleDragHelper,
305
  items: '.fl-module',
428
  /* Layout Fields */
429
  $('body').delegate('.fl-layout-field-option', 'click', FLBuilder._layoutFieldClicked);
430
 
431
+ /* Links Fields */
432
+ $('body').delegate('.fl-link-field-select', 'click', FLBuilder._linkFieldSelectClicked);
433
+ $('body').delegate('.fl-link-field-search-cancel', 'click', FLBuilder._linkFieldSelectCancelClicked);
434
+
435
  /* Loop Builder */
436
  $('body').delegate('.fl-loop-builder select[name=post_type]', 'change', FLBuilder._loopBuilderPostTypeChange);
437
  },
846
  */
847
  _initTemplateSelector: function()
848
  {
849
+ var rows = $(FLBuilder._contentClass).find('.fl-row');
850
 
851
  if(rows.length === 0) {
852
  FLBuilder._showTemplateSelector();
891
  var template = $(this),
892
  index = template.closest('.fl-template-preview').attr('data-index');
893
 
894
+ if($(FLBuilder._contentClass).children('.fl-row').length > 0) {
895
 
896
  if(index == 0) {
897
  if(confirm(FLBuilderStrings.changeTemplateMessage)) {
919
  {
920
  var id = $(this).attr('data-id');
921
 
922
+ if($(FLBuilder._contentClass).children('.fl-row').length > 0) {
923
 
924
  if(id == 'blank') {
925
  if(confirm(FLBuilderStrings.changeTemplateMessage)) {
1133
  */
1134
  _setupEmptyLayout: function()
1135
  {
1136
+ var content = $(FLBuilder._contentClass);
1137
 
1138
  content.removeClass('fl-builder-empty');
1139
  content.find('.fl-builder-empty-message').remove();
1170
  var post = $('#fl-post-id').val(),
1171
  head = $('head').eq(0),
1172
  body = $('body').eq(0),
1173
+ content = $(FLBuilder._contentClass),
1174
  loader = $('<img src="' + data.css + '" />'),
1175
  oldCss = $('#fl-builder-layout-' + post + '-css'),
1176
  oldJs = $('script[src*="/fl-builder/' + post + '"]'),
1379
  FLBuilder._dragging = true;
1380
 
1381
  // Refresh sortables.
1382
+ $(FLBuilder._contentClass).sortable('refreshPositions');
1383
  $('.fl-row-content').sortable('refreshPositions');
1384
  $('.fl-col-content').sortable('refreshPositions');
1385
  },
1413
  title = FLBuilderStrings.newColumn;
1414
  }
1415
  }
1416
+ else if(parent.hasClass(FLBuilder._contentClass)) {
1417
  if(ui.item.hasClass('fl-builder-block-row')) {
1418
  title = ui.item.text();
1419
  }
1637
  */
1638
  _addRowComplete: function(response)
1639
  {
1640
+ var content = $(FLBuilder._contentClass),
1641
  rows = $('.fl-row'),
1642
  row = $(response),
1643
  module = null,
2024
  else if(ui.item.hasClass('fl-builder-block')) {
2025
 
2026
  // A new module was dropped into a row position.
2027
+ if(parent.hasClass(FLBuilder._contentClass)) {
2028
  parentId = 0;
2029
  }
2030
  // A new module was dropped into a column position.
2043
  ui.item.remove();
2044
  }
2045
  // A module was dropped into the main layout.
2046
+ else if(parent.hasClass(FLBuilder._contentClass)) {
2047
  FLBuilder._addModuleAfterRowRender = ui.item;
2048
  FLBuilder._addRow('1-col', ui.item.index());
2049
  ui.item.remove();
2338
  FLBuilder._initSelectFields();
2339
  FLBuilder._initMultipleFields();
2340
  FLBuilder._initAutoSuggestFields();
2341
+ FLBuilder._initLinkFields();
2342
  },
2343
 
2344
  /**
3357
  option.siblings('input').val(option.attr('data-value'));
3358
  },
3359
 
3360
+ /* Link Fields
3361
+ ----------------------------------------------------------*/
3362
+
3363
+ /**
3364
+ * @method _initLinkFields
3365
+ * @private
3366
+ */
3367
+ _initLinkFields: function()
3368
+ {
3369
+ $('.fl-link-field').each(FLBuilder._initLinkField);
3370
+ },
3371
+
3372
+ /**
3373
+ * @method _initLinkField
3374
+ * @private
3375
+ */
3376
+ _initLinkField: function()
3377
+ {
3378
+ var wrap = $(this),
3379
+ searchInput = wrap.find('.fl-link-field-search-input');
3380
+
3381
+ searchInput.autoSuggest(FLBuilder._ajaxUrl({
3382
+ 'fl_action' : 'fl_builder_autosuggest',
3383
+ 'fl_as_action' : 'fl_as_links'
3384
+ }), {
3385
+ asHtmlID : searchInput.attr('name'),
3386
+ selectedItemProp : 'name',
3387
+ searchObjProps : 'name',
3388
+ minChars : 3,
3389
+ keyDelay : 1000,
3390
+ fadeOut : false,
3391
+ usePlaceholder : true,
3392
+ emptyText : FLBuilderStrings.noResultsFound,
3393
+ showResultListWhenNoMatch : true,
3394
+ queryParam : 'fl_as_query',
3395
+ selectionLimit : 1,
3396
+ afterSelectionAdd : FLBuilder._updateLinkField
3397
+ });
3398
+ },
3399
+
3400
+ /**
3401
+ * @method _updateLinkField
3402
+ * @private
3403
+ */
3404
+ _updateLinkField: function(element, item, selections)
3405
+ {
3406
+ var wrap = element.closest('.fl-link-field'),
3407
+ search = wrap.find('.fl-link-field-search'),
3408
+ searchInput = wrap.find('.fl-link-field-search-input'),
3409
+ field = wrap.find('.fl-link-field-input');
3410
+
3411
+ field.val(item.value).trigger('keyup');
3412
+ searchInput.autoSuggest('remove', item.value);
3413
+ search.hide();
3414
+ },
3415
+
3416
+ /**
3417
+ * @method _linkFieldSelectClicked
3418
+ * @private
3419
+ */
3420
+ _linkFieldSelectClicked: function()
3421
+ {
3422
+ $(this).parent().find('.fl-link-field-search').show();
3423
+ },
3424
+
3425
+ /**
3426
+ * @method _linkFieldSelectCancelClicked
3427
+ * @private
3428
+ */
3429
+ _linkFieldSelectCancelClicked: function()
3430
+ {
3431
+ $(this).parent().hide();
3432
+ },
3433
+
3434
  /* Loop Builder
3435
  ----------------------------------------------------------*/
3436
 
lang/fl-builder-xx_XX.mo ADDED
Binary file
lang/fl-builder-xx_XX.pot CHANGED
@@ -1,2662 +1,3153 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: FastLine Page Builder\n"
4
- "POT-Creation-Date: 2014-06-26 17:41+0100\n"
5
- "PO-Revision-Date: 2014-06-26 17:41+0100\n"
6
  "Last-Translator: Alessandro Curci <hantarex@gmail.com>\n"
7
  "Language-Team: \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.5.4\n"
13
  "X-Poedit-KeywordsList: __;_e\n"
14
  "X-Poedit-Basepath: ./\n"
15
  "X-Poedit-SearchPath-0: ..\n"
16
 
17
- #: ../classes/FLBuilderAdmin.php:39
18
- #, php-format
19
- msgid ""
20
- "This version of the <strong>FastLine Page Builder</strong> plugin is not "
21
- "compatible with WordPress Multisite. <a href=\"%s\" target=\"_blank\">Please "
22
- "upgrade</a> to the Multisite version of this plugin."
23
- msgstr ""
24
-
25
- #: ../classes/FLBuilderAdmin.php:50
26
- msgid ""
27
- "The <strong>FastLine Page Builder</strong> plugin requires WordPress version "
28
- "3.5 or greater. Please update WordPress before activating the plugin."
29
- msgstr ""
30
-
31
- #: ../classes/FLBuilderAdmin.php:85
32
- #, php-format
33
- msgid ""
34
- "FastLine Page Builder activated! <a href=\"%s\">Click here</a> to enable "
35
- "remote updates."
36
- msgstr ""
37
-
38
- #: ../classes/FLBuilderAdmin.php:220 ../classes/FLBuilderAdmin.php:275
39
- #: ../classes/FLBuilder.php:351 ../includes/ui.php:3
40
- #: ../includes/admin-posts.php:4
41
- msgid "Page Builder"
42
- msgstr ""
43
-
44
- #: ../classes/FLBuilderAdmin.php:288
45
- msgid "Upgrade"
46
  msgstr ""
47
 
48
- #: ../classes/FLBuilder.php:567
49
  msgid "Add New Layout Template"
50
  msgstr ""
51
 
52
- #: ../classes/FLBuilder.php:568
53
  msgid "New Layout Template"
54
  msgstr ""
55
 
56
- #: ../classes/FLBuilder.php:569
57
  msgid "Edit Layout Template"
58
  msgstr ""
59
 
60
- #: ../classes/FLBuilder.php:570
61
  msgid "View Layout Template"
62
  msgstr ""
63
 
64
- #: ../classes/FLBuilder.php:571
65
  msgid "All Layout Templates"
66
  msgstr ""
67
 
68
- #: ../classes/FLBuilder.php:572
69
  msgid "Search Layout Templates"
70
  msgstr ""
71
 
72
- #: ../classes/FLBuilder.php:573
73
  msgid "Parent Layout Templates:"
74
  msgstr ""
75
 
76
- #: ../classes/FLBuilder.php:574
77
  msgid "No layout templates found."
78
  msgstr ""
79
 
80
- #: ../classes/FLBuilder.php:575
81
  msgid "No layout templates found in Trash."
82
  msgstr ""
83
 
84
- #: ../classes/FLBuilder.php:858
85
  msgid " Settings"
86
  msgstr ""
87
 
88
- #: ../classes/FLBuilderPhoto.php:47 ../includes/js-config.php:30
89
- msgid "Full Size"
90
- msgstr ""
91
-
92
- #: ../classes/FLBuilderPhoto.php:48 ../modules/gallery/gallery.php:261
93
- #: ../modules/accordion/accordion.php:62 ../includes/js-config.php:32
94
- msgid "Large"
95
- msgstr ""
96
-
97
- #: ../classes/FLBuilderPhoto.php:49 ../modules/gallery/gallery.php:260
98
- #: ../modules/accordion/accordion.php:61 ../includes/js-config.php:34
99
- #: ../includes/row-settings.php:269
100
- msgid "Medium"
101
- msgstr ""
102
-
103
- #: ../classes/FLBuilderPhoto.php:50 ../includes/js-config.php:55
104
- msgid "Thumbnail"
105
  msgstr ""
106
 
107
- #: ../classes/FLBuilderModel.php:1464
108
- msgid "Copy of "
 
 
109
  msgstr ""
110
 
111
- #: ../modules/button/button.php:14
112
- #: ../modules/content-slider/content-slider.php:595 ../modules/cta/cta.php:195
113
- #: ../modules/callout/callout.php:453
114
- msgid "Button"
 
115
  msgstr ""
116
 
117
- #: ../modules/button/button.php:15
118
- msgid "A simple call to action button."
 
119
  msgstr ""
120
 
121
- #: ../modules/button/button.php:16 ../modules/map/map.php:16
122
- #: ../modules/contact-form/contact-form.php:16
123
- #: ../modules/content-slider/content-slider.php:16
124
- #: ../modules/woocommerce/woocommerce.php:18
125
- #: ../modules/social-buttons/social-buttons.php:16
126
- #: ../modules/sidebar/sidebar.php:16 ../modules/icon-group/icon-group.php:16
127
- #: ../modules/cta/cta.php:16 ../modules/html/html.php:16
128
- #: ../modules/icon/icon.php:16 ../modules/callout/callout.php:16
129
- #: ../modules/testimonials/testimonials.php:16
130
- #: ../modules/slideshow/slideshow.php:16 ../modules/gallery/gallery.php:16
131
- #: ../modules/accordion/accordion.php:16
132
- msgid "Advanced Modules"
133
  msgstr ""
134
 
135
- #: ../modules/button/button.php:28 ../modules/map/map.php:26
136
- #: ../modules/rich-text/rich-text.php:26
137
- #: ../modules/contact-form/contact-form.php:57
138
- #: ../modules/content-slider/content-slider.php:183
139
- #: ../modules/content-slider/content-slider.php:307
140
- #: ../modules/woocommerce/woocommerce.php:50
141
- #: ../modules/social-buttons/social-buttons.php:62
142
- #: ../modules/sidebar/sidebar.php:27 ../modules/icon-group/icon-group.php:124
143
- #: ../modules/cta/cta.php:64 ../modules/video/video.php:75
144
- #: ../modules/html/html.php:26 ../modules/widget/widget.php:27
145
- #: ../modules/icon/icon.php:29 ../modules/callout/callout.php:206
146
- #: ../modules/testimonials/testimonials.php:30
147
- #: ../modules/testimonials/testimonials.php:191 ../modules/photo/photo.php:313
148
- #: ../modules/slideshow/slideshow.php:256 ../modules/heading/heading.php:26
149
- #: ../modules/gallery/gallery.php:209 ../modules/accordion/accordion.php:86
150
- #: ../modules/separator/separator.php:27
151
- #: ../includes/user-template-settings.php:7 ../includes/global-settings.php:7
152
- msgid "General"
153
  msgstr ""
154
 
155
- #: ../modules/button/button.php:35
156
- #: ../modules/content-slider/content-slider.php:375
157
- #: ../modules/content-slider/content-slider.php:610 ../modules/cta/cta.php:76
158
- #: ../modules/cta/cta.php:202 ../modules/callout/callout.php:218
159
- #: ../modules/callout/callout.php:452 ../modules/callout/callout.php:468
160
- #: ../includes/row-settings.php:42 ../includes/column-settings.php:23
161
- msgid "Text"
162
  msgstr ""
163
 
164
- #: ../modules/button/button.php:39 ../modules/icon-group/icon-group.php:36
165
- #: ../modules/icon-group/icon-group.php:131 ../modules/icon/icon.php:14
166
- #: ../modules/icon/icon.php:36 ../modules/callout/callout.php:303
167
- #: ../modules/callout/callout.php:350 ../modules/callout/callout.php:354
168
- msgid "Icon"
169
  msgstr ""
170
 
171
- #: ../modules/button/button.php:45 ../modules/button/button.php:49
172
- #: ../modules/content-slider/content-slider.php:566
173
- #: ../modules/content-slider/content-slider.php:570
174
- #: ../modules/content-slider/content-slider.php:594
175
- #: ../modules/icon-group/icon-group.php:135 ../modules/cta/cta.php:211
176
- #: ../modules/icon/icon.php:45 ../modules/callout/callout.php:424
177
- #: ../modules/callout/callout.php:428 ../modules/slideshow/slideshow.php:340
178
- #: ../modules/heading/heading.php:38 ../modules/heading/heading.php:42
179
- msgid "Link"
180
  msgstr ""
181
 
182
- #: ../modules/button/button.php:54
183
- #: ../modules/content-slider/content-slider.php:576 ../modules/cta/cta.php:216
184
- #: ../modules/icon/icon.php:50 ../modules/callout/callout.php:434
185
- #: ../modules/photo/photo.php:416 ../modules/heading/heading.php:47
186
- msgid "Link Target"
187
  msgstr ""
188
 
189
- #: ../modules/button/button.php:57
190
- #: ../modules/content-slider/content-slider.php:579 ../modules/cta/cta.php:219
191
- #: ../modules/icon/icon.php:53 ../modules/callout/callout.php:437
192
- #: ../modules/photo/photo.php:419 ../modules/heading/heading.php:50
193
- msgid "Same Window"
194
  msgstr ""
195
 
196
- #: ../modules/button/button.php:58
197
- #: ../modules/content-slider/content-slider.php:580 ../modules/cta/cta.php:220
198
- #: ../modules/icon/icon.php:54 ../modules/callout/callout.php:438
199
- #: ../modules/photo/photo.php:420 ../modules/heading/heading.php:51
200
- msgid "New Window"
201
  msgstr ""
202
 
203
- #: ../modules/button/button.php:66
204
- #: ../modules/content-slider/content-slider.php:418
205
- #: ../modules/icon-group/icon-group.php:46 ../modules/cta/cta.php:88
206
- #: ../modules/icon/icon.php:72 ../modules/callout/callout.php:230
207
- #: ../modules/heading/heading.php:59 ../modules/accordion/accordion.php:45
208
- #: ../modules/separator/separator.php:55 ../includes/row-settings.php:9
209
- #: ../includes/column-settings.php:7 ../includes/module-settings.php:74
210
- msgid "Style"
211
  msgstr ""
212
 
213
- #: ../modules/button/button.php:69 ../modules/icon-group/icon-group.php:49
214
- #: ../modules/cta/cta.php:168 ../modules/icon/icon.php:75
215
- #: ../modules/heading/heading.php:62
216
- msgid "Colors"
217
  msgstr ""
218
 
219
- #: ../modules/button/button.php:73
220
- #: ../modules/content-slider/content-slider.php:356
221
- #: ../modules/content-slider/content-slider.php:619
222
- #: ../modules/icon-group/icon-group.php:63 ../modules/cta/cta.php:178
223
- #: ../modules/cta/cta.php:230 ../modules/icon/icon.php:89
224
- #: ../modules/callout/callout.php:386 ../modules/callout/callout.php:477
225
- #: ../includes/row-settings.php:93 ../includes/column-settings.php:33
226
- msgid "Background Color"
227
  msgstr ""
228
 
229
- #: ../modules/button/button.php:79
230
- #: ../modules/content-slider/content-slider.php:625
231
- #: ../modules/icon-group/icon-group.php:68 ../modules/cta/cta.php:236
232
- #: ../modules/icon/icon.php:94 ../modules/callout/callout.php:391
233
- #: ../modules/callout/callout.php:483
234
- msgid "Background Hover Color"
235
  msgstr ""
236
 
237
- #: ../modules/button/button.php:85
238
- #: ../modules/content-slider/content-slider.php:521
239
- #: ../modules/content-slider/content-slider.php:630
240
- #: ../modules/content-slider/content-slider.php:714 ../modules/cta/cta.php:172
241
- #: ../modules/cta/cta.php:242 ../modules/callout/callout.php:489
242
- #: ../modules/heading/heading.php:67
243
- msgid "Text Color"
244
  msgstr ""
245
 
246
- #: ../modules/button/button.php:91
247
- #: ../modules/content-slider/content-slider.php:636 ../modules/cta/cta.php:248
248
- #: ../modules/callout/callout.php:495
249
- msgid "Text Hover Color"
 
 
250
  msgstr ""
251
 
252
- #: ../modules/button/button.php:97
253
- #: ../modules/content-slider/content-slider.php:641
254
- #: ../modules/icon-group/icon-group.php:73 ../modules/cta/cta.php:254
255
- #: ../modules/icon/icon.php:99 ../modules/callout/callout.php:396
256
- #: ../modules/callout/callout.php:501
257
- msgid "Gradient"
258
  msgstr ""
259
 
260
- #: ../modules/button/button.php:100
 
 
 
 
261
  #: ../modules/content-slider/content-slider.php:202
262
  #: ../modules/content-slider/content-slider.php:216
263
  #: ../modules/content-slider/content-slider.php:250
264
  #: ../modules/content-slider/content-slider.php:259
265
  #: ../modules/content-slider/content-slider.php:530
266
- #: ../modules/content-slider/content-slider.php:644
267
- #: ../modules/social-buttons/social-buttons.php:103
268
- #: ../modules/social-buttons/social-buttons.php:112
269
- #: ../modules/social-buttons/social-buttons.php:121
270
- #: ../modules/icon-group/icon-group.php:76 ../modules/cta/cta.php:257
271
- #: ../modules/video/video.php:110 ../modules/video/video.php:119
272
- #: ../modules/icon/icon.php:102 ../modules/callout/callout.php:399
273
- #: ../modules/callout/callout.php:504
274
- #: ../modules/testimonials/testimonials.php:81
275
- #: ../modules/testimonials/testimonials.php:120
276
- #: ../modules/testimonials/testimonials.php:145
277
  #: ../modules/slideshow/slideshow.php:315
278
  #: ../modules/slideshow/slideshow.php:325
279
- #: ../modules/slideshow/slideshow.php:368
280
- #: ../modules/slideshow/slideshow.php:409
281
- #: ../modules/slideshow/slideshow.php:428
282
- #: ../modules/slideshow/slideshow.php:477
283
- #: ../modules/slideshow/slideshow.php:486
284
- #: ../modules/slideshow/slideshow.php:495
285
- #: ../modules/slideshow/slideshow.php:504
286
- #: ../modules/slideshow/slideshow.php:513
287
- #: ../modules/slideshow/slideshow.php:522
288
- #: ../modules/slideshow/slideshow.php:531
289
- #: ../modules/slideshow/slideshow.php:545
290
- #: ../modules/slideshow/slideshow.php:560
291
- #: ../modules/slideshow/slideshow.php:595
292
- #: ../modules/slideshow/slideshow.php:604
293
- #: ../modules/slideshow/slideshow.php:613
294
- #: ../modules/slideshow/slideshow.php:622 ../includes/row-settings.php:250
295
- #: ../includes/global-settings.php:18 ../includes/global-settings.php:87
 
 
 
 
 
 
296
  msgid "No"
297
  msgstr ""
298
 
299
- #: ../modules/button/button.php:101
 
 
 
 
300
  #: ../modules/content-slider/content-slider.php:203
301
  #: ../modules/content-slider/content-slider.php:217
302
  #: ../modules/content-slider/content-slider.php:251
303
  #: ../modules/content-slider/content-slider.php:260
304
  #: ../modules/content-slider/content-slider.php:531
305
- #: ../modules/content-slider/content-slider.php:645
306
- #: ../modules/social-buttons/social-buttons.php:102
307
- #: ../modules/social-buttons/social-buttons.php:111
308
- #: ../modules/social-buttons/social-buttons.php:120
309
- #: ../modules/icon-group/icon-group.php:77 ../modules/cta/cta.php:258
310
- #: ../modules/video/video.php:111 ../modules/video/video.php:120
311
- #: ../modules/icon/icon.php:103 ../modules/callout/callout.php:400
312
- #: ../modules/callout/callout.php:505
313
- #: ../modules/testimonials/testimonials.php:82
314
- #: ../modules/testimonials/testimonials.php:121
315
- #: ../modules/testimonials/testimonials.php:146
316
  #: ../modules/slideshow/slideshow.php:316
317
  #: ../modules/slideshow/slideshow.php:326
318
- #: ../modules/slideshow/slideshow.php:369
319
- #: ../modules/slideshow/slideshow.php:410
320
- #: ../modules/slideshow/slideshow.php:429
321
- #: ../modules/slideshow/slideshow.php:478
322
- #: ../modules/slideshow/slideshow.php:487
323
- #: ../modules/slideshow/slideshow.php:496
324
- #: ../modules/slideshow/slideshow.php:505
325
- #: ../modules/slideshow/slideshow.php:514
326
- #: ../modules/slideshow/slideshow.php:523
327
- #: ../modules/slideshow/slideshow.php:532
328
- #: ../modules/slideshow/slideshow.php:546
329
- #: ../modules/slideshow/slideshow.php:561
330
- #: ../modules/slideshow/slideshow.php:596
331
- #: ../modules/slideshow/slideshow.php:605
332
- #: ../modules/slideshow/slideshow.php:614
333
- #: ../modules/slideshow/slideshow.php:623 ../includes/row-settings.php:251
334
- #: ../includes/global-settings.php:19 ../includes/global-settings.php:88
 
 
 
 
 
 
335
  msgid "Yes"
336
  msgstr ""
337
 
338
- #: ../modules/button/button.php:107 ../modules/icon-group/icon-group.php:83
339
- #: ../modules/cta/cta.php:91 ../modules/icon/icon.php:109
340
- #: ../modules/callout/callout.php:233 ../modules/heading/heading.php:72
341
- msgid "Structure"
342
  msgstr ""
343
 
344
- #: ../modules/button/button.php:111
345
- #: ../modules/content-slider/content-slider.php:476
346
- #: ../includes/row-settings.php:16
347
- msgid "Width"
348
  msgstr ""
349
 
350
- #: ../modules/button/button.php:114
351
- #: ../modules/content-slider/content-slider.php:554
352
- #: ../modules/callout/callout.php:518
353
- msgid "Auto"
354
  msgstr ""
355
 
356
- #: ../modules/button/button.php:115 ../modules/callout/callout.php:519
357
- #: ../includes/row-settings.php:20 ../includes/row-settings.php:35
358
- msgid "Full Width"
359
  msgstr ""
360
 
361
- #: ../modules/button/button.php:116
362
- #: ../modules/content-slider/content-slider.php:442
363
- #: ../modules/social-buttons/social-buttons.php:72 ../modules/cta/cta.php:149
364
- #: ../modules/callout/callout.php:270 ../modules/heading/heading.php:103
365
- #: ../modules/heading/heading.php:130 ../modules/heading/heading.php:154
366
- msgid "Custom"
367
  msgstr ""
368
 
369
- #: ../modules/button/button.php:130
370
- msgid "Custom Width"
371
  msgstr ""
372
 
373
- #: ../modules/button/button.php:134 ../modules/button/button.php:152
374
- #: ../modules/button/button.php:160 ../modules/button/button.php:168
375
- #: ../modules/content-slider/content-slider.php:194
376
- #: ../modules/content-slider/content-slider.php:274
377
- #: ../modules/content-slider/content-slider.php:456
378
- #: ../modules/content-slider/content-slider.php:486
379
- #: ../modules/content-slider/content-slider.php:494
380
- #: ../modules/content-slider/content-slider.php:502
381
- #: ../modules/content-slider/content-slider.php:510
382
- #: ../modules/content-slider/content-slider.php:659
383
- #: ../modules/content-slider/content-slider.php:667
384
- #: ../modules/content-slider/content-slider.php:675
385
- #: ../modules/icon-group/icon-group.php:91
386
- #: ../modules/icon-group/icon-group.php:99 ../modules/cta/cta.php:123
387
- #: ../modules/cta/cta.php:163 ../modules/cta/cta.php:272
388
- #: ../modules/cta/cta.php:280 ../modules/cta/cta.php:288
389
- #: ../modules/icon/icon.php:117 ../modules/callout/callout.php:284
390
- #: ../modules/callout/callout.php:414 ../modules/callout/callout.php:528
391
- #: ../modules/callout/callout.php:536 ../modules/callout/callout.php:544
392
- #: ../modules/testimonials/testimonials.php:69
393
- #: ../modules/slideshow/slideshow.php:298
394
- #: ../modules/slideshow/slideshow.php:583 ../modules/heading/heading.php:117
395
- #: ../modules/heading/heading.php:168 ../modules/gallery/gallery.php:270
396
- #: ../includes/row-settings.php:325 ../includes/row-settings.php:334
397
- #: ../includes/row-settings.php:343 ../includes/row-settings.php:352
398
- #: ../includes/row-settings.php:391 ../includes/row-settings.php:400
399
- #: ../includes/row-settings.php:409 ../includes/row-settings.php:418
400
- #: ../includes/row-settings.php:432 ../includes/row-settings.php:441
401
- #: ../includes/row-settings.php:450 ../includes/row-settings.php:459
402
- #: ../includes/column-settings.php:100 ../includes/column-settings.php:109
403
- #: ../includes/column-settings.php:118 ../includes/column-settings.php:127
404
- #: ../includes/column-settings.php:166 ../includes/column-settings.php:175
405
- #: ../includes/column-settings.php:184 ../includes/column-settings.php:193
406
- #: ../includes/column-settings.php:207 ../includes/column-settings.php:216
407
- #: ../includes/column-settings.php:225 ../includes/column-settings.php:234
408
- #: ../includes/global-settings.php:45 ../includes/global-settings.php:53
409
- #: ../includes/global-settings.php:61 ../includes/global-settings.php:75
410
- #: ../includes/global-settings.php:102 ../includes/module-settings.php:35
411
- #: ../includes/module-settings.php:44 ../includes/module-settings.php:53
412
- #: ../includes/module-settings.php:62
413
- msgid "px"
414
  msgstr ""
415
 
416
- #: ../modules/button/button.php:138
417
- #: ../modules/social-buttons/social-buttons.php:89
418
- #: ../modules/icon-group/icon-group.php:103 ../modules/cta/cta.php:109
419
- #: ../modules/icon/icon.php:121 ../modules/photo/photo.php:358
420
- #: ../modules/heading/heading.php:76 ../modules/heading/heading.php:126
421
- msgid "Alignment"
422
  msgstr ""
423
 
424
- #: ../modules/button/button.php:141
425
- #: ../modules/content-slider/content-slider.php:470
426
- #: ../modules/social-buttons/social-buttons.php:92
427
- #: ../modules/icon-group/icon-group.php:106 ../modules/cta/cta.php:113
428
- #: ../modules/icon/icon.php:124 ../modules/callout/callout.php:240
429
- #: ../modules/photo/photo.php:362 ../modules/heading/heading.php:80
430
- #: ../modules/heading/heading.php:144
431
- msgid "Center"
432
  msgstr ""
433
 
434
- #: ../modules/button/button.php:142
435
- #: ../modules/content-slider/content-slider.php:469
436
- #: ../modules/social-buttons/social-buttons.php:93
437
- #: ../modules/icon-group/icon-group.php:107 ../modules/cta/cta.php:112
438
- #: ../modules/icon/icon.php:125 ../modules/callout/callout.php:241
439
- #: ../modules/photo/photo.php:361 ../modules/heading/heading.php:79
440
- #: ../modules/heading/heading.php:143 ../includes/row-settings.php:407
441
- #: ../includes/row-settings.php:448 ../includes/column-settings.php:182
442
- #: ../includes/column-settings.php:223 ../includes/module-settings.php:51
443
- msgid "Left"
444
  msgstr ""
445
 
446
- #: ../modules/button/button.php:143
447
- #: ../modules/content-slider/content-slider.php:471
448
- #: ../modules/social-buttons/social-buttons.php:94
449
- #: ../modules/icon-group/icon-group.php:108 ../modules/cta/cta.php:114
450
- #: ../modules/icon/icon.php:126 ../modules/callout/callout.php:242
451
- #: ../modules/photo/photo.php:363 ../modules/heading/heading.php:81
452
- #: ../modules/heading/heading.php:145 ../includes/row-settings.php:416
453
- #: ../includes/row-settings.php:457 ../includes/column-settings.php:191
454
- #: ../includes/column-settings.php:232 ../includes/module-settings.php:60
455
- msgid "Right"
456
  msgstr ""
457
 
458
- #: ../modules/button/button.php:148
459
- #: ../modules/content-slider/content-slider.php:655 ../modules/cta/cta.php:268
460
- #: ../modules/callout/callout.php:524 ../modules/heading/heading.php:99
461
- #: ../modules/heading/heading.php:150
462
- msgid "Font Size"
463
  msgstr ""
464
 
465
- #: ../modules/button/button.php:156
466
- #: ../modules/content-slider/content-slider.php:663 ../modules/cta/cta.php:276
467
- #: ../modules/callout/callout.php:532 ../includes/row-settings.php:426
468
- #: ../includes/column-settings.php:201 ../includes/global-settings.php:49
469
- msgid "Padding"
470
  msgstr ""
471
 
472
- #: ../modules/button/button.php:164 ../modules/cta/cta.php:284
473
- #: ../modules/callout/callout.php:540
474
- msgid "Round Corners"
475
  msgstr ""
476
 
477
- #: ../modules/map/map.php:14
478
- msgid "Map"
 
 
 
479
  msgstr ""
480
 
481
- #: ../modules/map/map.php:15
482
- msgid "Display a Google map."
 
 
 
483
  msgstr ""
484
 
485
- #: ../modules/map/map.php:33
486
- msgid "Address"
487
  msgstr ""
488
 
489
- #: ../modules/map/map.php:34
490
- msgid "1865 Winchester Blvd #202 Campbell, CA 95008"
491
  msgstr ""
492
 
493
- #: ../modules/map/map.php:38 ../modules/content-slider/content-slider.php:190
494
- #: ../modules/slideshow/slideshow.php:294
495
- #: ../modules/separator/separator.php:47
496
- msgid "Height"
497
  msgstr ""
498
 
499
- #: ../modules/rich-text/rich-text.php:14 ../includes/admin-posts.php:3
500
- msgid "Text Editor"
 
501
  msgstr ""
502
 
503
- #: ../modules/rich-text/rich-text.php:15
504
- msgid "A WYSIWYG text editor."
505
  msgstr ""
506
 
507
- #: ../modules/rich-text/rich-text.php:16 ../modules/video/video.php:21
508
- #: ../modules/photo/photo.php:27 ../modules/heading/heading.php:16
509
- #: ../modules/separator/separator.php:16
510
- msgid "Basic Modules"
511
  msgstr ""
512
 
513
- #: ../modules/contact-form/contact-form.php:14
514
- msgid "Contact Form"
 
515
  msgstr ""
516
 
517
- #: ../modules/contact-form/contact-form.php:15
518
- msgid "A very simple contact form."
519
  msgstr ""
520
 
521
- #: ../modules/contact-form/contact-form.php:36
522
- msgid "Contact Form Submission"
523
  msgstr ""
524
 
525
- #: ../modules/contact-form/contact-form.php:64
526
- msgid "Send To Email"
527
  msgstr ""
528
 
529
- #: ../modules/contact-form/contact-form.php:66
530
- msgid "example@mail.com"
531
  msgstr ""
532
 
533
- #: ../modules/contact-form/contact-form.php:67
534
- msgid "The contact form will send to this e-mail"
535
  msgstr ""
536
 
537
- #: ../modules/contact-form/includes/frontend.php:4
538
- #: ../includes/user-template-settings.php:15
539
- msgid "Name"
540
  msgstr ""
541
 
542
- #: ../modules/contact-form/includes/frontend.php:5
543
- msgid "Please enter your name."
544
  msgstr ""
545
 
546
- #: ../modules/contact-form/includes/frontend.php:10
547
- msgid "Email"
548
  msgstr ""
549
 
550
- #: ../modules/contact-form/includes/frontend.php:11
551
- msgid "Please enter a valid email."
 
 
552
  msgstr ""
553
 
554
- #: ../modules/contact-form/includes/frontend.php:16
555
- msgid "Your Message"
556
  msgstr ""
557
 
558
- #: ../modules/contact-form/includes/frontend.php:17
559
- msgid "Please enter a message."
560
  msgstr ""
561
 
562
- #: ../modules/contact-form/includes/frontend.php:23
563
- msgid "Send"
564
  msgstr ""
565
 
566
- #: ../modules/content-slider/content-slider.php:14
567
- msgid "Content Slider"
568
  msgstr ""
569
 
570
- #: ../modules/content-slider/content-slider.php:15
571
- msgid "Displays multiple slides with an optional heading and call to action."
572
  msgstr ""
573
 
574
- #: ../modules/content-slider/content-slider.php:195
575
- msgid ""
576
- "This setting is the minimum height of the content slider. Content will "
577
- "expand the height automatically."
578
  msgstr ""
579
 
580
- #: ../modules/content-slider/content-slider.php:199
581
- #: ../modules/video/video.php:107 ../modules/testimonials/testimonials.php:78
582
- #: ../modules/slideshow/slideshow.php:365
583
- msgid "Auto Play"
584
  msgstr ""
585
 
586
- #: ../modules/content-slider/content-slider.php:213
587
- msgid "Show Play/Pause"
588
  msgstr ""
589
 
590
- #: ../modules/content-slider/content-slider.php:222
591
- #: ../modules/testimonials/testimonials.php:87
592
- #: ../includes/module-settings.php:86
593
- msgid "Delay"
594
  msgstr ""
595
 
596
- #: ../modules/content-slider/content-slider.php:226
597
- #: ../modules/content-slider/content-slider.php:243
598
- #: ../modules/testimonials/testimonials.php:91
599
- #: ../modules/testimonials/testimonials.php:108
600
- msgid "Seconds"
601
  msgstr ""
602
 
603
- #: ../modules/content-slider/content-slider.php:230
604
- #: ../modules/testimonials/testimonials.php:95
605
- #: ../modules/slideshow/slideshow.php:381 ../includes/row-settings.php:222
606
- msgid "Transition"
607
  msgstr ""
608
 
609
- #: ../modules/content-slider/content-slider.php:239
610
- #: ../modules/testimonials/testimonials.php:104
611
- #: ../modules/slideshow/slideshow.php:399 ../includes/row-settings.php:240
612
- msgid "Transition Speed"
613
  msgstr ""
614
 
615
- #: ../modules/content-slider/content-slider.php:247
616
- #: ../modules/testimonials/testimonials.php:117
617
- msgid "Show Arrows"
 
 
618
  msgstr ""
619
 
620
- #: ../modules/content-slider/content-slider.php:256
621
- #: ../modules/testimonials/testimonials.php:142
622
- msgid "Show Dots"
 
 
623
  msgstr ""
624
 
625
- #: ../modules/content-slider/content-slider.php:266
626
- #: ../includes/row-settings.php:362 ../includes/column-settings.php:137
627
- #: ../includes/module-settings.php:6
628
- msgid "Advanced"
 
 
629
  msgstr ""
630
 
631
- #: ../modules/content-slider/content-slider.php:270
632
- msgid "Max Content Width"
 
633
  msgstr ""
634
 
635
- #: ../modules/content-slider/content-slider.php:275
636
- msgid "The max width that the content area will be within your slides."
 
 
637
  msgstr ""
638
 
639
- #: ../modules/content-slider/content-slider.php:282
640
- msgid "Slides"
641
  msgstr ""
642
 
643
- #: ../modules/content-slider/content-slider.php:289
644
- msgid "Slide"
 
645
  msgstr ""
646
 
647
- #: ../modules/content-slider/content-slider.php:304
648
- msgid "Slide Settings"
649
  msgstr ""
650
 
651
- #: ../modules/content-slider/content-slider.php:314
652
- msgid "Slide Label"
653
  msgstr ""
654
 
655
- #: ../modules/content-slider/content-slider.php:315
656
- msgid ""
657
- "A label to identify this slide on the Slides tab of the Content Slider "
658
- "settings."
 
 
 
 
 
659
  msgstr ""
660
 
661
- #: ../modules/content-slider/content-slider.php:320
662
- msgid "Background Layout"
663
  msgstr ""
664
 
665
- #: ../modules/content-slider/content-slider.php:324
666
- #: ../modules/content-slider/content-slider.php:371
667
- #: ../modules/content-slider/content-slider.php:590
668
- #: ../modules/content-slider/content-slider.php:689
669
- #: ../modules/callout/callout.php:448 ../modules/slideshow/slideshow.php:336
670
- #: ../includes/row-settings.php:56 ../includes/row-settings.php:280
671
- #: ../includes/column-settings.php:55
672
- msgid "Type"
673
  msgstr ""
674
 
675
- #: ../modules/content-slider/content-slider.php:326
676
- msgid "This setting is for the entire background of your slide."
 
 
 
 
 
677
  msgstr ""
678
 
679
- #: ../modules/content-slider/content-slider.php:328
680
- #: ../modules/content-slider/content-slider.php:397
681
- #: ../modules/content-slider/content-slider.php:705
682
- #: ../modules/callout/callout.php:302 ../modules/callout/callout.php:318
683
- #: ../modules/callout/callout.php:322 ../modules/photo/photo.php:25
684
- #: ../modules/photo/photo.php:337 ../includes/row-settings.php:61
685
- #: ../includes/row-settings.php:115 ../includes/row-settings.php:261
686
- msgid "Photo"
687
  msgstr ""
688
 
689
- #: ../modules/content-slider/content-slider.php:329
690
- #: ../modules/video/video.php:19 ../includes/row-settings.php:62
691
- #: ../includes/row-settings.php:174
692
- msgid "Video"
 
 
 
 
693
  msgstr ""
694
 
695
- #: ../modules/content-slider/content-slider.php:330
696
- #: ../modules/icon-group/icon-group.php:53 ../modules/icon/icon.php:79
697
- #: ../modules/callout/callout.php:376 ../modules/separator/separator.php:34
698
- #: ../includes/row-settings.php:46 ../includes/row-settings.php:60
699
- #: ../includes/row-settings.php:97 ../includes/row-settings.php:310
700
- #: ../includes/column-settings.php:27 ../includes/column-settings.php:37
701
- #: ../includes/column-settings.php:85
702
- msgid "Color"
703
  msgstr ""
704
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
705
  #: ../modules/content-slider/content-slider.php:331
706
  #: ../modules/content-slider/content-slider.php:378
707
- #: ../modules/content-slider/content-slider.php:593
708
- #: ../modules/callout/callout.php:301 ../modules/callout/callout.php:329
709
- #: ../modules/callout/callout.php:451 ../modules/photo/photo.php:349
710
- #: ../modules/photo/photo.php:394 ../modules/slideshow/slideshow.php:339
711
- #: ../modules/slideshow/slideshow.php:384
712
- #: ../modules/slideshow/slideshow.php:443 ../modules/gallery/gallery.php:288
713
- #: ../includes/row-settings.php:59 ../includes/row-settings.php:122
714
- #: ../includes/row-settings.php:161 ../includes/row-settings.php:225
715
- #: ../includes/row-settings.php:284 ../includes/column-settings.php:59
716
- #: ../includes/module-settings.php:76
717
  msgid "None"
718
  msgstr ""
719
 
720
- #: ../modules/content-slider/content-slider.php:352
721
- #: ../includes/row-settings.php:111
722
- msgid "Background Photo"
723
  msgstr ""
724
 
725
- #: ../modules/content-slider/content-slider.php:361
726
- msgid "Background Video Code"
 
727
  msgstr ""
728
 
729
- #: ../modules/content-slider/content-slider.php:367
730
- msgid "Content Layout"
 
731
  msgstr ""
732
 
733
- #: ../modules/content-slider/content-slider.php:373
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
734
  msgid ""
735
- "This allows you to add content over or in addition to the background "
736
- "selection above. The location of the content layout can be selected in the "
737
- "style tab."
738
  msgstr ""
739
 
740
- #: ../modules/content-slider/content-slider.php:376
741
- msgid "Text &amp; Photo"
 
742
  msgstr ""
743
 
744
- #: ../modules/content-slider/content-slider.php:377
745
- msgid "Text &amp; Video"
 
746
  msgstr ""
747
 
748
- #: ../modules/content-slider/content-slider.php:401
749
- msgid "Video Embed Code"
 
750
  msgstr ""
751
 
752
- #: ../modules/content-slider/content-slider.php:406
753
- #: ../modules/content-slider/content-slider.php:421 ../modules/cta/cta.php:71
754
- #: ../modules/callout/callout.php:213
755
- #: ../modules/testimonials/testimonials.php:56
756
- #: ../modules/testimonials/testimonials.php:61
757
- #: ../modules/heading/heading.php:14 ../modules/heading/heading.php:33
758
- msgid "Heading"
759
  msgstr ""
760
 
761
- #: ../modules/content-slider/content-slider.php:425 ../modules/cta/cta.php:132
762
- #: ../modules/callout/callout.php:253
763
- msgid "Heading Tag"
 
764
  msgstr ""
765
 
766
- #: ../modules/content-slider/content-slider.php:438
767
- #: ../modules/content-slider/content-slider.php:452 ../modules/cta/cta.php:145
768
- #: ../modules/callout/callout.php:266
769
- #: ../modules/testimonials/testimonials.php:65
770
- msgid "Heading Size"
771
  msgstr ""
772
 
773
- #: ../modules/content-slider/content-slider.php:441
774
- #: ../modules/woocommerce/woocommerce.php:192 ../modules/cta/cta.php:148
775
- #: ../modules/callout/callout.php:269 ../modules/heading/heading.php:102
776
- #: ../modules/heading/heading.php:129 ../modules/heading/heading.php:153
777
- msgid "Default"
778
  msgstr ""
779
 
780
- #: ../modules/content-slider/content-slider.php:461
781
- msgid "Text Position"
 
 
782
  msgstr ""
783
 
784
- #: ../modules/content-slider/content-slider.php:465
785
- #: ../modules/callout/callout.php:338 ../modules/callout/callout.php:358
786
- #: ../includes/row-settings.php:131
787
- msgid "Position"
 
 
 
 
 
 
788
  msgstr ""
789
 
790
- #: ../modules/content-slider/content-slider.php:467
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
791
  msgid ""
792
- "The position will move the content layout selections left, right or center "
793
- "over the background of the slide."
 
794
  msgstr ""
795
 
796
- #: ../modules/content-slider/content-slider.php:478
797
- #: ../modules/content-slider/content-slider.php:546
798
- #: ../includes/column-settings.php:16
799
- msgid "%"
800
  msgstr ""
801
 
802
- #: ../modules/content-slider/content-slider.php:484
803
- msgid "Top Margin"
804
  msgstr ""
805
 
806
- #: ../modules/content-slider/content-slider.php:492
807
- msgid "Bottom Margin"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
<