Business Directory Plugin - Version 4.1.3

Version Description

Download this release

Release Info

Developer businessdirectoryplugin
Plugin Icon 128x128 Business Directory Plugin
Version 4.1.3
Comparing to
See all releases

Code changes from version 4.1.2 to 4.1.3

README.TXT CHANGED
@@ -4,8 +4,8 @@ Donate link: http://businessdirectoryplugin.com/premium-modules/
4
  Tags: address book, business directory, chamber of commerce business directory, church directory, company business directory, contact directory, custom business directory, directory, listings directory, local business directory, link directory, member directory, staff directory, directory plugin
5
  Requires at least: 4.1
6
  Tested up to: 4.6.1
7
- Last Updated: 2016-Sep 20
8
- Stable tag: tags/4.1.2
9
  License: GPLv2 or later
10
 
11
  Build any kind of local directory, directory of business providers, a Yellow-Pages business directory, Yelp-like review directory and much more!
@@ -21,7 +21,8 @@ Business Directory Plugin allows you to build a local directory, directory of bu
21
  = Features =
22
  * Fully customizable form fields
23
  * Accept payment for listings OR have free listings in your business directory
24
- * Full support for recurring payments (PayPal, Authorize.net, Stripe)
 
25
  * Allow for featured/sticky listings for an upgrade fee
26
  * Create multiple fee plans, which can be assigned to categories for posting
27
  * Built in CSV import and export
@@ -29,29 +30,33 @@ Business Directory Plugin allows you to build a local directory, directory of bu
29
  * Users who post can edit listings without access to WP dashboard
30
  * SEO Friendly using Yoast SEO
31
  * Configurable quick-search field and sorting bar for listings
32
- * Rate businesses in your directory (now with Schema.org microformat support) (using the Ratings Module)
33
- * Display the location of the business (categories, search, details--now with custom map sizes) (using the Google Maps Module)
34
- * Location based directory result filtering (using the Regions Module)
35
- * ZIP code radius searches (using the ZIP Search Module)
36
- * Assign features to paid or sticky listing plans to give users incentive to upgrade (using the Featured levels module)
37
- * Allow users to upload PDFs (using the File Upload Module)
38
- * Display Category Icons/Allow Parent-Child Category Navigation (using the Enhanced Category Module)
39
- * Manage attachments on directory listings (using the Attachments module, supports PDF, Text files, images)
40
- * Accept payments using Stripe (using the Stripe Gateway Module)
41
- * Accept payments using PayFast (using the PayFast Gateway Module)
42
- * Post claimable listings in your business directory that other users can pay (or not) to claim (using the Claim Listings Module)
43
  * FULL responsive support when installed with a responsive theme
44
- * Integrates with popular plugins like Yoast SEO, NavXT Breadcrumbs and WP-PageNavi for easy use
45
- * Ability to offer discount codes based on a % or fixed amount with expirations (using the Discount Codes Module)
46
  * Multi-language support in your directory with WPML
47
  * Ability to re-skin the directory with a few clicks (directory themes)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48
 
49
  For a complete and detailed list of features, please visit: http://businessdirectoryplugin.com/features/
50
 
51
  Please report any bugs you find via http://businessdirectoryplugin.com/support-forum/
52
 
53
  = Premium Module Links: =
54
- These are optional modules that you can use to enhance Business Directory Plugin's functionality and
55
  support future development:
56
 
57
  = NEW Themes =
@@ -66,7 +71,7 @@ support future development:
66
  * NEW! [Discount Codes Module](http://businessdirectoryplugin.com/downloads/discount-codes-module/?ref=wp)
67
  * NEW! [Claim Listings Module](http://businessdirectoryplugin.com/downloads/claim-listings-module/?ref=wp)
68
 
69
- = Feature Add On Modules =
70
  * [File Upload Module](http://businessdirectoryplugin.com/downloads/file-attachments-module/?ref=wp)
71
  * [Featured Levels Module](http://businessdirectoryplugin.com/downloads/featured-levels-module/?ref=wp)
72
  * [ZIP Code Search Module](http://businessdirectoryplugin.com/downloads/zip-search-module/?ref=wp)
@@ -74,7 +79,7 @@ support future development:
74
  * [Ratings Module](http://businessdirectoryplugin.com/downloads/ratings-module/?ref=wp)
75
  * [Google Maps Module](http://businessdirectoryplugin.com/downloads/google-maps-module/?ref=wp)
76
 
77
- = Payment Gateway Modules =
78
  * [Stripe Gateway Module](http://businessdirectoryplugin.com/downloads/stripe-payment-module/?ref=wp)
79
  * [PayPal Gateway Module](http://businessdirectoryplugin.com/downloads/paypal-gateway-module/?ref=wp)
80
  * [2Checkout Gateway Module](http://businessdirectoryplugin.com/downloads/2checkout-gateway-module/?ref=wp)
@@ -130,6 +135,14 @@ If you are having problems please visit [support forum](http://www.businessdirec
130
 
131
 
132
  == Changelog ==
 
 
 
 
 
 
 
 
133
 
134
  = Version 4.1.2 =
135
  * Fix meta tag generation when CPT integration is disabled.
4
  Tags: address book, business directory, chamber of commerce business directory, church directory, company business directory, contact directory, custom business directory, directory, listings directory, local business directory, link directory, member directory, staff directory, directory plugin
5
  Requires at least: 4.1
6
  Tested up to: 4.6.1
7
+ Last Updated: 2016-Oct 25
8
+ Stable tag: tags/4.1.3
9
  License: GPLv2 or later
10
 
11
  Build any kind of local directory, directory of business providers, a Yellow-Pages business directory, Yelp-like review directory and much more!
21
  = Features =
22
  * Fully customizable form fields
23
  * Accept payment for listings OR have free listings in your business directory
24
+ * Accept payments using Authorize.net (requires Authorize.net account)
25
+ * Full support for recurring payments (in most gateways: PayPal, Authorize.net, Stripe)
26
  * Allow for featured/sticky listings for an upgrade fee
27
  * Create multiple fee plans, which can be assigned to categories for posting
28
  * Built in CSV import and export
30
  * Users who post can edit listings without access to WP dashboard
31
  * SEO Friendly using Yoast SEO
32
  * Configurable quick-search field and sorting bar for listings
 
 
 
 
 
 
 
 
 
 
 
33
  * FULL responsive support when installed with a responsive theme
 
 
34
  * Multi-language support in your directory with WPML
35
  * Ability to re-skin the directory with a few clicks (directory themes)
36
+ * Integrates with popular plugins like Yoast SEO, NavXT Breadcrumbs and WP-PageNavi for easy use
37
+ * Images displayed with categories (using the FREE Enhanced Categories module)
38
+ * Display Category Icons/Allow Parent-Child Category Navigation (using the FREE Enhanced Category Module)
39
+
40
+ = Additional Features available from Premium Modules (paid) =
41
+ * Rate businesses in your directory (now with Schema.org microformat support) (using the (paid) Ratings Module)
42
+ * Display the location of the business (categories, search, details--now with custom map sizes) (using the (paid) Google Maps Module)
43
+ * Location based directory result filtering (using the (paid) Regions Module)
44
+ * ZIP code/postal code radius searches supporting a number of countries (using the (paid) ZIP Search Module)
45
+ * Assign features to paid or sticky listing plans to give users incentive to upgrade (using the (paid) Featured levels module)
46
+ * Allow users to upload PDFs (using the (paid) Attachments Module)
47
+ * Manage attachments on directory listings (using the (paid) Attachments module, supports PDF, Text files, images)
48
+ * Accept payments using PayPal (using the (paid) PayPal Gateway Module)
49
+ * Accept payments using Stripe (using the (paid) Stripe Gateway Module)
50
+ * Accept payments using PayFast (using the (paid) PayFast Gateway Module)
51
+ * Post claimable listings in your business directory that other users can pay (or not) to claim (using the (paid) Claim Listings Module)
52
+ * Ability to offer discount codes based on a % or fixed amount with expirations (using the (paid) Discount Codes Module)
53
 
54
  For a complete and detailed list of features, please visit: http://businessdirectoryplugin.com/features/
55
 
56
  Please report any bugs you find via http://businessdirectoryplugin.com/support-forum/
57
 
58
  = Premium Module Links: =
59
+ These are optional, paid modules that you can use to enhance Business Directory Plugin's functionality and
60
  support future development:
61
 
62
  = NEW Themes =
71
  * NEW! [Discount Codes Module](http://businessdirectoryplugin.com/downloads/discount-codes-module/?ref=wp)
72
  * NEW! [Claim Listings Module](http://businessdirectoryplugin.com/downloads/claim-listings-module/?ref=wp)
73
 
74
+ = Other Paid Feature Add On Modules =
75
  * [File Upload Module](http://businessdirectoryplugin.com/downloads/file-attachments-module/?ref=wp)
76
  * [Featured Levels Module](http://businessdirectoryplugin.com/downloads/featured-levels-module/?ref=wp)
77
  * [ZIP Code Search Module](http://businessdirectoryplugin.com/downloads/zip-search-module/?ref=wp)
79
  * [Ratings Module](http://businessdirectoryplugin.com/downloads/ratings-module/?ref=wp)
80
  * [Google Maps Module](http://businessdirectoryplugin.com/downloads/google-maps-module/?ref=wp)
81
 
82
+ = Payment Gateway Modules (Paid) =
83
  * [Stripe Gateway Module](http://businessdirectoryplugin.com/downloads/stripe-payment-module/?ref=wp)
84
  * [PayPal Gateway Module](http://businessdirectoryplugin.com/downloads/paypal-gateway-module/?ref=wp)
85
  * [2Checkout Gateway Module](http://businessdirectoryplugin.com/downloads/2checkout-gateway-module/?ref=wp)
135
 
136
 
137
  == Changelog ==
138
+ = Version 4.1.3 =
139
+ * Improve appearance of search button on Advanced Search form.
140
+ * Remove carriage-return characters from options in multivalued fields.
141
+ * Load jQuery-UI stylesheet using a secure connection.
142
+ * Fix Edit and Delete links on the backend for the Contributor role.
143
+ * Improve error handling during installation.
144
+ * Minor fix to searches involving URL fields.
145
+ * Fix meta tag generation when CPT Advanced Integration is disabled.
146
 
147
  = Version 4.1.2 =
148
  * Fix meta tag generation when CPT integration is disabled.
admin/class-admin-listings.php CHANGED
@@ -350,11 +350,11 @@ class WPBDP_Admin_Listings {
350
  if ($post->post_type == WPBDP_POST_TYPE && current_user_can('contributor') && ! current_user_can( 'administrator' ) ) {
351
  if (wpbdp_user_can('edit', $post->ID))
352
  $actions['edit'] = sprintf('<a href="%s">%s</a>',
353
- wpbdp_get_page_link('editlisting', $post->ID),
354
  _x('Edit Listing', 'admin actions', 'WPBDM'));
355
 
356
- if (wpbdp_user_can('delete', $listing_id))
357
- $actions['delete'] = sprintf('<a href="%s">%s</a>', wpbdp_get_page_link('deletelisting', $listing_id), _x('Delete Listing', 'admin actions', 'WPBDM'));
358
  }
359
 
360
  return $actions;
350
  if ($post->post_type == WPBDP_POST_TYPE && current_user_can('contributor') && ! current_user_can( 'administrator' ) ) {
351
  if (wpbdp_user_can('edit', $post->ID))
352
  $actions['edit'] = sprintf('<a href="%s">%s</a>',
353
+ wpbdp_url( 'edit_listing', $post->ID ),
354
  _x('Edit Listing', 'admin actions', 'WPBDM'));
355
 
356
+ if ( wpbdp_user_can( 'delete', $post->ID ) )
357
+ $actions['delete'] = sprintf( '<a href="%s">%s</a>', wpbdp_url( 'delete_listing', $post->ID ), _x( 'Delete Listing', 'admin actions', 'WPBDM' ) );
358
  }
359
 
360
  return $actions;
admin/csv-import.php CHANGED
@@ -41,7 +41,7 @@ class WPBDP_CSVImportAdmin {
41
  try {
42
  $import = new WPBDP_CSV_Import( $import_id );
43
  } catch ( Exception $e ) {
44
- if ( $import )
45
  $import->cleanup();
46
  $res->send_error( $e->getMessage() );
47
  }
41
  try {
42
  $import = new WPBDP_CSV_Import( $import_id );
43
  } catch ( Exception $e ) {
44
+ if ( isset( $import ) && $import )
45
  $import->cleanup();
46
  $res->send_error( $e->getMessage() );
47
  }
business-directory-plugin.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Business Directory Plugin
4
  * Plugin URI: http://www.businessdirectoryplugin.com
5
  * Description: Provides the ability to maintain a free or paid business directory on your WordPress powered site.
6
- * Version: 4.1.2
7
  * Author: D. Rodenbaugh
8
  * Author URI: http://businessdirectoryplugin.com
9
  * Text Domain: WPBDM
@@ -31,7 +31,7 @@
31
  if( preg_match( '#' . basename( __FILE__ ) . '#', $_SERVER['PHP_SELF'] ) )
32
  exit();
33
 
34
- define( 'WPBDP_VERSION', '4.1.2' );
35
 
36
  define( 'WPBDP_PATH', wp_normalize_path( plugin_dir_path( __FILE__ ) ) );
37
  define( 'WPBDP_URL', trailingslashit( plugins_url( '/', __FILE__ ) ) );
@@ -135,13 +135,19 @@ class WPBDP_Plugin {
135
  require_once( WPBDP_PATH . 'core/class-wpbdp.php' );
136
  $bd = new WPBDP();
137
  $bd->init();
 
138
  $this->dispatcher = $bd->dispatcher;
 
139
 
140
- $this->install_or_update_plugin();
 
 
 
 
 
141
 
142
  if ( $manual_upgrade = get_option( 'wpbdp-manual-upgrade-pending', false ) ) {
143
- $installer = new WPBDP_Installer();
144
- $installer->setup_manual_upgrade();
145
  return;
146
  }
147
 
@@ -657,11 +663,6 @@ class WPBDP_Plugin {
657
  return WPBDP_TAGS_TAX;
658
  }
659
 
660
- public function install_or_update_plugin() {
661
- $installer = new WPBDP_Installer();
662
- $installer->install();
663
- }
664
-
665
  public function plugin_action_links( $links ) {
666
  $links['settings'] = '<a href="' . admin_url( 'admin.php?page=wpbdp_admin_settings' ) . '">' . _x( 'Settings', 'admin plugins', 'WPBDM' ) . '</a>';
667
  return $links;
@@ -955,25 +956,24 @@ class WPBDP_Plugin {
955
  * Page metadata
956
  */
957
  public function _meta_setup() {
958
- // TODO fix before themes-release
959
- $action = '';
 
 
 
 
960
 
961
- if ( ! $action )
962
  return;
 
963
 
964
  require_once( WPBDP_PATH . 'core/class-page-meta.php' );
965
  $this->page_meta = new WPBDP_Page_Meta( $action );
966
 
967
-
968
  $this->_do_wpseo = defined( 'WPSEO_VERSION' ) ? true : false;
969
 
970
  if ( $this->_do_wpseo ) {
971
- $wpseo_front = null;
972
-
973
- if ( isset( $GLOBALS['wpseo_front'] ) )
974
- $wpseo_front = $GLOBALS['wpseo_front'];
975
- elseif ( class_exists( 'WPSEO_Frontend' ) && method_exists( 'WPSEO_Frontend', 'get_instance' ) )
976
- $wpseo_front = WPSEO_Frontend::get_instance();
977
 
978
  remove_filter( 'wp_title', array( $this, '_meta_title' ), 10, 3 );
979
  add_filter( 'wp_title', array( $this, '_meta_title' ), 16, 3 );
@@ -991,8 +991,17 @@ class WPBDP_Plugin {
991
  remove_filter( 'wp_head', 'rel_canonical' );
992
  add_filter( 'wp_head', array( $this, '_meta_rel_canonical' ) );
993
 
994
- if ( 'showlisting' == $action && wpbdp_rewrite_on() )
995
  add_action( 'wp_head', array( &$this, 'listing_opentags' ) );
 
 
 
 
 
 
 
 
 
996
  }
997
 
998
  /*
@@ -1099,49 +1108,37 @@ class WPBDP_Plugin {
1099
 
1100
  // TODO: it'd be nice to move workarounds outside this class.
1101
  public function _meta_title( $title = '', $sep = '»', $seplocation = 'right' ) {
1102
- $wpseo_front = null;
1103
 
1104
- if ( isset( $GLOBALS['wpseo_front'] ) )
1105
- $wpseo_front = $GLOBALS['wpseo_front'];
1106
- elseif ( class_exists( 'WPSEO_Frontend' ) && method_exists( 'WPSEO_Frontend', 'get_instance' ) )
1107
- $wpseo_front = WPSEO_Frontend::get_instance();
1108
-
1109
- // TODO: fix before themes-release
1110
- $action = '';
1111
-
1112
- switch ($action) {
1113
- case 'submitlisting':
1114
- if ( $this->_do_wpseo ) {
1115
- $title = esc_html( strip_tags( stripslashes( apply_filters( 'wpseo_title', $title ) ) ) );
1116
- return $title;
1117
- }
1118
-
1119
- return _x( 'Submit A Listing', 'title', 'WPBDM' ) . ' ' . $sep . ' ' . $title;
1120
 
 
 
 
 
1121
  break;
1122
 
1123
  case 'search':
1124
- if ( $this->_do_wpseo ) {
1125
- $title = esc_html( strip_tags( stripslashes( apply_filters( 'wpseo_title', $title ) ) ) );
1126
- return $title;
1127
- }
1128
-
1129
- return _x( 'Find a Listing', 'title', 'WPBDM' ) . ' ' . $sep . ' ' . $title;
1130
 
 
 
 
1131
  break;
1132
 
1133
- case 'viewlistings':
1134
- if ( $this->_do_wpseo ) {
1135
- $title = esc_html( strip_tags( stripslashes( apply_filters( 'wpseo_title', $title ) ) ) );
 
 
 
 
 
1136
  return $title;
1137
  }
1138
 
1139
- return _x( 'View All Listings', 'title', 'WPBDM' ) . ' ' . $sep . ' ' . $title;
1140
- break;
1141
-
1142
- case 'browsetag':
1143
- $term = get_term_by('slug', get_query_var('tag'), WPBDP_TAGS_TAX);
1144
-
1145
  if ( $this->_do_wpseo ) {
1146
  if ( method_exists( 'WPSEO_Taxonomy_Meta', 'get_term_meta' ) ) {
1147
  $title = WPSEO_Taxonomy_Meta::get_term_meta( $term, $term->taxonomy, 'title' );
@@ -1160,9 +1157,20 @@ class WPBDP_Plugin {
1160
 
1161
  break;
1162
 
1163
- case 'browsecategory':
1164
- $term = get_term_by('slug', get_query_var('category'), WPBDP_CATEGORY_TAX);
1165
- if (!$term && get_query_var('category_id')) $term = get_term_by('id', get_query_var('category_id'), WPBDP_CATEGORY_TAX);
 
 
 
 
 
 
 
 
 
 
 
1166
 
1167
  if ( $this->_do_wpseo ) {
1168
  if ( method_exists( 'WPSEO_Taxonomy_Meta', 'get_term_meta' ) ) {
@@ -1182,8 +1190,12 @@ class WPBDP_Plugin {
1182
 
1183
  break;
1184
 
1185
- case 'showlisting':
1186
- $listing_id = get_query_var('listing') ? wpbdp_get_post_by_slug(get_query_var('listing'))->ID : wpbdp_getv($_GET, 'id', get_query_var('id'));
 
 
 
 
1187
 
1188
  if ( $this->_do_wpseo ) {
1189
  $title = $wpseo_front->get_content_title( get_post( $listing_id ) );
@@ -1208,22 +1220,34 @@ class WPBDP_Plugin {
1208
  return $title;
1209
  }
1210
 
1211
- public function _meta_keywords() {
1212
- $wpseo_front = null;
1213
 
1214
- if ( isset( $GLOBALS['wpseo_front'] ) )
1215
- $wpseo_front = $GLOBALS['wpseo_front'];
1216
- elseif ( class_exists( 'WPSEO_Frontend' ) && method_exists( 'WPSEO_Frontend', 'get_instance' ) )
1217
- $wpseo_front = WPSEO_Frontend::get_instance();
1218
 
1219
- // TODO: fix before themes-release
1220
- $current_action = '';
 
 
 
 
 
 
 
 
 
1221
 
1222
- switch ( $current_action ){
1223
- case 'showlisting':
1224
  global $post;
1225
 
1226
- $listing_id = get_query_var('listing') ? wpbdp_get_post_by_slug(get_query_var('listing'))->ID : wpbdp_getv($_GET, 'id', get_query_var('id'));
 
 
 
 
1227
 
1228
  $prev_post = $post;
1229
  $post = get_post( $listing_id );
@@ -1237,13 +1261,24 @@ class WPBDP_Plugin {
1237
  $post = $prev_post;
1238
 
1239
  break;
1240
- case 'browsecategory':
1241
- case 'browsetag':
1242
- if ( $current_action == 'browsetag' ) {
1243
- $term = get_term_by('slug', get_query_var('tag'), WPBDP_TAGS_TAX);
 
 
 
 
1244
  } else {
1245
- $term = get_term_by('slug', get_query_var('category'), WPBDP_CATEGORY_TAX);
1246
- if (!$term && get_query_var('category_id')) $term = get_term_by('id', get_query_var('category_id'), WPBDP_CATEGORY_TAX);
 
 
 
 
 
 
 
1247
  }
1248
 
1249
  if ( $term ) {
@@ -1276,27 +1311,40 @@ class WPBDP_Plugin {
1276
  }
1277
 
1278
  public function _meta_rel_canonical() {
1279
- // TODO: fix before themes-release
1280
- $action = '';
1281
 
1282
  if ( !$action )
1283
  return rel_canonical();
1284
 
1285
- if ( in_array( $action, array( 'editlisting', 'submitlisting', 'sendcontactmessage', 'deletelisting', 'upgradetostickylisting', 'renewlisting' ) ) )
 
 
 
 
 
1286
  return;
1287
 
1288
- if ( $action == 'showlisting' ) {
1289
- $listing_id = get_query_var('listing') ? wpbdp_get_post_by_slug(get_query_var('listing'))->ID : wpbdp_getv($_GET, 'id', get_query_var('id'));
1290
- $link = get_permalink( $listing_id );
 
 
 
 
1291
  } else {
1292
- $link = site_url( $_SERVER['REQUEST_URI'] );
1293
  }
1294
 
1295
- echo sprintf( '<link rel="canonical" href="%s" />', esc_url( $link ) );
1296
  }
1297
 
1298
  function listing_opentags() {
1299
- $listing_id = get_query_var('listing') ? wpbdp_get_post_by_slug(get_query_var('listing'))->ID : wpbdp_getv($_GET, 'id', get_query_var('id'));
 
 
 
 
 
1300
  $listing = WPBDP_Listing::get( $listing_id );
1301
 
1302
  if ( ! $listing )
@@ -1304,12 +1352,15 @@ class WPBDP_Plugin {
1304
 
1305
  echo '<meta property="og:type" content="website" />';
1306
  echo '<meta property="og:title" content="' . esc_attr( WPBDP_SEO::listing_title( $listing_id ) ) . '" />';
1307
- echo '<meta property="og:url" content="' . esc_url( $listing->get_permalink() ) . '" />';
1308
  echo '<meta property="og:description" content="' . esc_attr( WPBDP_SEO::listing_og_description( $listing_id ) ) . '" />';
1309
 
1310
  if ( $thumbnail_id = $listing->get_thumbnail_id() ) {
1311
  if ( $img = wp_get_attachment_image_src( $thumbnail_id, 'wpbdp-large' ) )
1312
  echo '<meta property="og:image" content="' . $img[0] . '" />';
 
 
 
1313
  }
1314
  }
1315
 
3
  * Plugin Name: Business Directory Plugin
4
  * Plugin URI: http://www.businessdirectoryplugin.com
5
  * Description: Provides the ability to maintain a free or paid business directory on your WordPress powered site.
6
+ * Version: 4.1.3
7
  * Author: D. Rodenbaugh
8
  * Author URI: http://businessdirectoryplugin.com
9
  * Text Domain: WPBDM
31
  if( preg_match( '#' . basename( __FILE__ ) . '#', $_SERVER['PHP_SELF'] ) )
32
  exit();
33
 
34
+ define( 'WPBDP_VERSION', '4.1.3' );
35
 
36
  define( 'WPBDP_PATH', wp_normalize_path( plugin_dir_path( __FILE__ ) ) );
37
  define( 'WPBDP_URL', trailingslashit( plugins_url( '/', __FILE__ ) ) );
135
  require_once( WPBDP_PATH . 'core/class-wpbdp.php' );
136
  $bd = new WPBDP();
137
  $bd->init();
138
+
139
  $this->dispatcher = $bd->dispatcher;
140
+ $this->installer = new WPBDP_Installer();
141
 
142
+ try {
143
+ $this->installer->install();
144
+ } catch ( Exception $e ) {
145
+ $this->installer->show_installation_error( $e );
146
+ return;
147
+ }
148
 
149
  if ( $manual_upgrade = get_option( 'wpbdp-manual-upgrade-pending', false ) ) {
150
+ $this->installer->setup_manual_upgrade();
 
151
  return;
152
  }
153
 
663
  return WPBDP_TAGS_TAX;
664
  }
665
 
 
 
 
 
 
666
  public function plugin_action_links( $links ) {
667
  $links['settings'] = '<a href="' . admin_url( 'admin.php?page=wpbdp_admin_settings' ) . '">' . _x( 'Settings', 'admin plugins', 'WPBDM' ) . '</a>';
668
  return $links;
956
  * Page metadata
957
  */
958
  public function _meta_setup() {
959
+ $action = wpbdp_current_view();
960
+
961
+ $plugin_views_with_meta = array(
962
+ 'show_listing', 'show_category', 'show_tag',
963
+ 'all_listings', 'submit_listing', 'search'
964
+ );
965
 
966
+ if ( ! in_array( $action, $plugin_views_with_meta ) ) {
967
  return;
968
+ }
969
 
970
  require_once( WPBDP_PATH . 'core/class-page-meta.php' );
971
  $this->page_meta = new WPBDP_Page_Meta( $action );
972
 
 
973
  $this->_do_wpseo = defined( 'WPSEO_VERSION' ) ? true : false;
974
 
975
  if ( $this->_do_wpseo ) {
976
+ $wpseo_front = $this->_get_wpseo_frontend();
 
 
 
 
 
977
 
978
  remove_filter( 'wp_title', array( $this, '_meta_title' ), 10, 3 );
979
  add_filter( 'wp_title', array( $this, '_meta_title' ), 16, 3 );
991
  remove_filter( 'wp_head', 'rel_canonical' );
992
  add_filter( 'wp_head', array( $this, '_meta_rel_canonical' ) );
993
 
994
+ if ( 'show_listing' == $action && wpbdp_rewrite_on() ) {
995
  add_action( 'wp_head', array( &$this, 'listing_opentags' ) );
996
+ }
997
+ }
998
+
999
+ private function _get_wpseo_frontend() {
1000
+ if ( isset( $GLOBALS['wpseo_front'] ) ) {
1001
+ return $GLOBALS['wpseo_front'];
1002
+ } elseif ( class_exists( 'WPSEO_Frontend' ) && method_exists( 'WPSEO_Frontend', 'get_instance' ) ) {
1003
+ return WPSEO_Frontend::get_instance();
1004
+ }
1005
  }
1006
 
1007
  /*
1108
 
1109
  // TODO: it'd be nice to move workarounds outside this class.
1110
  public function _meta_title( $title = '', $sep = '»', $seplocation = 'right' ) {
1111
+ $wpseo_front = $this->_get_wpseo_frontend();
1112
 
1113
+ $current_view = wpbdp_current_view();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1114
 
1115
+ switch ( $current_view ) {
1116
+ case 'submit_listing':
1117
+ $view_title = _x( 'Submit A Listing', 'title', 'WPBDM' );
1118
+ return $this->_maybe_do_wpseo_title( $view_title, $title, $sep, $seplocation );
1119
  break;
1120
 
1121
  case 'search':
1122
+ $view_title = _x( 'Find a Listing', 'title', 'WPBDM' );
1123
+ return $this->_maybe_do_wpseo_title( $view_title, $title, $sep, $seplocation );
1124
+ break;
 
 
 
1125
 
1126
+ case 'all_listings':
1127
+ $view_title = _x( 'View All Listings', 'title', 'WPBDM' );
1128
+ return $this->_maybe_do_wpseo_title( $view_title, $title, $sep, $seplocation );
1129
  break;
1130
 
1131
+ case 'show_tag':
1132
+ $term = get_term_by(
1133
+ 'slug',
1134
+ get_query_var( '_' . wpbdp_get_option( 'permalinks-tags-slug' ) ),
1135
+ WPBDP_TAGS_TAX
1136
+ );
1137
+
1138
+ if ( ! $term ) {
1139
  return $title;
1140
  }
1141
 
 
 
 
 
 
 
1142
  if ( $this->_do_wpseo ) {
1143
  if ( method_exists( 'WPSEO_Taxonomy_Meta', 'get_term_meta' ) ) {
1144
  $title = WPSEO_Taxonomy_Meta::get_term_meta( $term, $term->taxonomy, 'title' );
1157
 
1158
  break;
1159
 
1160
+ case 'show_category':
1161
+ $term = get_term_by(
1162
+ 'slug',
1163
+ get_query_var( '_' . wpbdp_get_option( 'permalinks-category-slug' ) ),
1164
+ WPBDP_CATEGORY_TAX
1165
+ );
1166
+
1167
+ if ( ! $term && get_query_var( 'category_id' ) ) {
1168
+ $term = get_term_by( 'id', get_query_var( 'category_id' ), WPBDP_CATEGORY_TAX );
1169
+ }
1170
+
1171
+ if ( ! $term ) {
1172
+ return $title;
1173
+ }
1174
 
1175
  if ( $this->_do_wpseo ) {
1176
  if ( method_exists( 'WPSEO_Taxonomy_Meta', 'get_term_meta' ) ) {
1190
 
1191
  break;
1192
 
1193
+ case 'show_listing':
1194
+ $listing_id = wpbdp_get_post_by_id_or_slug(
1195
+ get_query_var( '_' . wpbdp_get_option( 'permalinks-directory-slug' ) ),
1196
+ 'id',
1197
+ 'id'
1198
+ );
1199
 
1200
  if ( $this->_do_wpseo ) {
1201
  $title = $wpseo_front->get_content_title( get_post( $listing_id ) );
1220
  return $title;
1221
  }
1222
 
1223
+ private function _maybe_do_wpseo_title( $view_title, $title, $sep, $seplocation ) {
1224
+ $wpseo_front = $this->_get_wpseo_frontend();
1225
 
1226
+ if ( $this->_do_wpseo && is_object( $wpseo_front ) ) {
1227
+ return $wpseo_front->get_title_from_options( 'title-page', array( 'post_title' => $view_title ) );
1228
+ }
 
1229
 
1230
+ if ( 'left' == $seplocation ) {
1231
+ return $title . ' ' . $sep . ' ' . $view_title;
1232
+ } else {
1233
+ return $view_title . ' ' . $sep . ' ' . $title;
1234
+ }
1235
+ }
1236
+
1237
+ public function _meta_keywords() {
1238
+ $wpseo_front = $this->_get_wpseo_frontend();
1239
+
1240
+ $current_view = wpbdp_current_view();
1241
 
1242
+ switch ( $current_view ){
1243
+ case 'show_listing':
1244
  global $post;
1245
 
1246
+ $listing_id = wpbdp_get_post_by_id_or_slug(
1247
+ get_query_var( '_' . wpbdp_get_option( 'permalinks-directory-slug' ) ),
1248
+ 'id',
1249
+ 'id'
1250
+ );
1251
 
1252
  $prev_post = $post;
1253
  $post = get_post( $listing_id );
1261
  $post = $prev_post;
1262
 
1263
  break;
1264
+ case 'show_category':
1265
+ case 'show_tag':
1266
+ if ( $current_view == 'show_tag' ) {
1267
+ $term = get_term_by(
1268
+ 'slug',
1269
+ get_query_var( '_' . wpbdp_get_option( 'permalinks-tags-slug' ) ),
1270
+ WPBDP_TAGS_TAX
1271
+ );
1272
  } else {
1273
+ $term = get_term_by(
1274
+ 'slug',
1275
+ get_query_var( '_' . wpbdp_get_option( 'permalinks-category-slug' ) ),
1276
+ WPBDP_CATEGORY_TAX
1277
+ );
1278
+
1279
+ if ( ! $term && get_query_var( 'category_id' ) ) {
1280
+ $term = get_term_by( 'id', get_query_var( 'category_id' ), WPBDP_CATEGORY_TAX );
1281
+ }
1282
  }
1283
 
1284
  if ( $term ) {
1311
  }
1312
 
1313
  public function _meta_rel_canonical() {
1314
+ $action = wpbdp_current_view();
 
1315
 
1316
  if ( !$action )
1317
  return rel_canonical();
1318
 
1319
+ $not_supported_views = array(
1320
+ 'edit_listing', 'submit_listing', 'delete_listing', 'renew_listing',
1321
+ 'listing_contact', 'upgradetostickylisting',
1322
+ );
1323
+
1324
+ if ( in_array( $action, $not_supported_views ) )
1325
  return;
1326
 
1327
+ if ( $action == 'show_listing' ) {
1328
+ $listing_id = wpbdp_get_post_by_id_or_slug(
1329
+ get_query_var( '_' . wpbdp_get_option( 'permalinks-directory-slug' ) ),
1330
+ 'id',
1331
+ 'id'
1332
+ );
1333
+ $url = get_permalink( $listing_id );
1334
  } else {
1335
+ $url = site_url( $_SERVER['REQUEST_URI'] );
1336
  }
1337
 
1338
+ echo sprintf( '<link rel="canonical" href="%s" />', esc_url( user_trailingslashit( $url ) ) );
1339
  }
1340
 
1341
  function listing_opentags() {
1342
+ $listing_id = wpbdp_get_post_by_id_or_slug(
1343
+ get_query_var( '_' . wpbdp_get_option( 'permalinks-directory-slug' ) ),
1344
+ 'id',
1345
+ 'id'
1346
+ );
1347
+
1348
  $listing = WPBDP_Listing::get( $listing_id );
1349
 
1350
  if ( ! $listing )
1352
 
1353
  echo '<meta property="og:type" content="website" />';
1354
  echo '<meta property="og:title" content="' . esc_attr( WPBDP_SEO::listing_title( $listing_id ) ) . '" />';
1355
+ echo '<meta property="og:url" content="' . esc_url( user_trailingslashit( $listing->get_permalink() ) ) . '" />';
1356
  echo '<meta property="og:description" content="' . esc_attr( WPBDP_SEO::listing_og_description( $listing_id ) ) . '" />';
1357
 
1358
  if ( $thumbnail_id = $listing->get_thumbnail_id() ) {
1359
  if ( $img = wp_get_attachment_image_src( $thumbnail_id, 'wpbdp-large' ) )
1360
  echo '<meta property="og:image" content="' . $img[0] . '" />';
1361
+ } else {
1362
+ $image_url = WPBDP_URL . 'core/images/default-image-big.gif';
1363
+ echo '<meta property="og:image" content="' . $image_url . '" />';
1364
  }
1365
  }
1366
 
core/class-form-field.php CHANGED
@@ -680,9 +680,9 @@ class WPBDP_Form_Field {
680
  break;
681
  case 'tags':
682
  case 'category':
683
- $query = ( 'tags' == $this->get_association() && is_string( $query ) ) ? array_map( 'trim', explode( ',', $query ) ) : $query;
684
  $query = is_array( $query ) ? $query : array( $query );
685
- $query = array_diff( $query, array( -1, 0, '' ) );
686
 
687
  $tax = ( 'tags' == $this->get_association() ? WPBDP_TAGS_TAX : WPBDP_CATEGORY_TAX );
688
  $tt_ids = array();
@@ -728,7 +728,7 @@ class WPBDP_Form_Field {
728
  if ( ! $reused )
729
  $search_res['join'] = " LEFT JOIN {$wpdb->postmeta} AS {$alias} ON {$wpdb->posts}.ID = {$alias}.post_id";
730
 
731
- if ( in_array( $this->get_field_type_id(), array( 'textfield', 'textarea' ), true ) ) {
732
  $search_res['where'] = $wpdb->prepare( "({$alias}.meta_key = %s AND {$alias}.meta_value LIKE '%%%s%%')",
733
  '_wpbdp[fields][' . $this->get_id() . ']',
734
  $query );
680
  break;
681
  case 'tags':
682
  case 'category':
683
+ $query = ( 'tags' == $this->get_association() && is_string( $query ) ) ? explode( ',', $query ) : $query;
684
  $query = is_array( $query ) ? $query : array( $query );
685
+ $query = array_diff( array_map( 'trim', $query ), array( -1, 0, '' ) );
686
 
687
  $tax = ( 'tags' == $this->get_association() ? WPBDP_TAGS_TAX : WPBDP_CATEGORY_TAX );
688
  $tt_ids = array();
728
  if ( ! $reused )
729
  $search_res['join'] = " LEFT JOIN {$wpdb->postmeta} AS {$alias} ON {$wpdb->posts}.ID = {$alias}.post_id";
730
 
731
+ if ( in_array( $this->get_field_type_id(), array( 'textfield', 'textarea', 'url' ), true ) ) {
732
  $search_res['where'] = $wpdb->prepare( "({$alias}.meta_key = %s AND {$alias}.meta_value LIKE '%%%s%%')",
733
  '_wpbdp[fields][' . $this->get_id() . ']',
734
  $query );
core/css/wpbdp.css CHANGED
@@ -50,7 +50,6 @@ form#wpbdmsearchform a.advanced-search-link {
50
  }
51
 
52
  #wpbdp-search-form input[type="submit"] {
53
- width: 100px;
54
  float: none;
55
  margin: auto;
56
  }
50
  }
51
 
52
  #wpbdp-search-form input[type="submit"] {
 
53
  float: none;
54
  margin: auto;
55
  }
core/css/wpbdp.min.css CHANGED
@@ -1 +1 @@
1
- form#wpbdmsearchform{padding:12px 0;text-align:center}form#wpbdmsearchform input{display:inline}form#wpbdmsearchform .wpbdmsearchbutton{margin-top:5px}form#wpbdmsearchform a.advanced-search-link{font-size:70%;display:block}#wpbdp-search-form{padding-left:10px}#wpbdp-search-form .wpbdp-search-filter{margin-bottom:10px;clear:both}#wpbdp-search-form .wpbdp-search-filter>.wpbdp-search-field-label{display:block;width:40%;float:left}#wpbdp-search-form .wpbdp-search-filter>div.field{display:block;width:60%;margin-left:40%;padding-left:5px}#wpbdp-search-form .wpbdp-search-filter>div.field>input[type="text"]{width:90%}#wpbdp-search-form .wpbdp-search-filter>div.field>select{width:90%}#wpbdp-search-form input[type="submit"]{width:100px;float:none;margin:auto}.cf:before,.cf:after{content:" ";display:table}.cf:after{clear:both}.cf{*zoom:1}.wpbdp-pagination{margin:25px 0 0 0}.wpbdp-pagination .next{float:right}.listing-actions form{margin:0;padding:0;display:inline}.listing-actions input{margin:0}.listing-actions input.delete-listing{margin-left:5px;margin-right:30px;color:#f00 !important}.listing-actions a.button{padding:5px 10px;font-size:11px;text-decoration:none;background-color:#e6e6e6;color:#7c7c7c;background-repeat:repeat-x;background-image:-moz-linear-gradient(top,#f4f4f4,#e6e6e6);background-image:-ms-linear-gradient(top,#f4f4f4,#e6e6e6);background-image:-webkit-linear-gradient(top,#f4f4f4,#e6e6e6);background-image:-o-linear-gradient(top,#f4f4f4,#e6e6e6);background-image:linear-gradient(top,#f4f4f4,#e6e6e6);border:1px solid #d2d2d2;border-radius:3px;box-shadow:0 1px 2px rgba(64,64,64,0.1);margin-right:3px}.listing-actions a.button:hover{color:#5e5e5e;background-color:#ebebeb;background-repeat:repeat-x;background-image:-moz-linear-gradient(top,#f9f9f9,#ebebeb);background-image:-ms-linear-gradient(top,#f9f9f9,#ebebeb);background-image:-webkit-linear-gradient(top,#f9f9f9,#ebebeb);background-image:-o-linear-gradient(top,#f9f9f9,#ebebeb);background-image:linear-gradient(top,#f9f9f9,#ebebeb)}.listing-actions a.delete-listing{margin-left:20px;color:red}.wpbdp-listing .listing-details .field-value{margin-bottom:10px;width:100%;float:none}.wpbdmsingledetails .singledetailsview .field-value{margin-bottom:10px}.field-value label{color:#444;font-weight:bold}.wpbdp-listing-excerpt{padding:10px;border-bottom:dotted 1px #ddd}.wpbdp-listing-excerpt.odd{background:#eee}.wpbdp-listing-excerpt.sticky{background:#fff0cf;border-bottom:solid 1px #b37800}.wpbdp-listing-excerpt .listing-thumbnail{float:right;margin:0 10px 0 0}.wpbdp-listing-excerpt .listing-actions{margin-top:15px}.wpbdp-listing-single .listing-actions{margin-bottom:25px}.wpbdp-listing-single.sticky{margin-top:30px}.wpbdp-listing-single .stickytag{float:right;margin-top:-68px}.wpbdp-listing-single .stickytag img{border:0;box-shadow:none;background:transparent}.wpbdp-listing-single .listing-title{padding:2px 8px;background:#efefef;border:dotted 1px #ddd;margin-bottom:7px}.wpbdp-listing-single .listing-title h2{clear:none;margin:0}.wpbdp-listing-single .main-image{float:right;margin-left:10px;padding:5px}.wpbdp-listing-single .main-image a{position:relative !important}.wpbdp-listing-single .main-image img{border:solid 1px #333}.wpbdp-listing-single .extra-images{margin-top:10px;clear:both}.wpbdp-listing-single .extra-images ul{margin:0 auto;width:100%}.wpbdp-listing-single .extra-images ul li{list-style-type:none;display:inline;margin-left:5px}.wpbdp-listing-single .extra-images ul li img{display:inline;vertical-align:top;margin:0 auto;max-width:150px;border:solid 1px #333}.wpbdp-listing .social-fields{margin:20px 0}.wpbdp-listing .social-field{margin:5px 0;height:20px;vertical-align:middle}.social-field.facebook .fb-like>span{overflow:visible !important;width:450px !important;vertical-align:top !important}@media screen and (max-width:500px){.social-field.facebook .fb-like>span{width:100% !important}}.wpbdp-listing-contact-form{margin-top:20px;border-top:dotted 1px #ddd;padding-top:20px;padding-left:10px}.wpbdp-listing-contact-form .send-message-button{margin-left:-10px}.wpbdp-listing-contact-form h3{margin-left:-10px}.wpbdp-listing-contact-form textarea{width:98% !important}.wpbdp-listing .comments{margin-top:20px}.wpbdp-bar{background:#f7f7f7;margin:10px 0 20px 0;padding:5px 10px}.wpbdp-bar:before,.wpbdp-bar:after{content:" ";display:table;clear:both}.wpbdp-bar .wpbdp-main-links{float:left}.wpbdp-bar .wpbdp-main-links #wpbdp-bar-view-listings-button,.wpbdp-bar .wpbdp-main-links #wpbdp-bar-show-directory-button{margin-right:5px}.wpbdp-bar .wpbdp-search-form{margin:0;padding:0 !important;margin-left:50%}.wpbdp-main-links a{margin-right:15px}.wpbdp-bar .left{float:left;text-align:center}.wpbdp-bar .right{width:300px;float:right}.wpbdp-listings-sort-options{font-size:90%;margin:5px 0;text-align:right}.wpbdp-listings-sort-options .current{font-weight:bold}.wpbdp-page-main_page #wpbdp-categories{clear:both;margin-bottom:20px}ul.wpbdp-categories{margin:0 0 10px 15px;padding:0 10px}ul.wpbdp-categories>li{width:50%;float:left;margin:0}@media screen and (max-width:704px){ul.wpbdp-categories>li{float:none;width:initial}}@media screen and (max-width:500px){ul.wpbdp-categories{font-size:90%}ul.wpbdp-categories ul.children li.cat-item{margin-left:10px;padding:0}}.wpbdp-submit-page h3{margin-bottom:10px}.wpbdp-submit-page .wpbdmp{margin:0}.wpbdp-submit-page legend{font-size:85%;margin-bottom:20px}.wpbdp-submit-page .wpbdp-form-field{margin-bottom:8px}.wpbdp-submit-page .wpbdp-form-field .wpbdmcheckboxclass checkbox{margin-left:0}.wpbdp-submit-page .wpbdp-form-field.required .wpbdp-form-field-label:after{content:' *';font-size:80%}.wpbdp-submit-page .wpbdp-form-field-type-textarea textarea{min-width:90%;min-height:50px}.wpbdp-submit-page .wpbdp-form-field-association-content textarea{min-height:80px}.wpbdp-form-field .field-description{font-size:90%;color:#696969;float:right}.wpbdp-form-field span.sublabel{font-size:90%;margin-left:10px;margin-right:10px}.wpbdp-form-field.image a.delete{margin-left:10px}ul.validation-errors{margin:15px 0 15px 0}ul.validation-errors li{color:red;margin:3px 0;list-style-position:inside}.wpbdp-submit-page.step-fees h4{background:#ddd;color:#333;padding:10px;margin-bottom:5px}.wpbdp-submit-page.step-images #image-upload-form{margin:15px 10px}.wpbdp-submit-page.step-images .wpbdp-image{float:left;border-bottom:dotted 1px #efefef;margin-right:10px;margin-bottom:10px;vertical-align:top}.wpbdp-submit-page.step-images .wpbdp-image img{vertical-align:top;text-align:center;max-width:150px;height:auto}.wpbdp-submit-page.step-images .wpbdp-image-draggable-highlight{width:160px;height:160px;margin:0 10px;background:red;float:left}.wpbdp-submit-page.step-images .area-and-conditions #image-upload-dnd-area{float:left;width:72%}.wpbdp-submit-page.step-images .area-and-conditions #image-upload-conditions{float:right;width:25%;color:#666}.wpbdp-submit-page.step-images .area-and-conditions #image-upload-conditions dl{margin:0}.wpbdp-submit-page.step-images #image-upload-form-no-js{width:0;height:0;overflow:hidden;visibility:hidden}.wpbdp-submit-page.step-images .wpbdp-image .delete-image{color:red}.wpbdp-submit-page .upgrade-to-featured-option{border:solid 1px #666;padding:5px 10px;margin:25px 0 25px 0;font-size:90%}.wpbdp-msg{font-size:85%;padding:.6em;border:solid 1px #e6db55;color:#555;margin:5px 0;background:#fffbcc;border-radius:3px}.wpbdp-msg.error{background-color:#ffebe8;border-color:#C00}.wpbdp-submit-page table.fee-options{width:100%}.wpbdp-submit-page table.fee-options th,.wpbdp-submit-page table.fee-options td{text-align:center}.wpbdp-submit-page table.fee-options td.fee-label,.wpbdp-submit-page table.fee-options tr.fee-description td{text-align:left}.wpbdp-submit-page table.fee-options .fee-selection{width:5%}.wpbdp-submit-page table.fee-options tr.fee-option td.fee-label{font-weight:bold}.wpbdp-submit-page table.fee-options td.fee-description{font-size:90%;color:#666}#wpbdp-renewal-page .do-not-renew-listing{margin:40px 0;border:solid 1px #eee;font-size:95%}#wpbdp-renewal-page .do-not-renew-listing .header{background:#bc0b0b;color:#fff;text-align:center;font-weight:bold;padding:2px 0}#wpbdp-renewal-page .do-not-renew-listing input[type="submit"]{color:#900000}.wpbdp-recaptcha-error{color:red}#wpbdp-delete-listing-page form.confirm-form{margin-top:30px}#wpbdp-delete-listing-page input.delete-listing-confirm{margin-left:20px;color:#c00}#googlewallet-buy img{border:0;box-shadow:none}.wpbdp-checkout input[type="image"]{padding:0;border:0;box-shadow:none;width:auto}table#wpbdp-manage-recurring th.listing-title,table#wpbdp-manage-recurring td.listing-title{min-width:200px}table#wpbdp-manage-recurring a.cancel-subscription{color:red}#wpbdp-manage-recurring-cancel dl dd{margin-left:10px}.wpbdp-cc-form{padding:0;width:90%}.wpbdp-cc-form h4{margin:0}.wpbdp-cc-field input{width:auto}.wpbdp-cc-field label{display:block;font-weight:bold;text-align:right;padding-right:10px}#wpbdp-billing-information .billing-info-section h4{margin-bottom:5px}#wpbdp-billing-information .billing-info-section table{margin:10px 0 0 20px}#wpbdp-billing-information .form-buttons{margin:15px 0}.wpbdp-show-on-mobile{display:none}@media screen and (max-width:500px){.wpbdp-show-on-mobile{display:inline !important}.wpbdp-hide-on-mobile{display:none}.wpbdp-bar .wpbdp-main-links{display:block;float:none;text-align:center}.wpbdp-bar .wpbdp-main-links #wpbdp-bar-submit-listing-button{margin-bottom:5px;display:inline-block}.wpbdp-bar .wpbdp-main-links #wpbdp-bar-view-listings-button{display:inline-block;float:left;margin-right:20px}.wpbdp-bar .wpbdp-main-links input[type="button"]{display:block;margin-bottom:2px}.wpbdp-bar form.wpbdp-search-form{display:block;margin-left:0;margin-top:10px}.wpbdp-bar form.wpbdp-search-form #intextbox{margin-bottom:5px;padding:4px}.wpbdp-bar form.wpbdp-search-form input[type="text"]{padding:4px 0;margin:0 0 2px 0}.wpbdp-listings-sort-options{font-size:90%}.wpbdp-listing.wpbdp-listing{font-size:90%}.wpbdp-listing.wpbdp-listing-excerpt .field-value>label{display:block}.wpbdp-listing.wpbdp-listing-excerpt .listing-thumbnail,.wpbdp-listing.wpbdp-listing-single .listing-thumbnail{float:none;padding:5px}.wpbdp-listing.wpbdp-listing-excerpt .listing-details,.wpbdp-listing.wpbdp-listing-single .listing-details{margin:0 5px;float:none;display:block}.wpbdp-listing .listing-actions input{font-size:85%}.wpbdp-listing .listing-actions input.back-to-dir{float:right}.wpbdp-listing.wpbdp-listing-single .main-image{display:block;float:none;padding:0;margin:0 0 10px 0;text-align:center;max-width:90%}.wpbdp-listing.wpbdp-listing-single .field-value>label{display:block}.wpbdp-submit-page.step-images #image-upload-dnd-area{font-size:90%;float:none !important;width:100% !important}.wpbdp-submit-page.step-images .dnd-area-inside-error{margin-top:30px}.wpbdp-submit-page.step-images #image-upload-conditions{width:100% !important;float:none !important;font-size:90%}.wpbdp-submit-page.step-images #image-upload-conditions dl{margin:0;padding:0}.wpbdp-submit-page.step-images #image-upload-conditions dl dt{margin:0;margin-right:5px;padding:0;float:left}.wpbdp-submit-page.step-images #image-upload-conditions dl dd{margin:0;padding:0;display:block}.wpbdp-submit-page.step-images .wpbdp-image img{max-width:50%}.wpbdp-listings-sort-options.wpbdp-show-on-mobile{margin-bottom:10px}}body.business-directory #TB_ImageOff .screen-reader-text,body.business-directory #TB_closeWindowButton .screen-reader-text{visibility:hidden}body.business-directory #TB_next{float:right}body.business-directory #TB_prev{float:left}body.business-directory #TB_caption{float:none !important}body.business-directory #TB_closeWindow{padding:0;height:0}body.business-directory #TB_closeWindow .screen-reader-text{display:none}body.business-directory #TB_secondLine{text-align:center}.wpbdp-form-row label{display:block}.wpbdp-form-row.wpbdp-form-textfield input[type="text"]{width:400px}#wpbdp-main-box{background:#f7f7f7;margin:10px 0 20px 0;border-radius:4px;box-sizing:border-box;width:100%}#wpbdp-main-box .box-row{margin:0;padding:4px 10px;width:100%;clear:both;box-sizing:border-box;*zoom:1}#wpbdp-main-box .box-row.separator{background:#999;height:2px;margin:2px 0;padding:0}#wpbdp-main-box .box-row:before,#wpbdp-main-box .box-row:after{content:" ";display:table}#wpbdp-main-box .box-row:after{clear:both}#wpbdp-main-box .box-col{padding:0 5px;margin:0;float:left;box-sizing:border-box}#wpbdp-main-box .box-col input{box-sizing:border-box}#wpbdp-main-box .box-col.submit-btn input{width:100%}#wpbdp-main-box .search-fields .main-input input{width:100%}#wpbdp-main-box .box-row .box-row{padding:0}#wpbdp-main-box .box-row .box-col:first-child{padding-left:0}#wpbdp-main-box .box-row .box-col:last-child{padding-right:0}#wpbdp-main-box .box-row.cols-1>.box-col{width:100%}#wpbdp-main-box .box-row.cols-2>.box-col{width:50%}#wpbdp-main-box .box-row.cols-3>.box-col{width:33.33%}#wpbdp-main-box .box-row .box-col.search-fields{width:82%}#wpbdp-main-box .box-row .box-col.submit-btn{width:18%}#wpbdp-main-box .box-row .box-col input[type="text"]{width:100%}#wpbdp-main-box .advanced-search-link{display:block;font-size:11px;text-align:right}#wpbdp-main-box .wpbdp-main-links{text-align:right}#wpbdp-main-box .wpbdp-main-links .button{margin:0 5px}#wpbdp-main-box .wpbdp-main-links .button:first-child{margin-left:0}#wpbdp-main-box .wpbdp-main-links .button:last-child{margin-right:0}@media screen and (max-width:500px){#wpbdp-main-box .box-col.search-fields,#wpbdp-main-box .box-col.submit-btn{margin-bottom:5px;float:none;width:100% !important;display:block;padding-left:0;padding-right:0}}.single-wpbdp_listing header.entry-header,.wpbdp-view-show_category header.entry-header,.wpbdp-view-show_tag header.entry-header,.wpbdp-view-search header.entry-header,.wpbdp-view-submit_listing header.entry-header{display:none}.wpbdp-wp-theme-graphene.single-wpbdp_listing h1.post-title,.wpbdp-wp-theme-graphene.wpbdp-view-show_category h1.post-title,.wpbdp-wp-theme-graphene.wpbdp-view-show_tag h1.post-title,.wpbdp-wp-theme-graphene.wpbdp-view-search h1.post-title,.wpbdp-wp-theme-graphene.wpbdp-view-submit_listing h1.post-title{display:none}.wpbdp-wp-theme-genesis.wpbdp-view-show_category .archive-description,.wpbdp-wp-theme-genesis.wpbdp-view-show_tag .archive-description{display:none}.wpbdp-wp-theme-hmtpro5.wpbdp-view-show_category .post-details,.wpbdp-wp-theme-hmtpro5.wpbdp-view-show_tag .post-details{display:none}.wpbdp-wp-theme-atahualpa.wpbdp-view-show_category .post-footer,.wpbdp-wp-theme-atahualpa.wpbdp-view-show_tag .post-footer,.wpbdp-wp-theme-atahualpa.wpbdp-view-show_listing .post-footer{display:none}.wpbdp-wp-theme-ultimate-silostorm-pro.wpbdp-view-show_category .entry-content .featured-image,.wpbdp-wp-theme-ultimate-silostorm-pro.wpbdp-view-show_tag .entry-content .featured-image,.wpbdp-wp-theme-ultimate-silostorm-pro.wpbdp-view-show_listing .entry-content .featured-image{display:none}
1
+ form#wpbdmsearchform{padding:12px 0;text-align:center}form#wpbdmsearchform input{display:inline}form#wpbdmsearchform .wpbdmsearchbutton{margin-top:5px}form#wpbdmsearchform a.advanced-search-link{font-size:70%;display:block}#wpbdp-search-form{padding-left:10px}#wpbdp-search-form .wpbdp-search-filter{margin-bottom:10px;clear:both}#wpbdp-search-form .wpbdp-search-filter>.wpbdp-search-field-label{display:block;width:40%;float:left}#wpbdp-search-form .wpbdp-search-filter>div.field{display:block;width:60%;margin-left:40%;padding-left:5px}#wpbdp-search-form .wpbdp-search-filter>div.field>input[type="text"]{width:90%}#wpbdp-search-form .wpbdp-search-filter>div.field>select{width:90%}#wpbdp-search-form input[type="submit"]{float:none;margin:auto}.cf:before,.cf:after{content:" ";display:table}.cf:after{clear:both}.cf{*zoom:1}.wpbdp-pagination{margin:25px 0 0 0}.wpbdp-pagination .next{float:right}.listing-actions form{margin:0;padding:0;display:inline}.listing-actions input{margin:0}.listing-actions input.delete-listing{margin-left:5px;margin-right:30px;color:#f00 !important}.listing-actions a.button{padding:5px 10px;font-size:11px;text-decoration:none;background-color:#e6e6e6;color:#7c7c7c;background-repeat:repeat-x;background-image:-moz-linear-gradient(top,#f4f4f4,#e6e6e6);background-image:-ms-linear-gradient(top,#f4f4f4,#e6e6e6);background-image:-webkit-linear-gradient(top,#f4f4f4,#e6e6e6);background-image:-o-linear-gradient(top,#f4f4f4,#e6e6e6);background-image:linear-gradient(top,#f4f4f4,#e6e6e6);border:1px solid #d2d2d2;border-radius:3px;box-shadow:0 1px 2px rgba(64,64,64,0.1);margin-right:3px}.listing-actions a.button:hover{color:#5e5e5e;background-color:#ebebeb;background-repeat:repeat-x;background-image:-moz-linear-gradient(top,#f9f9f9,#ebebeb);background-image:-ms-linear-gradient(top,#f9f9f9,#ebebeb);background-image:-webkit-linear-gradient(top,#f9f9f9,#ebebeb);background-image:-o-linear-gradient(top,#f9f9f9,#ebebeb);background-image:linear-gradient(top,#f9f9f9,#ebebeb)}.listing-actions a.delete-listing{margin-left:20px;color:red}.wpbdp-listing .listing-details .field-value{margin-bottom:10px;width:100%;float:none}.wpbdmsingledetails .singledetailsview .field-value{margin-bottom:10px}.field-value label{color:#444;font-weight:bold}.wpbdp-listing-excerpt{padding:10px;border-bottom:dotted 1px #ddd}.wpbdp-listing-excerpt.odd{background:#eee}.wpbdp-listing-excerpt.sticky{background:#fff0cf;border-bottom:solid 1px #b37800}.wpbdp-listing-excerpt .listing-thumbnail{float:right;margin:0 10px 0 0}.wpbdp-listing-excerpt .listing-actions{margin-top:15px}.wpbdp-listing-single .listing-actions{margin-bottom:25px}.wpbdp-listing-single.sticky{margin-top:30px}.wpbdp-listing-single .stickytag{float:right;margin-top:-68px}.wpbdp-listing-single .stickytag img{border:0;box-shadow:none;background:transparent}.wpbdp-listing-single .listing-title{padding:2px 8px;background:#efefef;border:dotted 1px #ddd;margin-bottom:7px}.wpbdp-listing-single .listing-title h2{clear:none;margin:0}.wpbdp-listing-single .main-image{float:right;margin-left:10px;padding:5px}.wpbdp-listing-single .main-image a{position:relative !important}.wpbdp-listing-single .main-image img{border:solid 1px #333}.wpbdp-listing-single .extra-images{margin-top:10px;clear:both}.wpbdp-listing-single .extra-images ul{margin:0 auto;width:100%}.wpbdp-listing-single .extra-images ul li{list-style-type:none;display:inline;margin-left:5px}.wpbdp-listing-single .extra-images ul li img{display:inline;vertical-align:top;margin:0 auto;max-width:150px;border:solid 1px #333}.wpbdp-listing .social-fields{margin:20px 0}.wpbdp-listing .social-field{margin:5px 0;height:20px;vertical-align:middle}.social-field.facebook .fb-like>span{overflow:visible !important;width:450px !important;vertical-align:top !important}@media screen and (max-width:500px){.social-field.facebook .fb-like>span{width:100% !important}}.wpbdp-listing-contact-form{margin-top:20px;border-top:dotted 1px #ddd;padding-top:20px;padding-left:10px}.wpbdp-listing-contact-form .send-message-button{margin-left:-10px}.wpbdp-listing-contact-form h3{margin-left:-10px}.wpbdp-listing-contact-form textarea{width:98% !important}.wpbdp-listing .comments{margin-top:20px}.wpbdp-bar{background:#f7f7f7;margin:10px 0 20px 0;padding:5px 10px}.wpbdp-bar:before,.wpbdp-bar:after{content:" ";display:table;clear:both}.wpbdp-bar .wpbdp-main-links{float:left}.wpbdp-bar .wpbdp-main-links #wpbdp-bar-view-listings-button,.wpbdp-bar .wpbdp-main-links #wpbdp-bar-show-directory-button{margin-right:5px}.wpbdp-bar .wpbdp-search-form{margin:0;padding:0 !important;margin-left:50%}.wpbdp-main-links a{margin-right:15px}.wpbdp-bar .left{float:left;text-align:center}.wpbdp-bar .right{width:300px;float:right}.wpbdp-listings-sort-options{font-size:90%;margin:5px 0;text-align:right}.wpbdp-listings-sort-options .current{font-weight:bold}.wpbdp-page-main_page #wpbdp-categories{clear:both;margin-bottom:20px}ul.wpbdp-categories{margin:0 0 10px 15px;padding:0 10px}ul.wpbdp-categories>li{width:50%;float:left;margin:0}@media screen and (max-width:704px){ul.wpbdp-categories>li{float:none;width:initial}}@media screen and (max-width:500px){ul.wpbdp-categories{font-size:90%}ul.wpbdp-categories ul.children li.cat-item{margin-left:10px;padding:0}}.wpbdp-submit-page h3{margin-bottom:10px}.wpbdp-submit-page .wpbdmp{margin:0}.wpbdp-submit-page legend{font-size:85%;margin-bottom:20px}.wpbdp-submit-page .wpbdp-form-field{margin-bottom:8px}.wpbdp-submit-page .wpbdp-form-field .wpbdmcheckboxclass checkbox{margin-left:0}.wpbdp-submit-page .wpbdp-form-field.required .wpbdp-form-field-label:after{content:' *';font-size:80%}.wpbdp-submit-page .wpbdp-form-field-type-textarea textarea{min-width:90%;min-height:50px}.wpbdp-submit-page .wpbdp-form-field-association-content textarea{min-height:80px}.wpbdp-form-field .field-description{font-size:90%;color:#696969;float:right}.wpbdp-form-field span.sublabel{font-size:90%;margin-left:10px;margin-right:10px}.wpbdp-form-field.image a.delete{margin-left:10px}ul.validation-errors{margin:15px 0 15px 0}ul.validation-errors li{color:red;margin:3px 0;list-style-position:inside}.wpbdp-submit-page.step-fees h4{background:#ddd;color:#333;padding:10px;margin-bottom:5px}.wpbdp-submit-page.step-images #image-upload-form{margin:15px 10px}.wpbdp-submit-page.step-images .wpbdp-image{float:left;border-bottom:dotted 1px #efefef;margin-right:10px;margin-bottom:10px;vertical-align:top}.wpbdp-submit-page.step-images .wpbdp-image img{vertical-align:top;text-align:center;max-width:150px;height:auto}.wpbdp-submit-page.step-images .wpbdp-image-draggable-highlight{width:160px;height:160px;margin:0 10px;background:red;float:left}.wpbdp-submit-page.step-images .area-and-conditions #image-upload-dnd-area{float:left;width:72%}.wpbdp-submit-page.step-images .area-and-conditions #image-upload-conditions{float:right;width:25%;color:#666}.wpbdp-submit-page.step-images .area-and-conditions #image-upload-conditions dl{margin:0}.wpbdp-submit-page.step-images #image-upload-form-no-js{width:0;height:0;overflow:hidden;visibility:hidden}.wpbdp-submit-page.step-images .wpbdp-image .delete-image{color:red}.wpbdp-submit-page .upgrade-to-featured-option{border:solid 1px #666;padding:5px 10px;margin:25px 0 25px 0;font-size:90%}.wpbdp-msg{font-size:85%;padding:.6em;border:solid 1px #e6db55;color:#555;margin:5px 0;background:#fffbcc;border-radius:3px}.wpbdp-msg.error{background-color:#ffebe8;border-color:#C00}.wpbdp-submit-page table.fee-options{width:100%}.wpbdp-submit-page table.fee-options th,.wpbdp-submit-page table.fee-options td{text-align:center}.wpbdp-submit-page table.fee-options td.fee-label,.wpbdp-submit-page table.fee-options tr.fee-description td{text-align:left}.wpbdp-submit-page table.fee-options .fee-selection{width:5%}.wpbdp-submit-page table.fee-options tr.fee-option td.fee-label{font-weight:bold}.wpbdp-submit-page table.fee-options td.fee-description{font-size:90%;color:#666}#wpbdp-renewal-page .do-not-renew-listing{margin:40px 0;border:solid 1px #eee;font-size:95%}#wpbdp-renewal-page .do-not-renew-listing .header{background:#bc0b0b;color:#fff;text-align:center;font-weight:bold;padding:2px 0}#wpbdp-renewal-page .do-not-renew-listing input[type="submit"]{color:#900000}.wpbdp-recaptcha-error{color:red}#wpbdp-delete-listing-page form.confirm-form{margin-top:30px}#wpbdp-delete-listing-page input.delete-listing-confirm{margin-left:20px;color:#c00}#googlewallet-buy img{border:0;box-shadow:none}.wpbdp-checkout input[type="image"]{padding:0;border:0;box-shadow:none;width:auto}table#wpbdp-manage-recurring th.listing-title,table#wpbdp-manage-recurring td.listing-title{min-width:200px}table#wpbdp-manage-recurring a.cancel-subscription{color:red}#wpbdp-manage-recurring-cancel dl dd{margin-left:10px}.wpbdp-cc-form{padding:0;width:90%}.wpbdp-cc-form h4{margin:0}.wpbdp-cc-field input{width:auto}.wpbdp-cc-field label{display:block;font-weight:bold;text-align:right;padding-right:10px}#wpbdp-billing-information .billing-info-section h4{margin-bottom:5px}#wpbdp-billing-information .billing-info-section table{margin:10px 0 0 20px}#wpbdp-billing-information .form-buttons{margin:15px 0}.wpbdp-show-on-mobile{display:none}@media screen and (max-width:500px){.wpbdp-show-on-mobile{display:inline !important}.wpbdp-hide-on-mobile{display:none}.wpbdp-bar .wpbdp-main-links{display:block;float:none;text-align:center}.wpbdp-bar .wpbdp-main-links #wpbdp-bar-submit-listing-button{margin-bottom:5px;display:inline-block}.wpbdp-bar .wpbdp-main-links #wpbdp-bar-view-listings-button{display:inline-block;float:left;margin-right:20px}.wpbdp-bar .wpbdp-main-links input[type="button"]{display:block;margin-bottom:2px}.wpbdp-bar form.wpbdp-search-form{display:block;margin-left:0;margin-top:10px}.wpbdp-bar form.wpbdp-search-form #intextbox{margin-bottom:5px;padding:4px}.wpbdp-bar form.wpbdp-search-form input[type="text"]{padding:4px 0;margin:0 0 2px 0}.wpbdp-listings-sort-options{font-size:90%}.wpbdp-listing.wpbdp-listing{font-size:90%}.wpbdp-listing.wpbdp-listing-excerpt .field-value>label{display:block}.wpbdp-listing.wpbdp-listing-excerpt .listing-thumbnail,.wpbdp-listing.wpbdp-listing-single .listing-thumbnail{float:none;padding:5px}.wpbdp-listing.wpbdp-listing-excerpt .listing-details,.wpbdp-listing.wpbdp-listing-single .listing-details{margin:0 5px;float:none;display:block}.wpbdp-listing .listing-actions input{font-size:85%}.wpbdp-listing .listing-actions input.back-to-dir{float:right}.wpbdp-listing.wpbdp-listing-single .main-image{display:block;float:none;padding:0;margin:0 0 10px 0;text-align:center;max-width:90%}.wpbdp-listing.wpbdp-listing-single .field-value>label{display:block}.wpbdp-submit-page.step-images #image-upload-dnd-area{font-size:90%;float:none !important;width:100% !important}.wpbdp-submit-page.step-images .dnd-area-inside-error{margin-top:30px}.wpbdp-submit-page.step-images #image-upload-conditions{width:100% !important;float:none !important;font-size:90%}.wpbdp-submit-page.step-images #image-upload-conditions dl{margin:0;padding:0}.wpbdp-submit-page.step-images #image-upload-conditions dl dt{margin:0;margin-right:5px;padding:0;float:left}.wpbdp-submit-page.step-images #image-upload-conditions dl dd{margin:0;padding:0;display:block}.wpbdp-submit-page.step-images .wpbdp-image img{max-width:50%}.wpbdp-listings-sort-options.wpbdp-show-on-mobile{margin-bottom:10px}}body.business-directory #TB_ImageOff .screen-reader-text,body.business-directory #TB_closeWindowButton .screen-reader-text{visibility:hidden}body.business-directory #TB_next{float:right}body.business-directory #TB_prev{float:left}body.business-directory #TB_caption{float:none !important}body.business-directory #TB_closeWindow{padding:0;height:0}body.business-directory #TB_closeWindow .screen-reader-text{display:none}body.business-directory #TB_secondLine{text-align:center}.wpbdp-form-row label{display:block}.wpbdp-form-row.wpbdp-form-textfield input[type="text"]{width:400px}#wpbdp-main-box{background:#f7f7f7;margin:10px 0 20px 0;border-radius:4px;box-sizing:border-box;width:100%}#wpbdp-main-box .box-row{margin:0;padding:4px 10px;width:100%;clear:both;box-sizing:border-box;*zoom:1}#wpbdp-main-box .box-row.separator{background:#999;height:2px;margin:2px 0;padding:0}#wpbdp-main-box .box-row:before,#wpbdp-main-box .box-row:after{content:" ";display:table}#wpbdp-main-box .box-row:after{clear:both}#wpbdp-main-box .box-col{padding:0 5px;margin:0;float:left;box-sizing:border-box}#wpbdp-main-box .box-col input{box-sizing:border-box}#wpbdp-main-box .box-col.submit-btn input{width:100%}#wpbdp-main-box .search-fields .main-input input{width:100%}#wpbdp-main-box .box-row .box-row{padding:0}#wpbdp-main-box .box-row .box-col:first-child{padding-left:0}#wpbdp-main-box .box-row .box-col:last-child{padding-right:0}#wpbdp-main-box .box-row.cols-1>.box-col{width:100%}#wpbdp-main-box .box-row.cols-2>.box-col{width:50%}#wpbdp-main-box .box-row.cols-3>.box-col{width:33.33%}#wpbdp-main-box .box-row .box-col.search-fields{width:82%}#wpbdp-main-box .box-row .box-col.submit-btn{width:18%}#wpbdp-main-box .box-row .box-col input[type="text"]{width:100%}#wpbdp-main-box .advanced-search-link{display:block;font-size:11px;text-align:right}#wpbdp-main-box .wpbdp-main-links{text-align:right}#wpbdp-main-box .wpbdp-main-links .button{margin:0 5px}#wpbdp-main-box .wpbdp-main-links .button:first-child{margin-left:0}#wpbdp-main-box .wpbdp-main-links .button:last-child{margin-right:0}@media screen and (max-width:500px){#wpbdp-main-box .box-col.search-fields,#wpbdp-main-box .box-col.submit-btn{margin-bottom:5px;float:none;width:100% !important;display:block;padding-left:0;padding-right:0}}.single-wpbdp_listing header.entry-header,.wpbdp-view-show_category header.entry-header,.wpbdp-view-show_tag header.entry-header,.wpbdp-view-search header.entry-header,.wpbdp-view-submit_listing header.entry-header{display:none}.wpbdp-wp-theme-graphene.single-wpbdp_listing h1.post-title,.wpbdp-wp-theme-graphene.wpbdp-view-show_category h1.post-title,.wpbdp-wp-theme-graphene.wpbdp-view-show_tag h1.post-title,.wpbdp-wp-theme-graphene.wpbdp-view-search h1.post-title,.wpbdp-wp-theme-graphene.wpbdp-view-submit_listing h1.post-title{display:none}.wpbdp-wp-theme-genesis.wpbdp-view-show_category .archive-description,.wpbdp-wp-theme-genesis.wpbdp-view-show_tag .archive-description{display:none}.wpbdp-wp-theme-hmtpro5.wpbdp-view-show_category .post-details,.wpbdp-wp-theme-hmtpro5.wpbdp-view-show_tag .post-details{display:none}.wpbdp-wp-theme-atahualpa.wpbdp-view-show_category .post-footer,.wpbdp-wp-theme-atahualpa.wpbdp-view-show_tag .post-footer,.wpbdp-wp-theme-atahualpa.wpbdp-view-show_listing .post-footer{display:none}.wpbdp-wp-theme-ultimate-silostorm-pro.wpbdp-view-show_category .entry-content .featured-image,.wpbdp-wp-theme-ultimate-silostorm-pro.wpbdp-view-show_tag .entry-content .featured-image,.wpbdp-wp-theme-ultimate-silostorm-pro.wpbdp-view-show_listing .entry-content .featured-image{display:none}
core/fieldtypes/class-fieldtypes-checkbox.php CHANGED
@@ -92,7 +92,7 @@ class WPBDP_FieldTypes_Checkbox extends WPBDP_Form_Field_Type {
92
  if ( !$options && $field->get_association() != 'tags' )
93
  return new WP_Error( 'wpbdp-invalid-settings', _x( 'Field list of options is required.', 'form-fields admin', 'WPBDM' ) );
94
 
95
- $field->set_data( 'options', !empty( $options ) ? explode( ',', $options ) : array() );
96
  }
97
 
98
  public function store_field_value( &$field, $post_id, $value ) {
92
  if ( !$options && $field->get_association() != 'tags' )
93
  return new WP_Error( 'wpbdp-invalid-settings', _x( 'Field list of options is required.', 'form-fields admin', 'WPBDM' ) );
94
 
95
+ $field->set_data( 'options', $options ? array_map( 'trim', explode( ',', $options ) ) : array() );
96
  }
97
 
98
  public function store_field_value( &$field, $post_id, $value ) {
core/fieldtypes/class-fieldtypes-radiobutton.php CHANGED
@@ -86,7 +86,7 @@ class WPBDP_FieldTypes_RadioButton extends WPBDP_Form_Field_Type {
86
  if ( !$options && $field->get_association() != 'tags' )
87
  return new WP_Error( 'wpbdp-invalid-settings', _x( 'Field list of options is required.', 'form-fields admin', 'WPBDM' ) );
88
 
89
- $field->set_data( 'options', !empty( $options ) ? explode( ',', $options ) : array() );
90
  }
91
 
92
  public function get_field_value( &$field, $post_id ) {
86
  if ( !$options && $field->get_association() != 'tags' )
87
  return new WP_Error( 'wpbdp-invalid-settings', _x( 'Field list of options is required.', 'form-fields admin', 'WPBDM' ) );
88
 
89
+ $field->set_data( 'options', $options ? array_map( 'trim', explode( ',', $options ) ) : array() );
90
  }
91
 
92
  public function get_field_value( &$field, $post_id ) {
core/fieldtypes/class-fieldtypes-select.php CHANGED
@@ -165,7 +165,7 @@ class WPBDP_FieldTypes_Select extends WPBDP_Form_Field_Type {
165
  if ( !$options && $field->get_association() != 'tags' )
166
  return new WP_Error( 'wpbdp-invalid-settings', _x( 'Field list of options is required.', 'form-fields admin', 'WPBDM' ) );
167
 
168
- $field->set_data( 'options', !empty( $options ) ? explode( ',', $options ) : array() );
169
 
170
  if ( array_key_exists( 'x_empty_on_search', $_POST['field'] ) ) {
171
  $empty_on_search = (bool) intval( $_POST['field']['x_empty_on_search'] );
165
  if ( !$options && $field->get_association() != 'tags' )
166
  return new WP_Error( 'wpbdp-invalid-settings', _x( 'Field list of options is required.', 'form-fields admin', 'WPBDM' ) );
167
 
168
+ $field->set_data( 'options', $options ? array_map( 'trim', explode( ',', $options ) ) : array() );
169
 
170
  if ( array_key_exists( 'x_empty_on_search', $_POST['field'] ) ) {
171
  $empty_on_search = (bool) intval( $_POST['field']['x_empty_on_search'] );
core/fieldtypes/class-fieldtypes-url.php CHANGED
@@ -127,7 +127,7 @@ class WPBDP_FieldTypes_URL extends WPBDP_Form_Field_Type {
127
  public function render_field_inner( &$field, $value, $context, &$extra=null, $field_settings = array() ) {
128
  if ( $context == 'search' ) {
129
  global $wpbdp;
130
- return $wpbdp->formfields->get_field_type( 'textfield' )->render_field_inner( $field, $value[0], $context, $extra, $field_settings );
131
  }
132
 
133
  $html = '';
127
  public function render_field_inner( &$field, $value, $context, &$extra=null, $field_settings = array() ) {
128
  if ( $context == 'search' ) {
129
  global $wpbdp;
130
+ return $wpbdp->formfields->get_field_type( 'textfield' )->render_field_inner( $field, $value[1], $context, $extra, $field_settings );
131
  }
132
 
133
  $html = '';
core/installer.php CHANGED
@@ -14,6 +14,8 @@ class WPBDP_Installer {
14
  }
15
 
16
  public function install() {
 
 
17
  // schedule expiration hook if needed
18
  if (!wp_next_scheduled('wpbdp_listings_expiration_check')) {
19
  wpbdp_log('Expiration check was not in schedule. Scheduling.');
@@ -33,7 +35,7 @@ class WPBDP_Installer {
33
  if ( $this->installed_version ) {
34
  wpbdp_log('WPBDP is already installed.');
35
  $this->_update();
36
- } else {
37
  wpbdp_log('New installation. Creating default form fields.');
38
  global $wpbdp;
39
 
@@ -53,6 +55,8 @@ class WPBDP_Installer {
53
  'categories' => array( 'all' => true, 'categories' => array() ),
54
  'enabled' => 1 ) );
55
  $fee->save();
 
 
56
  }
57
 
58
  delete_option('wpbusdirman_db_version');
@@ -166,6 +170,14 @@ class WPBDP_Installer {
166
  dbDelta( $table_sql );
167
  }
168
 
 
 
 
 
 
 
 
 
169
  public function _update() {
170
  global $wpbdp;
171
 
@@ -202,6 +214,10 @@ class WPBDP_Installer {
202
  new WPBDP_Installer_Manual_Upgrade( $this, $manual_upgrade );
203
  }
204
 
 
 
 
 
205
 
206
  /*
207
  * Upgrade routines.
@@ -1011,3 +1027,31 @@ class WPBDP_Installer_Manual_Upgrade {
1011
  }
1012
 
1013
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  }
15
 
16
  public function install() {
17
+ global $wpdb;
18
+
19
  // schedule expiration hook if needed
20
  if (!wp_next_scheduled('wpbdp_listings_expiration_check')) {
21
  wpbdp_log('Expiration check was not in schedule. Scheduling.');
35
  if ( $this->installed_version ) {
36
  wpbdp_log('WPBDP is already installed.');
37
  $this->_update();
38
+ } else if ( $this->_table_exists( "{$wpdb->prefix}wpbdp_form_fields" ) ) {
39
  wpbdp_log('New installation. Creating default form fields.');
40
  global $wpbdp;
41
 
55
  'categories' => array( 'all' => true, 'categories' => array() ),
56
  'enabled' => 1 ) );
57
  $fee->save();
58
+ } else {
59
+ throw new Exception( "Table {$wpdb->prefix}wpbdp_form_fields was not created!" );
60
  }
61
 
62
  delete_option('wpbusdirman_db_version');
170
  dbDelta( $table_sql );
171
  }
172
 
173
+ private function _table_exists( $table_name ) {
174
+ global $wpdb;
175
+
176
+ $result = $wpdb->get_var( "SHOW TABLES LIKE '" . $table_name . "'" );
177
+
178
+ return strcasecmp( $result, $table_name ) === 0;
179
+ }
180
+
181
  public function _update() {
182
  global $wpbdp;
183
 
214
  new WPBDP_Installer_Manual_Upgrade( $this, $manual_upgrade );
215
  }
216
 
217
+ public function show_installation_error( $exception ) {
218
+ new WPBDP__Installer__Installation_Error( $exception );
219
+ }
220
+
221
 
222
  /*
223
  * Upgrade routines.
1027
  }
1028
 
1029
  }
1030
+
1031
+
1032
+ class WPBDP__Installer__Installation_Error {
1033
+
1034
+ private $exception;
1035
+
1036
+ public function __construct( $exception ) {
1037
+ $this->exception = $exception;
1038
+
1039
+ add_action( 'admin_notices', array( $this, 'installation_error_notice' ) );
1040
+ }
1041
+
1042
+ public function installation_error_notice() {
1043
+ print '<div class="notice notice-error"><p>';
1044
+ print '<strong>' . __( 'Business Directory - Installation Failed', 'WPBDM' ) . '</strong>';
1045
+ print '<br />';
1046
+ print __( 'Business Directory installation failed. An exception with following message was generated:', 'WPBDM' );
1047
+ print '<br/><br/>';
1048
+ print '<i>' . $this->exception->getMessage() . '</i>';
1049
+ print '<br /><br />';
1050
+
1051
+ $message = __( 'Please <contact-link>contact customer support</a>.', 'WPBDM' );
1052
+ $message = str_replace( '<contact-link>', sprintf( '<a href="%s">', 'http://businessdirectoryplugin.com/contact/' ), $message );
1053
+
1054
+ print $message;
1055
+ print '</p></div>';
1056
+ }
1057
+ }
core/templates-ui.php CHANGED
@@ -398,11 +398,18 @@ function wpbdp_listing_thumbnail( $listing_id=null, $args=array() ) {
398
  $image_link = get_permalink( $listing_id );
399
  $listing_link_in_new_tab = wpbdp_get_option( 'listing-link-in-new-tab' ) ? '_blank' : '_self';
400
  }
401
-
402
  if ( $image_img ) {
403
  if ( !$image_link ) {
404
  return $image_img;
405
  } else {
 
 
 
 
 
 
 
406
  return sprintf( '<div class="listing-thumbnail"><a href="%s" target="%s" class="%s" %s>%s</a></div>',
407
  $image_link,
408
  $listing_link_in_new_tab,
398
  $image_link = get_permalink( $listing_id );
399
  $listing_link_in_new_tab = wpbdp_get_option( 'listing-link-in-new-tab' ) ? '_blank' : '_self';
400
  }
401
+
402
  if ( $image_img ) {
403
  if ( !$image_link ) {
404
  return $image_img;
405
  } else {
406
+ $image_link = apply_filters( 'wpbdp_listing_thumbnail_link', $image_link, $listing_id, $args );
407
+
408
+ if ( ! $image_link ) {
409
+ return sprintf( '<div class="listing-thumbnail">%s</div>',
410
+ $image_img );
411
+ }
412
+
413
  return sprintf( '<div class="listing-thumbnail"><a href="%s" target="%s" class="%s" %s>%s</a></div>',
414
  $image_link,
415
  $listing_link_in_new_tab,
core/utils.php CHANGED
@@ -706,6 +706,6 @@ function wpbdp_enqueue_jquery_ui_style() {
706
 
707
  wp_enqueue_style(
708
  'wpbdp-jquery-ui-css',
709
- 'http://ajax.googleapis.com/ajax/libs/jqueryui/' . $ui_version . '/themes/redmond/jquery-ui.css'
710
  );
711
  }
706
 
707
  wp_enqueue_style(
708
  'wpbdp-jquery-ui-css',
709
+ 'https://ajax.googleapis.com/ajax/libs/jqueryui/' . $ui_version . '/themes/redmond/jquery-ui.css'
710
  );
711
  }
core/views/main.php CHANGED
@@ -2,6 +2,8 @@
2
  class WPBDP__Views__Main extends WPBDP_NView {
3
 
4
  private function warnings() {
 
 
5
  if ( count(get_terms(WPBDP_CATEGORY_TAX, array('hide_empty' => 0))) == 0 ) {
6
  if (is_user_logged_in() && current_user_can('install_plugins')) {
7
  $html .= wpbdp_render_msg( _x('There are no categories assigned to the business directory yet. You need to assign some categories to the business directory. Only admins can see this message. Regular users are seeing a message that there are currently no listings in the directory. Listings cannot be added until you assign categories to the business directory.', 'templates', 'WPBDM'), 'error' );
2
  class WPBDP__Views__Main extends WPBDP_NView {
3
 
4
  private function warnings() {
5
+ $html = '';
6
+
7
  if ( count(get_terms(WPBDP_CATEGORY_TAX, array('hide_empty' => 0))) == 0 ) {
8
  if (is_user_logged_in() && current_user_can('install_plugins')) {
9
  $html .= wpbdp_render_msg( _x('There are no categories assigned to the business directory yet. You need to assign some categories to the business directory. Only admins can see this message. Regular users are seeing a message that there are currently no listings in the directory. Listings cannot be added until you assign categories to the business directory.', 'templates', 'WPBDM'), 'error' );
languages/WPBDM-ar.mo CHANGED
Binary file
languages/WPBDM-ar.po CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Business Directory Plugin 4.0.8\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/business-directory-plugin\n"
7
- "POT-Creation-Date: 2016-09-20 02:40:34+00:00\n"
8
  "PO-Revision-Date: 2016-09-19 12:17-0500\n"
9
  "Last-Translator: BD Team <support@businessdirectoryplugin.com>\n"
10
  "Language-Team: BD Team <support@businessdirectoryplugin.com>\n"
@@ -2244,7 +2244,7 @@ msgctxt "form-fields admin"
2244
  msgid "Please see the <a>Form Fields documentation</a> for more details."
2245
  msgstr "المرجو مراجعة <a>وثائق حقول الاستمارة</a> للحصول على مزيد من التفاصيل."
2246
 
2247
- #. #-#-#-#-# WPBDM.pot (Business Directory Plugin 4.1.2) #-#-#-#-#
2248
  #. Plugin Name of the plugin/theme
2249
  #: admin/templates/header.tpl.php:4
2250
  msgid "Business Directory Plugin"
@@ -3009,32 +3009,32 @@ msgctxt "tracking"
3009
  msgid "Allow Tracking"
3010
  msgstr "السماح بالتتبع"
3011
 
3012
- #: business-directory-plugin.php:666
3013
  msgctxt "admin plugins"
3014
  msgid "Settings"
3015
  msgstr "الإعدادات"
3016
 
3017
- #: business-directory-plugin.php:774 business-directory-plugin.php:781
3018
  msgctxt "rss feed"
3019
  msgid "%s Feed"
3020
  msgstr "تغذية %s"
3021
 
3022
- #: business-directory-plugin.php:1119
3023
  msgctxt "title"
3024
  msgid "Submit A Listing"
3025
  msgstr "إضافة إعلان"
3026
 
3027
- #: business-directory-plugin.php:1129
3028
  msgctxt "title"
3029
  msgid "Find a Listing"
3030
  msgstr "العثور على إعلان"
3031
 
3032
- #: business-directory-plugin.php:1139
3033
  msgctxt "title"
3034
  msgid "View All Listings"
3035
  msgstr "عرض جميع الإعلانات"
3036
 
3037
- #: business-directory-plugin.php:1159
3038
  msgctxt "title"
3039
  msgid "Listings tagged: %s"
3040
  msgstr "إعلانات ذات وسم: %s"
@@ -5394,17 +5394,17 @@ msgctxt "themes"
5394
  msgid "Theme was updated sucessfully."
5395
  msgstr "تم تحديث القالب بنجاح."
5396
 
5397
- #: core/installer.php:41
5398
  msgctxt "default category name"
5399
  msgid "General"
5400
  msgstr "عام"
5401
 
5402
- #: core/installer.php:49
5403
  msgctxt "installer"
5404
  msgid "Default Fee"
5405
  msgstr "رسوم افتراضية"
5406
 
5407
- #: core/installer.php:486
5408
  msgctxt "installer"
5409
  msgid ""
5410
  "<b>Business Directory Plugin - Regions Module</b> was disabled because it is "
@@ -5414,41 +5414,41 @@ msgstr ""
5414
  "تم تعطيل <b>إضافة دليل الأعمال - وحدة المناطق</b> لأنه غير متوافق مع الإصدار "
5415
  "الحالي من الإضافة. يرجى تحديث وحدة المناطق."
5416
 
5417
- #: core/installer.php:552
5418
  msgctxt "installer"
5419
  msgid "Cleaning up listing fees information... %d/%d"
5420
  msgstr "تنظيف معلومات رسوم الإعلانات...%d/%d"
5421
 
5422
- #: core/installer.php:602
5423
  msgctxt "installer"
5424
  msgid "Migrating previous transactions to new Payments API... %d/%d"
5425
  msgstr "نقل المعاملات السابقة إلى المدفوعات الجديدة API ...%d/%d"
5426
 
5427
- #: core/installer.php:631
5428
  msgctxt "installer"
5429
  msgid "Initial listing payment (BD < 3.4)"
5430
  msgstr "دفعة الإعلان الأولية (BD < 3.4)"
5431
 
5432
- #: core/installer.php:642
5433
  msgctxt "installer"
5434
  msgid "Listing edit payment (BD < 3.4)"
5435
  msgstr "دفعة تحرير الإعلان (BD < 3.4)"
5436
 
5437
- #: core/installer.php:663
5438
  msgctxt "installer"
5439
  msgid "Renewal fee \"%s\" for category \"%s\""
5440
  msgstr "رسوم التجديد \"%s\" للتصنيف \"%s\""
5441
 
5442
- #: core/installer.php:682
5443
  msgctxt "installer"
5444
  msgid "Listing upgrade to featured"
5445
  msgstr "الترقية الى إعلان مميز"
5446
 
5447
- #: core/installer.php:941
5448
  msgid "Business Directory - Manual Upgrade Required"
5449
  msgstr "دليل الأعمال - ترقية يدوية مطلوبة"
5450
 
5451
- #: core/installer.php:943
5452
  msgid ""
5453
  "Business Directory features are currently disabled because the plugin needs "
5454
  "to perform a manual upgrade before continuing."
@@ -5456,15 +5456,15 @@ msgstr ""
5456
  "تم تعطيل ميزات دليل الأعمال حاليا بسبب أن الإضافة تحتاج إلى إجراء ترقية "
5457
  "يدوية قبل المتابعة."
5458
 
5459
- #: core/installer.php:945
5460
  msgid "Perform Manual Upgrade"
5461
  msgstr "أداء ترقية يدوية"
5462
 
5463
- #: core/installer.php:961 core/installer.php:962 core/installer.php:973
5464
  msgid "Business Directory - Manual Upgrade"
5465
  msgstr "دليل الأعمال - ترقية يدوية"
5466
 
5467
- #: core/installer.php:977
5468
  msgid ""
5469
  "Business Directory features are currently disabled because the plugin needs "
5470
  "to perform a manual upgrade before it can be used."
@@ -5472,32 +5472,47 @@ msgstr ""
5472
  "تم تعطيل ميزات دليل الأعمال حاليا بسبب أن الإضافة تحتاج إلى إجراء ترقية "
5473
  "يدوية قبل أن تصلح للاستخدام."
5474
 
5475
- #: core/installer.php:979
5476
  msgid "Click \"Start Upgrade\" and wait until the process finishes."
5477
  msgstr "إضغط على \"إبدأ الترقية\" وانتظر حتى انتهاء العملية."
5478
 
5479
- #: core/installer.php:982
5480
  msgctxt "manual-upgrade"
5481
  msgid "Start Upgrade"
5482
  msgstr "بدء الترقية"
5483
 
5484
- #: core/installer.php:984
5485
  msgctxt "manual-upgrade"
5486
  msgid "Pause Upgrade"
5487
  msgstr "توقيف الترقية"
5488
 
5489
- #: core/installer.php:990
5490
  msgctxt "manual-upgrade"
5491
  msgid ""
5492
  "The upgrade was sucessfully performed. Business Directory Plugin is now "
5493
  "available."
5494
  msgstr "تم إجراء الترقية بنجاح. إضافة دليل الأعمال متاحة الآن."
5495
 
5496
- #: core/installer.php:993
5497
  msgctxt "manual-upgrade"
5498
  msgid "Go to \"Directory Admin\""
5499
  msgstr "إنتقل إلى \"مشرف الدليل\""
5500
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5501
  #: core/licensing.php:43 core/licensing.php:65 core/licensing.php:66
5502
  msgctxt "settings"
5503
  msgid "Licenses"
@@ -6096,7 +6111,7 @@ msgctxt "contact-message"
6096
  msgid "Return to listing."
6097
  msgstr "الرجوع إلى الإعلان."
6098
 
6099
- #: core/views/main.php:7
6100
  msgctxt "templates"
6101
  msgid ""
6102
  "There are no categories assigned to the business directory yet. You need to "
@@ -6110,12 +6125,12 @@ msgstr ""
6110
  "العاديين يرون رسالة لا توجد إعلانات في الدليل. لا يمكن إضافة الإعلانات حتى "
6111
  "تقوم بتعيين تصنيفات إلى دليل الأعمال."
6112
 
6113
- #: core/views/main.php:9
6114
  msgctxt "templates"
6115
  msgid "There are currently no listings in the directory."
6116
  msgstr "لا توجد حاليا إعلانات في الدليل."
6117
 
6118
- #: core/views/main.php:23
6119
  msgctxt "templates"
6120
  msgid ""
6121
  "You have \"Hide Empty Categories\" on and some categories that don't have "
4
  msgstr ""
5
  "Project-Id-Version: Business Directory Plugin 4.0.8\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/business-directory-plugin\n"
7
+ "POT-Creation-Date: 2016-10-25 00:23:44+00:00\n"
8
  "PO-Revision-Date: 2016-09-19 12:17-0500\n"
9
  "Last-Translator: BD Team <support@businessdirectoryplugin.com>\n"
10
  "Language-Team: BD Team <support@businessdirectoryplugin.com>\n"
2244
  msgid "Please see the <a>Form Fields documentation</a> for more details."
2245
  msgstr "المرجو مراجعة <a>وثائق حقول الاستمارة</a> للحصول على مزيد من التفاصيل."
2246
 
2247
+ #. #-#-#-#-# WPBDM.pot (Business Directory Plugin 4.1.3) #-#-#-#-#
2248
  #. Plugin Name of the plugin/theme
2249
  #: admin/templates/header.tpl.php:4
2250
  msgid "Business Directory Plugin"
3009
  msgid "Allow Tracking"
3010
  msgstr "السماح بالتتبع"
3011
 
3012
+ #: business-directory-plugin.php:667
3013
  msgctxt "admin plugins"
3014
  msgid "Settings"
3015
  msgstr "الإعدادات"
3016
 
3017
+ #: business-directory-plugin.php:775 business-directory-plugin.php:782
3018
  msgctxt "rss feed"
3019
  msgid "%s Feed"
3020
  msgstr "تغذية %s"
3021
 
3022
+ #: business-directory-plugin.php:1117
3023
  msgctxt "title"
3024
  msgid "Submit A Listing"
3025
  msgstr "إضافة إعلان"
3026
 
3027
+ #: business-directory-plugin.php:1122
3028
  msgctxt "title"
3029
  msgid "Find a Listing"
3030
  msgstr "العثور على إعلان"
3031
 
3032
+ #: business-directory-plugin.php:1127
3033
  msgctxt "title"
3034
  msgid "View All Listings"
3035
  msgstr "عرض جميع الإعلانات"
3036
 
3037
+ #: business-directory-plugin.php:1156
3038
  msgctxt "title"
3039
  msgid "Listings tagged: %s"
3040
  msgstr "إعلانات ذات وسم: %s"
5394
  msgid "Theme was updated sucessfully."
5395
  msgstr "تم تحديث القالب بنجاح."
5396
 
5397
+ #: core/installer.php:43
5398
  msgctxt "default category name"
5399
  msgid "General"
5400
  msgstr "عام"
5401
 
5402
+ #: core/installer.php:51
5403
  msgctxt "installer"
5404
  msgid "Default Fee"
5405
  msgstr "رسوم افتراضية"
5406
 
5407
+ #: core/installer.php:502
5408
  msgctxt "installer"
5409
  msgid ""
5410
  "<b>Business Directory Plugin - Regions Module</b> was disabled because it is "
5414
  "تم تعطيل <b>إضافة دليل الأعمال - وحدة المناطق</b> لأنه غير متوافق مع الإصدار "
5415
  "الحالي من الإضافة. يرجى تحديث وحدة المناطق."
5416
 
5417
+ #: core/installer.php:568
5418
  msgctxt "installer"
5419
  msgid "Cleaning up listing fees information... %d/%d"
5420
  msgstr "تنظيف معلومات رسوم الإعلانات...%d/%d"
5421
 
5422
+ #: core/installer.php:618
5423
  msgctxt "installer"
5424
  msgid "Migrating previous transactions to new Payments API... %d/%d"
5425
  msgstr "نقل المعاملات السابقة إلى المدفوعات الجديدة API ...%d/%d"
5426
 
5427
+ #: core/installer.php:647
5428
  msgctxt "installer"
5429
  msgid "Initial listing payment (BD < 3.4)"
5430
  msgstr "دفعة الإعلان الأولية (BD < 3.4)"
5431
 
5432
+ #: core/installer.php:658
5433
  msgctxt "installer"
5434
  msgid "Listing edit payment (BD < 3.4)"
5435
  msgstr "دفعة تحرير الإعلان (BD < 3.4)"
5436
 
5437
+ #: core/installer.php:679
5438
  msgctxt "installer"
5439
  msgid "Renewal fee \"%s\" for category \"%s\""
5440
  msgstr "رسوم التجديد \"%s\" للتصنيف \"%s\""
5441
 
5442
+ #: core/installer.php:698
5443
  msgctxt "installer"
5444
  msgid "Listing upgrade to featured"
5445
  msgstr "الترقية الى إعلان مميز"
5446
 
5447
+ #: core/installer.php:957
5448
  msgid "Business Directory - Manual Upgrade Required"
5449
  msgstr "دليل الأعمال - ترقية يدوية مطلوبة"
5450
 
5451
+ #: core/installer.php:959
5452
  msgid ""
5453
  "Business Directory features are currently disabled because the plugin needs "
5454
  "to perform a manual upgrade before continuing."
5456
  "تم تعطيل ميزات دليل الأعمال حاليا بسبب أن الإضافة تحتاج إلى إجراء ترقية "
5457
  "يدوية قبل المتابعة."
5458
 
5459
+ #: core/installer.php:961
5460
  msgid "Perform Manual Upgrade"
5461
  msgstr "أداء ترقية يدوية"
5462
 
5463
+ #: core/installer.php:977 core/installer.php:978 core/installer.php:989
5464
  msgid "Business Directory - Manual Upgrade"
5465
  msgstr "دليل الأعمال - ترقية يدوية"
5466
 
5467
+ #: core/installer.php:993
5468
  msgid ""
5469
  "Business Directory features are currently disabled because the plugin needs "
5470
  "to perform a manual upgrade before it can be used."
5472
  "تم تعطيل ميزات دليل الأعمال حاليا بسبب أن الإضافة تحتاج إلى إجراء ترقية "
5473
  "يدوية قبل أن تصلح للاستخدام."
5474
 
5475
+ #: core/installer.php:995
5476
  msgid "Click \"Start Upgrade\" and wait until the process finishes."
5477
  msgstr "إضغط على \"إبدأ الترقية\" وانتظر حتى انتهاء العملية."
5478
 
5479
+ #: core/installer.php:998
5480
  msgctxt "manual-upgrade"
5481
  msgid "Start Upgrade"
5482
  msgstr "بدء الترقية"
5483
 
5484
+ #: core/installer.php:1000
5485
  msgctxt "manual-upgrade"
5486
  msgid "Pause Upgrade"
5487
  msgstr "توقيف الترقية"
5488
 
5489
+ #: core/installer.php:1006
5490
  msgctxt "manual-upgrade"
5491
  msgid ""
5492
  "The upgrade was sucessfully performed. Business Directory Plugin is now "
5493
  "available."
5494
  msgstr "تم إجراء الترقية بنجاح. إضافة دليل الأعمال متاحة الآن."
5495
 
5496
+ #: core/installer.php:1009
5497
  msgctxt "manual-upgrade"
5498
  msgid "Go to \"Directory Admin\""
5499
  msgstr "إنتقل إلى \"مشرف الدليل\""
5500
 
5501
+ #: core/installer.php:1044
5502
+ #, fuzzy
5503
+ msgid "Business Directory - Installation Failed"
5504
+ msgstr "دليل الأعمال - ترقية يدوية"
5505
+
5506
+ #: core/installer.php:1046
5507
+ msgid ""
5508
+ "Business Directory installation failed. An exception with following message "
5509
+ "was generated:"
5510
+ msgstr ""
5511
+
5512
+ #: core/installer.php:1051
5513
+ msgid "Please <contact-link>contact customer support</a>."
5514
+ msgstr ""
5515
+
5516
  #: core/licensing.php:43 core/licensing.php:65 core/licensing.php:66
5517
  msgctxt "settings"
5518
  msgid "Licenses"
6111
  msgid "Return to listing."
6112
  msgstr "الرجوع إلى الإعلان."
6113
 
6114
+ #: core/views/main.php:9
6115
  msgctxt "templates"
6116
  msgid ""
6117
  "There are no categories assigned to the business directory yet. You need to "
6125
  "العاديين يرون رسالة لا توجد إعلانات في الدليل. لا يمكن إضافة الإعلانات حتى "
6126
  "تقوم بتعيين تصنيفات إلى دليل الأعمال."
6127
 
6128
+ #: core/views/main.php:11
6129
  msgctxt "templates"
6130
  msgid "There are currently no listings in the directory."
6131
  msgstr "لا توجد حاليا إعلانات في الدليل."
6132
 
6133
+ #: core/views/main.php:25
6134
  msgctxt "templates"
6135
  msgid ""
6136
  "You have \"Hide Empty Categories\" on and some categories that don't have "
languages/WPBDM-de_DE.mo CHANGED
Binary file
languages/WPBDM-de_DE.po CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Business Directory Plugin 3.5.4\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/business-directory-plugin\n"
7
- "POT-Creation-Date: 2016-09-20 02:40:34+00:00\n"
8
  "PO-Revision-Date: 2016-01-21 08:45-0500\n"
9
  "Last-Translator: BD Team <support@businessdirectoryplugin.com>\n"
10
  "Language-Team: Business Directory Plugin <support@businessdirectoryplugin."
@@ -2232,7 +2232,7 @@ msgctxt "form-fields admin"
2232
  msgid "Please see the <a>Form Fields documentation</a> for more details."
2233
  msgstr ""
2234
 
2235
- #. #-#-#-#-# WPBDM.pot (Business Directory Plugin 4.1.2) #-#-#-#-#
2236
  #. Plugin Name of the plugin/theme
2237
  #: admin/templates/header.tpl.php:4
2238
  msgid "Business Directory Plugin"
@@ -3023,32 +3023,32 @@ msgctxt "tracking"
3023
  msgid "Allow Tracking"
3024
  msgstr "Verfolgung erlauben"
3025
 
3026
- #: business-directory-plugin.php:666
3027
  msgctxt "admin plugins"
3028
  msgid "Settings"
3029
  msgstr "Einstellungen"
3030
 
3031
- #: business-directory-plugin.php:774 business-directory-plugin.php:781
3032
  msgctxt "rss feed"
3033
  msgid "%s Feed"
3034
  msgstr "% Feed"
3035
 
3036
- #: business-directory-plugin.php:1119
3037
  msgctxt "title"
3038
  msgid "Submit A Listing"
3039
  msgstr "Eintrag zusenden"
3040
 
3041
- #: business-directory-plugin.php:1129
3042
  msgctxt "title"
3043
  msgid "Find a Listing"
3044
  msgstr "Eintrag finden"
3045
 
3046
- #: business-directory-plugin.php:1139
3047
  msgctxt "title"
3048
  msgid "View All Listings"
3049
  msgstr "Alle Einträge anschauen"
3050
 
3051
- #: business-directory-plugin.php:1159
3052
  msgctxt "title"
3053
  msgid "Listings tagged: %s"
3054
  msgstr "Einträge getaggt: %s"
@@ -5457,18 +5457,18 @@ msgctxt "themes"
5457
  msgid "Theme was updated sucessfully."
5458
  msgstr "Der Import wurde erfolgreich abgeschlossen."
5459
 
5460
- #: core/installer.php:41
5461
  msgctxt "default category name"
5462
  msgid "General"
5463
  msgstr "Allgemein"
5464
 
5465
- #: core/installer.php:49
5466
  #, fuzzy
5467
  msgctxt "installer"
5468
  msgid "Default Fee"
5469
  msgstr "Preis löschen"
5470
 
5471
- #: core/installer.php:486
5472
  msgctxt "installer"
5473
  msgid ""
5474
  "<b>Business Directory Plugin - Regions Module</b> was disabled because it is "
@@ -5479,41 +5479,41 @@ msgstr ""
5479
  "inkompatibel mit der aktuellen Version des Branchenverzeichnisses ist. Bitte "
5480
  "aktualisiere das Regionenmodul. "
5481
 
5482
- #: core/installer.php:552
5483
  msgctxt "installer"
5484
  msgid "Cleaning up listing fees information... %d/%d"
5485
  msgstr "Eintragpreisinformation säubern... %d/%d"
5486
 
5487
- #: core/installer.php:602
5488
  msgctxt "installer"
5489
  msgid "Migrating previous transactions to new Payments API... %d/%d"
5490
  msgstr "Migriere vergangene Transaktionen zur neuen Bezahl API... %d/%d"
5491
 
5492
- #: core/installer.php:631
5493
  msgctxt "installer"
5494
  msgid "Initial listing payment (BD < 3.4)"
5495
  msgstr "Initialbezahlung Eintrag (BD < 3.4)"
5496
 
5497
- #: core/installer.php:642
5498
  msgctxt "installer"
5499
  msgid "Listing edit payment (BD < 3.4)"
5500
  msgstr "Bezahlung Eintrag bearbeiten (BD < 3.4)"
5501
 
5502
- #: core/installer.php:663
5503
  msgctxt "installer"
5504
  msgid "Renewal fee \"%s\" for category \"%s\""
5505
  msgstr "Erneuere Preis \"%s\" für Kategorie \"%s\""
5506
 
5507
- #: core/installer.php:682
5508
  msgctxt "installer"
5509
  msgid "Listing upgrade to featured"
5510
  msgstr "Eintrag aktualisieren auf Hervorhebung"
5511
 
5512
- #: core/installer.php:941
5513
  msgid "Business Directory - Manual Upgrade Required"
5514
  msgstr "Branchenverzeichnis - Manuelle Aktualisierung erforderlich"
5515
 
5516
- #: core/installer.php:943
5517
  msgid ""
5518
  "Business Directory features are currently disabled because the plugin needs "
5519
  "to perform a manual upgrade before continuing."
@@ -5521,15 +5521,15 @@ msgstr ""
5521
  "Branchenverzeichnis Hervorhebungen sind aktuell deaktiviert, weil das Modul "
5522
  "manuell aktualisiert werden muss, bevor weiter hervorgehoben werden kann."
5523
 
5524
- #: core/installer.php:945
5525
  msgid "Perform Manual Upgrade"
5526
  msgstr "Manuelle Aktualisierung durchführen"
5527
 
5528
- #: core/installer.php:961 core/installer.php:962 core/installer.php:973
5529
  msgid "Business Directory - Manual Upgrade"
5530
  msgstr "Branchenverzeichnis - Manuelle Aktualisierung"
5531
 
5532
- #: core/installer.php:977
5533
  msgid ""
5534
  "Business Directory features are currently disabled because the plugin needs "
5535
  "to perform a manual upgrade before it can be used."
@@ -5537,22 +5537,22 @@ msgstr ""
5537
  "Branchenverzeichnis Hervorhebungen sind momentan deaktiviert weil das Modul "
5538
  "manuell aktualisiert werden muss, bevor es weiter verwendet werden kann."
5539
 
5540
- #: core/installer.php:979
5541
  msgid "Click \"Start Upgrade\" and wait until the process finishes."
5542
  msgstr ""
5543
  "Klicke \"Starte Aktualisierung\" und warte bis der Vorgang beendet wurde."
5544
 
5545
- #: core/installer.php:982
5546
  msgctxt "manual-upgrade"
5547
  msgid "Start Upgrade"
5548
  msgstr "Starte Aktualisierung"
5549
 
5550
- #: core/installer.php:984
5551
  msgctxt "manual-upgrade"
5552
  msgid "Pause Upgrade"
5553
  msgstr "Aktualisierung pausieren"
5554
 
5555
- #: core/installer.php:990
5556
  msgctxt "manual-upgrade"
5557
  msgid ""
5558
  "The upgrade was sucessfully performed. Business Directory Plugin is now "
@@ -5561,11 +5561,26 @@ msgstr ""
5561
  "Die Aktualisierung wurde erfolgreich durchgeführt. Branchenverzeichnis "
5562
  "Erweiterung ist nun verfügbar."
5563
 
5564
- #: core/installer.php:993
5565
  msgctxt "manual-upgrade"
5566
  msgid "Go to \"Directory Admin\""
5567
  msgstr "Nach \" Verzeichnis Administration\""
5568
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5569
  #: core/licensing.php:43 core/licensing.php:65 core/licensing.php:66
5570
  msgctxt "settings"
5571
  msgid "Licenses"
@@ -6179,7 +6194,7 @@ msgctxt "contact-message"
6179
  msgid "Return to listing."
6180
  msgstr "Zurück zum Eintrag."
6181
 
6182
- #: core/views/main.php:7
6183
  msgctxt "templates"
6184
  msgid ""
6185
  "There are no categories assigned to the business directory yet. You need to "
@@ -6194,12 +6209,12 @@ msgstr ""
6194
  "nicht erstellt werden kann. Einträge können nicht erstellt werden bis ein "
6195
  "Kategorie zugewiesen wurde."
6196
 
6197
- #: core/views/main.php:9
6198
  msgctxt "templates"
6199
  msgid "There are currently no listings in the directory."
6200
  msgstr "Keine Einträge im Verzeichnis vorhanden. "
6201
 
6202
- #: core/views/main.php:23
6203
  msgctxt "templates"
6204
  msgid ""
6205
  "You have \"Hide Empty Categories\" on and some categories that don't have "
4
  msgstr ""
5
  "Project-Id-Version: Business Directory Plugin 3.5.4\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/business-directory-plugin\n"
7
+ "POT-Creation-Date: 2016-10-25 00:23:44+00:00\n"
8
  "PO-Revision-Date: 2016-01-21 08:45-0500\n"
9
  "Last-Translator: BD Team <support@businessdirectoryplugin.com>\n"
10
  "Language-Team: Business Directory Plugin <support@businessdirectoryplugin."
2232
  msgid "Please see the <a>Form Fields documentation</a> for more details."
2233
  msgstr ""
2234
 
2235
+ #. #-#-#-#-# WPBDM.pot (Business Directory Plugin 4.1.3) #-#-#-#-#
2236
  #. Plugin Name of the plugin/theme
2237
  #: admin/templates/header.tpl.php:4
2238
  msgid "Business Directory Plugin"
3023
  msgid "Allow Tracking"
3024
  msgstr "Verfolgung erlauben"
3025
 
3026
+ #: business-directory-plugin.php:667
3027
  msgctxt "admin plugins"
3028
  msgid "Settings"
3029
  msgstr "Einstellungen"
3030
 
3031
+ #: business-directory-plugin.php:775 business-directory-plugin.php:782
3032
  msgctxt "rss feed"
3033
  msgid "%s Feed"
3034
  msgstr "% Feed"
3035
 
3036
+ #: business-directory-plugin.php:1117
3037
  msgctxt "title"
3038
  msgid "Submit A Listing"
3039
  msgstr "Eintrag zusenden"
3040
 
3041
+ #: business-directory-plugin.php:1122
3042
  msgctxt "title"
3043
  msgid "Find a Listing"
3044
  msgstr "Eintrag finden"
3045
 
3046
+ #: business-directory-plugin.php:1127
3047
  msgctxt "title"
3048
  msgid "View All Listings"
3049
  msgstr "Alle Einträge anschauen"
3050
 
3051
+ #: business-directory-plugin.php:1156
3052
  msgctxt "title"
3053
  msgid "Listings tagged: %s"
3054
  msgstr "Einträge getaggt: %s"
5457
  msgid "Theme was updated sucessfully."
5458
  msgstr "Der Import wurde erfolgreich abgeschlossen."
5459
 
5460
+ #: core/installer.php:43
5461
  msgctxt "default category name"
5462
  msgid "General"
5463
  msgstr "Allgemein"
5464
 
5465
+ #: core/installer.php:51
5466
  #, fuzzy
5467
  msgctxt "installer"
5468
  msgid "Default Fee"
5469
  msgstr "Preis löschen"
5470
 
5471
+ #: core/installer.php:502
5472
  msgctxt "installer"
5473
  msgid ""
5474
  "<b>Business Directory Plugin - Regions Module</b> was disabled because it is "
5479
  "inkompatibel mit der aktuellen Version des Branchenverzeichnisses ist. Bitte "
5480
  "aktualisiere das Regionenmodul. "
5481
 
5482
+ #: core/installer.php:568
5483
  msgctxt "installer"
5484
  msgid "Cleaning up listing fees information... %d/%d"
5485
  msgstr "Eintragpreisinformation säubern... %d/%d"
5486
 
5487
+ #: core/installer.php:618
5488
  msgctxt "installer"
5489
  msgid "Migrating previous transactions to new Payments API... %d/%d"
5490
  msgstr "Migriere vergangene Transaktionen zur neuen Bezahl API... %d/%d"
5491
 
5492
+ #: core/installer.php:647
5493
  msgctxt "installer"
5494
  msgid "Initial listing payment (BD < 3.4)"
5495
  msgstr "Initialbezahlung Eintrag (BD < 3.4)"
5496
 
5497
+ #: core/installer.php:658
5498
  msgctxt "installer"
5499
  msgid "Listing edit payment (BD < 3.4)"
5500
  msgstr "Bezahlung Eintrag bearbeiten (BD < 3.4)"
5501
 
5502
+ #: core/installer.php:679
5503
  msgctxt "installer"
5504
  msgid "Renewal fee \"%s\" for category \"%s\""
5505
  msgstr "Erneuere Preis \"%s\" für Kategorie \"%s\""
5506
 
5507
+ #: core/installer.php:698
5508
  msgctxt "installer"
5509
  msgid "Listing upgrade to featured"
5510
  msgstr "Eintrag aktualisieren auf Hervorhebung"
5511
 
5512
+ #: core/installer.php:957
5513
  msgid "Business Directory - Manual Upgrade Required"
5514
  msgstr "Branchenverzeichnis - Manuelle Aktualisierung erforderlich"
5515
 
5516
+ #: core/installer.php:959
5517
  msgid ""
5518
  "Business Directory features are currently disabled because the plugin needs "
5519
  "to perform a manual upgrade before continuing."
5521
  "Branchenverzeichnis Hervorhebungen sind aktuell deaktiviert, weil das Modul "
5522
  "manuell aktualisiert werden muss, bevor weiter hervorgehoben werden kann."
5523
 
5524
+ #: core/installer.php:961
5525
  msgid "Perform Manual Upgrade"
5526
  msgstr "Manuelle Aktualisierung durchführen"
5527
 
5528
+ #: core/installer.php:977 core/installer.php:978 core/installer.php:989
5529
  msgid "Business Directory - Manual Upgrade"
5530
  msgstr "Branchenverzeichnis - Manuelle Aktualisierung"
5531
 
5532
+ #: core/installer.php:993
5533
  msgid ""
5534
  "Business Directory features are currently disabled because the plugin needs "
5535
  "to perform a manual upgrade before it can be used."
5537
  "Branchenverzeichnis Hervorhebungen sind momentan deaktiviert weil das Modul "
5538
  "manuell aktualisiert werden muss, bevor es weiter verwendet werden kann."
5539
 
5540
+ #: core/installer.php:995
5541
  msgid "Click \"Start Upgrade\" and wait until the process finishes."
5542
  msgstr ""
5543
  "Klicke \"Starte Aktualisierung\" und warte bis der Vorgang beendet wurde."
5544
 
5545
+ #: core/installer.php:998
5546
  msgctxt "manual-upgrade"
5547
  msgid "Start Upgrade"
5548
  msgstr "Starte Aktualisierung"
5549
 
5550
+ #: core/installer.php:1000
5551
  msgctxt "manual-upgrade"
5552
  msgid "Pause Upgrade"
5553
  msgstr "Aktualisierung pausieren"
5554
 
5555
+ #: core/installer.php:1006
5556
  msgctxt "manual-upgrade"
5557
  msgid ""
5558
  "The upgrade was sucessfully performed. Business Directory Plugin is now "
5561
  "Die Aktualisierung wurde erfolgreich durchgeführt. Branchenverzeichnis "
5562
  "Erweiterung ist nun verfügbar."
5563
 
5564
+ #: core/installer.php:1009
5565
  msgctxt "manual-upgrade"
5566
  msgid "Go to \"Directory Admin\""
5567
  msgstr "Nach \" Verzeichnis Administration\""
5568
 
5569
+ #: core/installer.php:1044
5570
+ #, fuzzy
5571
+ msgid "Business Directory - Installation Failed"
5572
+ msgstr "Branchenverzeichnis - Manuelle Aktualisierung"
5573
+
5574
+ #: core/installer.php:1046
5575
+ msgid ""
5576
+ "Business Directory installation failed. An exception with following message "
5577
+ "was generated:"
5578
+ msgstr ""
5579
+
5580
+ #: core/installer.php:1051
5581
+ msgid "Please <contact-link>contact customer support</a>."
5582
+ msgstr ""
5583
+
5584
  #: core/licensing.php:43 core/licensing.php:65 core/licensing.php:66
5585
  msgctxt "settings"
5586
  msgid "Licenses"
6194
  msgid "Return to listing."
6195
  msgstr "Zurück zum Eintrag."
6196
 
6197
+ #: core/views/main.php:9
6198
  msgctxt "templates"
6199
  msgid ""
6200
  "There are no categories assigned to the business directory yet. You need to "
6209
  "nicht erstellt werden kann. Einträge können nicht erstellt werden bis ein "
6210
  "Kategorie zugewiesen wurde."
6211
 
6212
+ #: core/views/main.php:11
6213
  msgctxt "templates"
6214
  msgid "There are currently no listings in the directory."
6215
  msgstr "Keine Einträge im Verzeichnis vorhanden. "
6216
 
6217
+ #: core/views/main.php:25
6218
  msgctxt "templates"
6219
  msgid ""
6220
  "You have \"Hide Empty Categories\" on and some categories that don't have "
languages/WPBDM-en_US.mo CHANGED
Binary file
languages/WPBDM-en_US.po CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Business Directory Plugin 3.6\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/business-directory-plugin\n"
7
- "POT-Creation-Date: 2016-09-20 02:40:34+00:00\n"
8
  "PO-Revision-Date: 2015-04-07 11:11-0500\n"
9
  "Last-Translator: BD Team <support@businessdirectoryplugin.com>\n"
10
  "Language-Team: BD Team <support@businessdirectoryplugin.com>\n"
@@ -2092,7 +2092,7 @@ msgctxt "form-fields admin"
2092
  msgid "Please see the <a>Form Fields documentation</a> for more details."
2093
  msgstr ""
2094
 
2095
- #. #-#-#-#-# WPBDM.pot (Business Directory Plugin 4.1.2) #-#-#-#-#
2096
  #. Plugin Name of the plugin/theme
2097
  #: admin/templates/header.tpl.php:4
2098
  msgid "Business Directory Plugin"
@@ -2828,32 +2828,32 @@ msgctxt "tracking"
2828
  msgid "Allow Tracking"
2829
  msgstr ""
2830
 
2831
- #: business-directory-plugin.php:666
2832
  msgctxt "admin plugins"
2833
  msgid "Settings"
2834
  msgstr ""
2835
 
2836
- #: business-directory-plugin.php:774 business-directory-plugin.php:781
2837
  msgctxt "rss feed"
2838
  msgid "%s Feed"
2839
  msgstr ""
2840
 
2841
- #: business-directory-plugin.php:1119
2842
  msgctxt "title"
2843
  msgid "Submit A Listing"
2844
  msgstr ""
2845
 
2846
- #: business-directory-plugin.php:1129
2847
  msgctxt "title"
2848
  msgid "Find a Listing"
2849
  msgstr ""
2850
 
2851
- #: business-directory-plugin.php:1139
2852
  msgctxt "title"
2853
  msgid "View All Listings"
2854
  msgstr ""
2855
 
2856
- #: business-directory-plugin.php:1159
2857
  msgctxt "title"
2858
  msgid "Listings tagged: %s"
2859
  msgstr ""
@@ -5108,17 +5108,17 @@ msgctxt "themes"
5108
  msgid "Theme was updated sucessfully."
5109
  msgstr ""
5110
 
5111
- #: core/installer.php:41
5112
  msgctxt "default category name"
5113
  msgid "General"
5114
  msgstr ""
5115
 
5116
- #: core/installer.php:49
5117
  msgctxt "installer"
5118
  msgid "Default Fee"
5119
  msgstr ""
5120
 
5121
- #: core/installer.php:486
5122
  msgctxt "installer"
5123
  msgid ""
5124
  "<b>Business Directory Plugin - Regions Module</b> was disabled because it is "
@@ -5126,86 +5126,100 @@ msgid ""
5126
  "the Regions module."
5127
  msgstr ""
5128
 
5129
- #: core/installer.php:552
5130
  msgctxt "installer"
5131
  msgid "Cleaning up listing fees information... %d/%d"
5132
  msgstr ""
5133
 
5134
- #: core/installer.php:602
5135
  msgctxt "installer"
5136
  msgid "Migrating previous transactions to new Payments API... %d/%d"
5137
  msgstr ""
5138
 
5139
- #: core/installer.php:631
5140
  msgctxt "installer"
5141
  msgid "Initial listing payment (BD < 3.4)"
5142
  msgstr ""
5143
 
5144
- #: core/installer.php:642
5145
  msgctxt "installer"
5146
  msgid "Listing edit payment (BD < 3.4)"
5147
  msgstr ""
5148
 
5149
- #: core/installer.php:663
5150
  msgctxt "installer"
5151
  msgid "Renewal fee \"%s\" for category \"%s\""
5152
  msgstr ""
5153
 
5154
- #: core/installer.php:682
5155
  msgctxt "installer"
5156
  msgid "Listing upgrade to featured"
5157
  msgstr ""
5158
 
5159
- #: core/installer.php:941
5160
  msgid "Business Directory - Manual Upgrade Required"
5161
  msgstr ""
5162
 
5163
- #: core/installer.php:943
5164
  msgid ""
5165
  "Business Directory features are currently disabled because the plugin needs "
5166
  "to perform a manual upgrade before continuing."
5167
  msgstr ""
5168
 
5169
- #: core/installer.php:945
5170
  msgid "Perform Manual Upgrade"
5171
  msgstr ""
5172
 
5173
- #: core/installer.php:961 core/installer.php:962 core/installer.php:973
5174
  msgid "Business Directory - Manual Upgrade"
5175
  msgstr ""
5176
 
5177
- #: core/installer.php:977
5178
  msgid ""
5179
  "Business Directory features are currently disabled because the plugin needs "
5180
  "to perform a manual upgrade before it can be used."
5181
  msgstr ""
5182
 
5183
- #: core/installer.php:979
5184
  msgid "Click \"Start Upgrade\" and wait until the process finishes."
5185
  msgstr ""
5186
 
5187
- #: core/installer.php:982
5188
  msgctxt "manual-upgrade"
5189
  msgid "Start Upgrade"
5190
  msgstr ""
5191
 
5192
- #: core/installer.php:984
5193
  msgctxt "manual-upgrade"
5194
  msgid "Pause Upgrade"
5195
  msgstr ""
5196
 
5197
- #: core/installer.php:990
5198
  msgctxt "manual-upgrade"
5199
  msgid ""
5200
  "The upgrade was sucessfully performed. Business Directory Plugin is now "
5201
  "available."
5202
  msgstr ""
5203
 
5204
- #: core/installer.php:993
5205
  msgctxt "manual-upgrade"
5206
  msgid "Go to \"Directory Admin\""
5207
  msgstr ""
5208
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5209
  #: core/licensing.php:43 core/licensing.php:65 core/licensing.php:66
5210
  msgctxt "settings"
5211
  msgid "Licenses"
@@ -5757,7 +5771,7 @@ msgctxt "contact-message"
5757
  msgid "Return to listing."
5758
  msgstr ""
5759
 
5760
- #: core/views/main.php:7
5761
  msgctxt "templates"
5762
  msgid ""
5763
  "There are no categories assigned to the business directory yet. You need to "
@@ -5767,12 +5781,12 @@ msgid ""
5767
  "categories to the business directory."
5768
  msgstr ""
5769
 
5770
- #: core/views/main.php:9
5771
  msgctxt "templates"
5772
  msgid "There are currently no listings in the directory."
5773
  msgstr ""
5774
 
5775
- #: core/views/main.php:23
5776
  msgctxt "templates"
5777
  msgid ""
5778
  "You have \"Hide Empty Categories\" on and some categories that don't have "
4
  msgstr ""
5
  "Project-Id-Version: Business Directory Plugin 3.6\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/business-directory-plugin\n"
7
+ "POT-Creation-Date: 2016-10-25 00:23:44+00:00\n"
8
  "PO-Revision-Date: 2015-04-07 11:11-0500\n"
9
  "Last-Translator: BD Team <support@businessdirectoryplugin.com>\n"
10
  "Language-Team: BD Team <support@businessdirectoryplugin.com>\n"
2092
  msgid "Please see the <a>Form Fields documentation</a> for more details."
2093
  msgstr ""
2094
 
2095
+ #. #-#-#-#-# WPBDM.pot (Business Directory Plugin 4.1.3) #-#-#-#-#
2096
  #. Plugin Name of the plugin/theme
2097
  #: admin/templates/header.tpl.php:4
2098
  msgid "Business Directory Plugin"
2828
  msgid "Allow Tracking"
2829
  msgstr ""
2830
 
2831
+ #: business-directory-plugin.php:667
2832
  msgctxt "admin plugins"
2833
  msgid "Settings"
2834
  msgstr ""
2835
 
2836
+ #: business-directory-plugin.php:775 business-directory-plugin.php:782
2837
  msgctxt "rss feed"
2838
  msgid "%s Feed"
2839
  msgstr ""
2840
 
2841
+ #: business-directory-plugin.php:1117
2842
  msgctxt "title"
2843
  msgid "Submit A Listing"
2844
  msgstr ""
2845
 
2846
+ #: business-directory-plugin.php:1122
2847
  msgctxt "title"
2848
  msgid "Find a Listing"
2849
  msgstr ""
2850
 
2851
+ #: business-directory-plugin.php:1127
2852
  msgctxt "title"
2853
  msgid "View All Listings"
2854
  msgstr ""
2855
 
2856
+ #: business-directory-plugin.php:1156
2857
  msgctxt "title"
2858
  msgid "Listings tagged: %s"
2859
  msgstr ""
5108
  msgid "Theme was updated sucessfully."
5109
  msgstr ""
5110
 
5111
+ #: core/installer.php:43
5112
  msgctxt "default category name"
5113
  msgid "General"
5114
  msgstr ""
5115
 
5116
+ #: core/installer.php:51
5117
  msgctxt "installer"
5118
  msgid "Default Fee"
5119
  msgstr ""
5120
 
5121
+ #: core/installer.php:502
5122
  msgctxt "installer"
5123
  msgid ""
5124
  "<b>Business Directory Plugin - Regions Module</b> was disabled because it is "
5126
  "the Regions module."
5127
  msgstr ""
5128
 
5129
+ #: core/installer.php:568
5130
  msgctxt "installer"
5131
  msgid "Cleaning up listing fees information... %d/%d"
5132
  msgstr ""
5133
 
5134
+ #: core/installer.php:618
5135
  msgctxt "installer"
5136
  msgid "Migrating previous transactions to new Payments API... %d/%d"
5137
  msgstr ""
5138
 
5139
+ #: core/installer.php:647
5140
  msgctxt "installer"
5141
  msgid "Initial listing payment (BD < 3.4)"
5142
  msgstr ""
5143
 
5144
+ #: core/installer.php:658
5145
  msgctxt "installer"
5146
  msgid "Listing edit payment (BD < 3.4)"
5147
  msgstr ""
5148
 
5149
+ #: core/installer.php:679
5150
  msgctxt "installer"
5151
  msgid "Renewal fee \"%s\" for category \"%s\""
5152
  msgstr ""
5153
 
5154
+ #: core/installer.php:698
5155
  msgctxt "installer"
5156
  msgid "Listing upgrade to featured"
5157
  msgstr ""
5158
 
5159
+ #: core/installer.php:957
5160
  msgid "Business Directory - Manual Upgrade Required"
5161
  msgstr ""
5162
 
5163
+ #: core/installer.php:959
5164
  msgid ""
5165
  "Business Directory features are currently disabled because the plugin needs "
5166
  "to perform a manual upgrade before continuing."
5167
  msgstr ""
5168
 
5169
+ #: core/installer.php:961
5170
  msgid "Perform Manual Upgrade"
5171
  msgstr ""
5172
 
5173
+ #: core/installer.php:977 core/installer.php:978 core/installer.php:989
5174
  msgid "Business Directory - Manual Upgrade"
5175
  msgstr ""
5176
 
5177
+ #: core/installer.php:993
5178
  msgid ""
5179
  "Business Directory features are currently disabled because the plugin needs "
5180
  "to perform a manual upgrade before it can be used."
5181
  msgstr ""
5182
 
5183
+ #: core/installer.php:995
5184
  msgid "Click \"Start Upgrade\" and wait until the process finishes."
5185
  msgstr ""
5186
 
5187
+ #: core/installer.php:998
5188
  msgctxt "manual-upgrade"
5189
  msgid "Start Upgrade"
5190
  msgstr ""
5191
 
5192
+ #: core/installer.php:1000
5193
  msgctxt "manual-upgrade"
5194
  msgid "Pause Upgrade"
5195
  msgstr ""
5196
 
5197
+ #: core/installer.php:1006
5198
  msgctxt "manual-upgrade"
5199
  msgid ""
5200
  "The upgrade was sucessfully performed. Business Directory Plugin is now "
5201
  "available."
5202
  msgstr ""
5203
 
5204
+ #: core/installer.php:1009
5205
  msgctxt "manual-upgrade"
5206
  msgid "Go to \"Directory Admin\""
5207
  msgstr ""
5208
 
5209
+ #: core/installer.php:1044
5210
+ msgid "Business Directory - Installation Failed"
5211
+ msgstr ""
5212
+
5213
+ #: core/installer.php:1046
5214
+ msgid ""
5215
+ "Business Directory installation failed. An exception with following message "
5216
+ "was generated:"
5217
+ msgstr ""
5218
+
5219
+ #: core/installer.php:1051
5220
+ msgid "Please <contact-link>contact customer support</a>."
5221
+ msgstr ""
5222
+
5223
  #: core/licensing.php:43 core/licensing.php:65 core/licensing.php:66
5224
  msgctxt "settings"
5225
  msgid "Licenses"
5771
  msgid "Return to listing."
5772
  msgstr ""
5773
 
5774
+ #: core/views/main.php:9
5775
  msgctxt "templates"
5776
  msgid ""
5777
  "There are no categories assigned to the business directory yet. You need to "
5781
  "categories to the business directory."
5782
  msgstr ""
5783
 
5784
+ #: core/views/main.php:11
5785
  msgctxt "templates"
5786
  msgid "There are currently no listings in the directory."
5787
  msgstr ""
5788
 
5789
+ #: core/views/main.php:25
5790
  msgctxt "templates"
5791
  msgid ""
5792
  "You have \"Hide Empty Categories\" on and some categories that don't have "
languages/WPBDM-es_ES.mo CHANGED
Binary file
languages/WPBDM-es_ES.po CHANGED
@@ -4,8 +4,8 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Business Directory Plugin 4.0.6\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/business-directory-plugin\n"
7
- "POT-Creation-Date: 2016-09-20 02:40:34+00:00\n"
8
- "PO-Revision-Date: 2016-09-19 12:18-0500\n"
9
  "Last-Translator: BD Team <support@businessdirectoryplugin.com>\n"
10
  "Language-Team: BD Team <support@businessdirectoryplugin.com>\n"
11
  "Language: es_ES\n"
@@ -2243,7 +2243,6 @@ msgstr ""
2243
  "Por favor vea la <a>documentación de Campos de Formulario</a> para más "
2244
  "detalles."
2245
 
2246
- #. #-#-#-#-# WPBDM.pot (Business Directory Plugin 4.1.2) #-#-#-#-#
2247
  #. Plugin Name of the plugin/theme
2248
  #: admin/templates/header.tpl.php:4
2249
  msgid "Business Directory Plugin"
@@ -3012,32 +3011,32 @@ msgctxt "tracking"
3012
  msgid "Allow Tracking"
3013
  msgstr "Permitir Seguimiento"
3014
 
3015
- #: business-directory-plugin.php:666
3016
  msgctxt "admin plugins"
3017
  msgid "Settings"
3018
  msgstr "Configuración"
3019
 
3020
- #: business-directory-plugin.php:774 business-directory-plugin.php:781
3021
  msgctxt "rss feed"
3022
  msgid "%s Feed"
3023
  msgstr "Feed %s"
3024
 
3025
- #: business-directory-plugin.php:1119
3026
  msgctxt "title"
3027
  msgid "Submit A Listing"
3028
  msgstr "Enviar Un Listado"
3029
 
3030
- #: business-directory-plugin.php:1129
3031
  msgctxt "title"
3032
  msgid "Find a Listing"
3033
  msgstr "Encontrar un listado"
3034
 
3035
- #: business-directory-plugin.php:1139
3036
  msgctxt "title"
3037
  msgid "View All Listings"
3038
  msgstr "Ver Listados"
3039
 
3040
- #: business-directory-plugin.php:1159
3041
  msgctxt "title"
3042
  msgid "Listings tagged: %s"
3043
  msgstr "Listados etiquetados: %s"
@@ -5443,17 +5442,17 @@ msgctxt "themes"
5443
  msgid "Theme was updated sucessfully."
5444
  msgstr "El tema fue actualizado correctamente."
5445
 
5446
- #: core/installer.php:41
5447
  msgctxt "default category name"
5448
  msgid "General"
5449
  msgstr "General"
5450
 
5451
- #: core/installer.php:49
5452
  msgctxt "installer"
5453
  msgid "Default Fee"
5454
  msgstr "Comisión por Defecto"
5455
 
5456
- #: core/installer.php:486
5457
  msgctxt "installer"
5458
  msgid ""
5459
  "<b>Business Directory Plugin - Regions Module</b> was disabled because it is "
@@ -5464,41 +5463,41 @@ msgstr ""
5464
  "es incompatible con la versión actual de Business Directory. Por favor "
5465
  "actualice el módulode Regions."
5466
 
5467
- #: core/installer.php:552
5468
  msgctxt "installer"
5469
  msgid "Cleaning up listing fees information... %d/%d"
5470
  msgstr "Actualizando información de comisiones de listados... %d/%d"
5471
 
5472
- #: core/installer.php:602
5473
  msgctxt "installer"
5474
  msgid "Migrating previous transactions to new Payments API... %d/%d"
5475
  msgstr "Migrando transacciones anteriores a la nueva API de pagos... %d/%d"
5476
 
5477
- #: core/installer.php:631
5478
  msgctxt "installer"
5479
  msgid "Initial listing payment (BD < 3.4)"
5480
  msgstr "Pago inicial de listado (BD < 3.4)"
5481
 
5482
- #: core/installer.php:642
5483
  msgctxt "installer"
5484
  msgid "Listing edit payment (BD < 3.4)"
5485
  msgstr "Pago por edición de listado (BD < 3.4)"
5486
 
5487
- #: core/installer.php:663
5488
  msgctxt "installer"
5489
  msgid "Renewal fee \"%s\" for category \"%s\""
5490
  msgstr "Comisión de renovación \"%s\" para categoría \"%s\""
5491
 
5492
- #: core/installer.php:682
5493
  msgctxt "installer"
5494
  msgid "Listing upgrade to featured"
5495
  msgstr "Mejora a Destacado"
5496
 
5497
- #: core/installer.php:941
5498
  msgid "Business Directory - Manual Upgrade Required"
5499
  msgstr "Business Directory - Actualización Manual Requerida"
5500
 
5501
- #: core/installer.php:943
5502
  msgid ""
5503
  "Business Directory features are currently disabled because the plugin needs "
5504
  "to perform a manual upgrade before continuing."
@@ -5506,15 +5505,15 @@ msgstr ""
5506
  "Las características de Business Directory se encuentran deshabitadas pues es "
5507
  "necesario realizar una actualización manual antes de continuar."
5508
 
5509
- #: core/installer.php:945
5510
  msgid "Perform Manual Upgrade"
5511
  msgstr "Realizar Actualización Manual"
5512
 
5513
- #: core/installer.php:961 core/installer.php:962 core/installer.php:973
5514
  msgid "Business Directory - Manual Upgrade"
5515
  msgstr "Business Directory - Actualización Manual"
5516
 
5517
- #: core/installer.php:977
5518
  msgid ""
5519
  "Business Directory features are currently disabled because the plugin needs "
5520
  "to perform a manual upgrade before it can be used."
@@ -5523,23 +5522,23 @@ msgstr ""
5523
  "necesario realizar una actualización manual antes de que el plugin pueda ser "
5524
  "utilizado."
5525
 
5526
- #: core/installer.php:979
5527
  msgid "Click \"Start Upgrade\" and wait until the process finishes."
5528
  msgstr ""
5529
  "Haga clic en \"Iniciar Actualización\" y espere hasta que el proceso "
5530
  "finalice."
5531
 
5532
- #: core/installer.php:982
5533
  msgctxt "manual-upgrade"
5534
  msgid "Start Upgrade"
5535
  msgstr "Iniciar Actualización"
5536
 
5537
- #: core/installer.php:984
5538
  msgctxt "manual-upgrade"
5539
  msgid "Pause Upgrade"
5540
  msgstr "Detener Actualización"
5541
 
5542
- #: core/installer.php:990
5543
  msgctxt "manual-upgrade"
5544
  msgid ""
5545
  "The upgrade was sucessfully performed. Business Directory Plugin is now "
@@ -5548,11 +5547,27 @@ msgstr ""
5548
  "La actualización fue ejecutada con éxito. Business Directory Plugin ahora se "
5549
  "encienta disponible para su uso."
5550
 
5551
- #: core/installer.php:993
5552
  msgctxt "manual-upgrade"
5553
  msgid "Go to \"Directory Admin\""
5554
  msgstr "Ir a \"Administración del Directorio\""
5555
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5556
  #: core/licensing.php:43 core/licensing.php:65 core/licensing.php:66
5557
  msgctxt "settings"
5558
  msgid "Licenses"
@@ -6164,7 +6179,7 @@ msgctxt "contact-message"
6164
  msgid "Return to listing."
6165
  msgstr "Regresar al listado."
6166
 
6167
- #: core/views/main.php:7
6168
  msgctxt "templates"
6169
  msgid ""
6170
  "There are no categories assigned to the business directory yet. You need to "
@@ -6179,12 +6194,12 @@ msgstr ""
6179
  "no pueden enviar listados en este momento. No pueden agregarse nuevos "
6180
  "listados hasta tanto haya categorías en el Directorio de Negocios."
6181
 
6182
- #: core/views/main.php:9
6183
  msgctxt "templates"
6184
  msgid "There are currently no listings in the directory."
6185
  msgstr "No hay listados en el Directorio."
6186
 
6187
- #: core/views/main.php:23
6188
  msgctxt "templates"
6189
  msgid ""
6190
  "You have \"Hide Empty Categories\" on and some categories that don't have "
4
  msgstr ""
5
  "Project-Id-Version: Business Directory Plugin 4.0.6\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/business-directory-plugin\n"
7
+ "POT-Creation-Date: 2016-10-25 00:23:44+00:00\n"
8
+ "PO-Revision-Date: 2016-10-24 19:25-0500\n"
9
  "Last-Translator: BD Team <support@businessdirectoryplugin.com>\n"
10
  "Language-Team: BD Team <support@businessdirectoryplugin.com>\n"
11
  "Language: es_ES\n"
2243
  "Por favor vea la <a>documentación de Campos de Formulario</a> para más "
2244
  "detalles."
2245
 
 
2246
  #. Plugin Name of the plugin/theme
2247
  #: admin/templates/header.tpl.php:4
2248
  msgid "Business Directory Plugin"
3011
  msgid "Allow Tracking"
3012
  msgstr "Permitir Seguimiento"
3013
 
3014
+ #: business-directory-plugin.php:667
3015
  msgctxt "admin plugins"
3016
  msgid "Settings"
3017
  msgstr "Configuración"
3018
 
3019
+ #: business-directory-plugin.php:775 business-directory-plugin.php:782
3020
  msgctxt "rss feed"
3021
  msgid "%s Feed"
3022
  msgstr "Feed %s"
3023
 
3024
+ #: business-directory-plugin.php:1117
3025
  msgctxt "title"
3026
  msgid "Submit A Listing"
3027
  msgstr "Enviar Un Listado"
3028
 
3029
+ #: business-directory-plugin.php:1122
3030
  msgctxt "title"
3031
  msgid "Find a Listing"
3032
  msgstr "Encontrar un listado"
3033
 
3034
+ #: business-directory-plugin.php:1127
3035
  msgctxt "title"
3036
  msgid "View All Listings"
3037
  msgstr "Ver Listados"
3038
 
3039
+ #: business-directory-plugin.php:1156
3040
  msgctxt "title"
3041
  msgid "Listings tagged: %s"
3042
  msgstr "Listados etiquetados: %s"
5442
  msgid "Theme was updated sucessfully."
5443
  msgstr "El tema fue actualizado correctamente."
5444
 
5445
+ #: core/installer.php:43
5446
  msgctxt "default category name"
5447
  msgid "General"
5448
  msgstr "General"
5449
 
5450
+ #: core/installer.php:51
5451
  msgctxt "installer"
5452
  msgid "Default Fee"
5453
  msgstr "Comisión por Defecto"
5454
 
5455
+ #: core/installer.php:502
5456
  msgctxt "installer"
5457
  msgid ""
5458
  "<b>Business Directory Plugin - Regions Module</b> was disabled because it is "
5463
  "es incompatible con la versión actual de Business Directory. Por favor "
5464
  "actualice el módulode Regions."
5465
 
5466
+ #: core/installer.php:568
5467
  msgctxt "installer"
5468
  msgid "Cleaning up listing fees information... %d/%d"
5469
  msgstr "Actualizando información de comisiones de listados... %d/%d"
5470
 
5471
+ #: core/installer.php:618
5472
  msgctxt "installer"
5473
  msgid "Migrating previous transactions to new Payments API... %d/%d"
5474
  msgstr "Migrando transacciones anteriores a la nueva API de pagos... %d/%d"
5475
 
5476
+ #: core/installer.php:647
5477
  msgctxt "installer"
5478
  msgid "Initial listing payment (BD < 3.4)"
5479
  msgstr "Pago inicial de listado (BD < 3.4)"
5480
 
5481
+ #: core/installer.php:658
5482
  msgctxt "installer"
5483
  msgid "Listing edit payment (BD < 3.4)"
5484
  msgstr "Pago por edición de listado (BD < 3.4)"
5485
 
5486
+ #: core/installer.php:679
5487
  msgctxt "installer"
5488
  msgid "Renewal fee \"%s\" for category \"%s\""
5489
  msgstr "Comisión de renovación \"%s\" para categoría \"%s\""
5490
 
5491
+ #: core/installer.php:698
5492
  msgctxt "installer"
5493
  msgid "Listing upgrade to featured"
5494
  msgstr "Mejora a Destacado"
5495
 
5496
+ #: core/installer.php:957
5497
  msgid "Business Directory - Manual Upgrade Required"
5498
  msgstr "Business Directory - Actualización Manual Requerida"
5499
 
5500
+ #: core/installer.php:959
5501
  msgid ""
5502
  "Business Directory features are currently disabled because the plugin needs "
5503
  "to perform a manual upgrade before continuing."
5505
  "Las características de Business Directory se encuentran deshabitadas pues es "
5506
  "necesario realizar una actualización manual antes de continuar."
5507
 
5508
+ #: core/installer.php:961
5509
  msgid "Perform Manual Upgrade"
5510
  msgstr "Realizar Actualización Manual"
5511
 
5512
+ #: core/installer.php:977 core/installer.php:978 core/installer.php:989
5513
  msgid "Business Directory - Manual Upgrade"
5514
  msgstr "Business Directory - Actualización Manual"
5515
 
5516
+ #: core/installer.php:993
5517
  msgid ""
5518
  "Business Directory features are currently disabled because the plugin needs "
5519
  "to perform a manual upgrade before it can be used."
5522
  "necesario realizar una actualización manual antes de que el plugin pueda ser "
5523
  "utilizado."
5524
 
5525
+ #: core/installer.php:995
5526
  msgid "Click \"Start Upgrade\" and wait until the process finishes."
5527
  msgstr ""
5528
  "Haga clic en \"Iniciar Actualización\" y espere hasta que el proceso "
5529
  "finalice."
5530
 
5531
+ #: core/installer.php:998
5532
  msgctxt "manual-upgrade"
5533
  msgid "Start Upgrade"
5534
  msgstr "Iniciar Actualización"
5535
 
5536
+ #: core/installer.php:1000
5537
  msgctxt "manual-upgrade"
5538
  msgid "Pause Upgrade"
5539
  msgstr "Detener Actualización"
5540
 
5541
+ #: core/installer.php:1006
5542
  msgctxt "manual-upgrade"
5543
  msgid ""
5544
  "The upgrade was sucessfully performed. Business Directory Plugin is now "
5547
  "La actualización fue ejecutada con éxito. Business Directory Plugin ahora se "
5548
  "encienta disponible para su uso."
5549
 
5550
+ #: core/installer.php:1009
5551
  msgctxt "manual-upgrade"
5552
  msgid "Go to \"Directory Admin\""
5553
  msgstr "Ir a \"Administración del Directorio\""
5554
 
5555
+ #: core/installer.php:1044
5556
+ msgid "Business Directory - Installation Failed"
5557
+ msgstr "Business Directory - La Instalación Falló"
5558
+
5559
+ #: core/installer.php:1046
5560
+ msgid ""
5561
+ "Business Directory installation failed. An exception with following message "
5562
+ "was generated:"
5563
+ msgstr ""
5564
+ "La instalación de Business Directory falló. Se generó una excepción con el "
5565
+ "siguiente mensaje:"
5566
+
5567
+ #: core/installer.php:1051
5568
+ msgid "Please <contact-link>contact customer support</a>."
5569
+ msgstr "Por favor <contact-link>contacte al soporte al cliente</a>."
5570
+
5571
  #: core/licensing.php:43 core/licensing.php:65 core/licensing.php:66
5572
  msgctxt "settings"
5573
  msgid "Licenses"
6179
  msgid "Return to listing."
6180
  msgstr "Regresar al listado."
6181
 
6182
+ #: core/views/main.php:9
6183
  msgctxt "templates"
6184
  msgid ""
6185
  "There are no categories assigned to the business directory yet. You need to "
6194
  "no pueden enviar listados en este momento. No pueden agregarse nuevos "
6195
  "listados hasta tanto haya categorías en el Directorio de Negocios."
6196
 
6197
+ #: core/views/main.php:11
6198
  msgctxt "templates"
6199
  msgid "There are currently no listings in the directory."
6200
  msgstr "No hay listados en el Directorio."
6201
 
6202
+ #: core/views/main.php:25
6203
  msgctxt "templates"
6204
  msgid ""
6205
  "You have \"Hide Empty Categories\" on and some categories that don't have "
languages/WPBDM-fr_FR.mo CHANGED
Binary file
languages/WPBDM-fr_FR.po CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Business Directory Plugin 3.6\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/business-directory-plugin\n"
7
- "POT-Creation-Date: 2016-09-20 02:40:34+00:00\n"
8
  "PO-Revision-Date: 2016-08-29 18:17-0300\n"
9
  "Last-Translator: BD Team <support@businessdirectoryplugin.com>\n"
10
  "Language-Team: BD Team <support@businessdirectoryplugin.com>\n"
@@ -2224,7 +2224,7 @@ msgstr ""
2224
  "Veuillez voir la <a>Documentation de champs de formulaire</a> pour plus de "
2225
  "détails."
2226
 
2227
- #. #-#-#-#-# WPBDM.pot (Business Directory Plugin 4.1.2) #-#-#-#-#
2228
  #. Plugin Name of the plugin/theme
2229
  #: admin/templates/header.tpl.php:4
2230
  msgid "Business Directory Plugin"
@@ -3015,32 +3015,32 @@ msgctxt "tracking"
3015
  msgid "Allow Tracking"
3016
  msgstr "Autoriser l'analyse"
3017
 
3018
- #: business-directory-plugin.php:666
3019
  msgctxt "admin plugins"
3020
  msgid "Settings"
3021
  msgstr "Paramètres"
3022
 
3023
- #: business-directory-plugin.php:774 business-directory-plugin.php:781
3024
  msgctxt "rss feed"
3025
  msgid "%s Feed"
3026
  msgstr "%s diffusion"
3027
 
3028
- #: business-directory-plugin.php:1119
3029
  msgctxt "title"
3030
  msgid "Submit A Listing"
3031
  msgstr "Soumettre une annonce"
3032
 
3033
- #: business-directory-plugin.php:1129
3034
  msgctxt "title"
3035
  msgid "Find a Listing"
3036
  msgstr "Trouver une annonce"
3037
 
3038
- #: business-directory-plugin.php:1139
3039
  msgctxt "title"
3040
  msgid "View All Listings"
3041
  msgstr "Voir toutes les annonces"
3042
 
3043
- #: business-directory-plugin.php:1159
3044
  msgctxt "title"
3045
  msgid "Listings tagged: %s"
3046
  msgstr "Annonces marquées: %s"
@@ -5462,17 +5462,17 @@ msgctxt "themes"
5462
  msgid "Theme was updated sucessfully."
5463
  msgstr "Le thème a été mis à jour avec succès."
5464
 
5465
- #: core/installer.php:41
5466
  msgctxt "default category name"
5467
  msgid "General"
5468
  msgstr "Général"
5469
 
5470
- #: core/installer.php:49
5471
  msgctxt "installer"
5472
  msgid "Default Fee"
5473
  msgstr " Frais par défaut"
5474
 
5475
- #: core/installer.php:486
5476
  msgctxt "installer"
5477
  msgid ""
5478
  "<b>Business Directory Plugin - Regions Module</b> was disabled because it is "
@@ -5483,43 +5483,43 @@ msgstr ""
5483
  "il est incompatible avec la version actuelle du plugin. Veuillez mettre à "
5484
  "jour le module."
5485
 
5486
- #: core/installer.php:552
5487
  msgctxt "installer"
5488
  msgid "Cleaning up listing fees information... %d/%d"
5489
  msgstr "Nettoyage des informations sur les droits d'inscription ... %d/%d"
5490
 
5491
- #: core/installer.php:602
5492
  msgctxt "installer"
5493
  msgid "Migrating previous transactions to new Payments API... %d/%d"
5494
  msgstr ""
5495
  "Migration des transactions antérieures vers de nouveaux paiements API ... %d/"
5496
  "%d"
5497
 
5498
- #: core/installer.php:631
5499
  msgctxt "installer"
5500
  msgid "Initial listing payment (BD < 3.4)"
5501
  msgstr "Annonce de paiement initial (BD<3.4)"
5502
 
5503
- #: core/installer.php:642
5504
  msgctxt "installer"
5505
  msgid "Listing edit payment (BD < 3.4)"
5506
  msgstr "Edition de l'annonce de paiement (BD<3.4)"
5507
 
5508
- #: core/installer.php:663
5509
  msgctxt "installer"
5510
  msgid "Renewal fee \"%s\" for category \"%s\""
5511
  msgstr "Renouvellement des frais \"%s\" pour la catégorie \"%s\""
5512
 
5513
- #: core/installer.php:682
5514
  msgctxt "installer"
5515
  msgid "Listing upgrade to featured"
5516
  msgstr "Mise à jour des annonces vers prioritaire"
5517
 
5518
- #: core/installer.php:941
5519
  msgid "Business Directory - Manual Upgrade Required"
5520
  msgstr "Business Directory - Mise à jour manuelle requise"
5521
 
5522
- #: core/installer.php:943
5523
  msgid ""
5524
  "Business Directory features are currently disabled because the plugin needs "
5525
  "to perform a manual upgrade before continuing."
@@ -5528,15 +5528,15 @@ msgstr ""
5528
  "désactivés car le plugin a besoin d'effectuer une mise à jour manuelle avant "
5529
  "de poursuivre."
5530
 
5531
- #: core/installer.php:945
5532
  msgid "Perform Manual Upgrade"
5533
  msgstr "Effectuer la mise à jour manuelle"
5534
 
5535
- #: core/installer.php:961 core/installer.php:962 core/installer.php:973
5536
  msgid "Business Directory - Manual Upgrade"
5537
  msgstr "Business Directory - Mise à jour manuelle"
5538
 
5539
- #: core/installer.php:977
5540
  msgid ""
5541
  "Business Directory features are currently disabled because the plugin needs "
5542
  "to perform a manual upgrade before it can be used."
@@ -5545,23 +5545,23 @@ msgstr ""
5545
  "désactivées car le plugin a besoin d'effectuer une mise à jour manuelle afin "
5546
  "d'être pleinement utilisable."
5547
 
5548
- #: core/installer.php:979
5549
  msgid "Click \"Start Upgrade\" and wait until the process finishes."
5550
  msgstr ""
5551
  "Cliquez sur \"Démarrer la mise à jour\" et patientez jusqu'à la fin du "
5552
  "processus."
5553
 
5554
- #: core/installer.php:982
5555
  msgctxt "manual-upgrade"
5556
  msgid "Start Upgrade"
5557
  msgstr "Démarrer la mise à jour"
5558
 
5559
- #: core/installer.php:984
5560
  msgctxt "manual-upgrade"
5561
  msgid "Pause Upgrade"
5562
  msgstr "Mettre la mise à jour en pause"
5563
 
5564
- #: core/installer.php:990
5565
  msgctxt "manual-upgrade"
5566
  msgid ""
5567
  "The upgrade was sucessfully performed. Business Directory Plugin is now "
@@ -5570,11 +5570,26 @@ msgstr ""
5570
  "La mise à jour s'est bien effectuée. Le plugin Business Directory est "
5571
  "maintenant disponible et fonctionnel."
5572
 
5573
- #: core/installer.php:993
5574
  msgctxt "manual-upgrade"
5575
  msgid "Go to \"Directory Admin\""
5576
  msgstr "Aller à \"Administrateur de l'annuaire\""
5577
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5578
  #: core/licensing.php:43 core/licensing.php:65 core/licensing.php:66
5579
  msgctxt "settings"
5580
  msgid "Licenses"
@@ -6205,7 +6220,7 @@ msgctxt "contact-message"
6205
  msgid "Return to listing."
6206
  msgstr "Retourner à l'annonce."
6207
 
6208
- #: core/views/main.php:7
6209
  msgctxt "templates"
6210
  msgid ""
6211
  "There are no categories assigned to the business directory yet. You need to "
@@ -6221,12 +6236,12 @@ msgstr ""
6221
  "Les annonces ne peuvent pas être ajoutés tant que vous n'avez pas attribuer "
6222
  "des catégories à l'annuaire professionnel."
6223
 
6224
- #: core/views/main.php:9
6225
  msgctxt "templates"
6226
  msgid "There are currently no listings in the directory."
6227
  msgstr "Il n'y a actuellement aucune annonce dans l'annuaire."
6228
 
6229
- #: core/views/main.php:23
6230
  msgctxt "templates"
6231
  msgid ""
6232
  "You have \"Hide Empty Categories\" on and some categories that don't have "
4
  msgstr ""
5
  "Project-Id-Version: Business Directory Plugin 3.6\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/business-directory-plugin\n"
7
+ "POT-Creation-Date: 2016-10-25 00:23:44+00:00\n"
8
  "PO-Revision-Date: 2016-08-29 18:17-0300\n"
9
  "Last-Translator: BD Team <support@businessdirectoryplugin.com>\n"
10
  "Language-Team: BD Team <support@businessdirectoryplugin.com>\n"
2224
  "Veuillez voir la <a>Documentation de champs de formulaire</a> pour plus de "
2225
  "détails."
2226
 
2227
+ #. #-#-#-#-# WPBDM.pot (Business Directory Plugin 4.1.3) #-#-#-#-#
2228
  #. Plugin Name of the plugin/theme
2229
  #: admin/templates/header.tpl.php:4
2230
  msgid "Business Directory Plugin"
3015
  msgid "Allow Tracking"
3016
  msgstr "Autoriser l'analyse"
3017
 
3018
+ #: business-directory-plugin.php:667
3019
  msgctxt "admin plugins"
3020
  msgid "Settings"
3021
  msgstr "Paramètres"
3022
 
3023
+ #: business-directory-plugin.php:775 business-directory-plugin.php:782
3024
  msgctxt "rss feed"
3025
  msgid "%s Feed"
3026
  msgstr "%s diffusion"
3027
 
3028
+ #: business-directory-plugin.php:1117
3029
  msgctxt "title"
3030
  msgid "Submit A Listing"
3031
  msgstr "Soumettre une annonce"
3032
 
3033
+ #: business-directory-plugin.php:1122
3034
  msgctxt "title"
3035
  msgid "Find a Listing"
3036
  msgstr "Trouver une annonce"
3037
 
3038
+ #: business-directory-plugin.php:1127
3039
  msgctxt "title"
3040
  msgid "View All Listings"
3041
  msgstr "Voir toutes les annonces"
3042
 
3043
+ #: business-directory-plugin.php:1156
3044
  msgctxt "title"
3045
  msgid "Listings tagged: %s"
3046
  msgstr "Annonces marquées: %s"
5462
  msgid "Theme was updated sucessfully."
5463
  msgstr "Le thème a été mis à jour avec succès."
5464
 
5465
+ #: core/installer.php:43
5466
  msgctxt "default category name"
5467
  msgid "General"
5468
  msgstr "Général"
5469
 
5470
+ #: core/installer.php:51
5471
  msgctxt "installer"
5472
  msgid "Default Fee"
5473
  msgstr " Frais par défaut"
5474
 
5475
+ #: core/installer.php:502
5476
  msgctxt "installer"
5477
  msgid ""
5478
  "<b>Business Directory Plugin - Regions Module</b> was disabled because it is "
5483
  "il est incompatible avec la version actuelle du plugin. Veuillez mettre à "
5484
  "jour le module."
5485
 
5486
+ #: core/installer.php:568
5487
  msgctxt "installer"
5488
  msgid "Cleaning up listing fees information... %d/%d"
5489
  msgstr "Nettoyage des informations sur les droits d'inscription ... %d/%d"
5490
 
5491
+ #: core/installer.php:618
5492
  msgctxt "installer"
5493
  msgid "Migrating previous transactions to new Payments API... %d/%d"
5494
  msgstr ""
5495
  "Migration des transactions antérieures vers de nouveaux paiements API ... %d/"
5496
  "%d"
5497
 
5498
+ #: core/installer.php:647
5499
  msgctxt "installer"
5500
  msgid "Initial listing payment (BD < 3.4)"
5501
  msgstr "Annonce de paiement initial (BD<3.4)"
5502
 
5503
+ #: core/installer.php:658
5504
  msgctxt "installer"
5505
  msgid "Listing edit payment (BD < 3.4)"
5506
  msgstr "Edition de l'annonce de paiement (BD<3.4)"
5507
 
5508
+ #: core/installer.php:679
5509
  msgctxt "installer"
5510
  msgid "Renewal fee \"%s\" for category \"%s\""
5511
  msgstr "Renouvellement des frais \"%s\" pour la catégorie \"%s\""
5512
 
5513
+ #: core/installer.php:698
5514
  msgctxt "installer"
5515
  msgid "Listing upgrade to featured"
5516
  msgstr "Mise à jour des annonces vers prioritaire"
5517
 
5518
+ #: core/installer.php:957
5519
  msgid "Business Directory - Manual Upgrade Required"
5520
  msgstr "Business Directory - Mise à jour manuelle requise"
5521
 
5522
+ #: core/installer.php:959
5523
  msgid ""
5524
  "Business Directory features are currently disabled because the plugin needs "
5525
  "to perform a manual upgrade before continuing."
5528
  "désactivés car le plugin a besoin d'effectuer une mise à jour manuelle avant "
5529
  "de poursuivre."
5530
 
5531
+ #: core/installer.php:961
5532
  msgid "Perform Manual Upgrade"
5533
  msgstr "Effectuer la mise à jour manuelle"
5534
 
5535
+ #: core/installer.php:977 core/installer.php:978 core/installer.php:989
5536
  msgid "Business Directory - Manual Upgrade"
5537
  msgstr "Business Directory - Mise à jour manuelle"
5538
 
5539
+ #: core/installer.php:993
5540
  msgid ""
5541
  "Business Directory features are currently disabled because the plugin needs "
5542
  "to perform a manual upgrade before it can be used."
5545
  "désactivées car le plugin a besoin d'effectuer une mise à jour manuelle afin "
5546
  "d'être pleinement utilisable."
5547
 
5548
+ #: core/installer.php:995
5549
  msgid "Click \"Start Upgrade\" and wait until the process finishes."
5550
  msgstr ""
5551
  "Cliquez sur \"Démarrer la mise à jour\" et patientez jusqu'à la fin du "
5552
  "processus."
5553
 
5554
+ #: core/installer.php:998
5555
  msgctxt "manual-upgrade"
5556
  msgid "Start Upgrade"
5557
  msgstr "Démarrer la mise à jour"
5558
 
5559
+ #: core/installer.php:1000
5560
  msgctxt "manual-upgrade"
5561
  msgid "Pause Upgrade"
5562
  msgstr "Mettre la mise à jour en pause"
5563
 
5564
+ #: core/installer.php:1006
5565
  msgctxt "manual-upgrade"
5566
  msgid ""
5567
  "The upgrade was sucessfully performed. Business Directory Plugin is now "
5570
  "La mise à jour s'est bien effectuée. Le plugin Business Directory est "
5571
  "maintenant disponible et fonctionnel."
5572
 
5573
+ #: core/installer.php:1009
5574
  msgctxt "manual-upgrade"
5575
  msgid "Go to \"Directory Admin\""
5576
  msgstr "Aller à \"Administrateur de l'annuaire\""
5577
 
5578
+ #: core/installer.php:1044
5579
+ #, fuzzy
5580
+ msgid "Business Directory - Installation Failed"
5581
+ msgstr "Business Directory - Mise à jour manuelle"
5582
+
5583
+ #: core/installer.php:1046
5584
+ msgid ""
5585
+ "Business Directory installation failed. An exception with following message "
5586
+ "was generated:"
5587
+ msgstr ""
5588
+
5589
+ #: core/installer.php:1051
5590
+ msgid "Please <contact-link>contact customer support</a>."
5591
+ msgstr ""
5592
+
5593
  #: core/licensing.php:43 core/licensing.php:65 core/licensing.php:66
5594
  msgctxt "settings"
5595
  msgid "Licenses"
6220
  msgid "Return to listing."
6221
  msgstr "Retourner à l'annonce."
6222
 
6223
+ #: core/views/main.php:9
6224
  msgctxt "templates"
6225
  msgid ""
6226
  "There are no categories assigned to the business directory yet. You need to "
6236
  "Les annonces ne peuvent pas être ajoutés tant que vous n'avez pas attribuer "
6237
  "des catégories à l'annuaire professionnel."
6238
 
6239
+ #: core/views/main.php:11
6240
  msgctxt "templates"
6241
  msgid "There are currently no listings in the directory."
6242
  msgstr "Il n'y a actuellement aucune annonce dans l'annuaire."
6243
 
6244
+ #: core/views/main.php:25
6245
  msgctxt "templates"
6246
  msgid ""
6247
  "You have \"Hide Empty Categories\" on and some categories that don't have "
languages/WPBDM.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the same license as the Business Directory Plugin package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Business Directory Plugin 4.1.2\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/business-directory-plugin\n"
7
- "POT-Creation-Date: 2016-09-20 02:40:34+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -2088,7 +2088,7 @@ msgctxt "form-fields admin"
2088
  msgid "Please see the <a>Form Fields documentation</a> for more details."
2089
  msgstr ""
2090
 
2091
- #. #-#-#-#-# WPBDM.pot (Business Directory Plugin 4.1.2) #-#-#-#-#
2092
  #. Plugin Name of the plugin/theme
2093
  #: admin/templates/header.tpl.php:4
2094
  msgid "Business Directory Plugin"
@@ -2824,32 +2824,32 @@ msgctxt "tracking"
2824
  msgid "Allow Tracking"
2825
  msgstr ""
2826
 
2827
- #: business-directory-plugin.php:666
2828
  msgctxt "admin plugins"
2829
  msgid "Settings"
2830
  msgstr ""
2831
 
2832
- #: business-directory-plugin.php:774 business-directory-plugin.php:781
2833
  msgctxt "rss feed"
2834
  msgid "%s Feed"
2835
  msgstr ""
2836
 
2837
- #: business-directory-plugin.php:1119
2838
  msgctxt "title"
2839
  msgid "Submit A Listing"
2840
  msgstr ""
2841
 
2842
- #: business-directory-plugin.php:1129
2843
  msgctxt "title"
2844
  msgid "Find a Listing"
2845
  msgstr ""
2846
 
2847
- #: business-directory-plugin.php:1139
2848
  msgctxt "title"
2849
  msgid "View All Listings"
2850
  msgstr ""
2851
 
2852
- #: business-directory-plugin.php:1159
2853
  msgctxt "title"
2854
  msgid "Listings tagged: %s"
2855
  msgstr ""
@@ -5104,17 +5104,17 @@ msgctxt "themes"
5104
  msgid "Theme was updated sucessfully."
5105
  msgstr ""
5106
 
5107
- #: core/installer.php:41
5108
  msgctxt "default category name"
5109
  msgid "General"
5110
  msgstr ""
5111
 
5112
- #: core/installer.php:49
5113
  msgctxt "installer"
5114
  msgid "Default Fee"
5115
  msgstr ""
5116
 
5117
- #: core/installer.php:486
5118
  msgctxt "installer"
5119
  msgid ""
5120
  "<b>Business Directory Plugin - Regions Module</b> was disabled because it is "
@@ -5122,86 +5122,100 @@ msgid ""
5122
  "the Regions module."
5123
  msgstr ""
5124
 
5125
- #: core/installer.php:552
5126
  msgctxt "installer"
5127
  msgid "Cleaning up listing fees information... %d/%d"
5128
  msgstr ""
5129
 
5130
- #: core/installer.php:602
5131
  msgctxt "installer"
5132
  msgid "Migrating previous transactions to new Payments API... %d/%d"
5133
  msgstr ""
5134
 
5135
- #: core/installer.php:631
5136
  msgctxt "installer"
5137
  msgid "Initial listing payment (BD < 3.4)"
5138
  msgstr ""
5139
 
5140
- #: core/installer.php:642
5141
  msgctxt "installer"
5142
  msgid "Listing edit payment (BD < 3.4)"
5143
  msgstr ""
5144
 
5145
- #: core/installer.php:663
5146
  msgctxt "installer"
5147
  msgid "Renewal fee \"%s\" for category \"%s\""
5148
  msgstr ""
5149
 
5150
- #: core/installer.php:682
5151
  msgctxt "installer"
5152
  msgid "Listing upgrade to featured"
5153
  msgstr ""
5154
 
5155
- #: core/installer.php:941
5156
  msgid "Business Directory - Manual Upgrade Required"
5157
  msgstr ""
5158
 
5159
- #: core/installer.php:943
5160
  msgid ""
5161
  "Business Directory features are currently disabled because the plugin needs "
5162
  "to perform a manual upgrade before continuing."
5163
  msgstr ""
5164
 
5165
- #: core/installer.php:945
5166
  msgid "Perform Manual Upgrade"
5167
  msgstr ""
5168
 
5169
- #: core/installer.php:961 core/installer.php:962 core/installer.php:973
5170
  msgid "Business Directory - Manual Upgrade"
5171
  msgstr ""
5172
 
5173
- #: core/installer.php:977
5174
  msgid ""
5175
  "Business Directory features are currently disabled because the plugin needs "
5176
  "to perform a manual upgrade before it can be used."
5177
  msgstr ""
5178
 
5179
- #: core/installer.php:979
5180
  msgid "Click \"Start Upgrade\" and wait until the process finishes."
5181
  msgstr ""
5182
 
5183
- #: core/installer.php:982
5184
  msgctxt "manual-upgrade"
5185
  msgid "Start Upgrade"
5186
  msgstr ""
5187
 
5188
- #: core/installer.php:984
5189
  msgctxt "manual-upgrade"
5190
  msgid "Pause Upgrade"
5191
  msgstr ""
5192
 
5193
- #: core/installer.php:990
5194
  msgctxt "manual-upgrade"
5195
  msgid ""
5196
  "The upgrade was sucessfully performed. Business Directory Plugin is now "
5197
  "available."
5198
  msgstr ""
5199
 
5200
- #: core/installer.php:993
5201
  msgctxt "manual-upgrade"
5202
  msgid "Go to \"Directory Admin\""
5203
  msgstr ""
5204
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5205
  #: core/licensing.php:43 core/licensing.php:65 core/licensing.php:66
5206
  msgctxt "settings"
5207
  msgid "Licenses"
@@ -5753,7 +5767,7 @@ msgctxt "contact-message"
5753
  msgid "Return to listing."
5754
  msgstr ""
5755
 
5756
- #: core/views/main.php:7
5757
  msgctxt "templates"
5758
  msgid ""
5759
  "There are no categories assigned to the business directory yet. You need to "
@@ -5763,12 +5777,12 @@ msgid ""
5763
  "categories to the business directory."
5764
  msgstr ""
5765
 
5766
- #: core/views/main.php:9
5767
  msgctxt "templates"
5768
  msgid "There are currently no listings in the directory."
5769
  msgstr ""
5770
 
5771
- #: core/views/main.php:23
5772
  msgctxt "templates"
5773
  msgid ""
5774
  "You have \"Hide Empty Categories\" on and some categories that don't have "
2
  # This file is distributed under the same license as the Business Directory Plugin package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Business Directory Plugin 4.1.3\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/business-directory-plugin\n"
7
+ "POT-Creation-Date: 2016-10-25 00:23:44+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
2088
  msgid "Please see the <a>Form Fields documentation</a> for more details."
2089
  msgstr ""
2090
 
2091
+ #. #-#-#-#-# WPBDM.pot (Business Directory Plugin 4.1.3) #-#-#-#-#
2092
  #. Plugin Name of the plugin/theme
2093
  #: admin/templates/header.tpl.php:4
2094
  msgid "Business Directory Plugin"
2824
  msgid "Allow Tracking"
2825
  msgstr ""
2826
 
2827
+ #: business-directory-plugin.php:667
2828
  msgctxt "admin plugins"
2829
  msgid "Settings"
2830
  msgstr ""
2831
 
2832
+ #: business-directory-plugin.php:775 business-directory-plugin.php:782
2833
  msgctxt "rss feed"
2834
  msgid "%s Feed"
2835
  msgstr ""
2836
 
2837
+ #: business-directory-plugin.php:1117
2838
  msgctxt "title"
2839
  msgid "Submit A Listing"
2840
  msgstr ""
2841
 
2842
+ #: business-directory-plugin.php:1122
2843
  msgctxt "title"
2844
  msgid "Find a Listing"
2845
  msgstr ""
2846
 
2847
+ #: business-directory-plugin.php:1127
2848
  msgctxt "title"
2849
  msgid "View All Listings"
2850
  msgstr ""
2851
 
2852
+ #: business-directory-plugin.php:1156
2853
  msgctxt "title"
2854
  msgid "Listings tagged: %s"
2855
  msgstr ""
5104
  msgid "Theme was updated sucessfully."
5105
  msgstr ""
5106
 
5107
+ #: core/installer.php:43
5108
  msgctxt "default category name"
5109
  msgid "General"
5110
  msgstr ""
5111
 
5112
+ #: core/installer.php:51
5113
  msgctxt "installer"
5114
  msgid "Default Fee"
5115
  msgstr ""
5116
 
5117
+ #: core/installer.php:502
5118
  msgctxt "installer"
5119
  msgid ""
5120
  "<b>Business Directory Plugin - Regions Module</b> was disabled because it is "
5122
  "the Regions module."
5123
  msgstr ""
5124
 
5125
+ #: core/installer.php:568
5126
  msgctxt "installer"
5127
  msgid "Cleaning up listing fees information... %d/%d"
5128
  msgstr ""
5129
 
5130
+ #: core/installer.php:618
5131
  msgctxt "installer"
5132
  msgid "Migrating previous transactions to new Payments API... %d/%d"
5133
  msgstr ""
5134
 
5135
+ #: core/installer.php:647
5136
  msgctxt "installer"
5137
  msgid "Initial listing payment (BD < 3.4)"
5138
  msgstr ""
5139
 
5140
+ #: core/installer.php:658
5141
  msgctxt "installer"
5142
  msgid "Listing edit payment (BD < 3.4)"
5143
  msgstr ""
5144
 
5145
+ #: core/installer.php:679
5146
  msgctxt "installer"
5147
  msgid "Renewal fee \"%s\" for category \"%s\""
5148
  msgstr ""
5149
 
5150
+ #: core/installer.php:698
5151
  msgctxt "installer"
5152
  msgid "Listing upgrade to featured"
5153
  msgstr ""
5154
 
5155
+ #: core/installer.php:957
5156
  msgid "Business Directory - Manual Upgrade Required"
5157
  msgstr ""
5158
 
5159
+ #: core/installer.php:959
5160
  msgid ""
5161
  "Business Directory features are currently disabled because the plugin needs "
5162
  "to perform a manual upgrade before continuing."
5163
  msgstr ""
5164
 
5165
+ #: core/installer.php:961
5166
  msgid "Perform Manual Upgrade"
5167
  msgstr ""
5168
 
5169
+ #: core/installer.php:977 core/installer.php:978 core/installer.php:989
5170
  msgid "Business Directory - Manual Upgrade"
5171
  msgstr ""
5172
 
5173
+ #: core/installer.php:993
5174
  msgid ""
5175
  "Business Directory features are currently disabled because the plugin needs "
5176
  "to perform a manual upgrade before it can be used."
5177
  msgstr ""
5178
 
5179
+ #: core/installer.php:995
5180
  msgid "Click \"Start Upgrade\" and wait until the process finishes."
5181
  msgstr ""
5182
 
5183
+ #: core/installer.php:998
5184
  msgctxt "manual-upgrade"
5185
  msgid "Start Upgrade"
5186
  msgstr ""
5187
 
5188
+ #: core/installer.php:1000
5189
  msgctxt "manual-upgrade"
5190
  msgid "Pause Upgrade"
5191
  msgstr ""
5192
 
5193
+ #: core/installer.php:1006
5194
  msgctxt "manual-upgrade"
5195
  msgid ""
5196
  "The upgrade was sucessfully performed. Business Directory Plugin is now "
5197
  "available."
5198
  msgstr ""
5199
 
5200
+ #: core/installer.php:1009
5201
  msgctxt "manual-upgrade"
5202
  msgid "Go to \"Directory Admin\""
5203
  msgstr ""
5204
 
5205
+ #: core/installer.php:1044
5206
+ msgid "Business Directory - Installation Failed"
5207
+ msgstr ""
5208
+
5209
+ #: core/installer.php:1046
5210
+ msgid ""
5211
+ "Business Directory installation failed. An exception with following message "
5212
+ "was generated:"
5213
+ msgstr ""
5214
+
5215
+ #: core/installer.php:1051
5216
+ msgid "Please <contact-link>contact customer support</a>."
5217
+ msgstr ""
5218
+
5219
  #: core/licensing.php:43 core/licensing.php:65 core/licensing.php:66
5220
  msgctxt "settings"
5221
  msgid "Licenses"
5767
  msgid "Return to listing."
5768
  msgstr ""
5769
 
5770
+ #: core/views/main.php:9
5771
  msgctxt "templates"
5772
  msgid ""
5773
  "There are no categories assigned to the business directory yet. You need to "
5777
  "categories to the business directory."
5778
  msgstr ""
5779
 
5780
+ #: core/views/main.php:11
5781
  msgctxt "templates"
5782
  msgid "There are currently no listings in the directory."
5783
  msgstr ""
5784
 
5785
+ #: core/views/main.php:25
5786
  msgctxt "templates"
5787
  msgid ""
5788
  "You have \"Hide Empty Categories\" on and some categories that don't have "
vendors/edd/EDD_SL_Plugin_Updater.php DELETED
@@ -1,338 +0,0 @@
1
- <?php
2
-
3
- // uncomment this line for testing
4
- //set_site_transient( 'update_plugins', null );
5
-
6
- // Exit if accessed directly
7
- if ( ! defined( 'ABSPATH' ) ) exit;
8
-
9
- /**
10
- * Allows plugins to use their own update API.
11
- *
12
- * @author Pippin Williamson
13
- * @version 1.6
14
- */
15
- class EDD_SL_Plugin_Updater {
16
- private $api_url = '';
17
- private $api_data = array();
18
- private $name = '';
19
- private $slug = '';
20
- private $version = '';
21
-
22
- /**
23
- * Class constructor.
24
- *
25
- * @uses plugin_basename()
26
- * @uses hook()
27
- *
28
- * @param string $_api_url The URL pointing to the custom API endpoint.
29
- * @param string $_plugin_file Path to the plugin file.
30
- * @param array $_api_data Optional data to send with API calls.
31
- */
32
- function __construct( $_api_url, $_plugin_file, $_api_data = null ) {
33
- $this->api_url = trailingslashit( $_api_url );
34
- $this->api_data = $_api_data;
35
- $this->name = plugin_basename( $_plugin_file );
36
- $this->slug = basename( $_plugin_file, '.php' );
37
- $this->version = $_api_data['version'];
38
-
39
- // Set up hooks.
40
- $this->init();
41
- add_action( 'admin_init', array( $this, 'show_changelog' ) );
42
- }
43
-
44
- /**
45
- * Set up WordPress filters to hook into WP's update process.
46
- *
47
- * @uses add_filter()
48
- *
49
- * @return void
50
- */
51
- public function init() {
52
-
53
- add_filter( 'pre_set_site_transient_update_plugins', array( $this, 'check_update' ) );
54
- add_filter( 'plugins_api', array( $this, 'plugins_api_filter' ), 10, 3 );
55
-
56
- add_action( 'after_plugin_row_' . $this->name, array( $this, 'show_update_notification' ), 10, 2 );
57
- }
58
-
59
- /**
60
- * Check for Updates at the defined API endpoint and modify the update array.
61
- *
62
- * This function dives into the update API just when WordPress creates its update array,
63
- * then adds a custom API call and injects the custom plugin data retrieved from the API.
64
- * It is reassembled from parts of the native WordPress plugin update code.
65
- * See wp-includes/update.php line 121 for the original wp_update_plugins() function.
66
- *
67
- * @uses api_request()
68
- *
69
- * @param array $_transient_data Update array build by WordPress.
70
- * @return array Modified update array with custom plugin data.
71
- */
72
- function check_update( $_transient_data ) {
73
-
74
- global $pagenow;
75
-
76
- if( ! is_object( $_transient_data ) ) {
77
- $_transient_data = new stdClass;
78
- }
79
-
80
- if( 'plugins.php' == $pagenow && is_multisite() ) {
81
- return $_transient_data;
82
- }
83
-
84
- if ( empty( $_transient_data->response ) || empty( $_transient_data->response[ $this->name ] ) ) {
85
-
86
- $version_info = $this->api_request( 'plugin_latest_version', array( 'slug' => $this->slug ) );
87
-
88
- if ( false !== $version_info && is_object( $version_info ) && isset( $version_info->new_version ) ) {
89
-
90
- if( version_compare( $this->version, $version_info->new_version, '<' ) ) {
91
-
92
- $_transient_data->response[ $this->name ] = $version_info;
93
-
94
- }
95
-
96
- $_transient_data->last_checked = time();
97
- $_transient_data->checked[ $this->name ] = $this->version;
98
-
99
- }
100
-
101
- }
102
-
103
- return $_transient_data;
104
- }
105
-
106
- /**
107
- * show update nofication row -- needed for multisite subsites, because WP won't tell you otherwise!
108
- *
109
- * @param string $file
110
- * @param array $plugin
111
- */
112
- public function show_update_notification( $file, $plugin ) {
113
-
114
- if( ! current_user_can( 'update_plugins' ) ) {
115
- return;
116
- }
117
-
118
- if( ! is_multisite() ) {
119
- return;
120
- }
121
-
122
- if ( $this->name != $file ) {
123
- return;
124
- }
125
-
126
- // Remove our filter on the site transient
127
- remove_filter( 'pre_set_site_transient_update_plugins', array( $this, 'check_update' ), 10 );
128
-
129
- $update_cache = get_site_transient( 'update_plugins' );
130
-
131
- if ( ! is_object( $update_cache ) || empty( $update_cache->response ) || empty( $update_cache->response[ $this->name ] ) ) {
132
-
133
- $cache_key = md5( 'edd_plugin_' .sanitize_key( $this->name ) . '_version_info' );
134
- $version_info = get_transient( $cache_key );
135
-
136
- if( false === $version_info ) {
137
-
138
- $version_info = $this->api_request( 'plugin_latest_version', array( 'slug' => $this->slug ) );
139
-
140
- set_transient( $cache_key, $version_info, 3600 );
141
- }
142
-
143
-
144
- if( ! is_object( $version_info ) ) {
145
- return;
146
- }
147
-
148
- if( version_compare( $this->version, $version_info->new_version, '<' ) ) {
149
-
150
- $update_cache->response[ $this->name ] = $version_info;
151
-
152
- }
153
-
154
- $update_cache->last_checked = time();
155
- $update_cache->checked[ $this->name ] = $this->version;
156
-
157
- set_site_transient( 'update_plugins', $update_cache );
158
-
159
- } else {
160
-
161
- $version_info = $update_cache->response[ $this->name ];
162
-
163
- }
164
-
165
- // Restore our filter
166
- add_filter( 'pre_set_site_transient_update_plugins', array( $this, 'check_update' ) );
167
-
168
- if ( ! empty( $update_cache->response[ $this->name ] ) && version_compare( $this->version, $version_info->new_version, '<' ) ) {
169
-
170
- // build a plugin list row, with update notification
171
- $wp_list_table = _get_list_table( 'WP_Plugins_List_Table' );
172
- echo '<tr class="plugin-update-tr"><td colspan="' . $wp_list_table->get_column_count() . '" class="plugin-update colspanchange"><div class="update-message">';
173
-
174
- $changelog_link = self_admin_url( 'index.php?edd_sl_action=view_plugin_changelog&plugin=' . $this->name . '&slug=' . $this->slug . '&TB_iframe=true&width=772&height=911' );
175
-
176
- if ( empty( $version_info->download_link ) ) {
177
- printf(
178
- __( 'There is a new version of %1$s available. <a target="_blank" class="thickbox" href="%2$s">View version %3$s details</a>.', 'edd' ),
179
- esc_html( $version_info->name ),
180
- esc_url( $changelog_link ),
181
- esc_html( $version_info->new_version )
182
- );
183
- } else {
184
- printf(
185
- __( 'There is a new version of %1$s available. <a target="_blank" class="thickbox" href="%2$s">View version %3$s details</a> or <a href="%4$s">update now</a>.', 'edd' ),
186
- esc_html( $version_info->name ),
187
- esc_url( $changelog_link ),
188
- esc_html( $version_info->new_version ),
189
- esc_url( wp_nonce_url( self_admin_url( 'update.php?action=upgrade-plugin&plugin=' ) . $this->name, 'upgrade-plugin_' . $this->name ) )
190
- );
191
- }
192
-
193
- echo '</div></td></tr>';
194
- }
195
- }
196
-
197
-
198
- /**
199
- * Updates information on the "View version x.x details" page with custom data.
200
- *
201
- * @uses api_request()
202
- *
203
- * @param mixed $_data
204
- * @param string $_action
205
- * @param object $_args
206
- * @return object $_data
207
- */
208
- function plugins_api_filter( $_data, $_action = '', $_args = null ) {
209
-
210
-
211
- if ( $_action != 'plugin_information' ) {
212
-
213
- return $_data;
214
-
215
- }
216
-
217
- if ( ! isset( $_args->slug ) || ( $_args->slug != $this->slug ) ) {
218
-
219
- return $_data;
220
-
221
- }
222
-
223
- $to_send = array(
224
- 'slug' => $this->slug,
225
- 'is_ssl' => is_ssl(),
226
- 'fields' => array(
227
- 'banners' => false, // These will be supported soon hopefully
228
- 'reviews' => false
229
- )
230
- );
231
-
232
- $api_response = $this->api_request( 'plugin_information', $to_send );
233
-
234
- if ( false !== $api_response ) {
235
- $_data = $api_response;
236
- }
237
-
238
- return $_data;
239
- }
240
-
241
-
242
- /**
243
- * Disable SSL verification in order to prevent download update failures
244
- *
245
- * @param array $args
246
- * @param string $url
247
- * @return object $array
248
- */
249
- function http_request_args( $args, $url ) {
250
- // If it is an https request and we are performing a package download, disable ssl verification
251
- if ( strpos( $url, 'https://' ) !== false && strpos( $url, 'edd_action=package_download' ) ) {
252
- $args['sslverify'] = false;
253
- }
254
- return $args;
255
- }
256
-
257
- /**
258
- * Calls the API and, if successfull, returns the object delivered by the API.
259
- *
260
- * @uses get_bloginfo()
261
- * @uses wp_remote_post()
262
- * @uses is_wp_error()
263
- *
264
- * @param string $_action The requested action.
265
- * @param array $_data Parameters for the API action.
266
- * @return false|object
267
- */
268
- private function api_request( $_action, $_data ) {
269
-
270
- global $wp_version;
271
-
272
- $data = array_merge( $this->api_data, $_data );
273
-
274
- if ( $data['slug'] != $this->slug )
275
- return;
276
-
277
- if ( empty( $data['license'] ) )
278
- return;
279
-
280
- if( $this->api_url == home_url() ) {
281
- return false; // Don't allow a plugin to ping itself
282
- }
283
-
284
- $api_params = array(
285
- 'edd_action' => 'get_version',
286
- 'license' => $data['license'],
287
- 'item_name' => isset( $data['item_name'] ) ? $data['item_name'] : false,
288
- 'item_id' => isset( $data['item_id'] ) ? $data['item_id'] : false,
289
- 'slug' => $data['slug'],
290
- 'author' => $data['author'],
291
- 'url' => home_url()
292
- );
293
-
294
- $request = wp_remote_post( $this->api_url, array( 'timeout' => 15, 'sslverify' => false, 'body' => $api_params ) );
295
-
296
- if ( ! is_wp_error( $request ) ) {
297
- $request = json_decode( wp_remote_retrieve_body( $request ) );
298
- }
299
-
300
- if ( $request && isset( $request->sections ) ) {
301
- $request->sections = maybe_unserialize( $request->sections );
302
- } else {
303
- $request = false;
304
- }
305
-
306
- return $request;
307
- }
308
-
309
- public function show_changelog() {
310
-
311
-
312
- if( empty( $_REQUEST['edd_sl_action'] ) || 'view_plugin_changelog' != $_REQUEST['edd_sl_action'] ) {
313
- return;
314
- }
315
-
316
- if( empty( $_REQUEST['plugin'] ) ) {
317
- return;
318
- }
319
-
320
- if( empty( $_REQUEST['slug'] ) ) {
321
- return;
322
- }
323
-
324
- if( ! current_user_can( 'update_plugins' ) ) {
325
- wp_die( __( 'You do not have permission to install plugin updates', 'edd' ), __( 'Error', 'edd' ), array( 'response' => 403 ) );
326
- }
327
-
328
- $response = $this->api_request( 'plugin_latest_version', array( 'slug' => $_REQUEST['slug'] ) );
329
-
330
- if( $response && isset( $response->sections['changelog'] ) ) {
331
- echo '<div style="background:#fff;padding:10px;">' . $response->sections['changelog'] . '</div>';
332
- }
333
-
334
-
335
- exit;
336
- }
337
-
338
- }