Version Description
- Changes in all versions:
- New Sync bookings between different sources easily via .ics feeds
- New Native integration with our Booking Manager plugin for ability to import/export .ics feeds or files
- New Import .ics feeds via shortcodes at pages. It gives a great flexibility to import .ics feeds from different sources (like Airbnb, Booking.com, HomeAway, TripAdvisor, VRBO, FlipKey or any other calendar that uses .ics format) into same booking resource.
- New Define different parameters in import shortcode, for example, you can set "start from" and "finish to" date condition or maximum number of items to import or import only events for available dates in exist calendar, etc...
- New Confgure custom ULRs at setting page for export bookings to .ics feeds/files
- Translation Finnish translation [98% completed] by Teemu Valkeap
- Translation Chinese (Taiwan) translation [98% completed] by Howdy Lee
- Translation Dutch translation [98% completed] by Alex Rabayev and Iris Schuster
- Translation Norwegian translation [98% completed] by Bjrn Kre Lland
- Translation Brazilian Portuguese translation [98% completed] by Rafael Rocha
- Improvement New setting option for activation showing system debug log, for Beta features. Useful in case, if need to find reason, if something was going wrong. You can activate it at the Booking > Settings General page in Advanced section after clicking on "Show advanced settings of JavaScript loading." ( 7.2.1.15 )
- Improvement Showing system messages one under other instead of replacing each other in admin panel. Its possible to hide top one and see previous notices (7.2.1.16)
- Improvement Show in "New (visitor)" email (that is sending to the visitor after new booking) the date that is one day previous to the last selected day, by using this shortcode: check_out_minus1day
- Fix Correctly load custom jQuery via https (in some servers), if website is using SSL ( 7.2.1.4 )
- Fix Compatibility issue with other plugins, during expand/collapsing sections at settings pages (7.2.1.10)
- Fix Additional checking about $_SERVER variables, for preventing of showing "Warning Notices" at some servers ( 7.2.1.17 )
- Fix Loading correct language, if language was set to English in user profile but in WordPress > General > Settings page was set some other default language ( 7.2.1.21 )
- Under Hood New API File /{Booking Calendar Folder}/core/wpbc-dev-api.php - well documented list of functions and hooks that possible to use for third-party integrations.
- Changes in Personal / Business Small / Business Medium / Business Large / MultiUser versions:
- New shortcode for showing coupon discount value of the booking: [coupon_discount_hint] at Booking > Settings > Form page (Business Large, MultiUser)
- Improvement Discount coupon codes will not depend from symbols lowercase or uppercase. Prevent of saving coupon codes with specific symbols, which can generate issue of not showing discount at payment form. (7.2.1.3) (Business Large, MultiUser)
- Improvement Show "blank" bookings with different border color at Calendar Overview page. (7.2.1.8) (Personal Business Small/Medium/Large, MultiUser)
- Improvement Apply "Valuation days" cost settings "For
Download this release
Release Info
Developer | wpdevelop |
Plugin | Booking Calendar |
Version | 8.0 |
Comparing to | |
See all releases |
Code changes from version 7.2 to 8.0
- core/admin/api-settings.php +15 -0
- core/admin/page-bookings.php +2 -2
- core/admin/page-email-approved.php +1 -0
- core/admin/page-email-new-visitor.php +2 -0
- core/admin/page-form-free.php +2 -2
- core/admin/page-ics-export.php +471 -0
- core/admin/page-ics-import.php +738 -0
- core/admin/page-import-gcal.php +8 -8
- core/admin/wpbc-class-timeline.php +17 -10
- core/any/css/admin-listing-table.css +2 -3
- core/any/js/admin-support.js +26 -7
- core/class/wpbc-class-welcome.php +194 -153
- core/lib/wpbc-ajax.php +47 -31
- core/lib/wpbc-booking-new.php +15 -8
- core/lib/wpbc_all_translations.php +40 -10
- core/wpbc-activation.php +4 -0
- core/wpbc-constants.php +2 -2
- core/wpbc-dates.php +7 -0
- core/wpbc-debug.php +67 -1
- core/wpbc-dev-api.php +389 -0
- core/wpbc-functions.php +18 -3
- core/wpbc-include.php +4 -0
- core/wpbc-js.php +13 -5
- core/wpbc-translation.php +21 -8
- css/timeline.css +5 -1
- js/client.js +63 -54
- languages/booking-ar_SA.mo +0 -0
- languages/booking-be_BY.mo +0 -0
- languages/booking-bg_BG.mo +0 -0
- languages/booking-ca.mo +0 -0
- languages/booking-cs_CZ.mo +0 -0
- languages/booking-da_DK.mo +0 -0
- languages/booking-de_DE.mo +0 -0
- languages/booking-el.mo +0 -0
- languages/booking-es_ES.mo +0 -0
- languages/booking-fi.mo +0 -0
- languages/booking-fr_FR.mo +0 -0
- languages/booking-he_IL.mo +0 -0
- languages/booking-hr.mo +0 -0
- languages/booking-hu_HU.mo +0 -0
- languages/booking-it_IT.mo +0 -0
- languages/booking-nb_NO.mo +0 -0
- languages/booking-nl_NL.mo +0 -0
- languages/booking-pl_PL.mo +0 -0
- languages/booking-pt_BR.mo +0 -0
- languages/booking-pt_PT.mo +0 -0
- languages/booking-ru_RU.mo +0 -0
- languages/booking-sk_SK.mo +0 -0
- languages/booking-sv_SE.mo +0 -0
- languages/booking-tr_TR.mo +0 -0
- languages/booking-uk_UK.mo +0 -0
- languages/booking-zh_CN.mo +0 -0
- languages/booking-zh_TW.mo +0 -0
- languages/booking.pot +501 -343
- readme.txt +80 -38
- wpdev-booking.php +1 -1
core/admin/api-settings.php
CHANGED
@@ -807,6 +807,21 @@ class WPBC_Settings_API_General extends WPBC_Settings_API {
|
|
807 |
, 'tr_class' => 'wpbc_advanced_js_loading_settings wpbc_is_load_js_css_on_specific_pages wpbc_sub_settings_grayed hidden_items'
|
808 |
, 'is_demo_safe' => wpbc_is_this_demo()
|
809 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
810 |
if ( wpbc_is_this_demo() )
|
811 |
$this->fields['booking_pages_for_load_js_css_demo'] = array( 'group' => 'advanced', 'type' => 'html', 'html' => wpbc_get_warning_text_in_demo_mode(), 'cols' => 2 , 'tr_class' => 'wpbc_advanced_js_loading_settings wpbc_sub_settings_grayed hidden_items' );
|
812 |
|
807 |
, 'tr_class' => 'wpbc_advanced_js_loading_settings wpbc_is_load_js_css_on_specific_pages wpbc_sub_settings_grayed hidden_items'
|
808 |
, 'is_demo_safe' => wpbc_is_this_demo()
|
809 |
);
|
810 |
+
|
811 |
+
$this->fields['hr_booking_is_show_system_debug_log'] = array( 'type' => 'hr', 'group' => 'advanced', 'tr_class' => 'wpbc_advanced_js_loading_settings wpbc_sub_settings_grayed hidden_items' );
|
812 |
+
//FixIn: 7.2.1.15
|
813 |
+
$this->fields[ 'booking_is_show_system_debug_log' ] = array(
|
814 |
+
'type' => 'checkbox'
|
815 |
+
, 'default' => $default_options_values['booking_is_show_system_debug_log'] //'Off'
|
816 |
+
, 'title' => __('Show system debugging log for beta features' ,'booking')
|
817 |
+
, 'label' => __('Activate this option only for testing beta features' ,'booking')
|
818 |
+
, 'description' => ''
|
819 |
+
, 'group' => 'advanced'
|
820 |
+
, 'tr_class' => 'wpbc_advanced_js_loading_settings wpbc_sub_settings_grayed hidden_items'
|
821 |
+
, 'is_demo_safe' => wpbc_is_this_demo()
|
822 |
+
);
|
823 |
+
|
824 |
+
|
825 |
if ( wpbc_is_this_demo() )
|
826 |
$this->fields['booking_pages_for_load_js_css_demo'] = array( 'group' => 'advanced', 'type' => 'html', 'html' => wpbc_get_warning_text_in_demo_mode(), 'cols' => 2 , 'tr_class' => 'wpbc_advanced_js_loading_settings wpbc_sub_settings_grayed hidden_items' );
|
827 |
|
core/admin/page-bookings.php
CHANGED
@@ -99,10 +99,10 @@ class WPBC_Page_Bookings extends WPBC_Page_Structure {
|
|
99 |
|
100 |
|
101 |
?><div class="clear" style="height:40px;"></div><?php
|
102 |
-
|
103 |
$args = wpbc_get_clean_paramas_from_request_for_booking_listing(); // Get safy PARAMS from REQUEST
|
104 |
echo '<textarea id="bk_request_params" style="display:none;">', serialize( $args ), '</textarea>';
|
105 |
-
|
106 |
////////////////////////////////////////////////////////////////////////
|
107 |
// B O O K I N G L I S T I N G P A G E
|
108 |
////////////////////////////////////////////////////////////////////////
|
99 |
|
100 |
|
101 |
?><div class="clear" style="height:40px;"></div><?php
|
102 |
+
//debuge($_REQUEST);
|
103 |
$args = wpbc_get_clean_paramas_from_request_for_booking_listing(); // Get safy PARAMS from REQUEST
|
104 |
echo '<textarea id="bk_request_params" style="display:none;">', serialize( $args ), '</textarea>';
|
105 |
+
//debuge($args);
|
106 |
////////////////////////////////////////////////////////////////////////
|
107 |
// B O O K I N G L I S T I N G P A G E
|
108 |
////////////////////////////////////////////////////////////////////////
|
core/admin/page-email-approved.php
CHANGED
@@ -1074,6 +1074,7 @@ function wpbc_send_email_approved( $approved_id_str, $is_send_emeils, $denyreaso
|
|
1074 |
$replace[ 'denyreason' ] = $denyreason; //FixIn: 7.0.1.1
|
1075 |
$replace[ 'approvereason' ] = $denyreason; //FixIn: 7.0.1.1
|
1076 |
$replace[ 'reason' ] = $denyreason; //FixIn: 7.0.1.1
|
|
|
1077 |
|
1078 |
// Replace shortcodes with custom URL parameter, like: 'visitorbookingediturl', 'visitorbookingcancelurl', 'visitorbookingpayurl'
|
1079 |
foreach ( array( 'visitorbookingediturl', 'visitorbookingcancelurl', 'visitorbookingpayurl' ) as $url_shortcode ) { //FixIn: 7.0.1.8
|
1074 |
$replace[ 'denyreason' ] = $denyreason; //FixIn: 7.0.1.1
|
1075 |
$replace[ 'approvereason' ] = $denyreason; //FixIn: 7.0.1.1
|
1076 |
$replace[ 'reason' ] = $denyreason; //FixIn: 7.0.1.1
|
1077 |
+
$replace[ 'remark' ] = $res->remark; //FixIn: 7.2.1.19
|
1078 |
|
1079 |
// Replace shortcodes with custom URL parameter, like: 'visitorbookingediturl', 'visitorbookingcancelurl', 'visitorbookingpayurl'
|
1080 |
foreach ( array( 'visitorbookingediturl', 'visitorbookingcancelurl', 'visitorbookingpayurl' ) as $url_shortcode ) { //FixIn: 7.0.1.8
|
core/admin/page-email-new-visitor.php
CHANGED
@@ -948,6 +948,7 @@ function wpbc__get_replace_shortcodes__email_new_visitor( $booking_id, $bktype,
|
|
948 |
$my_check_in_date = wpbc_change_dates_format( $my_dates4emeil_check_in_out[0] );
|
949 |
$my_check_out_date = wpbc_change_dates_format( $my_dates4emeil_check_in_out[ count( $my_dates4emeil_check_in_out ) - 1 ] );
|
950 |
$my_check_out_plus1day = wpbc_change_dates_format( date_i18n( 'Y-m-d H:i:s', strtotime( $my_dates4emeil_check_in_out[ count( $my_dates4emeil_check_in_out ) - 1 ] . " +1 day" ) ) ); //FixIn: 6.0.1.11
|
|
|
951 |
|
952 |
// Cost ////////////////////////////////////////////////////////////////////
|
953 |
$booking_cost = apply_bk_filter( 'get_booking_cost_from_db', '', $booking_id );
|
@@ -960,6 +961,7 @@ function wpbc__get_replace_shortcodes__email_new_visitor( $booking_id, $bktype,
|
|
960 |
$replace[ 'check_in_date' ] = $my_check_in_date;
|
961 |
$replace[ 'check_out_date' ] = $my_check_out_date;
|
962 |
$replace[ 'check_out_plus1day'] = $my_check_out_plus1day; //FixIn: 6.0.1.11
|
|
|
963 |
$replace[ 'dates_count' ] = count( $my_dates4emeil_check_in_out );
|
964 |
$replace[ 'cost' ] = $booking_cost;
|
965 |
$replace[ 'siteurl' ] = htmlspecialchars_decode( '<a href="' . home_url() . '">' . home_url() . '</a>' );
|
948 |
$my_check_in_date = wpbc_change_dates_format( $my_dates4emeil_check_in_out[0] );
|
949 |
$my_check_out_date = wpbc_change_dates_format( $my_dates4emeil_check_in_out[ count( $my_dates4emeil_check_in_out ) - 1 ] );
|
950 |
$my_check_out_plus1day = wpbc_change_dates_format( date_i18n( 'Y-m-d H:i:s', strtotime( $my_dates4emeil_check_in_out[ count( $my_dates4emeil_check_in_out ) - 1 ] . " +1 day" ) ) ); //FixIn: 6.0.1.11
|
951 |
+
$my_check_out_minus1day = wpbc_change_dates_format( date_i18n( 'Y-m-d H:i:s', strtotime( $my_dates4emeil_check_in_out[ count( $my_dates4emeil_check_in_out ) - 1 ] . " -1 day" ) ) ); //FixIn: 7.2.1.6
|
952 |
|
953 |
// Cost ////////////////////////////////////////////////////////////////////
|
954 |
$booking_cost = apply_bk_filter( 'get_booking_cost_from_db', '', $booking_id );
|
961 |
$replace[ 'check_in_date' ] = $my_check_in_date;
|
962 |
$replace[ 'check_out_date' ] = $my_check_out_date;
|
963 |
$replace[ 'check_out_plus1day'] = $my_check_out_plus1day; //FixIn: 6.0.1.11
|
964 |
+
$replace[ 'check_out_minus1day'] = $my_check_out_minus1day; //FixIn: 7.2.1.6
|
965 |
$replace[ 'dates_count' ] = count( $my_dates4emeil_check_in_out );
|
966 |
$replace[ 'cost' ] = $booking_cost;
|
967 |
$replace[ 'siteurl' ] = htmlspecialchars_decode( '<a href="' . home_url() . '">' . home_url() . '</a>' );
|
core/admin/page-form-free.php
CHANGED
@@ -395,7 +395,7 @@ class WPBC_Page_SettingsFormFieldsFree extends WPBC_Page_Structure {
|
|
395 |
$visual_form_structure = maybe_unserialize( $visual_form_structure );
|
396 |
|
397 |
$my_form = '[calendar]' . "\n";
|
398 |
-
|
399 |
$skip_already_exist_field_types = array( 'calendar', 'submit', 'captcha' );
|
400 |
|
401 |
foreach ( $visual_form_structure as $key => $form_field ) {
|
@@ -499,7 +499,7 @@ class WPBC_Page_SettingsFormFieldsFree extends WPBC_Page_Structure {
|
|
499 |
|
500 |
$my_form.='<div class="form-group">[captcha]</div>' . "\n";
|
501 |
$my_form.='<div class="form-group"><button class="btn btn-default" type="button" onclick="mybooking_submit(this.form,'.$my_boook_type.',\''.wpbc_get_booking_locale().'\');" >'.__('Send' ,'booking').'</button></div>' . "\n";
|
502 |
-
|
503 |
return $my_form;
|
504 |
|
505 |
}
|
395 |
$visual_form_structure = maybe_unserialize( $visual_form_structure );
|
396 |
|
397 |
$my_form = '[calendar]' . "\n";
|
398 |
+
//$my_form = '<div style="float:left;margin-right:35px;" >[calendar]</div><div style="float:left;margin-top:-20px;" >';
|
399 |
$skip_already_exist_field_types = array( 'calendar', 'submit', 'captcha' );
|
400 |
|
401 |
foreach ( $visual_form_structure as $key => $form_field ) {
|
499 |
|
500 |
$my_form.='<div class="form-group">[captcha]</div>' . "\n";
|
501 |
$my_form.='<div class="form-group"><button class="btn btn-default" type="button" onclick="mybooking_submit(this.form,'.$my_boook_type.',\''.wpbc_get_booking_locale().'\');" >'.__('Send' ,'booking').'</button></div>' . "\n";
|
502 |
+
//$my_form .= ' </div><div style="clear:both;"></div>' ;
|
503 |
return $my_form;
|
504 |
|
505 |
}
|
core/admin/page-ics-export.php
ADDED
@@ -0,0 +1,471 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* @version 1.0
|
4 |
+
* @menu Booking > Settings > (Sync) Export page
|
5 |
+
* @category Settings API
|
6 |
+
* @author wpdevelop
|
7 |
+
*
|
8 |
+
* @web-site http://wpbookingcalendar.com/
|
9 |
+
* @email info@wpbookingcalendar.com
|
10 |
+
* @modified 2017-07-09
|
11 |
+
*
|
12 |
+
* This is COMMERCIAL SCRIPT
|
13 |
+
* We are do not guarantee correct work and support of Booking Calendar, if some file(s) was modified by someone else then wpdevelop.
|
14 |
+
*/
|
15 |
+
|
16 |
+
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
17 |
+
|
18 |
+
//FixIn: 8.0
|
19 |
+
|
20 |
+
/** Show Content
|
21 |
+
* Update Content
|
22 |
+
* Define Slug
|
23 |
+
* Define where to show
|
24 |
+
*/
|
25 |
+
class WPBC_Page_SettingsExportFeeds extends WPBC_Page_Structure {
|
26 |
+
|
27 |
+
|
28 |
+
public $settings_api = false;
|
29 |
+
|
30 |
+
|
31 |
+
public function in_page() {
|
32 |
+
return 'wpbc-settings';
|
33 |
+
}
|
34 |
+
|
35 |
+
|
36 |
+
public function tabs() {
|
37 |
+
|
38 |
+
$tabs = array();
|
39 |
+
|
40 |
+
$tabs[ 'sync' ] = array(
|
41 |
+
'title' => __( 'Sync', 'booking') // Title of TAB
|
42 |
+
, 'page_title'=> __( 'Sync', 'booking') // Title of Page
|
43 |
+
, 'hint' => __('Import' ,'booking') . ' / ' . __('Export' ,'booking')
|
44 |
+
//, 'link' => '' // Can be skiped, then generated link based on Page and Tab tags. Or can be extenral link
|
45 |
+
//, 'position' => '' // 'left' || 'right' || ''
|
46 |
+
//, 'css_classes'=> '' // CSS class(es)
|
47 |
+
//, 'icon' => '' // Icon - link to the real PNG img
|
48 |
+
, 'font_icon' => 'glyphicon glyphicon-import' // CSS definition of forn Icon
|
49 |
+
//, 'default' => false // Is this tab activated by default or not: true || false.
|
50 |
+
//, 'disabled' => false // Is this tab disbaled: true || false.
|
51 |
+
//, 'hided' => false // Is this tab hided: true || false.
|
52 |
+
, 'subtabs' => array()
|
53 |
+
);
|
54 |
+
|
55 |
+
|
56 |
+
$subtabs = array();
|
57 |
+
|
58 |
+
$subtabs[ 'export' ] = array(
|
59 |
+
'type' => 'subtab' // Required| Possible values: 'subtab' | 'separator' | 'button' | 'goto-link' | 'html'
|
60 |
+
, 'title' => __('Export' ,'booking') . ' - .ics' // Title of TAB
|
61 |
+
, 'page_title' => __('Export' ,'booking') . ' .ics '
|
62 |
+
. ' <span style="padding: 10px;font-size: 12px;font-style: italic;vertical-align: top;">Beta</span>' // Title of Page
|
63 |
+
, 'hint' => __('Export' ,'booking') . ' .ics/ical ' . __('feed', 'booking') // Hint
|
64 |
+
, 'link' => '' // link
|
65 |
+
, 'position' => '' // 'left' || 'right' || ''
|
66 |
+
, 'css_classes' => '' // CSS class(es)
|
67 |
+
//, 'icon' => 'http://.../icon.png' // Icon - link to the real PNG img
|
68 |
+
//, 'font_icon' => 'glyphicon glyphicon-envelope' // CSS definition of Font Icon
|
69 |
+
, 'default' => false // Is this sub tab activated by default or not: true || false.
|
70 |
+
, 'disabled' => false // Is this sub tab deactivated: true || false.
|
71 |
+
, 'checkbox' => false // or definition array for specific checkbox: array( 'checked' => true, 'name' => 'feature1_active_status' ) //, 'checkbox' => array( 'checked' => $is_checked, 'name' => 'enabled_active_status' )
|
72 |
+
, 'content' => 'content' // Function to load as conten of this TAB
|
73 |
+
);
|
74 |
+
|
75 |
+
$tabs[ 'sync' ]['subtabs'] = $subtabs;
|
76 |
+
|
77 |
+
|
78 |
+
return $tabs;
|
79 |
+
}
|
80 |
+
|
81 |
+
|
82 |
+
/** Show Content of Settings page */
|
83 |
+
public function content() {
|
84 |
+
|
85 |
+
$this->css();
|
86 |
+
|
87 |
+
////////////////////////////////////////////////////////////////////////
|
88 |
+
// Checking
|
89 |
+
////////////////////////////////////////////////////////////////////////
|
90 |
+
|
91 |
+
do_action( 'wpbc_hook_settings_page_header', 'export_feeds_settings'); // Define Notices Section and show some static messages, if needed
|
92 |
+
|
93 |
+
if ( ! wpbc_is_mu_user_can_be_here('activated_user') ) return false; // Check if MU user activated, otherwise show Warning message.
|
94 |
+
|
95 |
+
// if ( ! wpbc_is_mu_user_can_be_here('only_super_admin') ) return false; // User is not Super admin, so exit. Basically its was already checked at the bottom of the PHP file, just in case.
|
96 |
+
|
97 |
+
////////////////////////////////////////////////////////////////////////
|
98 |
+
// Load Data
|
99 |
+
////////////////////////////////////////////////////////////////////////
|
100 |
+
|
101 |
+
|
102 |
+
////////////////////////////////////////////////////////////////////////
|
103 |
+
// S u b m i t Main Form
|
104 |
+
////////////////////////////////////////////////////////////////////////
|
105 |
+
|
106 |
+
$submit_form_name = 'wpbc_export_feeds'; // Define form name
|
107 |
+
|
108 |
+
// $this->get_api()->validated_form_id = $submit_form_name; // Define ID of Form for ability to validate fields (like required field) before submit.
|
109 |
+
|
110 |
+
if ( isset( $_POST['is_form_sbmitted_'. $submit_form_name ] ) ) {
|
111 |
+
|
112 |
+
// Nonce checking {Return false if invalid, 1 if generated between, 0-12 hours ago, 2 if generated between 12-24 hours ago. }
|
113 |
+
$nonce_gen_time = check_admin_referer( 'wpbc_settings_page_' . $submit_form_name ); // Its stop show anything on submiting, if its not refear to the original page
|
114 |
+
|
115 |
+
// Save Changes
|
116 |
+
$this->update();
|
117 |
+
}
|
118 |
+
|
119 |
+
|
120 |
+
////////////////////////////////////////////////////////////////////////
|
121 |
+
// JavaScript: Tooltips, Popover, Datepick (js & css)
|
122 |
+
////////////////////////////////////////////////////////////////////////
|
123 |
+
|
124 |
+
echo '<span class="wpdevelop">';
|
125 |
+
|
126 |
+
wpbc_js_for_bookings_page();
|
127 |
+
|
128 |
+
echo '</span>';
|
129 |
+
|
130 |
+
?><div class="clear" style="margin-bottom:0px;"></div><?php
|
131 |
+
|
132 |
+
|
133 |
+
$wpbm_version = wpbc_get_wpbm_version();
|
134 |
+
|
135 |
+
// If lower than 2, than show warning
|
136 |
+
if ( version_compare( $wpbm_version, '2.0', '<') ) {
|
137 |
+
$is_bm_exist = false;
|
138 |
+
} else {
|
139 |
+
$is_bm_exist = true;
|
140 |
+
}
|
141 |
+
|
142 |
+
if ( ! $is_bm_exist ) { // Not Exist
|
143 |
+
?>
|
144 |
+
<span class="metabox-holder">
|
145 |
+
<div class="clear" style="height:15px;"></div>
|
146 |
+
<div class="wpbc-settings-notice notice-error" style="text-align:left;font-size: 16px;padding: 5px 20px;">
|
147 |
+
<strong><?php _e('Important!' ,'booking'); ?></strong> <?php
|
148 |
+
|
149 |
+
printf( __( 'This feature require %s plugin. You can install %s plugin from this %spage%s.', 'booking' )
|
150 |
+
, '<strong><a class="" href="'. home_url() .'/wp-admin/plugin-install.php?s=booking+manager+by+oplugins&tab=search&type=term">'
|
151 |
+
// , '<strong><a class="thickbox open-plugin-details-modal" href="'. home_url() .'/wp-admin/plugin-install.php?tab=plugin-information&plugin=booking-manager&TB_iframe=true&width=772&height=741" target="_blank">'
|
152 |
+
. '' . 'Booking Manager' . '</a></strong>'
|
153 |
+
, '<strong>' . 'Booking Manager' . '</strong>'
|
154 |
+
, '<a target="_blank" href="https://wordpress.org/plugins/booking-manager/">'
|
155 |
+
, '</a>'
|
156 |
+
);
|
157 |
+
?>
|
158 |
+
</div>
|
159 |
+
<div class="clear" style="height:25px;"></div><?php
|
160 |
+
|
161 |
+
wpbc_open_meta_box_section( 'wpbc_settings_ics_import_help_how', __('How it works', 'booking') );
|
162 |
+
|
163 |
+
wpbc_ics_import_export__show_help_info( false );
|
164 |
+
|
165 |
+
wpbc_close_meta_box_section();
|
166 |
+
?></div<?php
|
167 |
+
|
168 |
+
} else { // Exist
|
169 |
+
|
170 |
+
if ( class_exists('wpdev_bk_personal') )
|
171 |
+
wpbc_toolbar_search_by_id__top_form( array(
|
172 |
+
'search_form_id' => 'wpbc_booking_resources_search_form'
|
173 |
+
, 'search_get_key' => 'wh_resource_id'
|
174 |
+
, 'is_pseudo' => false
|
175 |
+
) );
|
176 |
+
|
177 |
+
////////////////////////////////////////////////////////////////////////
|
178 |
+
// Content
|
179 |
+
////////////////////////////////////////////////////////////////////////
|
180 |
+
?>
|
181 |
+
<div class="clear" style="margin-bottom:0px;"></div>
|
182 |
+
<span class="metabox-holder">
|
183 |
+
<form name="<?php echo $submit_form_name; ?>" id="<?php echo $submit_form_name; ?>" action="" method="post" autocomplete="off">
|
184 |
+
<?php
|
185 |
+
// N o n c e field, and key for checking S u b m i t
|
186 |
+
wp_nonce_field( 'wpbc_settings_page_' . $submit_form_name );
|
187 |
+
?><input type="hidden" name="is_form_sbmitted_<?php echo $submit_form_name; ?>" id="is_form_sbmitted_<?php echo $submit_form_name; ?>" value="1" /><?php
|
188 |
+
?>
|
189 |
+
<div class="clear" style="margin-top:10px;"></div>
|
190 |
+
<div id="wpbc_resources_link" class="clear"></div>
|
191 |
+
<?php if ( class_exists('wpdev_bk_personal') ) { ?>
|
192 |
+
<div id="wpbc_resource_table_gcal_id" class="wpbc_settings_row wpbc_settings_row_rightNO"><?php
|
193 |
+
|
194 |
+
//wpbc_open_meta_box_section( 'wpbc_settings_export_feeds_resources', __('Resources', 'booking') );
|
195 |
+
|
196 |
+
wpbc_export_feeds__show_table();
|
197 |
+
|
198 |
+
//wpbc_close_meta_box_section();
|
199 |
+
?>
|
200 |
+
</div>
|
201 |
+
<div class="clear"></div>
|
202 |
+
<?php } else {
|
203 |
+
|
204 |
+
|
205 |
+
// Booking Calendar Free version
|
206 |
+
|
207 |
+
wpbc_open_meta_box_section( 'wpbc_settings_export_feeds_resources', __('Export' ,'booking') . ' .ics/ical ' . __('feed', 'booking') );
|
208 |
+
|
209 |
+
wpbc_export_ics_feed__table();
|
210 |
+
|
211 |
+
wpbc_close_meta_box_section();
|
212 |
+
|
213 |
+
|
214 |
+
} ?>
|
215 |
+
<input type="submit" value="<?php _e('Save Changes','booking'); ?>" class="button button-primary wpbc_submit_button" />
|
216 |
+
|
217 |
+
<div class="clear" style="height:25px;"></div><?php
|
218 |
+
|
219 |
+
wpbc_open_meta_box_section( 'wpbc_settings_ics_import_help_how', __('How it works', 'booking') );
|
220 |
+
|
221 |
+
wpbc_ics_import_export__show_help_info( false );
|
222 |
+
|
223 |
+
wpbc_close_meta_box_section();
|
224 |
+
?><div class="clear"></div>
|
225 |
+
|
226 |
+
|
227 |
+
</form>
|
228 |
+
</span>
|
229 |
+
<?php
|
230 |
+
|
231 |
+
}
|
232 |
+
do_action( 'wpbc_hook_settings_page_footer', 'export_feeds_settings' );
|
233 |
+
|
234 |
+
$this->enqueue_js();
|
235 |
+
}
|
236 |
+
|
237 |
+
|
238 |
+
/** Save Chanages */
|
239 |
+
public function update() {
|
240 |
+
|
241 |
+
if ( function_exists( 'wpbc_export_feeds__update') )
|
242 |
+
wpbc_export_feeds__update();
|
243 |
+
else
|
244 |
+
wpbc_export_ics_feed__update(); // Free version
|
245 |
+
|
246 |
+
// Get Validated Email fields
|
247 |
+
//$validated_fields = $this->get_api()->validate_post();
|
248 |
+
//$validated_fields = apply_filters( 'wpbc_fields_before_saving_to_db__export_feeds', $validated_fields ); //Hook for validated fields.
|
249 |
+
//$this->get_api()->save_to_db( $validated_fields );
|
250 |
+
|
251 |
+
// Old way of saving:
|
252 |
+
// update_bk_option( 'booking_cache_expiration' , WPBC_Settings_API::validate_text_post_static( 'booking_cache_expiration' ) );
|
253 |
+
|
254 |
+
wpbc_show_changes_saved_message();
|
255 |
+
}
|
256 |
+
|
257 |
+
//TODO: claer unused CSS here
|
258 |
+
|
259 |
+
// <editor-fold defaultstate="collapsed" desc=" CSS & JS " >
|
260 |
+
|
261 |
+
/** CSS for this page */
|
262 |
+
private function css() {
|
263 |
+
?>
|
264 |
+
<style type="text/css">
|
265 |
+
.wpbc-help-message {
|
266 |
+
border:none;
|
267 |
+
}
|
268 |
+
/* toolbar fix */
|
269 |
+
.wpdevelop .visibility_container .control-group {
|
270 |
+
margin: 0 8px 5px 0;
|
271 |
+
}
|
272 |
+
/* Selectbox element in toolbar */
|
273 |
+
.visibility_container select optgroup{
|
274 |
+
color:#999;
|
275 |
+
vertical-align: middle;
|
276 |
+
font-style: italic;
|
277 |
+
font-weight: 400;
|
278 |
+
}
|
279 |
+
.visibility_container select option {
|
280 |
+
padding:5px;
|
281 |
+
font-weight: 600;
|
282 |
+
}
|
283 |
+
.visibility_container select optgroup option{
|
284 |
+
padding: 5px 20px;
|
285 |
+
color:#555;
|
286 |
+
font-weight: 600;
|
287 |
+
}
|
288 |
+
#wpbc_create_new_custom_form_name_fields {
|
289 |
+
width: 360px;
|
290 |
+
display:none;
|
291 |
+
}
|
292 |
+
.wpbc_tr_booking_export_feed_free input[type="text"].regular-text {
|
293 |
+
margin-right:10px;
|
294 |
+
}
|
295 |
+
@media (max-width: 782px) {
|
296 |
+
#wpbc_create_new_custom_form_name_fields {
|
297 |
+
width: 100%;
|
298 |
+
}
|
299 |
+
.wpbc_tr_booking_export_feed_free code {
|
300 |
+
display: inline;
|
301 |
+
line-height: 2.7em;
|
302 |
+
vertical-align: top;
|
303 |
+
padding: 7px 10px;
|
304 |
+
margin: 0;
|
305 |
+
}
|
306 |
+
.wpbc_tr_booking_export_feed_free input[type="text"].regular-text {
|
307 |
+
width:65%;
|
308 |
+
display: inline;
|
309 |
+
}
|
310 |
+
}
|
311 |
+
</style>
|
312 |
+
<?php
|
313 |
+
}
|
314 |
+
|
315 |
+
|
316 |
+
|
317 |
+
/** Add Custon JavaScript - for some specific settings options
|
318 |
+
* Executed After post content, after initial definition of settings, and possible definition after POST request.
|
319 |
+
*
|
320 |
+
* @param type $menu_slug
|
321 |
+
*/
|
322 |
+
private function enqueue_js(){
|
323 |
+
|
324 |
+
// JavaScript //////////////////////////////////////////////////////////////
|
325 |
+
|
326 |
+
$js_script = '';
|
327 |
+
|
328 |
+
|
329 |
+
//Show|Hide grayed section
|
330 |
+
$js_script .= "
|
331 |
+
if ( ! jQuery('#export_feeds_booking_gcal_auto_import_is_active').is(':checked') ) {
|
332 |
+
jQuery('.wpbc_tr_auto_import').addClass('hidden_items');
|
333 |
+
}
|
334 |
+
";
|
335 |
+
// Hide|Show on Click Checkbox
|
336 |
+
$js_script .= " jQuery('#export_feeds_booking_gcal_auto_import_is_active').on( 'change', function(){
|
337 |
+
if ( this.checked ) {
|
338 |
+
jQuery('.wpbc_tr_auto_import').removeClass('hidden_items');
|
339 |
+
} else {
|
340 |
+
jQuery('.wpbc_tr_auto_import').addClass('hidden_items');
|
341 |
+
}
|
342 |
+
} ); ";
|
343 |
+
// F R O M
|
344 |
+
$js_script .= "
|
345 |
+
if ( jQuery('#export_feeds_booking_gcal_events_from').val() != 'date' ) {
|
346 |
+
jQuery('.wpbc_tr_from_offset .wpbc_offset_value').removeClass('hidden_items');
|
347 |
+
jQuery('.wpbc_tr_from_offset .wpbc_offset_datetime').addClass('hidden_items');
|
348 |
+
} else {
|
349 |
+
jQuery('.wpbc_tr_from_offset .wpbc_offset_value').addClass('hidden_items');
|
350 |
+
jQuery('.wpbc_tr_from_offset .wpbc_offset_datetime').removeClass('hidden_items');
|
351 |
+
}
|
352 |
+
";
|
353 |
+
// On select option in selectbox
|
354 |
+
$js_script .= " jQuery('#export_feeds_booking_gcal_events_from').on( 'change', function(){
|
355 |
+
jQuery('#export_feeds_booking_gcal_events_from_offset').val('');
|
356 |
+
if ( jQuery(this).val() != 'date' ){
|
357 |
+
jQuery('.wpbc_tr_from_offset .wpbc_offset_value').removeClass('hidden_items');
|
358 |
+
jQuery('.wpbc_tr_from_offset .wpbc_offset_datetime').addClass('hidden_items');
|
359 |
+
} else {
|
360 |
+
jQuery('.wpbc_tr_from_offset .wpbc_offset_value').addClass('hidden_items');
|
361 |
+
jQuery('.wpbc_tr_from_offset .wpbc_offset_datetime').removeClass('hidden_items');
|
362 |
+
}
|
363 |
+
} ); ";
|
364 |
+
// U n t i l
|
365 |
+
$js_script .= "
|
366 |
+
if ( jQuery('#export_feeds_booking_gcal_events_until').val() != 'date' ) {
|
367 |
+
jQuery('.wpbc_tr_until_offset .wpbc_offset_value').removeClass('hidden_items');
|
368 |
+
jQuery('.wpbc_tr_until_offset .wpbc_offset_datetime').addClass('hidden_items');
|
369 |
+
} else {
|
370 |
+
jQuery('.wpbc_tr_until_offset .wpbc_offset_value').addClass('hidden_items');
|
371 |
+
jQuery('.wpbc_tr_until_offset .wpbc_offset_datetime').removeClass('hidden_items');
|
372 |
+
}
|
373 |
+
";
|
374 |
+
// On select option in selectbox
|
375 |
+
$js_script .= " jQuery('#export_feeds_booking_gcal_events_until').on( 'change', function(){
|
376 |
+
jQuery('#export_feeds_booking_gcal_events_until_offset').val('');
|
377 |
+
if ( jQuery(this).val() != 'date' ){
|
378 |
+
jQuery('.wpbc_tr_until_offset .wpbc_offset_value').removeClass('hidden_items');
|
379 |
+
jQuery('.wpbc_tr_until_offset .wpbc_offset_datetime').addClass('hidden_items');
|
380 |
+
} else {
|
381 |
+
jQuery('.wpbc_tr_until_offset .wpbc_offset_value').addClass('hidden_items');
|
382 |
+
jQuery('.wpbc_tr_until_offset .wpbc_offset_datetime').removeClass('hidden_items');
|
383 |
+
}
|
384 |
+
} ); ";
|
385 |
+
|
386 |
+
|
387 |
+
// // Hide|Show on Click Radion
|
388 |
+
// $js_script .= " jQuery('input[name=\"paypal_pro_hosted_solution\"]').on( 'change', function(){
|
389 |
+
// jQuery('.wpbc_sub_settings_paypal_account_type').addClass('hidden_items');
|
390 |
+
// if ( jQuery('#paypal_type_standard').is(':checked') ) {
|
391 |
+
// jQuery('.wpbc_sub_settings_paypal_standard').removeClass('hidden_items');
|
392 |
+
// } else {
|
393 |
+
// jQuery('.wpbc_sub_settings_paypal_pro_hosted').removeClass('hidden_items');
|
394 |
+
// }
|
395 |
+
// } ); ";
|
396 |
+
|
397 |
+
////////////////////////////////////////////////////////////////////////
|
398 |
+
|
399 |
+
|
400 |
+
// Eneque JS to the footer of the page
|
401 |
+
wpbc_enqueue_js( $js_script );
|
402 |
+
}
|
403 |
+
|
404 |
+
// </editor-fold>
|
405 |
+
|
406 |
+
}
|
407 |
+
add_action('wpbc_menu_created', array( new WPBC_Page_SettingsExportFeeds() , '__construct') ); // Executed after creation of Menu
|
408 |
+
|
409 |
+
|
410 |
+
|
411 |
+
/** Show .ics ULR section for Free version */
|
412 |
+
function wpbc_export_ics_feed__table() {
|
413 |
+
|
414 |
+
$resource_export = get_bk_option( 'booking_resource_export_ics_url' );
|
415 |
+
?>
|
416 |
+
<table class="form-table">
|
417 |
+
<tbody><tr class="wpbc_tr_booking_export_feed_free" valign="top">
|
418 |
+
<th scope="row">
|
419 |
+
<label for="booking_export_feed1" class="wpbc-form-text"><?php _e( '.ics feed URL', 'booking' ); ?></label>
|
420 |
+
</th>
|
421 |
+
<td><fieldset class="wpdevelop">
|
422 |
+
<legend class="screen-reader-text"><span><?php _e( '.ics feed URL', 'booking' ); ?></span></legend>
|
423 |
+
<code style="font-size:14px;background: #ddd;color:#000;"><a
|
424 |
+
href="<?php echo trim( home_url(), '/' ) . '/' . trim( $resource_export, '/'); ?>"
|
425 |
+
target="_blank"><?php echo home_url(); ?></a></code>
|
426 |
+
<input id="booking_export_feed1"
|
427 |
+
name="booking_export_feed1"
|
428 |
+
value="<?php echo $resource_export; ?>"
|
429 |
+
placeholder=""
|
430 |
+
autocomplete="off"
|
431 |
+
type="text"
|
432 |
+
class="regular-text"
|
433 |
+
/>
|
434 |
+
<a href="<?php echo trim( home_url(), '/' ) . '/' . trim( $resource_export, '/'); ?>"
|
435 |
+
title="<?php _e( 'Open in new window', 'booking' ); ?>"
|
436 |
+
target="_blank"><i class="menu_icon icon-1x glyphicon glyphicon-new-window"></i></a>
|
437 |
+
<p class="description"><?php _e( 'Please enter URL for generating .ics feed', 'booking' ); ?></p>
|
438 |
+
<div class="wpbc-settings-notice notice-info" style="text-align:left;border-top:1px solid #f0f0f0;border-right:1px solid #f0f0f0;">
|
439 |
+
<strong><?php _e( 'Note', 'booking' ) ?></strong>. <?php
|
440 |
+
printf( __( 'This .ics feed of bookings starting from today for 1 year', 'booking' ) );
|
441 |
+
?>
|
442 |
+
</div>
|
443 |
+
</fieldset></td>
|
444 |
+
</tr></tbody>
|
445 |
+
</table>
|
446 |
+
<?php
|
447 |
+
}
|
448 |
+
|
449 |
+
|
450 |
+
/** Save changes to URL in Free version
|
451 |
+
*
|
452 |
+
* @return string - validated value
|
453 |
+
*/
|
454 |
+
function wpbc_export_ics_feed__update() {
|
455 |
+
|
456 |
+
$validated_value = WPBC_Settings_API::validate_text_post_static( 'booking_export_feed1' );
|
457 |
+
|
458 |
+
$validated_value = explode( '/', $validated_value );
|
459 |
+
$validated_value = array_map( 'sanitize_file_name', $validated_value );
|
460 |
+
$validated_value = implode( '/', $validated_value );
|
461 |
+
$validated_value = strtolower( $validated_value );
|
462 |
+
|
463 |
+
$validated_value = wpbc_make_link_relative( $validated_value );
|
464 |
+
|
465 |
+
if ( empty( $validated_value ) )
|
466 |
+
$validated_value = '/ics/' . wpbc_get_slug_format( 'default' );
|
467 |
+
|
468 |
+
update_bk_option( 'booking_resource_export_ics_url', $validated_value );
|
469 |
+
|
470 |
+
return $validated_value;
|
471 |
+
}
|
core/admin/page-ics-import.php
ADDED
@@ -0,0 +1,738 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* @version 1.0
|
4 |
+
* @menu Booking > Settings > (Sync) Import page
|
5 |
+
* @category Settings API
|
6 |
+
* @author wpdevelop
|
7 |
+
*
|
8 |
+
* @web-site http://wpbookingcalendar.com/
|
9 |
+
* @email info@wpbookingcalendar.com
|
10 |
+
* @modified 2017-07-09
|
11 |
+
*
|
12 |
+
* This is COMMERCIAL SCRIPT
|
13 |
+
* We are do not guarantee correct work and support of Booking Calendar, if some file(s) was modified by someone else then wpdevelop.
|
14 |
+
*/
|
15 |
+
|
16 |
+
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
17 |
+
|
18 |
+
//FixIn: 8.0
|
19 |
+
|
20 |
+
/** Show Content
|
21 |
+
* Update Content
|
22 |
+
* Define Slug
|
23 |
+
* Define where to show
|
24 |
+
*/
|
25 |
+
class WPBC_Page_SettingsImportFeeds extends WPBC_Page_Structure {
|
26 |
+
|
27 |
+
// public $settings_api = false;
|
28 |
+
|
29 |
+
public function in_page() {
|
30 |
+
return 'wpbc-settings';
|
31 |
+
}
|
32 |
+
|
33 |
+
|
34 |
+
public function tabs() {
|
35 |
+
|
36 |
+
$tabs = array();
|
37 |
+
|
38 |
+
$tabs[ 'sync' ] = array(
|
39 |
+
'title' => __( 'Sync', 'booking') // Title of TAB
|
40 |
+
, 'page_title'=> __( 'Sync', 'booking') // Title of Page
|
41 |
+
, 'hint' => __('Import' ,'booking') . ' / ' . __('Export' ,'booking')
|
42 |
+
//, 'link' => '' // Can be skiped, then generated link based on Page and Tab tags. Or can be extenral link
|
43 |
+
//, 'position' => '' // 'left' || 'right' || ''
|
44 |
+
//, 'css_classes'=> '' // CSS class(es)
|
45 |
+
//, 'icon' => '' // Icon - link to the real PNG img
|
46 |
+
, 'font_icon' => 'glyphicon glyphicon-refresh' // CSS definition of forn Icon
|
47 |
+
//, 'default' => false // Is this tab activated by default or not: true || false.
|
48 |
+
//, 'disabled' => false // Is this tab disbaled: true || false.
|
49 |
+
//, 'hided' => false // Is this tab hided: true || false.
|
50 |
+
, 'subtabs' => array()
|
51 |
+
);
|
52 |
+
|
53 |
+
|
54 |
+
$subtabs = array();
|
55 |
+
|
56 |
+
$subtabs[ 'import' ] = array(
|
57 |
+
'type' => 'subtab' // Required| Possible values: 'subtab' | 'separator' | 'button' | 'goto-link' | 'html'
|
58 |
+
, 'title' => __('Import' ,'booking') . ' - .ics' // Title of TAB
|
59 |
+
, 'page_title' => __('Import' ,'booking') . ' .ics '
|
60 |
+
. ' <span style="padding: 10px;font-size: 12px;font-style: italic;vertical-align: top;">Beta</span>' // Title of Page
|
61 |
+
, 'hint' => __('Import' ,'booking') . ' .ics/ical ' . __('feeds', 'booking') // Hint
|
62 |
+
, 'link' => '' // link
|
63 |
+
, 'position' => '' // 'left' || 'right' || ''
|
64 |
+
, 'css_classes' => '' // CSS class(es)
|
65 |
+
//, 'icon' => 'http://.../icon.png' // Icon - link to the real PNG img
|
66 |
+
//, 'font_icon' => 'glyphicon glyphicon-envelope' // CSS definition of Font Icon
|
67 |
+
, 'default' => true // Is this sub tab activated by default or not: true || false.
|
68 |
+
, 'disabled' => false // Is this sub tab deactivated: true || false.
|
69 |
+
, 'checkbox' => false // or definition array for specific checkbox: array( 'checked' => true, 'name' => 'feature1_active_status' ) //, 'checkbox' => array( 'checked' => $is_checked, 'name' => 'enabled_active_status' )
|
70 |
+
, 'content' => 'content' // Function to load as conten of this TAB
|
71 |
+
);
|
72 |
+
|
73 |
+
$tabs[ 'sync' ]['subtabs'] = $subtabs;
|
74 |
+
|
75 |
+
|
76 |
+
return $tabs;
|
77 |
+
}
|
78 |
+
|
79 |
+
|
80 |
+
/** Show Content of Settings page */
|
81 |
+
public function content() {
|
82 |
+
|
83 |
+
$this->css();
|
84 |
+
|
85 |
+
////////////////////////////////////////////////////////////////////////
|
86 |
+
// Checking
|
87 |
+
////////////////////////////////////////////////////////////////////////
|
88 |
+
|
89 |
+
do_action( 'wpbc_hook_settings_page_header', 'ics_import_settings'); // Define Notices Section and show some static messages, if needed
|
90 |
+
|
91 |
+
if ( ! wpbc_is_mu_user_can_be_here('activated_user') ) return false; // Check if MU user activated, otherwise show Warning message.
|
92 |
+
|
93 |
+
// if ( ! wpbc_is_mu_user_can_be_here('only_super_admin') ) return false; // User is not Super admin, so exit. Basically its was already checked at the bottom of the PHP file, just in case.
|
94 |
+
|
95 |
+
|
96 |
+
////////////////////////////////////////////////////////////////////////
|
97 |
+
// Load Data
|
98 |
+
////////////////////////////////////////////////////////////////////////
|
99 |
+
//$booking_gcal_events_form_fields = get_bk_option( 'booking_gcal_events_form_fields');
|
100 |
+
//$booking_gcal_events_form_fields = maybe_unserialize( $booking_gcal_events_form_fields );
|
101 |
+
|
102 |
+
|
103 |
+
////////////////////////////////////////////////////////////////////////
|
104 |
+
// S u b m i t Main Form
|
105 |
+
////////////////////////////////////////////////////////////////////////
|
106 |
+
|
107 |
+
$submit_form_name = 'wpbc_ics_import'; // Define form name
|
108 |
+
|
109 |
+
//$this->get_api()->validated_form_id = $submit_form_name; // Define ID of Form for ability to validate fields (like required field) before submit.
|
110 |
+
|
111 |
+
if ( isset( $_POST['is_form_sbmitted_'. $submit_form_name ] ) ) {
|
112 |
+
|
113 |
+
// Nonce checking {Return false if invalid, 1 if generated between, 0-12 hours ago, 2 if generated between 12-24 hours ago. }
|
114 |
+
$nonce_gen_time = check_admin_referer( 'wpbc_settings_page_' . $submit_form_name ); // Its stop show anything on submiting, if its not refear to the original page
|
115 |
+
|
116 |
+
// Save Changes
|
117 |
+
$this->update();
|
118 |
+
}
|
119 |
+
|
120 |
+
|
121 |
+
////////////////////////////////////////////////////////////////////////
|
122 |
+
// JavaScript: Tooltips, Popover, Datepick (js & css)
|
123 |
+
////////////////////////////////////////////////////////////////////////
|
124 |
+
|
125 |
+
echo '<span class="wpdevelop">';
|
126 |
+
|
127 |
+
wpbc_js_for_bookings_page();
|
128 |
+
|
129 |
+
echo '</span>';
|
130 |
+
|
131 |
+
?><div class="clear" style="margin-bottom:0px;"></div><?php
|
132 |
+
|
133 |
+
$wpbm_version = wpbc_get_wpbm_version();
|
134 |
+
|
135 |
+
// If lower than 2, than show warning
|
136 |
+
if ( version_compare( $wpbm_version, '2.0', '<') ) {
|
137 |
+
$is_bm_exist = false;
|
138 |
+
} else {
|
139 |
+
$is_bm_exist = true;
|
140 |
+
}
|
141 |
+
|
142 |
+
|
143 |
+
////////////////////////////////////////////////////////////////////////
|
144 |
+
// Content ////////////////////////////////////////////////////////////
|
145 |
+
?>
|
146 |
+
<div class="clear" style="margin-bottom:0px;"></div>
|
147 |
+
<span class="metabox-holder">
|
148 |
+
<form name="<?php echo $submit_form_name; ?>" id="<?php echo $submit_form_name; ?>" action="" method="post" autocomplete="off">
|
149 |
+
<?php
|
150 |
+
// N o n c e field, and key for checking S u b m i t
|
151 |
+
wp_nonce_field( 'wpbc_settings_page_' . $submit_form_name );
|
152 |
+
?><input type="hidden" name="is_form_sbmitted_<?php echo $submit_form_name; ?>" id="is_form_sbmitted_<?php echo $submit_form_name; ?>" value="1" /><?php
|
153 |
+
?><div class="clear"></div><?php
|
154 |
+
|
155 |
+
?><div class="clear" style="height:10px;"></div><?php
|
156 |
+
|
157 |
+
if ( ! $is_bm_exist ) { // Not Exist
|
158 |
+
?>
|
159 |
+
<div class="clear" style="height:15px;"></div>
|
160 |
+
<div class="wpbc-settings-notice notice-error" style="text-align:left;font-size: 16px;padding: 5px 20px;">
|
161 |
+
<strong><?php _e('Important!' ,'booking'); ?></strong> <?php
|
162 |
+
|
163 |
+
printf( __( 'This feature require %s plugin. You can install %s plugin from this %spage%s.', 'booking' )
|
164 |
+
, '<strong><a class="" href="'. home_url() .'/wp-admin/plugin-install.php?s=booking+manager+by+oplugins&tab=search&type=term">'
|
165 |
+
// , '<strong><a class="thickbox open-plugin-details-modal" href="'. home_url() .'/wp-admin/plugin-install.php?tab=plugin-information&plugin=booking-manager&TB_iframe=true&width=772&height=741" target="_blank">'
|
166 |
+
. '' . 'Booking Manager' . '</a></strong>'
|
167 |
+
, '<strong>' . 'Booking Manager' . '</strong>'
|
168 |
+
, '<a target="_blank" href="https://wordpress.org/plugins/booking-manager/">'
|
169 |
+
, '</a>'
|
170 |
+
);
|
171 |
+
?>
|
172 |
+
</div>
|
173 |
+
<div class="clear" style="height:25px;"></div><?php
|
174 |
+
|
175 |
+
wpbc_open_meta_box_section( 'wpbc_settings_ics_import_help_how', __('How it works', 'booking') );
|
176 |
+
|
177 |
+
wpbc_ics_import_export__show_help_info();
|
178 |
+
|
179 |
+
wpbc_close_meta_box_section();
|
180 |
+
|
181 |
+
} else { // Exist
|
182 |
+
|
183 |
+
|
184 |
+
|
185 |
+
wpbc_open_meta_box_section( 'wpbc_settings_ics_import_single', __('Import', 'booking') );
|
186 |
+
|
187 |
+
$this->show_toolbar_import_fields();
|
188 |
+
|
189 |
+
wpbc_close_meta_box_section();
|
190 |
+
|
191 |
+
|
192 |
+
|
193 |
+
wpbc_open_meta_box_section( 'wpbc_settings_ics_import_help_info', __('Help', 'booking') );
|
194 |
+
|
195 |
+
wpbc_ics_import_export__show_help_info();
|
196 |
+
|
197 |
+
wpbc_close_meta_box_section();
|
198 |
+
?>
|
199 |
+
|
200 |
+
<div class="clear"></div>
|
201 |
+
|
202 |
+
<!--input type="submit" value="<?php _e('Save Changes','booking'); ?>" class="button button-primary wpbc_submit_button" /-->
|
203 |
+
<?php
|
204 |
+
}
|
205 |
+
?>
|
206 |
+
</form>
|
207 |
+
</span>
|
208 |
+
<?php
|
209 |
+
|
210 |
+
do_action( 'wpbc_hook_settings_page_footer', 'ics_import_settings' );
|
211 |
+
|
212 |
+
$this->enqueue_js();
|
213 |
+
|
214 |
+
wpbc_ics_import_ajax_js();
|
215 |
+
}
|
216 |
+
|
217 |
+
|
218 |
+
/** Save Chanages */
|
219 |
+
public function update() {
|
220 |
+
//debuge($_POST);
|
221 |
+
// Get Validated Email fields
|
222 |
+
// $validated_fields = $this->get_api()->validate_post();
|
223 |
+
|
224 |
+
// $validated_fields = apply_filters( 'wpbc_fields_before_saving_to_db__ics_import', $validated_fields ); //Hook for validated fields.
|
225 |
+
|
226 |
+
//debuge($validated_fields);
|
227 |
+
|
228 |
+
//$this->get_api()->save_to_db( $validated_fields );
|
229 |
+
|
230 |
+
// wpbc_show_changes_saved_message();
|
231 |
+
// Old way of saving:
|
232 |
+
// update_bk_option( 'booking_cache_expiration' , WPBC_Settings_API::validate_text_post_static( 'booking_cache_expiration' ) );
|
233 |
+
}
|
234 |
+
|
235 |
+
// <editor-fold defaultstate="collapsed" desc=" CSS & JS " >
|
236 |
+
|
237 |
+
/** CSS for this page */
|
238 |
+
private function css() {
|
239 |
+
?>
|
240 |
+
<style type="text/css">
|
241 |
+
.wpbc_import_ics_bar .wpbc_import_btn,
|
242 |
+
.wpbc_import_ics_bar .wpbc_upload_btn{
|
243 |
+
float:left;
|
244 |
+
margin:9px 5px 10px 1px;
|
245 |
+
|
246 |
+
}
|
247 |
+
.wpbc_import_ics_bar .wpbc_import_div {
|
248 |
+
float:left;
|
249 |
+
width:70%;
|
250 |
+
}
|
251 |
+
.wpbc_import_ics_bar .wpbc_import_br_selection,
|
252 |
+
.wpbc_import_ics_bar .wpbc_import_url {
|
253 |
+
float:left;
|
254 |
+
width:28%;
|
255 |
+
height: 2em;
|
256 |
+
padding: 2px;
|
257 |
+
border-radius: 0;
|
258 |
+
margin:10px 5px 10px 1px;
|
259 |
+
}
|
260 |
+
.wpbc_import_ics_bar .wpbc_import_url {
|
261 |
+
width:70%;
|
262 |
+
padding: 2px 5px;
|
263 |
+
}
|
264 |
+
.wpbc_system_info_log {
|
265 |
+
font-size: 11px;
|
266 |
+
line-height: 1.5em;
|
267 |
+
border: 2px dashed #e85;
|
268 |
+
padding: 5px 20px;
|
269 |
+
display: none;
|
270 |
+
}
|
271 |
+
/**********************************************************************************************************/
|
272 |
+
.wpbc-help-message {
|
273 |
+
border:none;
|
274 |
+
}
|
275 |
+
/* toolbar fix */
|
276 |
+
.wpdevelop .visibility_container .control-group {
|
277 |
+
margin: 0 8px 5px 0;
|
278 |
+
}
|
279 |
+
/* Selectbox element in toolbar */
|
280 |
+
.visibility_container select optgroup{
|
281 |
+
color:#999;
|
282 |
+
vertical-align: middle;
|
283 |
+
font-style: italic;
|
284 |
+
font-weight: 400;
|
285 |
+
}
|
286 |
+
.visibility_container select option {
|
287 |
+
padding:5px;
|
288 |
+
font-weight: 600;
|
289 |
+
}
|
290 |
+
.visibility_container select optgroup option{
|
291 |
+
padding: 5px 20px;
|
292 |
+
color:#555;
|
293 |
+
font-weight: 600;
|
294 |
+
}
|
295 |
+
#wpbc_create_new_custom_form_name_fields {
|
296 |
+
width: 360px;
|
297 |
+
display:none;
|
298 |
+
}
|
299 |
+
@media (max-width: 782px) {
|
300 |
+
.wpbc_import_ics_bar .wpbc_import_br_selection,
|
301 |
+
.wpbc_import_ics_bar .wpbc_import_div {
|
302 |
+
float:none;
|
303 |
+
width:100%;
|
304 |
+
}
|
305 |
+
}
|
306 |
+
@media (max-width: 399px) {
|
307 |
+
#wpbc_create_new_custom_form_name_fields {
|
308 |
+
width: 100%;
|
309 |
+
}
|
310 |
+
}
|
311 |
+
</style>
|
312 |
+
<?php
|
313 |
+
}
|
314 |
+
|
315 |
+
|
316 |
+
|
317 |
+
/** Add Custon JavaScript - for some specific settings options
|
318 |
+
* Executed After post content, after initial definition of settings, and possible definition after POST request.
|
319 |
+
*
|
320 |
+
* @param type $menu_slug
|
321 |
+
*/
|
322 |
+
private function enqueue_js(){
|
323 |
+
|
324 |
+
// JavaScript //////////////////////////////////////////////////////////////
|
325 |
+
|
326 |
+
$js_script = '';
|
327 |
+
|
328 |
+
|
329 |
+
//Show|Hide grayed section
|
330 |
+
$js_script .= "
|
331 |
+
if ( ! jQuery('#ics_import_booking_gcal_auto_import_is_active').is(':checked') ) {
|
332 |
+
jQuery('.wpbc_tr_auto_import').addClass('hidden_items');
|
333 |
+
}
|
334 |
+
";
|
335 |
+
// Hide|Show on Click Checkbox
|
336 |
+
$js_script .= " jQuery('#ics_import_booking_gcal_auto_import_is_active').on( 'change', function(){
|
337 |
+
if ( this.checked ) {
|
338 |
+
jQuery('.wpbc_tr_auto_import').removeClass('hidden_items');
|
339 |
+
} else {
|
340 |
+
jQuery('.wpbc_tr_auto_import').addClass('hidden_items');
|
341 |
+
}
|
342 |
+
} ); ";
|
343 |
+
// F R O M
|
344 |
+
$js_script .= "
|
345 |
+
if ( jQuery('#ics_import_booking_gcal_events_from').val() != 'date' ) {
|
346 |
+
jQuery('.wpbc_tr_from_offset .wpbc_offset_value').removeClass('hidden_items');
|
347 |
+
jQuery('.wpbc_tr_from_offset .wpbc_offset_datetime').addClass('hidden_items');
|
348 |
+
} else {
|
349 |
+
jQuery('.wpbc_tr_from_offset .wpbc_offset_value').addClass('hidden_items');
|
350 |
+
jQuery('.wpbc_tr_from_offset .wpbc_offset_datetime').removeClass('hidden_items');
|
351 |
+
}
|
352 |
+
";
|
353 |
+
// On select option in selectbox
|
354 |
+
$js_script .= " jQuery('#ics_import_booking_gcal_events_from').on( 'change', function(){
|
355 |
+
jQuery('#ics_import_booking_gcal_events_from_offset').val('');
|
356 |
+
if ( jQuery(this).val() != 'date' ){
|
357 |
+
jQuery('.wpbc_tr_from_offset .wpbc_offset_value').removeClass('hidden_items');
|
358 |
+
jQuery('.wpbc_tr_from_offset .wpbc_offset_datetime').addClass('hidden_items');
|
359 |
+
} else {
|
360 |
+
jQuery('.wpbc_tr_from_offset .wpbc_offset_value').addClass('hidden_items');
|
361 |
+
jQuery('.wpbc_tr_from_offset .wpbc_offset_datetime').removeClass('hidden_items');
|
362 |
+
}
|
363 |
+
} ); ";
|
364 |
+
// U n t i l
|
365 |
+
$js_script .= "
|
366 |
+
if ( jQuery('#ics_import_booking_gcal_events_until').val() != 'date' ) {
|
367 |
+
jQuery('.wpbc_tr_until_offset .wpbc_offset_value').removeClass('hidden_items');
|
368 |
+
jQuery('.wpbc_tr_until_offset .wpbc_offset_datetime').addClass('hidden_items');
|
369 |
+
} else {
|
370 |
+
jQuery('.wpbc_tr_until_offset .wpbc_offset_value').addClass('hidden_items');
|
371 |
+
jQuery('.wpbc_tr_until_offset .wpbc_offset_datetime').removeClass('hidden_items');
|
372 |
+
}
|
373 |
+
";
|
374 |
+
// On select option in selectbox
|
375 |
+
$js_script .= " jQuery('#ics_import_booking_gcal_events_until').on( 'change', function(){
|
376 |
+
jQuery('#ics_import_booking_gcal_events_until_offset').val('');
|
377 |
+
if ( jQuery(this).val() != 'date' ){
|
378 |
+
jQuery('.wpbc_tr_until_offset .wpbc_offset_value').removeClass('hidden_items');
|
379 |
+
jQuery('.wpbc_tr_until_offset .wpbc_offset_datetime').addClass('hidden_items');
|
380 |
+
} else {
|
381 |
+
jQuery('.wpbc_tr_until_offset .wpbc_offset_value').addClass('hidden_items');
|
382 |
+
jQuery('.wpbc_tr_until_offset .wpbc_offset_datetime').removeClass('hidden_items');
|
383 |
+
}
|
384 |
+
} ); ";
|
385 |
+
|
386 |
+
|
387 |
+
// // Hide|Show on Click Radion
|
388 |
+
// $js_script .= " jQuery('input[name=\"paypal_pro_hosted_solution\"]').on( 'change', function(){
|
389 |
+
// jQuery('.wpbc_sub_settings_paypal_account_type').addClass('hidden_items');
|
390 |
+
// if ( jQuery('#paypal_type_standard').is(':checked') ) {
|
391 |
+
// jQuery('.wpbc_sub_settings_paypal_standard').removeClass('hidden_items');
|
392 |
+
// } else {
|
393 |
+
// jQuery('.wpbc_sub_settings_paypal_pro_hosted').removeClass('hidden_items');
|
394 |
+
// }
|
395 |
+
// } ); ";
|
396 |
+
|
397 |
+
////////////////////////////////////////////////////////////////////////
|
398 |
+
|
399 |
+
|
400 |
+
// Eneque JS to the footer of the page
|
401 |
+
wpbc_enqueue_js( $js_script );
|
402 |
+
}
|
403 |
+
|
404 |
+
// </editor-fold>
|
405 |
+
|
406 |
+
|
407 |
+
|
408 |
+
/** Show Toolbar with import fields */
|
409 |
+
function show_toolbar_import_fields() {
|
410 |
+
|
411 |
+
// Parameters for Ajax:
|
412 |
+
|
413 |
+
?><div class="wpbc_import_ics_bar" id="wpbc_import_ics_bar"
|
414 |
+
data-nonce="<?php echo wp_create_nonce( $nonce_name = 'wpbc_import_ics_nonce_actn' ); ?>"
|
415 |
+
data-user-id="<?php echo get_current_user_id(); ?>"
|
416 |
+
><?php
|
417 |
+
|
418 |
+
if ( function_exists( 'wpbc_get_br_as_objects' ) ) {
|
419 |
+
|
420 |
+
$bk_resources = wpbc_get_br_as_objects();
|
421 |
+
|
422 |
+
?><select id="wpbc_import_br_selection" name="wpbc_import_br_selection" class="wpbc_import_br_selection"><?php
|
423 |
+
|
424 |
+
foreach ( $bk_resources as $res ) {
|
425 |
+
|
426 |
+
$res_title = $res->title;
|
427 |
+
|
428 |
+
if ( ( isset( $res->parent ) ) && ( $res->parent == 0 ) && ( isset( $res->count ) ) && ( $res->count > 1 ) ) {
|
429 |
+
|
430 |
+
$option_class = 'wpbc_parent_resource';
|
431 |
+
$res_title = $res_title. ' [' . __('parent resource', 'booking') . ']';
|
432 |
+
|
433 |
+
} elseif ( ( isset( $res->parent ) ) && ( $res->parent != 0 ) ) {
|
434 |
+
|
435 |
+
$option_class = 'wpbc_child_resource';
|
436 |
+
$res_title = ' ' . $res_title;
|
437 |
+
|
438 |
+
} else {
|
439 |
+
$option_class = 'wpbc_single_resource';
|
440 |
+
}
|
441 |
+
|
442 |
+
?><option value="<?php echo $res->id; ?>" class="<?php echo $option_class; ?>" ><?php echo $res_title; ?></option><?php
|
443 |
+
|
444 |
+
}
|
445 |
+
|
446 |
+
?></select><?php
|
447 |
+
}
|
448 |
+
|
449 |
+
?>
|
450 |
+
<div class="wpbc_import_div">
|
451 |
+
<input type="text"
|
452 |
+
class="wpbc_import_url" name="wpbc_import_url" id="wpbc_import_url"
|
453 |
+
placeholder="<?php _e( 'Enter URL to .ics feed', 'booking' ) ?>"
|
454 |
+
value="" wrap="off"
|
455 |
+
/>
|
456 |
+
<?php if ( function_exists( 'wpbm_upload' ) ) { ?>
|
457 |
+
<a href="javascript:void(0)" class="button button-secondary wpbc_upload_btn"
|
458 |
+
data-modal_title="<?php echo esc_attr( __( 'Choose file', 'booking' ) ); ?>"
|
459 |
+
data-btn_title="<?php echo esc_attr( __( 'Insert file URL', 'booking' ) ); ?>"
|
460 |
+
><?php _e('Upload / Select ', 'booking' ); ?> <strong>(.ics)</strong></a>
|
461 |
+
<?php } ?>
|
462 |
+
<a class="button button-primary wpbc_import_btn" href="javascript:void(0)"><?php _e('Import', 'booking'); ?></a>
|
463 |
+
</div>
|
464 |
+
<?php
|
465 |
+
if ( function_exists( 'wpbm_upload' ) ) { // Get WPBM_Upload obj. instance
|
466 |
+
|
467 |
+
$wpbm_upload = wpbm_upload();
|
468 |
+
|
469 |
+
$wpbm_upload->set_upload_button( '.wpbc_upload_btn' );
|
470 |
+
|
471 |
+
$wpbm_upload->set_element_insert_url( '.wpbc_import_url' );
|
472 |
+
}
|
473 |
+
?>
|
474 |
+
<div class="clear"></div>
|
475 |
+
<div class="wpbc_system_info_log"></div>
|
476 |
+
<div class="clear"></div>
|
477 |
+
</div>
|
478 |
+
|
479 |
+
<?php
|
480 |
+
}
|
481 |
+
|
482 |
+
}
|
483 |
+
add_action('wpbc_menu_created', array( new WPBC_Page_SettingsImportFeeds() , '__construct') ); // Executed after creation of Menu
|
484 |
+
|
485 |
+
|
486 |
+
|
487 |
+
/** Show Help info about .ics import/export at Booking > Settings > Sync pages
|
488 |
+
*
|
489 |
+
* @param bool $is_import
|
490 |
+
*/
|
491 |
+
function wpbc_ics_import_export__show_help_info( $is_import = true ) {
|
492 |
+
?>
|
493 |
+
<div class="wpbc-help-message ">
|
494 |
+
<h4 style="margin-top:0;font-size:1.1em;">
|
495 |
+
<?php
|
496 |
+
$message_ics = sprintf( __( 'What does .ics feeds import/export mean?', 'booking' ) );
|
497 |
+
$message_ics = str_replace( array( '.ics', 'iCalendar' ), array( '<strong>.ics</strong>', '<strong>iCalendar</strong>' ), $message_ics );
|
498 |
+
echo $message_ics;
|
499 |
+
?>
|
500 |
+
</h4>
|
501 |
+
<p class="code" >
|
502 |
+
<?php
|
503 |
+
$message_ics = sprintf(
|
504 |
+
__( 'Its useful, if you need to import/export bookings from/to external websites, like %s', 'booking' ),
|
505 |
+
' <br/><em><strong><a href="https://www.airbnb.com/help/article/99/how-do-i-sync-my-airbnb-calendar-with-another-calendar" target="_blank">Airbnb</a></strong>, '
|
506 |
+
. '<strong><a href="https://partnersupport.booking.com/hc/en-us/articles/213424709-How-do-I-export-my-calendar-" target="_blank">Booking.com</a></strong>, '
|
507 |
+
. '<strong><a href="https://help.homeaway.com/articles/How-do-I-export-my-calendar-data-to-a-Google-calendar" target="_blank">HomeAway</a></strong>, '
|
508 |
+
. '<strong><a href="https://rentalsupport.tripadvisor.com/articles/FAQ/noc-How-does-calendar-sync-work" target="_blank">TripAdvisor</a></strong>, '
|
509 |
+
. '<strong><a href="https://help.vrbo.com/articles/How-do-I-export-my-calendar-data-to-a-Google-calendar" target="_blank">VRBO</a></strong>, '
|
510 |
+
. '<strong><a href="https://helpcenter.flipkey.com/articles/FAQ/noc-How-does-calendar-sync-work" target="_blank">FlipKey</a></strong> '
|
511 |
+
. str_replace( array( '.ics', 'iCalendar' ), array( '<strong>.ics</strong>', '<strong>iCalendar</strong>' ),
|
512 |
+
__( 'and any other calendar that uses .ics format', 'booking' )
|
513 |
+
)
|
514 |
+
. '</em>.<br/>'
|
515 |
+
);
|
516 |
+
$message_ics = str_replace( array( '.ics', 'iCalendar' ), array( '<strong>.ics</strong>', '<strong>iCalendar</strong>' ), $message_ics );
|
517 |
+
echo $message_ics;
|
518 |
+
?>
|
519 |
+
</p>
|
520 |
+
<div class="clear" style="margin:20px 0;"></div>
|
521 |
+
<div class="wpbc-settings-notice notice-info"
|
522 |
+
style="text-align:left;border-top:1px solid #f0f0f0;border-right:1px solid #f0f0f0; line-height: 2em;padding: 5px 20px;"
|
523 |
+
>
|
524 |
+
<?php
|
525 |
+
$message_ics = sprintf(
|
526 |
+
__( '.ics - is a file format of iCalendar standard for exchanging calendar and scheduling information between different sources %s Using a common calendar format (.ics), you can keep all your calendars updated and synchronized.', 'booking' )
|
527 |
+
, '<br/>' /*
|
528 |
+
'<br/><em>(<strong><a href="https://www.airbnb.com/help/article/99/how-do-i-sync-my-airbnb-calendar-with-another-calendar" target="_blank">Airbnb</a></strong>, '
|
529 |
+
. '<strong><a href="https://partnersupport.booking.com/hc/en-us/articles/213424709-How-do-I-export-my-calendar-" target="_blank">Booking.com</a></strong>, '
|
530 |
+
. '<strong><a href="https://help.homeaway.com/articles/How-do-I-export-my-calendar-data-to-a-Google-calendar" target="_blank">HomeAway</a></strong>, '
|
531 |
+
. '<strong><a href="https://rentalsupport.tripadvisor.com/articles/FAQ/noc-How-does-calendar-sync-work" target="_blank">TripAdvisor</a></strong>, '
|
532 |
+
. '<strong><a href="https://help.vrbo.com/articles/How-do-I-export-my-calendar-data-to-a-Google-calendar" target="_blank">VRBO</a></strong>, '
|
533 |
+
. '<strong><a href="https://helpcenter.flipkey.com/articles/FAQ/noc-How-does-calendar-sync-work" target="_blank">FlipKey</a></strong> '
|
534 |
+
. str_replace( array( '.ics', 'iCalendar' ), array( '<strong>.ics</strong>', '<strong>iCalendar</strong>' ),
|
535 |
+
__( 'and any other calendar that uses .ics format', 'booking' )
|
536 |
+
)
|
537 |
+
. ')</em>.<br/>' */
|
538 |
+
);
|
539 |
+
$message_ics = str_replace( array( '.ics', 'iCalendar' ), array( '<strong>.ics</strong>', '<strong>iCalendar</strong>' ), $message_ics );
|
540 |
+
echo $message_ics;
|
541 |
+
?>
|
542 |
+
</div>
|
543 |
+
<div style="height:30px;" class="clear"></div>
|
544 |
+
<?php if ( $is_import ) { ?>
|
545 |
+
<h4 style="font-size:1.1em;">
|
546 |
+
<?php
|
547 |
+
$message_ics = sprintf( __( 'How to start import of .ics feeds (files)?', 'booking' ) );
|
548 |
+
$message_ics = str_replace( array( '.ics', 'iCalendar' ), array( '<strong>.ics</strong>', '<strong>iCalendar</strong>' ), $message_ics );
|
549 |
+
echo $message_ics;
|
550 |
+
?>
|
551 |
+
</h4>
|
552 |
+
<ol style="list-style-type: decimal !important;list-style-position: inside;margin-left: 15px;">
|
553 |
+
<li><?php
|
554 |
+
printf( __( 'Install %s plugin.', 'booking' )
|
555 |
+
, '<a target="_blank" href="https://wordpress.org/plugins/booking-manager/"><strong>Booking Manager</strong></a>' );
|
556 |
+
?></li>
|
557 |
+
<li><?php
|
558 |
+
printf( __( 'Insert %s shortcode into some post(s) or page(s). Check more info about this %sshortcode configuration%s', 'booking' )
|
559 |
+
, '<code>[booking-manager-import ...]</code>'
|
560 |
+
, '<a target="_blank" href="http://wpbookingcalendar.com/help/booking-manager/">'
|
561 |
+
, '</a>'
|
562 |
+
);
|
563 |
+
?>.
|
564 |
+
<div class="wpbc-settings-notice notice-info"
|
565 |
+
style='margin-left:25px;text-align:left;border-top:1px solid #f0f0f0;border-right:1px solid #f0f0f0;'><?php
|
566 |
+
|
567 |
+
$message_ics = sprintf( __( 'Using such shortcodes in pages give a great flexibility to import from different .ics feeds (sources) into the same resource.%sAlso its possible to define different CRON parameters for accessing such different pages with different time intervals.', 'booking' )
|
568 |
+
, '<br/>'
|
569 |
+
);
|
570 |
+
$message_ics = str_replace( array( '.ics', 'CRON' ), array( '<strong>.ics</strong>', '<a target="_blank" href="http://wpbookingcalendar.com/help/cron/"><strong>CRON</strong></a>' ), $message_ics );
|
571 |
+
echo $message_ics;
|
572 |
+
?>
|
573 |
+
</div>
|
574 |
+
<span style="padding:0 15px;">
|
575 |
+
<?php
|
576 |
+
$message_ics = sprintf( __( 'Or you can import .ics feed or file directly at current page.', 'booking' ) );
|
577 |
+
$message_ics = str_replace( array( '.ics', 'iCalendar' ), array( '<strong>.ics</strong>', '<strong>iCalendar</strong>' ), $message_ics );
|
578 |
+
echo $message_ics;
|
579 |
+
?>
|
580 |
+
</span>
|
581 |
+
</li>
|
582 |
+
<li> <?php
|
583 |
+
$message_ics = sprintf( __( 'If you have inserted import shortcodes from %s, then you can configure your CRON for periodically access these pages and import .ics feeds.', 'booking' )
|
584 |
+
, '<a target="_blank" href="https://wordpress.org/plugins/booking-manager/"><strong>Booking Manager</strong></a> <code>[booking-manager-import ...]</code>'
|
585 |
+
);
|
586 |
+
$message_ics = str_replace( array( '.ics', 'CRON' ), array( '<strong>.ics</strong>', '<a target="_blank" href="http://wpbookingcalendar.com/help/cron/"><strong>CRON</strong></a>' ), $message_ics );
|
587 |
+
echo $message_ics;
|
588 |
+
?>
|
589 |
+
</li>
|
590 |
+
</ol>
|
591 |
+
<?php } else { ?>
|
592 |
+
<h4 style="font-size:1.1em;">
|
593 |
+
<?php
|
594 |
+
$message_ics = sprintf( __( 'How to start export of .ics feeds (files)?', 'booking' ) );
|
595 |
+
$message_ics = str_replace( array( '.ics', 'iCalendar' ), array( '<strong>.ics</strong>', '<strong>iCalendar</strong>' ), $message_ics );
|
596 |
+
echo $message_ics;
|
597 |
+
?>
|
598 |
+
</h4>
|
599 |
+
<ol style="list-style-type: decimal !important;list-style-position: inside;margin-left: 15px;">
|
600 |
+
<li><?php
|
601 |
+
printf( __( 'Install %s plugin.', 'booking' )
|
602 |
+
, '<a target="_blank" href="https://wordpress.org/plugins/booking-manager/"><strong>Booking Manager</strong></a>' );
|
603 |
+
?></li>
|
604 |
+
<li>
|
605 |
+
<?php _e( 'Confgure ULR feed(s) at this settings page.', 'booking' ); ?>
|
606 |
+
<div class="wpbc-settings-notice notice-info"
|
607 |
+
style='margin-left:25px;text-align:left;border-top:1px solid #f0f0f0;border-right:1px solid #f0f0f0;'>
|
608 |
+
<?php
|
609 |
+
$message_ics = sprintf(
|
610 |
+
__( 'Using such URL(s) you can import .ics feeds, from interface of other websites. %sCheck more info about how to import .ics feeds into other websites at the support pages of sepcific website.' )
|
611 |
+
, '<br/>');
|
612 |
+
$message_ics = str_replace( array( '.ics', 'iCalendar' ), array( '<strong>.ics</strong>', '<strong>iCalendar</strong>' ), $message_ics );
|
613 |
+
echo $message_ics;
|
614 |
+
?>
|
615 |
+
</div>
|
616 |
+
</li>
|
617 |
+
<li>
|
618 |
+
<?php
|
619 |
+
$message_ics = sprintf( __( 'Visit these (previosly configured URL feeds) pages for downloading .ics files.', 'booking' ) );
|
620 |
+
$message_ics = str_replace( array( '.ics', 'iCalendar' ), array( '<strong>.ics</strong>', '<strong>iCalendar</strong>' ), $message_ics );
|
621 |
+
echo $message_ics;
|
622 |
+
?>
|
623 |
+
</li>
|
624 |
+
</ol>
|
625 |
+
<?php } ?>
|
626 |
+
</div>
|
627 |
+
<?php
|
628 |
+
}
|
629 |
+
|
630 |
+
|
631 |
+
|
632 |
+
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
633 |
+
// AJAX Request
|
634 |
+
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
635 |
+
|
636 |
+
/** JavaScript for Ajax */
|
637 |
+
function wpbc_ics_import_ajax_js() {
|
638 |
+
|
639 |
+
$ajx_el_id = 'wpbc_import_ics_bar';
|
640 |
+
|
641 |
+
// "wpbc-ajax.php" having this: , 'WPBC_IMPORT_ICS_URL' => 'admin'
|
642 |
+
|
643 |
+
?>
|
644 |
+
<script type="text/javascript">
|
645 |
+
// Ajax Request
|
646 |
+
jQuery( function ( $ ) { // Shortcut to jQuery(document).ready(function(){ ... });
|
647 |
+
|
648 |
+
jQuery( '.wpbc_import_ics_bar' ).on( 'click', '.wpbc_import_btn', function ( event ) { // This delegated event, can be run, when DOM element added after page loaded
|
649 |
+
|
650 |
+
wpbc_admin_show_message_processing( '' );
|
651 |
+
|
652 |
+
var jq_el = jQuery( this ).closest( '.wpbc_import_ics_bar' );
|
653 |
+
|
654 |
+
var params_obj = {};
|
655 |
+
params_obj.id = jq_el.attr( 'id' );
|
656 |
+
params_obj.nonce = jq_el.attr( 'data-nonce' );
|
657 |
+
params_obj.user_id = jq_el.attr( 'data-user-id' );
|
658 |
+
|
659 |
+
params_obj.wpbc_import_url = jQuery( '#wpbc_import_url' ).val();
|
660 |
+
params_obj.wpbc_import_br_selection = 1;
|
661 |
+
if ( jQuery( '#wpbc_import_br_selection option' ).length > 0 )
|
662 |
+
params_obj.wpbc_import_br_selection = jQuery( '#wpbc_import_br_selection option' ).filter( ':selected' ).val();
|
663 |
+
|
664 |
+
// console.log(params_obj);
|
665 |
+
|
666 |
+
jQuery.post( wpbc_ajaxurl, {
|
667 |
+
action: 'WPBC_IMPORT_ICS_URL',
|
668 |
+
user_id: params_obj.user_id ,
|
669 |
+
nonce: params_obj.nonce,
|
670 |
+
params: params_obj
|
671 |
+
},
|
672 |
+
function ( response_data, textStatus, jqXHR ) { // success
|
673 |
+
|
674 |
+
var my_message = '<?php echo html_entity_decode( esc_js( __('Done' ,'booking') ),ENT_QUOTES) ; ?>';
|
675 |
+
wpbc_admin_show_message( my_message, 'info', 10000 , false );
|
676 |
+
|
677 |
+
//console.log( response_data ); console.log( textStatus); console.log( jqXHR ); // Debug
|
678 |
+
//jQuery( '.wpbc_system_info_log' ).show(); //Show Debug info
|
679 |
+
jQuery( '.wpbc_system_info_log' ).html( response_data ); // For ability to show response, add such DIV element to page
|
680 |
+
}
|
681 |
+
).fail( function ( jqXHR, textStatus, errorThrown ) {
|
682 |
+
wpbc_admin_show_message( '<strong style="text-transform: uppercase;">' + textStatus + '</strong> ~ ' + errorThrown , 'error', 5000 );
|
683 |
+
if ( window.console && window.console.log ){ console.log( 'Ajax_Error', jqXHR, textStatus, errorThrown ); }
|
684 |
+
})
|
685 |
+
// .done( function ( data, textStatus, jqXHR ) { if ( window.console && window.console.log ){ console.log( 'second success', data, textStatus, jqXHR ); } })
|
686 |
+
// .always( function ( data_jqXHR, textStatus, jqXHR_errorThrown ) { if ( window.console && window.console.log ){ console.log( 'always finished', data_jqXHR, textStatus, jqXHR_errorThrown ); } })
|
687 |
+
;
|
688 |
+
|
689 |
+
});
|
690 |
+
|
691 |
+
});
|
692 |
+
</script>
|
693 |
+
<?php
|
694 |
+
}
|
695 |
+
|
696 |
+
|
697 |
+
/** Ajax Response */
|
698 |
+
function wpbc_ajax_WPBC_IMPORT_ICS_URL() {
|
699 |
+
|
700 |
+
if ( ! isset( $_POST['params'] ) || empty( $_POST['params'] ) ) {
|
701 |
+
exit;
|
702 |
+
}
|
703 |
+
|
704 |
+
// Check Security
|
705 |
+
$action_nonce_name = 'wpbc_import_ics_nonce_actn';
|
706 |
+
$nonce_post_key = 'nonce';
|
707 |
+
$result = check_ajax_referer( $action_nonce_name, $nonce_post_key ); // Check Security
|
708 |
+
|
709 |
+
|
710 |
+
$is_show_debug_info = ( ( get_bk_option( 'booking_is_show_system_debug_log' ) == 'On' ) ? true : false );
|
711 |
+
if ( $is_show_debug_info )
|
712 |
+
add_action( 'wpbc_show_debug', 'wpbc_start_showing_debug', 10, 1 );
|
713 |
+
|
714 |
+
//////////////////////////////////////////////////////////////////////
|
715 |
+
// Import events from .ics feed to specific booking resource
|
716 |
+
//////////////////////////////////////////////////////////////////////
|
717 |
+
do_action( 'wpbm_ics_import_start'
|
718 |
+
, array(
|
719 |
+
'url' => esc_url_raw( $_POST['params']['wpbc_import_url'] )
|
720 |
+
, 'resource_id' => intval( $_POST['params']['wpbc_import_br_selection'] )
|
721 |
+
, 'import_conditions' => '' // Check dates availability and process only
|
722 |
+
// if dates available in specific booking resource!
|
723 |
+
)
|
724 |
+
);
|
725 |
+
|
726 |
+
if ( $is_show_debug_info )
|
727 |
+
remove_action( 'wpbc_show_debug', 'wpbc_start_showing_debug', 10 );
|
728 |
+
|
729 |
+
/*
|
730 |
+
if ( $is_show_debug_info ) {
|
731 |
+
// Showingdebug log section
|
732 |
+
?><script type="text/javascript"> jQuery( '.wpbc_system_info_log' ).show(); </script><?php
|
733 |
+
}
|
734 |
+
*/
|
735 |
+
|
736 |
+
// send JSON
|
737 |
+
wp_send_json( array( 'response' => 'success' ) ); // Return JS OBJ: response_data = { response: "success" }
|
738 |
+
}
|
core/admin/page-import-gcal.php
CHANGED
@@ -491,14 +491,14 @@ class WPBC_Page_SettingsImportGCal extends WPBC_Page_Structure {
|
|
491 |
$tabs = array();
|
492 |
|
493 |
$tabs[ 'sync' ] = array(
|
494 |
-
'title' => __( '
|
495 |
-
, 'page_title'=> __( '
|
496 |
-
, 'hint' => __('
|
497 |
//, 'link' => '' // Can be skiped, then generated link based on Page and Tab tags. Or can be extenral link
|
498 |
//, 'position' => '' // 'left' || 'right' || ''
|
499 |
//, 'css_classes'=> '' // CSS class(es)
|
500 |
//, 'icon' => '' // Icon - link to the real PNG img
|
501 |
-
, 'font_icon' => 'glyphicon glyphicon-
|
502 |
//, 'default' => false // Is this tab activated by default or not: true || false.
|
503 |
//, 'disabled' => false // Is this tab disbaled: true || false.
|
504 |
//, 'hided' => false // Is this tab hided: true || false.
|
@@ -510,15 +510,15 @@ class WPBC_Page_SettingsImportGCal extends WPBC_Page_Structure {
|
|
510 |
|
511 |
$subtabs[ 'gcal' ] = array(
|
512 |
'type' => 'subtab' // Required| Possible values: 'subtab' | 'separator' | 'button' | 'goto-link' | 'html'
|
513 |
-
, 'title' => __('Google Calendar' ,'booking') . ' - ' . __('Events Import' ,'booking') // Title of TAB
|
514 |
-
, 'page_title' => __('Import Settings' ,'booking') // Title of Page
|
515 |
-
, 'hint' => __('
|
516 |
, 'link' => '' // link
|
517 |
, 'position' => '' // 'left' || 'right' || ''
|
518 |
, 'css_classes' => '' // CSS class(es)
|
519 |
//, 'icon' => 'http://.../icon.png' // Icon - link to the real PNG img
|
520 |
//, 'font_icon' => 'glyphicon glyphicon-envelope' // CSS definition of Font Icon
|
521 |
-
, 'default' => true // Is this sub tab activated by default or not: true || false.
|
522 |
, 'disabled' => false // Is this sub tab deactivated: true || false.
|
523 |
, 'checkbox' => false // or definition array for specific checkbox: array( 'checked' => true, 'name' => 'feature1_active_status' ) //, 'checkbox' => array( 'checked' => $is_checked, 'name' => 'enabled_active_status' )
|
524 |
, 'content' => 'content' // Function to load as conten of this TAB
|
491 |
$tabs = array();
|
492 |
|
493 |
$tabs[ 'sync' ] = array(
|
494 |
+
'title' => __( 'Sync', 'booking') // Title of TAB
|
495 |
+
, 'page_title'=> __( 'Sync', 'booking') // Title of Page
|
496 |
+
, 'hint' => __('Import' ,'booking') . ' / ' . __('Export' ,'booking')
|
497 |
//, 'link' => '' // Can be skiped, then generated link based on Page and Tab tags. Or can be extenral link
|
498 |
//, 'position' => '' // 'left' || 'right' || ''
|
499 |
//, 'css_classes'=> '' // CSS class(es)
|
500 |
//, 'icon' => '' // Icon - link to the real PNG img
|
501 |
+
, 'font_icon' => 'glyphicon glyphicon-refresh' // CSS definition of forn Icon
|
502 |
//, 'default' => false // Is this tab activated by default or not: true || false.
|
503 |
//, 'disabled' => false // Is this tab disbaled: true || false.
|
504 |
//, 'hided' => false // Is this tab hided: true || false.
|
510 |
|
511 |
$subtabs[ 'gcal' ] = array(
|
512 |
'type' => 'subtab' // Required| Possible values: 'subtab' | 'separator' | 'button' | 'goto-link' | 'html'
|
513 |
+
, 'title' => __('Import Google Calendar Events', 'booking') //__('Google Calendar' ,'booking') . ' - ' . __('Events Import' ,'booking') // Title of TAB
|
514 |
+
, 'page_title' => __('Import Google Calendar Events', 'booking') //__('Import Settings' ,'booking') // Title of Page
|
515 |
+
, 'hint' => __('Import Google Calendar Events' ,'booking') // Hint
|
516 |
, 'link' => '' // link
|
517 |
, 'position' => '' // 'left' || 'right' || ''
|
518 |
, 'css_classes' => '' // CSS class(es)
|
519 |
//, 'icon' => 'http://.../icon.png' // Icon - link to the real PNG img
|
520 |
//, 'font_icon' => 'glyphicon glyphicon-envelope' // CSS definition of Font Icon
|
521 |
+
, 'default' => !true // Is this sub tab activated by default or not: true || false.
|
522 |
, 'disabled' => false // Is this sub tab deactivated: true || false.
|
523 |
, 'checkbox' => false // or definition array for specific checkbox: array( 'checked' => true, 'name' => 'feature1_active_status' ) //, 'checkbox' => array( 'checked' => $is_checked, 'name' => 'enabled_active_status' )
|
524 |
, 'content' => 'content' // Function to load as conten of this TAB
|
core/admin/wpbc-class-timeline.php
CHANGED
@@ -341,6 +341,7 @@ class WPBC_Timeline {
|
|
341 |
|
342 |
// Get booking data
|
343 |
$bk_listing = wpbc_get_bookings_objects( $args );
|
|
|
344 |
$this->bookings = $bk_listing['bookings'];
|
345 |
$this->booking_types = $bk_listing['resources'];
|
346 |
|
@@ -388,7 +389,7 @@ class WPBC_Timeline {
|
|
388 |
}
|
389 |
|
390 |
|
391 |
-
public function client_navigation( $param ) {
|
392 |
?>
|
393 |
<script type="text/javascript">
|
394 |
wpbc_timeline_obj["<?php echo $this->html_client_id; ?>"] = {
|
@@ -406,6 +407,7 @@ class WPBC_Timeline {
|
|
406 |
, 'wh_trash': "<?php echo esc_js( $this->request_args['wh_trash'] ); ?>"
|
407 |
, 'limit_hours': "<?php echo esc_js( $this->request_args['limit_hours'] ); ?>" // FixIn: 7.0.1.14
|
408 |
, 'only_booked_resources': "<?php echo esc_js( $this->request_args['only_booked_resources'] ); ?>" // FixIn: 7.0.1.51
|
|
|
409 |
};
|
410 |
</script>
|
411 |
<div class="wpbc_tl_nav">
|
@@ -663,7 +665,7 @@ class WPBC_Timeline {
|
|
663 |
);
|
664 |
*/
|
665 |
public function define_request_view_params_from_params( $param ) {
|
666 |
-
|
667 |
if ( isset( $param['wh_booking_type'] ) ) $this->request_args['wh_booking_type'] = $param['wh_booking_type']; // Used once for comma seperated resources only.
|
668 |
|
669 |
if ( ( isset( $param['wh_booking_type'] ) ) && ( strpos( $param['wh_booking_type'], ',' ) !== false ) )
|
@@ -675,8 +677,10 @@ class WPBC_Timeline {
|
|
675 |
if ( isset( $param['wh_trash'] ) ) $this->request_args['wh_trash'] = $param['wh_trash'];
|
676 |
if ( isset( $param['limit_hours'] ) ) $this->request_args['limit_hours'] = $param['limit_hours']; // FixIn: 7.0.1.14
|
677 |
if ( isset( $param['only_booked_resources'] ) ) $this->request_args['only_booked_resources'] = $param['only_booked_resources']; // FixIn: 7.0.1.14
|
678 |
-
|
679 |
-
|
|
|
|
|
680 |
}
|
681 |
|
682 |
|
@@ -1460,10 +1464,11 @@ class WPBC_Timeline {
|
|
1460 |
else
|
1461 |
$is_trash = false;
|
1462 |
|
|
|
1463 |
if ( ! empty( $previous_booking_id ) ) { //FixIn: 7.0.1.40
|
1464 |
if ( ( isset($bookings[$previous_booking_id]->form_data['email']) )
|
1465 |
&& ( $bookings[$previous_booking_id]->form_data['email'] == 'admin@blank.com' )
|
1466 |
-
) $
|
1467 |
}
|
1468 |
|
1469 |
$css_class_additional = apply_filters( 'wpbc_timeline_booking_header_css', '', $previous_booking_id, $bookings ); //FixIn: 7.0.1.41
|
@@ -1473,7 +1478,8 @@ class WPBC_Timeline {
|
|
1473 |
. ' time_hour' . ($tt * $tm)
|
1474 |
. ' wpbc_time_in_days_num_' . $view_days_num
|
1475 |
. ' ' . ( $is_bk ? 'time_booked_in_day' : '' )
|
1476 |
-
. ' ' . ( $is_trash? ' booking_trash ': '')
|
|
|
1477 |
. ' ' . ( $is_approved ? 'approved' : '' )
|
1478 |
. ' ' . $css_class_additional
|
1479 |
. '">'
|
@@ -1931,9 +1937,10 @@ class WPBC_Timeline {
|
|
1931 |
if ( $this->is_frontend ) {
|
1932 |
|
1933 |
if ( ( isset( $this->options['resource_link'] ) ) && ( isset( $this->options['resource_link'][ $resource_value->booking_type_id ] ) ) ){ //FixIn: 7.0.1.50
|
1934 |
-
|
|
|
1935 |
}
|
1936 |
-
|
1937 |
echo apply_bk_filter('wpdev_check_for_active_language', $resource_value->title ); //FixIn: 7.0.1.11
|
1938 |
|
1939 |
if ( ( isset( $this->options['resource_link'] ) ) && ( isset( $this->options['resource_link'][ $resource_value->booking_type_id ] ) ) ){ //FixIn: 7.0.1.50
|
@@ -1941,7 +1948,7 @@ class WPBC_Timeline {
|
|
1941 |
}
|
1942 |
} else {
|
1943 |
?><a href="<?php echo $bk_admin_url . '&wh_booking_type=' . $bk_resources_id[$d_inc]; ?>" /><?php
|
1944 |
-
echo apply_bk_filter('wpdev_check_for_active_language', $resource_value->title );
|
1945 |
?></a><?php
|
1946 |
}
|
1947 |
?></div><?php
|
@@ -2251,7 +2258,7 @@ function wpbc_ajax_timeline() {
|
|
2251 |
$timeline = new WPBC_Timeline();
|
2252 |
|
2253 |
$html_client_id = $timeline->ajax_init( $attr ); // Define arameters and get bookings
|
2254 |
-
|
2255 |
|
2256 |
//echo '<div class="wpbc_timeline_ajax_replace">'; // Replace content of this container
|
2257 |
$timeline->show_timeline();
|
341 |
|
342 |
// Get booking data
|
343 |
$bk_listing = wpbc_get_bookings_objects( $args );
|
344 |
+
|
345 |
$this->bookings = $bk_listing['bookings'];
|
346 |
$this->booking_types = $bk_listing['resources'];
|
347 |
|
389 |
}
|
390 |
|
391 |
|
392 |
+
public function client_navigation( $param ) {
|
393 |
?>
|
394 |
<script type="text/javascript">
|
395 |
wpbc_timeline_obj["<?php echo $this->html_client_id; ?>"] = {
|
407 |
, 'wh_trash': "<?php echo esc_js( $this->request_args['wh_trash'] ); ?>"
|
408 |
, 'limit_hours': "<?php echo esc_js( $this->request_args['limit_hours'] ); ?>" // FixIn: 7.0.1.14
|
409 |
, 'only_booked_resources': "<?php echo esc_js( $this->request_args['only_booked_resources'] ); ?>" // FixIn: 7.0.1.51
|
410 |
+
, 'options': '<?php echo maybe_serialize( $this->options ) ; ?>' // FixIn: 7.2.1.14
|
411 |
};
|
412 |
</script>
|
413 |
<div class="wpbc_tl_nav">
|
665 |
);
|
666 |
*/
|
667 |
public function define_request_view_params_from_params( $param ) {
|
668 |
+
//debuge( $param , $this->options , maybe_unserialize( wp_unslash( $param['options'] ) ) );die;
|
669 |
if ( isset( $param['wh_booking_type'] ) ) $this->request_args['wh_booking_type'] = $param['wh_booking_type']; // Used once for comma seperated resources only.
|
670 |
|
671 |
if ( ( isset( $param['wh_booking_type'] ) ) && ( strpos( $param['wh_booking_type'], ',' ) !== false ) )
|
677 |
if ( isset( $param['wh_trash'] ) ) $this->request_args['wh_trash'] = $param['wh_trash'];
|
678 |
if ( isset( $param['limit_hours'] ) ) $this->request_args['limit_hours'] = $param['limit_hours']; // FixIn: 7.0.1.14
|
679 |
if ( isset( $param['only_booked_resources'] ) ) $this->request_args['only_booked_resources'] = $param['only_booked_resources']; // FixIn: 7.0.1.14
|
680 |
+
if ( ( empty( $this->options ) ) && ( isset( $param['options'] ) ) ) {
|
681 |
+
$this->options = maybe_unserialize( wp_unslash( $param['options'] ) ); // FixIn: 7.2.1.14
|
682 |
+
}
|
683 |
+
|
684 |
}
|
685 |
|
686 |
|
1464 |
else
|
1465 |
$is_trash = false;
|
1466 |
|
1467 |
+
$is_blank_bookings = false; //FixIn: 7.2.1.8
|
1468 |
if ( ! empty( $previous_booking_id ) ) { //FixIn: 7.0.1.40
|
1469 |
if ( ( isset($bookings[$previous_booking_id]->form_data['email']) )
|
1470 |
&& ( $bookings[$previous_booking_id]->form_data['email'] == 'admin@blank.com' )
|
1471 |
+
) $is_blank_bookings = true;
|
1472 |
}
|
1473 |
|
1474 |
$css_class_additional = apply_filters( 'wpbc_timeline_booking_header_css', '', $previous_booking_id, $bookings ); //FixIn: 7.0.1.41
|
1478 |
. ' time_hour' . ($tt * $tm)
|
1479 |
. ' wpbc_time_in_days_num_' . $view_days_num
|
1480 |
. ' ' . ( $is_bk ? 'time_booked_in_day' : '' )
|
1481 |
+
. ' ' . ( $is_trash ? ' booking_trash ': '') //FixIn:6.1.1.10
|
1482 |
+
. ' ' . ( $is_blank_bookings ? ' booking_blank ': '') //FixIn: 7.2.1.8
|
1483 |
. ' ' . ( $is_approved ? 'approved' : '' )
|
1484 |
. ' ' . $css_class_additional
|
1485 |
. '">'
|
1937 |
if ( $this->is_frontend ) {
|
1938 |
|
1939 |
if ( ( isset( $this->options['resource_link'] ) ) && ( isset( $this->options['resource_link'][ $resource_value->booking_type_id ] ) ) ){ //FixIn: 7.0.1.50
|
1940 |
+
|
1941 |
+
?><a href="<?php echo $this->options['resource_link'][ $resource_value->booking_type_id ]; ?>" ><?php //FixIn: 7.2.1.14
|
1942 |
}
|
1943 |
+
|
1944 |
echo apply_bk_filter('wpdev_check_for_active_language', $resource_value->title ); //FixIn: 7.0.1.11
|
1945 |
|
1946 |
if ( ( isset( $this->options['resource_link'] ) ) && ( isset( $this->options['resource_link'][ $resource_value->booking_type_id ] ) ) ){ //FixIn: 7.0.1.50
|
1948 |
}
|
1949 |
} else {
|
1950 |
?><a href="<?php echo $bk_admin_url . '&wh_booking_type=' . $bk_resources_id[$d_inc]; ?>" /><?php
|
1951 |
+
echo apply_bk_filter('wpdev_check_for_active_language', $resource_value->title );
|
1952 |
?></a><?php
|
1953 |
}
|
1954 |
?></div><?php
|
2258 |
$timeline = new WPBC_Timeline();
|
2259 |
|
2260 |
$html_client_id = $timeline->ajax_init( $attr ); // Define arameters and get bookings
|
2261 |
+
//debuge($timeline->options);
|
2262 |
|
2263 |
//echo '<div class="wpbc_timeline_ajax_replace">'; // Replace content of this container
|
2264 |
$timeline->show_timeline();
|
core/any/css/admin-listing-table.css
CHANGED
@@ -310,10 +310,9 @@
|
|
310 |
}
|
311 |
|
312 |
.label_resource_not_exist {
|
313 |
-
color: #000;
|
314 |
font-weight: 600;
|
315 |
-
text-
|
316 |
-
text-transform: none;
|
317 |
}
|
318 |
.wpbc-listing-row .booking_row_modification_element {
|
319 |
display: none;
|
310 |
}
|
311 |
|
312 |
.label_resource_not_exist {
|
313 |
+
color: #000 !important;
|
314 |
font-weight: 600;
|
315 |
+
text-transform: uppercase;
|
|
|
316 |
}
|
317 |
.wpbc-listing-row .booking_row_modification_element {
|
318 |
display: none;
|
core/any/js/admin-support.js
CHANGED
@@ -102,12 +102,13 @@ function wpbc_admin_show_message_processing( message_type ){
|
|
102 |
|
103 |
/** Show Alert Messages
|
104 |
*
|
105 |
-
* @param {
|
106 |
-
* @param {
|
107 |
-
* @param {
|
|
|
108 |
* @returns {undefined}
|
109 |
*/
|
110 |
-
function wpbc_admin_show_message( message, m_type, m_delay ){
|
111 |
|
112 |
var alert_class = 'notice '; //'alert ';
|
113 |
if (m_type == 'error') alert_class += 'notice-error '; //'alert-danger ';
|
@@ -115,14 +116,32 @@ function wpbc_admin_show_message( message, m_type, m_delay ){
|
|
115 |
if (m_type == 'info') alert_class += 'notice-info '; //'alert-info ';
|
116 |
if (m_type == 'success') alert_class += 'alert-success updated ';
|
117 |
|
118 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
119 |
'<div class="wpbc_inner_message '+alert_class+'"> ' +
|
120 |
'<a class="close" href="javascript:void(0)" onclick="javascript:jQuery(this).parent().hide();">×</a> ' +
|
121 |
message +
|
122 |
'</div>' +
|
123 |
-
'</div>'
|
124 |
);
|
125 |
-
jQuery('#
|
126 |
}
|
127 |
|
128 |
|
102 |
|
103 |
/** Show Alert Messages
|
104 |
*
|
105 |
+
* @param {string} message
|
106 |
+
* @param {string} m_type - notice (default) | error | warning | info | success
|
107 |
+
* @param {tyintpe} m_delay - microseconds
|
108 |
+
* @param {bool} is_append (default true) - append notice instead of replacing
|
109 |
* @returns {undefined}
|
110 |
*/
|
111 |
+
function wpbc_admin_show_message( message, m_type, m_delay, is_append = true ){ //FixIn: 7.2.1.16
|
112 |
|
113 |
var alert_class = 'notice '; //'alert ';
|
114 |
if (m_type == 'error') alert_class += 'notice-error '; //'alert-danger ';
|
116 |
if (m_type == 'info') alert_class += 'notice-info '; //'alert-info ';
|
117 |
if (m_type == 'success') alert_class += 'alert-success updated ';
|
118 |
|
119 |
+
// var ajx_working_content = '';
|
120 |
+
// if ( is_append )
|
121 |
+
// ajx_working_content = jQuery('#ajax_working').html();
|
122 |
+
|
123 |
+
var unique_div_id = new Date();
|
124 |
+
unique_div_id = 'wpbc_notice_' + unique_div_id.getTime();
|
125 |
+
|
126 |
+
if ( is_append )
|
127 |
+
jQuery('#ajax_working').append(
|
128 |
+
'<div id="' + unique_div_id + '"><div id="wpbc_alert_message" class="wpbc_alert_message">' +
|
129 |
+
'<div class="wpbc_inner_message '+alert_class+'"> ' +
|
130 |
+
'<a class="close" href="javascript:void(0)" onclick="javascript:jQuery(this).parent().hide();">×</a> ' +
|
131 |
+
message +
|
132 |
+
'</div>' +
|
133 |
+
'</div></div>'
|
134 |
+
);
|
135 |
+
else
|
136 |
+
jQuery('#ajax_working').html(
|
137 |
+
'<div id="' + unique_div_id + '"><div id="wpbc_alert_message" class="wpbc_alert_message">' +
|
138 |
'<div class="wpbc_inner_message '+alert_class+'"> ' +
|
139 |
'<a class="close" href="javascript:void(0)" onclick="javascript:jQuery(this).parent().hide();">×</a> ' +
|
140 |
message +
|
141 |
'</div>' +
|
142 |
+
'</div></div>'
|
143 |
);
|
144 |
+
jQuery('#' + unique_div_id ).animate( {opacity: 1}, m_delay ).fadeOut(500);
|
145 |
}
|
146 |
|
147 |
|
core/class/wpbc-class-welcome.php
CHANGED
@@ -330,7 +330,30 @@ class WPBC_Welcome {
|
|
330 |
|
331 |
$this->css();
|
332 |
|
333 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
334 |
|
335 |
<?php $this->title_section(); ?>
|
336 |
|
@@ -353,142 +376,160 @@ class WPBC_Welcome {
|
|
353 |
<?php
|
354 |
|
355 |
$this->maintence_section();
|
356 |
-
?><style type="text/css">
|
357 |
-
.wpbc-changelog-list ul {
|
358 |
-
list-style: outside;
|
359 |
-
}
|
360 |
-
.wpbc-changelog-list ul li{
|
361 |
-
margin-bottom: 0.5em;
|
362 |
-
line-height: 1.5em;
|
363 |
-
}
|
364 |
-
.wpbc-changelog-list ul li strong{
|
365 |
-
padding:0 5px;
|
366 |
-
}
|
367 |
-
.wpbc_expand_section_link,
|
368 |
-
a.wpbc_expand_section_link:hover,
|
369 |
-
a.wpbc_expand_section_link:focus {
|
370 |
-
color:#21759b;
|
371 |
-
cursor: pointer;
|
372 |
-
outline: 0;
|
373 |
-
border:none;
|
374 |
-
border-bottom:1px dashed #21759B;
|
375 |
-
text-decoration: none;
|
376 |
-
}
|
377 |
-
</style>
|
378 |
-
<?php
|
379 |
-
/*
|
380 |
-
?><h2 style='font-size: 2.1em;'>What's New in Booking Calendar 7.2</h2><?php
|
381 |
-
?>
|
382 |
-
<div class="wpbc-changelog-list">
|
383 |
-
<h3>- Changes in <strong>all</strong> versions:</h3>
|
384 |
-
<ul style="">
|
385 |
-
<li> <strong>New</strong> New buttons in Booking Listing page for fast manual <strong>export</strong> (adding) of specific <strong>booking to Google Calendar</strong> (7.1.2.5)
|
386 |
-
<li> <strong>New</strong> Shortcode <strong>[add_to_google_cal_url]</strong> in email template for sending email to admin for fast manual <strong>export</strong> (adding) of specific <strong>booking to Google Calendar</strong> (7.1.2.5)
|
387 |
-
<li> <strong>Translation</strong> Danish translation [100% completed] by Daniel Moesgaard
|
388 |
-
<li> <strong>Translation</strong> Swedish translation [100% completed] by Mikael Göransson
|
389 |
-
<li> <strong>Translation</strong> Hebrew translation [100% completed] by Alex Rabayev and Iris Schuster
|
390 |
-
<li> <strong>Translation</strong> Arabic translation [84% completed]
|
391 |
-
<li> <strong>Fix</strong> some translation issue (7.1.2.1)
|
392 |
-
<li> <strong>Fix</strong> issue of showing today bookings in Booking Listing page (7.1.2.8)
|
393 |
-
<li> <strong>Improvement</strong> remove today day highlighting in calendar, after loading of page (7.1.2.8)
|
394 |
-
<li> <strong>Fix</strong> Renamed Greek translation files from booking-el_GR.mo to booking-el.mo (booking-el_GR.po to booking-el.po) Its seems that default locale for Greek is 'el' (7.1.2.10)
|
395 |
-
<li> <strong>Fix</strong> add possibility to check and load file for 'short' translation locale (like 'en'), if file for 'long' locale (like 'en_US') was not found in translation folder. (7.1.2.11)
|
396 |
-
</ul>
|
397 |
-
<h3>- Changes in <strong>Personal / Business Small / Business Medium / Business Large / MultiUser</strong> versions:</h3>
|
398 |
-
<ul style="list-style: outside;">
|
399 |
-
<li> <strong>Improvement</strong> New form template with 30 minutes time-slots selection at Booking > Settings > Form page (7.1.2.6) <em>(Business Small/Medium/Large, MultiUser)</em></li>
|
400 |
-
<li> <strong>Improvement</strong> Ability to add empty parameter "&booking_hash" to URL in browser at Booking > Add booking page for ability to add bookings for past days (7.1.2.10) <em>(Personal Business Small/Medium/Large, MultiUser)</em></li>
|
401 |
-
<li> <strong>Improvement</strong> Ability to use "Valuation days" cost settings, if activated "Use time selections as recurrent time slots" and set cost "per 1 day" and option "Time impact to cost" deactivated at Booking > Settings > Payment page. Useful, when need to set cost per days, but also save time-slots during booking on several days. (7.1.2.11) <em>(Business Medium/Large, MultiUser)</em></li>
|
402 |
-
<li> <strong>New</strong> Constant WP_BK_CHECK_IF_CUSTOM_PARAM_IN_SEARCH in wpbc-constants.php file. Check in search results custom fields parameter that can include to multiple selected options in search form. Logical OR (7.1.2.9) <em>(Business Large, MultiUser)</em></li>
|
403 |
-
<li> <strong>Trick</strong> Using in Booking > Resources page parameter "show_all_resources" in browser URL, will show all booking resources, even lost booking resources. Lost booking resources can be, if you was assigned as parent booking resource to single booking resource, itself. (7.1.2.2) <em>(Business Large, MultiUser)</em></li>
|
404 |
-
<li> <strong>Fix</strong> do not show option for ability to select as parent booking resource itself, at Booking > Resources page. Its prevent from generating lost booking resources. (7.1.2.3) <em>(Business Large, MultiUser)</em></li>
|
405 |
-
<li> <strong>Fix</strong> issue of not having access in modal windows (like payment request) to enter some data, when opened page with mobile device (7.1.2.7) <em>(Personal Business Small/Medium/Large, MultiUser)</em></li>
|
406 |
-
<li> <strong>Fix</strong> issue in Danish translation, which was show warning at Booking > Settings > Payment > Bank transfer page (7.1.2.9) <em>(Business Small/Medium/Large, MultiUser)</em></li>
|
407 |
-
<li> <strong>Fix</strong> issue of showing &p;#36, instead of $ symbol in the Booking Listing, if was used in "Content of booking fields data" form HINT cost shortcodes (7.1.2.12) <em>(Business Medium/Large, MultiUser)</em></li>
|
408 |
-
<li> <strong>Fix</strong> issue of hiding selection of booking resources field after submit of booking (7.1.2.13) <em>(Personal Business Small/Medium/Large, MultiUser)</em></li>
|
409 |
-
<li> <strong>Fix</strong> issue of not checking (during booking submit process) elements from conditional fields logic, if these fields does not visible. (7.1.2.14) <em>(Business Medium/Large, MultiUser)</em></li>
|
410 |
-
</ul>
|
411 |
-
</div>
|
412 |
-
<?php
|
413 |
-
|
414 |
-
?><h2 style='font-size: 2.1em;'>What's New in Booking Calendar 7.1</h2><?php
|
415 |
-
|
416 |
-
?>
|
417 |
-
<div class="wpbc-changelog-list">
|
418 |
-
<h3>- Changes in <strong>all</strong> versions:</h3>
|
419 |
-
<ul style="">
|
420 |
-
<li> <strong>New.</strong> Ability to limit times for showing cells in TimeLine for 1 day view mode. In TimeLine shortcode possible to use new parameter: <strong>limit_hours='9,22'</strong> Where 9 - its 09:00, start hour and 22 - its 22:00, end hour. For example: <code>[bookingtimeline type='1' limit_hours='9,22']</code> or <code>[bookingtimeline type='1,5' view_days_num=1 limit_hours='10,21']</code> (7.0.1.14)</li>
|
421 |
-
<li> <strong>New.</strong> Constant <code>WP_BK_TIMILINE_LIMIT_HOURS</code> in wpbc-constants.php file. Limit times for showing cells in Calendar Overview page in admin panel for 1 day view mode. (7.0.1.18)</li>
|
422 |
-
<li> <strong>Improvement.</strong> additional checking of correct loading popover function to prevent JavaScript error. If visitor disable loading of Bootstrap files or because of some JS conflict, instead of showing JavaScript error system will skip showing popover tooltip when mouse over days in calendar, or when click on booking in timeline. (7.0.1.2)</li>
|
423 |
-
<li> <strong>Improvement.</strong> added checking about minimum required version of WordPress for using Booking Calendar (7.0.1.6)</li>
|
424 |
-
<li> <strong>Improvement.</strong> Ability to use <code>[reason]</code> or <code>[approvereason]</code> in Booking > Settings > Emails > Approve email template.</li>
|
425 |
-
<li> <strong>Improvement.</strong> Prepare functionality for removing language folder from plugin in a future, for reducing size of plugin. (7.0.1.53)</li>
|
426 |
-
<li> <strong>Improvement.</strong> Showing popovers in timeline (calendar overview) only at bottom direction for better looking at mobile devices (7.0.1.42)</li>
|
427 |
-
<li> <strong>Improvement.</strong> Set color of placeholder text in settings fields lighter. (7.0.1.54)</li>
|
428 |
-
<li> <strong>Improvement.</strong> Increase time for script execution during initial activation of plugin. (7.0.1.57)</li>
|
429 |
-
<li> <strong>Translation.</strong> Dutch translation [99% completed] </li>
|
430 |
-
<li> <strong>Translation.</strong> Italian translation [99% completed]</li>
|
431 |
-
<li> <strong>Translation.</strong> German translation [99% completed]</li>
|
432 |
-
<li> <strong>Translation.</strong> French translation [99% completed]</li>
|
433 |
-
<li> <strong>Fix</strong> Update captcha 1.1 to captcha 1.9, which protect from potensional PHP file inclusion vulnerability (7.0.1.67)</li>
|
434 |
-
<li> <strong>Fix</strong> Minimum version of jQuery required as 1.9.1</li>
|
435 |
-
<li> <strong>Fix</strong> Issue of disabling sending emails during approving or cancellation of bookings at Booking Listing or Calendar Overview pages, when checkbox "Emails sending" unchecked. (7.0.1.5)</li>
|
436 |
-
<li> <strong>Fix</strong> Issue of <strong>auto import events</strong> from Google Calendar into the Booking Calendar (7.0.1.9)</li>
|
437 |
-
<li> <strong>Fix</strong> Issue of generating <strong>JavaScript errors</strong> when user deactivated loading of Bootstrap JS files at Booking Settings General page in Advanced section. Instead of it show warning message or skip showing tooltips. (7.0.1.10)</li>
|
438 |
-
<li> <strong>Fix</strong> issue of order loading translation, if default language is not English (7.0.1.12) </li>
|
439 |
-
<li> <strong>Fix</strong> issue of redirection to "Thank you" page. Using home_url (www.server.com) instead of site_url (www.server.com/wordpress/) at some servers. (7.0.1.20)</li>
|
440 |
-
<li> <strong>Fix</strong> issue of ability to translate options in selectbox in format like <code>Eng 1 [lang=it_IT] Italian 1</code> at Settings Fields page in Booking Calendar Free version (7.0.1.21)</li>
|
441 |
-
<li> <strong>Fix</strong> set email field as required field in Booking Calendar Free version (7.0.1.22)</li>
|
442 |
-
<li> <strong>Fix</strong> issue of not sending emails, if server was set with using error_reporting(E_STRICT); and show this warning: "PHP Strict Standards: Only variables should be passed by reference in /wp-content/plugins/booking/core/admin/page-email-new-admin.php on line 1105" (7.0.1.32)</li>
|
443 |
-
<li> <strong>Fix</strong> issue of not submitting booking in IE. Issue relative to note support by IE String.trim() function. (7.0.1.39)</li>
|
444 |
-
<li> <strong>Fix</strong> issue of showing additional slashes in emails at reason of cancellation (7.0.1.46) (Also fixed same issue for approve reason, payment request text and adding notes to the booking).</li>
|
445 |
-
<li> <strong>Fix</strong> issue of showing in TimeLine (Calendar Overview) 1st day of next Month, that does not belong to current visible month. Sometimes in such view if booking starting from 1st day of next month, system does not show this booking, and its can confuse visitors. (7.0.1.47)</li>
|
446 |
-
<li> <strong>Fix</strong> issue of not saving Booking > Settings General page if pressed on Save Changes button at top right side in French language, and some other languages (7.0.1.56)</li>
|
447 |
-
<li> <strong>Under Hood.</strong> do_action( 'wpbc_jquery_unknown' ) - new hook for situation, when we can not make identification version of jQuery, sometimes, need manually to load jquery-migrate (7.0.1.33)</li>
|
448 |
-
<li> <strong>Under Hood.</strong> Trigger event "timeline_nav" after clicking navigation in timeline. To bind this event use this JS: <code>jQuery( ".wpbc_timeline_front_end" ).on('timeline_nav', function(event, timeline_obj, nav_step ) { ... } );</code> (7.0.1.48)</li>
|
449 |
-
<li> <strong>Under Hood.</strong> New constant. <code>WP_BK_AUTO_APPROVE_WHEN_IMPORT_GCAL</code> - Auto approve booking, if imported from Google Calendar. Default set to false (7.0.1.59)</li>
|
450 |
-
</ul>
|
451 |
-
<h3>- Changes in <strong>Personal / Business Small / Business Medium / Business Large / MultiUser</strong> versions:</h3>
|
452 |
-
<ul style="list-style: outside;">
|
453 |
-
<li> <strong>New.</strong> Integration of <strong>iDEAL via Sisow</strong> payment gateway. (7.0.1.64) <em>(Business Small/Medium/Large, MultiUser)</em></li>
|
454 |
-
<li> <strong>New.</strong> <strong>Show change over days as triangles.</strong> <em>Beta Feature</em>. Its require showing calendar days cells as square (not rectangle). Width and height of calendar you can define in shortcode options parameter. Supported by: Chrome 36.0+, MS IE 10.0+, Firefox 16.0+, Safari 9.0+, Opera 23.0+ (7.0.1.24) <em>(Business Medium/Large, MultiUser)</em></li>
|
455 |
-
<li> <strong>New.</strong> Ability to define links for booking resource titles in TimeLine. Example: <code>[bookingtimeline ... options='{resource_link 3="http://beta/resource-apartment3-id3/"},{resource_link 4="http://beta/resource-3-id4/"}' ... ]</code> (7.0.1.50) <em>(Personal, Business Small/Medium/Large, MultiUser)</em></li>
|
456 |
-
<li> <strong>Tip.</strong> Skip showing rows of booking resource(s) in TimeLine or Calendar Overview, if no any exist booking(s) for current view. For activation this feature you need to add only_booked_resources parameter to the URL. For example: http://server.com/wp-admin/admin.php?page=wpbc&view_mode=vm_calendar&only_booked_resources Its have to improve speed of page loading, when we are having too many resources at the page. (7.0.1.51) <em>(Personal, Business Small/Medium/Large, MultiUser)</em></li>
|
457 |
-
<li> <strong>Improvement.</strong> Ability to set lower interval (15, 30 or 45 minutes) for auto cancellation pending bookings that have no successfully paid status (7.0.1.25) <em>(Business Small/Medium/Large, MultiUser)</em></li>
|
458 |
-
<li> <strong>Improvement.</strong> Ability to use aggregate parameter in the <code>[bookingedit]</code> shortcode (7.0.1.26) <em>(Personal, Business Small/Medium/Large, MultiUser)</em></li>
|
459 |
-
<li> <strong>Improvement.</strong> Ability to use in field "From Name" in email templates at Booking - Settings - Emails page different shortcodes from booking form, like <code>[name] [secondname]</code> (7.0.1.29) <em>(Personal, Business Small/Medium/Large, MultiUser)</em></li>
|
460 |
-
<li> <strong>Improvement.</strong> Ability to show in cost_hints negative (discounted) cost for additional items. Previously system set instead of negative value just 0 (7.0.1.30) <em>(Business Medium/Large, MultiUser)</em></li>
|
461 |
-
<li> <strong>Improvement.</strong> Increase accuracy of rates calculation, if we are having more than 2 digits after comma in rates configurations (7.0.1.44) <em>(Business Medium/Large, MultiUser)</em></li>
|
462 |
-
<li> <strong>Improvement.</strong> Ability to use HTML tags in popup window during sending payment request and then showing <code>[paymentreason]</code> in email template with HTML formating (7.0.1.60) <em>(Business Small/Medium/Large, MultiUser)</em></li>
|
463 |
-
<li> <strong>Improvement.</strong> Showing "blank bookings" in Calendar Overview page with different color (red) (7.0.1.40) <em>(Business Small/Medium/Large, MultiUser)</em></li>
|
464 |
-
<li> <strong>Improvement.</strong> Showing all title for booking resources with long name (longer than 19 symbols) at the Booking Listing page. Previously its was cutted of (7.0.1.66) <em>(Personal, Business Small/Medium/Large, MultiUser)</em></li>
|
465 |
-
<li> <strong>Fix</strong> issue of not showing "reason of cancellation" in emails, that are sending after auto-cancellation of pending not successfully paid bookings. (7.0.1.1) <em>(Business Small/Medium/Large, MultiUser)</em></li>
|
466 |
-
<li> <strong>Fix</strong> issue of incorrectly booking cost calculation if setted cost "per 1 night" and previously was used "Valuation days" cost settings for specific booking resource. (7.0.1.4) <em>(Business Medium/Large, MultiUser)</em></li>
|
467 |
-
<li> <strong>Fix</strong> Do not apply "LAST" cost option for "Valuation days" if previously was applied "Together" term. No need to apply "LAST", because its have to be already calculated in together term (7.0.1.7) <em>(Business Medium/Large, MultiUser)</em></li>
|
468 |
-
<li> <strong>Fix</strong> Correctly replacing shortcodes with custom URL parameter, like: 'visitorbookingediturl', 'visitorbookingcancelurl', 'visitorbookingpayurl' in email templates. (7.0.1.8) <em>(Personal, Business Small/Medium/Large, MultiUser)</em></li>
|
469 |
-
<li> <strong>Fix</strong> issue of showing notice: "Use of undefined constant <code>WPDEV_BK_LOCALE_RELOAD</code>" in seacrh results (7.0.1.9) <em>(Business Large, MultiUser)</em></li>
|
470 |
-
<li> <strong>Fix</strong> issue of start showing timeline in "Day view" starting from Today date based on WordPress timezone. (7.0.1.13)</li>
|
471 |
-
<li> <strong>Fix</strong> issue of not showing some bookings, which was made for specific times in 1 day view mode. (7.0.1.16)</li>
|
472 |
-
<li> <strong>Fix</strong> issue of saving additional cost at the Booking > Resources > Advanced cost page, if some options have LABELs (options still must be simple words) with umlauts. (7.0.1.27) <em>(Business Medium/Large, MultiUser)</em></li>
|
473 |
-
<li> <strong>Fix</strong> issue of updating <code>[cost_correction]</code> shortcode, if selecting dates for new booking and not editing exist booking (7.0.1.28) <em>(Business Medium/Large, MultiUser)</em></li>
|
474 |
-
<li> <strong>Fix</strong> issue of blocking days selection in calendar, when visitor use the search form and manually input dates that lower than minimum number of days selection in settings (7.0.1.31) <em>(Business Large, MultiUser)</em></li>
|
475 |
-
<li> <strong>Fix</strong> issue of showing blank page for printing in Chrome browser (7.0.1.34) <em>(Personal, Business Small/Medium/Large, MultiUser)</em></li>
|
476 |
-
<li> <strong>Fix</strong> issue of not changing hash of booking after approving of booking, if this option was activated at settings (7.0.1.35) <em>(Personal, Business Small/Medium/Large, MultiUser)</em></li>
|
477 |
-
<li> <strong>Fix</strong> issue of rechecking booking dates (if activated "Checking to prevent double booking, during submitting booking" option), during booking editing (7.0.1.36) <em>(Personal, Business Small/Medium/Large, MultiUser)</em></li>
|
478 |
-
<li> <strong>Fix</strong> issue of not correctly blocking check-out day (showing weird 2 checkout days), if activated "Unavailable time before / after booking" option and set unavailable DAYs after booking (7.0.1.38) <em>(Business Medium/Large, MultiUser)</em></li>
|
479 |
-
<li> <strong>Fix</strong> issue of wrong deleting booking, if activated option "Disable bookings in different booking resources" during editing booking that try to store in different booking resources (7.0.1.43) <em>(Business Large, MultiUser)</em></li>
|
480 |
-
<li> <strong>Fix</strong> position of currency symbol in calendar day cells and in mouseover tooltip, depend from settings at Booking > Settings > Payment page (7.0.1.49) <em>(Business Medium/Large, MultiUser)</em></li>
|
481 |
-
<li> <strong>Fix</strong> replacinng shortcodes in a loop, if we are having several shortcodes with bookingedit{cancel} in email templates (For example, if we have several languges ). (7.0.1.52)</li>
|
482 |
-
<li> <strong>Fix</strong> issue of infinite loop, which was exist since update 7.0.1.52 to 7.0.1.57 (7.0.1.58)</li>
|
483 |
-
<li> <strong>Fix</strong> issue of not saving data for radio button selection field in emails and may be in booking listing (7.0.1.62) <em>(Personal, Business Small/Medium/Large, MultiUser)</em></li>
|
484 |
-
<li> <strong>Under Hood.</strong> Trigger event "show_cost_hints" after showing cost or time hints in booking form. To bind this event use this JS: jQuery( ".booking_form_div" ).on('show_cost_hints', function(event, bk_type ) { ... } ); (7.0.1.53) <em>(Business Medium/Large, MultiUser)</em></li>
|
485 |
-
<li> <strong>Under Hood.</strong> Add automatically new payment system, after visit Settings Payment page, if payment system folder and file(s) was created correctly. (7.0.1.55,7.0.1.61) <em>(Business Small/Medium/Large, MultiUser)</em></li>
|
486 |
-
</ul>
|
487 |
-
</div>
|
488 |
-
<?php
|
489 |
-
*/
|
490 |
|
491 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
492 |
$this->show_separator();
|
493 |
?><h2 style='font-size: 1.6em;margin:40px 0 0 0;text-align: left;'>Changes in all versions</h2><?php
|
494 |
|
@@ -683,10 +724,17 @@ class WPBC_Welcome {
|
|
683 |
|
684 |
?>
|
685 |
<?php //$this->show_separator(); ?>
|
686 |
-
|
687 |
-
|
688 |
-
|
689 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
690 |
|
691 |
<div class="version_update_7_0" style="display:none;">
|
692 |
<h2 style='font-size: 2.1em;'>What's New in Booking Calendar 7.0</h2><?php
|
@@ -1027,7 +1075,7 @@ class WPBC_Welcome {
|
|
1027 |
'text' =>
|
1028 |
'<h4>' .wpbc_recheck_strong_symbols( 'Updated **Payment Gateways** Settings page. *(Business Small/Medium/Large, MultiUser)*' ) . '</h4>'
|
1029 |
. '<ul style="list-style: disc outside;padding: 20px;margin:0;">'
|
1030 |
-
. '<li>' . wpbc_recheck_strong_symbols( '**New** payment **gateway files**. Important! If you was customized previously own payment gateway, in update 7.0 you need to customize your payment system relative to new payment gateway structure. In the same was as its done with any exist payment system. For including loading o your payment gateway file, you need to use this code and hook: <code>function add_my_gateway( $gateway ){ return $gateway . ",gateway_ID"; }
|
1031 |
. '<li>' . wpbc_recheck_strong_symbols( '**New** Sorting payment **gateways order** by drug and dropt specific payment gateways rows *(Business Small/Medium/Large, MultiUser)*' ) . '</li>'
|
1032 |
. '<li>' . wpbc_recheck_strong_symbols( '**Improvement** showing active currency and status for each payment gateways *(Business Small/Medium/Large, MultiUser)*' ) . '</li>'
|
1033 |
. '<li>' . wpbc_recheck_strong_symbols( '**New** configuration of **payment summary details**. Many new shortcodes for configuration payment summary info. *(Business Small/Medium/Large, MultiUser)* ' ) . '</li>'
|
@@ -1054,18 +1102,11 @@ class WPBC_Welcome {
|
|
1054 |
|
1055 |
$this->show_separator();
|
1056 |
?></div><?php
|
1057 |
-
|
1058 |
-
|
1059 |
-
|
1060 |
-
|
1061 |
-
|
1062 |
-
</pre><?php
|
1063 |
-
$welcome_text = ob_get_clean();
|
1064 |
-
|
1065 |
-
echo wpbc_recheck_strong_symbols( $welcome_text );
|
1066 |
-
$this->show_separator();
|
1067 |
-
*/
|
1068 |
-
?>
|
1069 |
<table class="about-text" style="margin-bottom:30px;height:auto;font-size:1em;width:100%;" >
|
1070 |
<tr>
|
1071 |
<td>
|
330 |
|
331 |
$this->css();
|
332 |
|
333 |
+
?>
|
334 |
+
<style type="text/css">
|
335 |
+
.wpbc-changelog-list ul {
|
336 |
+
list-style: outside;
|
337 |
+
}
|
338 |
+
.wpbc-changelog-list ul li{
|
339 |
+
margin-bottom: 0.5em;
|
340 |
+
line-height: 1.5em;
|
341 |
+
}
|
342 |
+
.wpbc-changelog-list ul li strong{
|
343 |
+
padding:0 5px;
|
344 |
+
}
|
345 |
+
.wpbc_expand_section_link,
|
346 |
+
a.wpbc_expand_section_link:hover,
|
347 |
+
a.wpbc_expand_section_link:focus {
|
348 |
+
color:#21759b;
|
349 |
+
cursor: pointer;
|
350 |
+
outline: 0;
|
351 |
+
border:none;
|
352 |
+
border-bottom:1px dashed #21759B;
|
353 |
+
text-decoration: none;
|
354 |
+
}
|
355 |
+
</style>
|
356 |
+
<div class="wrap about-wrap wpbc-welcome-page">
|
357 |
|
358 |
<?php $this->title_section(); ?>
|
359 |
|
376 |
<?php
|
377 |
|
378 |
$this->maintence_section();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
379 |
|
380 |
+
////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
381 |
+
// 8.0
|
382 |
+
////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
383 |
+
?>
|
384 |
+
<h2 style='font-size: 2.1em;'>What's New in Booking Calendar <span style="font-size: 1.1em;
|
385 |
+
font-weight: 600;font-family: Consolas,Monaco,monospace;padding-left: 10px;color: #5F5F5F;">8.0</span></h2><?php
|
386 |
+
$this->show_separator();
|
387 |
+
?><!--h2 style='font-size: 1.6em;margin:40px 0 0 0;text-align: left;'>Changes in all versions</h2--><?php
|
388 |
+
|
389 |
+
?><h2 style='font-size: 1.6em;margin:20px 0 -10px 0;'>Sync bookings between different sources easily via <strong>.ics</strong> feeds</h2><?php
|
390 |
+
if(0) {
|
391 |
+
?>
|
392 |
+
<span class="wpbc-settings-notice notice notice-info"
|
393 |
+
style="text-align: left;border-top: 1px solid #f0f0f0;border-right: 1px solid #f0f0f0;line-height: 2em;padding: 5px 20px;display: block !important;margin: 40px 0 -30px;border-left-color: #00a0d2;"
|
394 |
+
>
|
395 |
+
<?php
|
396 |
+
$message_ics = sprintf(
|
397 |
+
__( '.ics - is a file format of iCalendar standard for exchanging calendar and scheduling information between different sources %s Using a common calendar format (.ics), you can keep all your calendars updated and synchronized.', 'booking' )
|
398 |
+
, '<br/>' /*
|
399 |
+
'<br/><em>(<strong><a href="https://www.airbnb.com/help/article/99/how-do-i-sync-my-airbnb-calendar-with-another-calendar" target="_blank">Airbnb</a></strong>, '
|
400 |
+
. '<strong><a href="https://partnersupport.booking.com/hc/en-us/articles/213424709-How-do-I-export-my-calendar-" target="_blank">Booking.com</a></strong>, '
|
401 |
+
. '<strong><a href="https://help.homeaway.com/articles/How-do-I-export-my-calendar-data-to-a-Google-calendar" target="_blank">HomeAway</a></strong>, '
|
402 |
+
. '<strong><a href="https://rentalsupport.tripadvisor.com/articles/FAQ/noc-How-does-calendar-sync-work" target="_blank">TripAdvisor</a></strong>, '
|
403 |
+
. '<strong><a href="https://help.vrbo.com/articles/How-do-I-export-my-calendar-data-to-a-Google-calendar" target="_blank">VRBO</a></strong>, '
|
404 |
+
. '<strong><a href="https://helpcenter.flipkey.com/articles/FAQ/noc-How-does-calendar-sync-work" target="_blank">FlipKey</a></strong> '
|
405 |
+
. str_replace( array( '.ics', 'iCalendar' ), array( '<strong>.ics</strong>', '<strong>iCalendar</strong>' ),
|
406 |
+
__( 'and any other calendar that uses .ics format', 'booking' )
|
407 |
+
)
|
408 |
+
. ')</em>.<br/>' */
|
409 |
+
);
|
410 |
+
$message_ics = str_replace( array( '.ics', 'iCalendar' ), array( '<strong>.ics</strong>', '<strong>iCalendar</strong>' ), $message_ics );
|
411 |
+
echo $message_ics;
|
412 |
+
?>
|
413 |
+
</span>
|
414 |
+
<?php
|
415 |
+
}
|
416 |
+
|
417 |
+
$this->show_col_section( array(
|
418 |
+
|
419 |
+
array( 'h4' => wpbc_recheck_strong_symbols( 'Import of **.ics** feeds (files)' ),
|
420 |
+
'text' => '<ul style="list-style: disc outside;padding: 20px;margin:0;">'
|
421 |
+
. '<li>' . wpbc_recheck_strong_symbols( 'Native integration with our **<a target="_blank" href="http://wpbookingcalendar.com/help/booking-manager/">Booking Manager</a>** plugin for ability to import **.ics** feeds or files' ) . '</li>'
|
422 |
+
. '<li>' . wpbc_recheck_strong_symbols( 'Import external **.ics** feeds via shortcodes at pages.
|
423 |
+
It gives a great flexibility to import **.ics** feeds from different sources <em>(like ' )
|
424 |
+
. '<strong><a href="https://www.airbnb.com/help/article/99/how-do-i-sync-my-airbnb-calendar-with-another-calendar" target="_blank">Airbnb</a></strong>, '
|
425 |
+
. '<strong><a href="https://partnersupport.booking.com/hc/en-us/articles/213424709-How-do-I-export-my-calendar-" target="_blank">Booking.com</a></strong>, '
|
426 |
+
. '<strong><a href="https://help.homeaway.com/articles/How-do-I-export-my-calendar-data-to-a-Google-calendar" target="_blank">HomeAway</a></strong>, '
|
427 |
+
. '<strong><a href="https://rentalsupport.tripadvisor.com/articles/FAQ/noc-How-does-calendar-sync-work" target="_blank">TripAdvisor</a></strong>, '
|
428 |
+
. '<strong><a href="https://help.vrbo.com/articles/How-do-I-export-my-calendar-data-to-a-Google-calendar" target="_blank">VRBO</a></strong>, '
|
429 |
+
. '<strong><a href="https://helpcenter.flipkey.com/articles/FAQ/noc-How-does-calendar-sync-work" target="_blank">FlipKey</a></strong> '
|
430 |
+
. ' or any other calendar that uses .ics format)</em> '
|
431 |
+
. ' into same booking resource.'
|
432 |
+
. ' <br>Its means that you can import bookings or events from different sources into same resource.'
|
433 |
+
. '</li>'
|
434 |
+
. '<li>' . wpbc_recheck_strong_symbols( 'Define different parameters in this import shortcode. For example, you can set "start from" and "finish to" date condition or maximum number of items to import or import only events for available dates in exist calendar, etc...' ) . '</li>'
|
435 |
+
. '<li>' . wpbc_recheck_strong_symbols( 'Additionally you can configure your server CRON for periodically access these pages and import .ics feeds in automatic way.' ) . '</li>'
|
436 |
+
|
437 |
+
. '</ul>'
|
438 |
+
)
|
439 |
+
, array( 'img' => '8.0/import-ics2.png', 'img_style'=>'margin-top:20px;width: 99%;' )
|
440 |
+
)
|
441 |
+
);
|
442 |
+
|
443 |
+
$this->show_separator();
|
444 |
+
|
445 |
+
$this->show_col_section( array(
|
446 |
+
array( 'img' => '8.0/export-ics.png', 'img_style'=>'margin-top:20px;width: 99%;' )
|
447 |
+
, array( 'h4' => wpbc_recheck_strong_symbols( 'Export of **.ics** feeds (files)' ),
|
448 |
+
'text' =>
|
449 |
+
'<ul style="list-style: disc outside;padding: 20px;margin:0;">'
|
450 |
+
. '<li>' . wpbc_recheck_strong_symbols( 'Native integration with our **<a target="_blank" href="http://wpbookingcalendar.com/help/booking-manager/">Booking Manager</a>** plugin for ability to export **.ics** feeds' ) . '</li>'
|
451 |
+
. '<li>' . wpbc_recheck_strong_symbols( 'Configure specific ULR feed(s) at setting page' ) . '</li>'
|
452 |
+
. '<li>' . wpbc_recheck_strong_symbols( 'Use this URL(s) in external websites <em>(like ' )
|
453 |
+
. '<strong><a href="https://www.airbnb.com/help/article/99/how-do-i-sync-my-airbnb-calendar-with-another-calendar" target="_blank">Airbnb</a></strong>, '
|
454 |
+
. '<strong><a href="https://partnersupport.booking.com/hc/en-us/articles/213424709-How-do-I-export-my-calendar-" target="_blank">Booking.com</a></strong>, '
|
455 |
+
. '<strong><a href="https://help.homeaway.com/articles/How-do-I-export-my-calendar-data-to-a-Google-calendar" target="_blank">HomeAway</a></strong>, '
|
456 |
+
. '<strong><a href="https://rentalsupport.tripadvisor.com/articles/FAQ/noc-How-does-calendar-sync-work" target="_blank">TripAdvisor</a></strong>, '
|
457 |
+
. '<strong><a href="https://help.vrbo.com/articles/How-do-I-export-my-calendar-data-to-a-Google-calendar" target="_blank">VRBO</a></strong>, '
|
458 |
+
. '<strong><a href="https://helpcenter.flipkey.com/articles/FAQ/noc-How-does-calendar-sync-work" target="_blank">FlipKey</a></strong> '
|
459 |
+
. ' or any other calendar that uses .ics format)</em> '
|
460 |
+
. ' for ability to import bookings into these third-party websites.'
|
461 |
+
. '<li>' . wpbc_recheck_strong_symbols( 'Or you can simply download .ics file for later use in some application.' ) . '</li>'
|
462 |
+
. '</li>'
|
463 |
+
. '</ul>'
|
464 |
+
)
|
465 |
+
)
|
466 |
+
);
|
467 |
+
$this->show_separator();
|
468 |
+
|
469 |
+
|
470 |
+
$this->show_col_section( array(
|
471 |
+
array( 'text' =>
|
472 |
+
'<h4>' .wpbc_recheck_strong_symbols( 'Translation' ) . '</h4>'
|
473 |
+
. '<ul style="list-style: disc outside;padding: 20px;margin:0;">'
|
474 |
+
|
475 |
+
. '<li>' . wpbc_recheck_strong_symbols( '**Translation** Dutch translation [100% completed] by Boris Hoekmeijer and Alex Rabayev and Iris Schuster' ) . '</li>'
|
476 |
+
. '<li>' . wpbc_recheck_strong_symbols( '**Translation** Finnish translation [98% completed] by Teemu Valkeapää' ) . '</li>'
|
477 |
+
. '<li>' . wpbc_recheck_strong_symbols( '**Translation** Chinese (Taiwan) translation [98% completed] by Howdy Lee' ) . '</li>'
|
478 |
+
. '<li>' . wpbc_recheck_strong_symbols( '**Translation** Norwegian translation [98% completed] by Bjørn Kåre Løland' ) . '</li>'
|
479 |
+
. '<li>' . wpbc_recheck_strong_symbols( '**Translation** Brazilian Portuguese translation [98% completed] by Rafael Rocha' ) . '</li>'
|
480 |
+
. '</ul>'
|
481 |
+
|
482 |
+
. '<h4>' .wpbc_recheck_strong_symbols( 'Improvement' ) . '</h4>'
|
483 |
+
. '<ul style="list-style: disc outside;padding: 20px;margin:0;">'
|
484 |
+
. '<li>' . wpbc_recheck_strong_symbols( '**Improvement** New setting option for activation showing system debug log, for Beta features. Useful in case, if need to find reason, if something was going wrong. You can activate it at the Booking > Settings General page in Advanced section after clicking on "Show advanced settings of JavaScript loading." ( 7.2.1.15 )' ) . '</li>'
|
485 |
+
. '<li>' . wpbc_recheck_strong_symbols( '**Improvement.** Showing system messages one under other instead of replacing each other in admin panel. Its possible to hide top one and see previous notices (7.2.1.16)' ) . '</li>'
|
486 |
+
. '<li>' . wpbc_recheck_strong_symbols( '**Improvement.** Show in "New (visitor)" email (that is sending to the visitor after new booking) the date that is one day previous to the last selected day, by using this shortcode: <code>[check_out_minus1day]</code> (7.2.1.6)' ) . '</li>'
|
487 |
+
|
488 |
+
. '<li>' . wpbc_recheck_strong_symbols( '**Improvement.** Shortcode for showing coupon discount value of the booking: <code>[coupon_discount_hint]</code> at Booking > Settings > Form page. **(Business Large, MultiUser)**' ) . '</li>'
|
489 |
+
. '<li>' . wpbc_recheck_strong_symbols( '**Improvement.** Discount coupon codes will not depend from symbols lowercase or uppercase. Prevent of saving coupon codes with specific symbols, which can generate issue of not showing discount at payment form. (7.2.1.3) **(Business Large, MultiUser)**' ) . '</li>'
|
490 |
+
. '<li>' . wpbc_recheck_strong_symbols( '**Improvement.** Show "blank" bookings with different border color at Calendar Overview page. (7.2.1.8) **(Personal Business Small/Medium/Large, MultiUser)**' ) . '</li>'
|
491 |
+
. '<li>' . wpbc_recheck_strong_symbols( '**Improvement.** Apply "Valuation days" cost settings "For = LAST", even if previous TOGATHER = X% settings was applied. (7.2.1.20) **(Business Medium/Large, MultiUser)**' ) . '</li>'
|
492 |
+
. '</ul>'
|
493 |
+
|
494 |
+
)
|
495 |
+
, array( 'text' =>
|
496 |
+
'<h4>' .wpbc_recheck_strong_symbols( 'Under Hood' ) . '</h4>'
|
497 |
+
. '<ul style="list-style: disc outside;padding: 20px;margin:0;">'
|
498 |
+
. '<li>' . wpbc_recheck_strong_symbols( '**Under Hood.** New **API File** <code>/{Booking Calendar Folder}/core/wpbc-dev-api.php</code> - well documented list of functions and hooks that possible to use for third-party integrations.' ) . '</li>'
|
499 |
+
. '<li>' . wpbc_recheck_strong_symbols( '**Under Hood.** New column in booking resources table for saving export info (7.2.1.13) **(Personal Business Small/Medium/Large, MultiUser)**' ) . '</li>'
|
500 |
+
. '</ul>'
|
501 |
+
|
502 |
+
. '<h4>' .wpbc_recheck_strong_symbols( 'Fixes' ) . '</h4>'
|
503 |
+
. '<ul style="list-style: disc outside;padding: 20px;margin:0;">'
|
504 |
+
. '<li>' . wpbc_recheck_strong_symbols( '**Fix** Correctly load custom jQuery via https (in some servers), if website is using SSL ( 7.2.1.4 )' ) . '</li>'
|
505 |
+
. '<li>' . wpbc_recheck_strong_symbols( '**Fix** Compatibility issue with other plugins, during expand/collapsing sections at settings pages (7.2.1.10)' ) . '</li>'
|
506 |
+
. '<li>' . wpbc_recheck_strong_symbols( '**Fix** Additional checking about $_SERVER variables, for preventing of showing "Warning Notices" at some servers ( 7.2.1.17 )' ) . '</li>'
|
507 |
+
. '<li>' . wpbc_recheck_strong_symbols( '**Fix** Loading correct language, if language was set to English in user profile but in WordPress > General > Settings page was set some other default language ( 7.2.1.21 )' ) . '</li>'
|
508 |
+
|
509 |
+
. '<li>' . wpbc_recheck_strong_symbols( '**Fix** Issue of not showing search results (during searching in same page - ajax request), when using custom fields parameters and selected - "" (which is means "any value") ( 7.2.1.5 ) **(Business Large, MultiUser)**' ) . '</li>'
|
510 |
+
. '<li>' . wpbc_recheck_strong_symbols( '**Fix** Issue of showing correct number of decimal digits depend from cost format, in calendar days cells and mouse-over tooltips ( 7.2.1.11) **(Business Medium/Large, MultiUser)**' ) . '</li>'
|
511 |
+
. '<li>' . wpbc_recheck_strong_symbols( '**Fix** Do not check about required fields, if the fields are hidden (7.2.1.12) **(Personal Business Small/Medium/Large, MultiUser)**' ) . '</li>'
|
512 |
+
. '<li>' . wpbc_recheck_strong_symbols( '**Fix** Issue of not showing links for booking resources in timeline after scrolling, if using (resource_link) parameter with links in timeline shortcode. (7.2.1.14) **(Personal Business Small/Medium/Large, MultiUser)**' ) . '</li>'
|
513 |
+
. '<li>' . wpbc_recheck_strong_symbols( '**Fix** "Request-URI Too Long" fatal error at "Calendar Overview" page, when visitor have too many booking resources (7.2.1.18) **(Personal Business Small/Medium/Large, MultiUser)**' ) . '</li>'
|
514 |
+
|
515 |
+
. '</ul>'
|
516 |
+
)
|
517 |
+
)
|
518 |
+
);
|
519 |
+
$this->show_separator();
|
520 |
+
|
521 |
+
////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
522 |
+
// 7.1 - 7.2
|
523 |
+
////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
524 |
+
?>
|
525 |
+
<div class="clear" style="margin-top:20px;"></div>
|
526 |
+
<a id="wpbc_show_advanced_section_link_show" class="wpbc_expand_section_link" href="javascript:void(0)"
|
527 |
+
onclick="javascript:jQuery( '.version_update_7_2' ).toggle();"
|
528 |
+
>+ Show changes in version update <span style="font-size: 1.35em;font-weight: 600;color: #079;font-family: Consolas,Monaco,monospace;padding-left:12px;">7.1 - 7.2</span></a>
|
529 |
+
|
530 |
+
<div class="version_update_7_2" style="display:none;">
|
531 |
+
|
532 |
+
<h2 style='font-size: 2.1em;'>What's New in Booking Calendar 7.1 - 7.2</h2><?php
|
533 |
$this->show_separator();
|
534 |
?><h2 style='font-size: 1.6em;margin:40px 0 0 0;text-align: left;'>Changes in all versions</h2><?php
|
535 |
|
724 |
|
725 |
?>
|
726 |
<?php //$this->show_separator(); ?>
|
727 |
+
</div>
|
728 |
+
<?php
|
729 |
+
|
730 |
+
////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
731 |
+
// 7.0
|
732 |
+
////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
733 |
+
?>
|
734 |
+
<div class="clear" style="margin-top: 20px;"></div>
|
735 |
+
<a id="wpbc_show_advanced_section_link_show" class="wpbc_expand_section_link" href="javascript:void(0)"
|
736 |
+
onclick="javascript:jQuery( '.version_update_7_0' ).toggle();"
|
737 |
+
>+ Show changes in version update <span style="font-size: 1.35em;font-weight: 600;color: #079;font-family: Consolas,Monaco,monospace;padding-left:12px;">7.0</span></a>
|
738 |
|
739 |
<div class="version_update_7_0" style="display:none;">
|
740 |
<h2 style='font-size: 2.1em;'>What's New in Booking Calendar 7.0</h2><?php
|
1075 |
'text' =>
|
1076 |
'<h4>' .wpbc_recheck_strong_symbols( 'Updated **Payment Gateways** Settings page. *(Business Small/Medium/Large, MultiUser)*' ) . '</h4>'
|
1077 |
. '<ul style="list-style: disc outside;padding: 20px;margin:0;">'
|
1078 |
+
. '<li>' . wpbc_recheck_strong_symbols( '**New** payment **gateway files**. Important! If you was customized previously own payment gateway, in update 7.0 you need to customize your payment system relative to new payment gateway structure. In the same was as its done with any exist payment system. For including loading o your payment gateway file, you need to use this code and hook: <code>function add_my_gateway( $gateway ){ return $gateway . ",gateway_ID"; } add_filter( "wpbc_gateways_original_id_list", "add_my_gateway" );</code>' ) . '</li>'
|
1079 |
. '<li>' . wpbc_recheck_strong_symbols( '**New** Sorting payment **gateways order** by drug and dropt specific payment gateways rows *(Business Small/Medium/Large, MultiUser)*' ) . '</li>'
|
1080 |
. '<li>' . wpbc_recheck_strong_symbols( '**Improvement** showing active currency and status for each payment gateways *(Business Small/Medium/Large, MultiUser)*' ) . '</li>'
|
1081 |
. '<li>' . wpbc_recheck_strong_symbols( '**New** configuration of **payment summary details**. Many new shortcodes for configuration payment summary info. *(Business Small/Medium/Large, MultiUser)* ' ) . '</li>'
|
1102 |
|
1103 |
$this->show_separator();
|
1104 |
?></div><?php
|
1105 |
+
|
1106 |
+
////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
1107 |
+
// Footer
|
1108 |
+
////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
1109 |
+
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1110 |
<table class="about-text" style="margin-bottom:30px;height:auto;font-size:1em;width:100%;" >
|
1111 |
<tr>
|
1112 |
<td>
|
core/lib/wpbc-ajax.php
CHANGED
@@ -22,7 +22,9 @@ if ( ! defined( 'ABSPATH' ) ) exit;
|
|
22 |
function wpdev_check_nonce_in_admin_panel( $action_check = 'wpbc_ajax_admin_nonce' ){
|
23 |
|
24 |
$nonce = ( isset($_REQUEST['wpbc_nonce']) ) ? $_REQUEST['wpbc_nonce'] : '';
|
25 |
-
|
|
|
|
|
26 |
if ( ! wp_verify_nonce( $nonce, $action_check ) ) { // This nonce is not valid.
|
27 |
?>
|
28 |
<script type="text/javascript">
|
@@ -35,11 +37,12 @@ function wpdev_check_nonce_in_admin_panel( $action_check = 'wpbc_ajax_admin_nonc
|
|
35 |
<?php
|
36 |
die;
|
37 |
}
|
|
|
38 |
}
|
39 |
|
40 |
// Alias
|
41 |
function wpbc_check_nonce_in_admin_panel( $action_check = 'wpbc_ajax_admin_nonce' ){
|
42 |
-
wpdev_check_nonce_in_admin_panel( $action_check );
|
43 |
}
|
44 |
|
45 |
|
@@ -72,8 +75,9 @@ function wpbc_check_locale_for_ajax() {
|
|
72 |
|
73 |
function wpbc_ajax_WPBC_TIMELINE_NAV() {
|
74 |
|
75 |
-
// wpdev_check_nonce_in_admin_panel( $_POST['action'] ); // This line for admin panel
|
76 |
-
|
|
|
77 |
$nonce = ( isset($_REQUEST['wpbc_nonce']) ) ? $_REQUEST['wpbc_nonce'] : '';
|
78 |
if ( ! wp_verify_nonce( $nonce, $_POST['action'] ) ) { // This nonce is not valid.
|
79 |
wp_die( sprintf(__('%sError!%s Request do not pass security check! Please refresh the page and try one more time.' ,'booking'),'<strong>','</strong>') ); // Its prevent of showing '0' et the end of request.
|
@@ -85,21 +89,21 @@ function wpbc_ajax_WPBC_TIMELINE_NAV() {
|
|
85 |
|
86 |
function wpbc_ajax_CALCULATE_THE_COST() {
|
87 |
|
88 |
-
wpdev_check_nonce_in_admin_panel( $_POST['action'] );
|
89 |
make_bk_action('wpdev_ajax_show_cost');
|
90 |
}
|
91 |
|
92 |
|
93 |
function wpbc_ajax_INSERT_INTO_TABLE() {
|
94 |
-
|
95 |
-
|
96 |
wpdev_bk_insert_new_booking();
|
97 |
}
|
98 |
|
99 |
|
100 |
function wpbc_ajax_UPDATE_READ_UNREAD () {
|
101 |
|
102 |
-
wpdev_check_nonce_in_admin_panel();
|
103 |
|
104 |
make_bk_action('check_multiuser_params_for_client_side_by_user_id', $_POST['user_id'] );
|
105 |
|
@@ -138,7 +142,8 @@ function wpbc_ajax_UPDATE_APPROVE() {
|
|
138 |
|
139 |
global $wpdb;
|
140 |
|
141 |
-
wpdev_check_nonce_in_admin_panel();
|
|
|
142 |
make_bk_action('check_multiuser_params_for_client_side_by_user_id', $_POST['user_id'] );
|
143 |
|
144 |
// Approve or Reject
|
@@ -206,7 +211,8 @@ function wpbc_ajax_UPDATE_APPROVE() {
|
|
206 |
function wpbc_ajax_TRASH_RESTORE() {
|
207 |
global $wpdb;
|
208 |
|
209 |
-
wpdev_check_nonce_in_admin_panel();
|
|
|
210 |
make_bk_action('check_multiuser_params_for_client_side_by_user_id', $_POST['user_id'] );
|
211 |
|
212 |
$booking_id = $_POST[ "booking_id" ]; // Booking ID
|
@@ -276,7 +282,8 @@ function wpbc_ajax_DELETE_APPROVE() {
|
|
276 |
|
277 |
global $wpdb;
|
278 |
|
279 |
-
wpdev_check_nonce_in_admin_panel();
|
|
|
280 |
make_bk_action('check_multiuser_params_for_client_side_by_user_id', $_POST['user_id'] );
|
281 |
|
282 |
$booking_id = $_POST[ "booking_id" ]; // Booking ID
|
@@ -328,7 +335,8 @@ function wpbc_ajax_DELETE_APPROVE() {
|
|
328 |
|
329 |
function wpbc_ajax_DELETE_BY_VISITOR() {
|
330 |
|
331 |
-
wpdev_check_nonce_in_admin_panel( $_POST['action'] );
|
|
|
332 |
make_bk_action('wpdev_delete_booking_by_visitor');
|
333 |
|
334 |
}
|
@@ -336,14 +344,16 @@ function wpbc_ajax_DELETE_BY_VISITOR() {
|
|
336 |
|
337 |
function wpbc_ajax_SAVE_BK_COST() {
|
338 |
|
339 |
-
wpdev_check_nonce_in_admin_panel();
|
|
|
340 |
make_bk_action('wpdev_save_bk_cost');
|
341 |
}
|
342 |
|
343 |
|
344 |
function wpbc_ajax_SEND_PAYMENT_REQUEST() {
|
345 |
|
346 |
-
wpdev_check_nonce_in_admin_panel();
|
|
|
347 |
make_bk_action('check_multiuser_params_for_client_side_by_user_id', $_POST['user_id'] ); //FixIn: 5.4.5.6
|
348 |
make_bk_action('wpdev_send_payment_request');
|
349 |
}
|
@@ -351,35 +361,36 @@ function wpbc_ajax_SEND_PAYMENT_REQUEST() {
|
|
351 |
|
352 |
function wpbc_ajax_CHANGE_PAYMENT_STATUS() {
|
353 |
|
354 |
-
wpdev_check_nonce_in_admin_panel();
|
|
|
355 |
make_bk_action('wpdev_change_payment_status');
|
356 |
}
|
357 |
|
358 |
|
359 |
function wpbc_ajax_UPDATE_BK_RESOURCE_4_BOOKING() {
|
360 |
|
361 |
-
wpdev_check_nonce_in_admin_panel();
|
362 |
make_bk_action('wpdev_updating_bk_resource_of_booking');
|
363 |
}
|
364 |
|
365 |
|
366 |
//FixIn:5.4.5.1
|
367 |
function wpbc_ajax_DUPLICATE_BOOKING_TO_OTHER_RESOURCE() {
|
368 |
-
wpdev_check_nonce_in_admin_panel();
|
369 |
make_bk_action('wpbc_duplicate_booking_to_other_resource');
|
370 |
}
|
371 |
|
372 |
|
373 |
function wpbc_ajax_UPDATE_REMARK() {
|
374 |
|
375 |
-
wpdev_check_nonce_in_admin_panel();
|
376 |
make_bk_action('wpdev_updating_remark');
|
377 |
}
|
378 |
|
379 |
|
380 |
function wpbc_ajax_DELETE_BK_FORM() {
|
381 |
|
382 |
-
wpdev_check_nonce_in_admin_panel();
|
383 |
make_bk_action('check_multiuser_params_for_client_side_by_user_id', $_POST['user_id'] );
|
384 |
make_bk_action('wpbc_make_delete_custom_booking_form');
|
385 |
}
|
@@ -387,19 +398,21 @@ function wpbc_ajax_DELETE_BK_FORM() {
|
|
387 |
|
388 |
function wpbc_ajax_USER_SAVE_WINDOW_STATE() {
|
389 |
|
390 |
-
// wpdev_check_nonce_in_admin_panel();
|
391 |
// update_user_option($_POST['user_id'],'booking_win_' . $_POST['window'] ,$_POST['is_closed']);
|
392 |
|
393 |
-
|
|
|
394 |
update_user_option( (int) $_POST['user_id'], 'booking_win_' . esc_attr( $_POST['window'] ) , (int) $_POST['is_closed'] );
|
395 |
|
|
|
396 |
}
|
397 |
|
398 |
|
399 |
/** Save Custom User Data */
|
400 |
function wpbc_ajax_USER_SAVE_CUSTOM_DATA() {
|
401 |
|
402 |
-
wpbc_check_nonce_in_admin_panel();
|
403 |
/* Exmaple of $_POST:
|
404 |
[data_name] => add_booking_calendar_options
|
405 |
[data_value] => calendar_months_count=1&calendar_months_num_in_1_row=1&calendar_width=500px&calendar_cell_height
|
@@ -440,53 +453,54 @@ function wpbc_ajax_USER_SAVE_CUSTOM_DATA() {
|
|
440 |
|
441 |
function wpbc_ajax_BOOKING_SEARCH() {
|
442 |
|
443 |
-
wpdev_check_nonce_in_admin_panel( $_POST['action'] );
|
|
|
444 |
make_bk_action('wpdev_ajax_booking_search');
|
445 |
}
|
446 |
|
447 |
|
448 |
function wpbc_ajax_CHECK_BK_NEWS() {
|
449 |
|
450 |
-
wpdev_check_nonce_in_admin_panel();
|
451 |
wpdev_ajax_check_bk_news();
|
452 |
}
|
453 |
|
454 |
|
455 |
function wpbc_ajax_CHECK_BK_FEATURES() {
|
456 |
|
457 |
-
wpdev_check_nonce_in_admin_panel();
|
458 |
wpdev_ajax_check_bk_news('info/features/');
|
459 |
}
|
460 |
|
461 |
|
462 |
function wpbc_ajax_CHECK_BK_VERSION() {
|
463 |
|
464 |
-
wpdev_check_nonce_in_admin_panel();
|
465 |
wpdev_ajax_check_bk_version();
|
466 |
}
|
467 |
|
468 |
|
469 |
function wpbc_ajax_SAVE_BK_LISTING_FILTER() {
|
470 |
|
471 |
-
wpdev_check_nonce_in_admin_panel();
|
472 |
make_bk_action('wpdev_ajax_save_bk_listing_filter');
|
473 |
}
|
474 |
|
475 |
|
476 |
function wpbc_ajax_DELETE_BK_LISTING_FILTER() {
|
477 |
-
wpdev_check_nonce_in_admin_panel();
|
478 |
make_bk_action('wpdev_ajax_delete_bk_listing_filter');
|
479 |
}
|
480 |
|
481 |
|
482 |
function wpbc_ajax_EXPORT_BOOKINGS_TO_CSV() {
|
483 |
-
wpdev_check_nonce_in_admin_panel();
|
484 |
make_bk_action('wpdev_ajax_export_bookings_to_csv');
|
485 |
}
|
486 |
|
487 |
|
488 |
function wpbc_ajax_WPBC_IMPORT_GCAL_EVENTS() {
|
489 |
-
wpdev_check_nonce_in_admin_panel();
|
490 |
make_bk_action('check_multiuser_params_for_client_side_by_user_id', $_POST['user_id'] );
|
491 |
make_bk_action('wpbc_import_gcal_events');
|
492 |
}
|
@@ -525,6 +539,8 @@ if ( is_admin() && ( defined( 'DOING_AJAX' ) ) && ( DOING_AJAX ) ) {
|
|
525 |
,'DELETE_BK_LISTING_FILTER' => 'admin'
|
526 |
,'EXPORT_BOOKINGS_TO_CSV' => 'admin'
|
527 |
,'WPBC_IMPORT_GCAL_EVENTS' => 'admin' // Version:5.2
|
|
|
|
|
528 |
);
|
529 |
|
530 |
$actions_list = apply_filters( 'wpbc_ajax_action_list', $actions_list );
|
@@ -539,5 +555,5 @@ if ( is_admin() && ( defined( 'DOING_AJAX' ) ) && ( DOING_AJAX ) ) {
|
|
539 |
if ( ( $action_where == 'both' ) || ( $action_where == 'client' ) )
|
540 |
add_action( 'wp_ajax_nopriv_' . $action_name, 'wpbc_ajax_' . $action_name); // Client (not logged in)
|
541 |
}
|
542 |
-
}
|
543 |
}
|
22 |
function wpdev_check_nonce_in_admin_panel( $action_check = 'wpbc_ajax_admin_nonce' ){
|
23 |
|
24 |
$nonce = ( isset($_REQUEST['wpbc_nonce']) ) ? $_REQUEST['wpbc_nonce'] : '';
|
25 |
+
|
26 |
+
if ( '' === $nonce ) return false; // Its was request from some other plugin //FixIn: 7.2.1.10
|
27 |
+
|
28 |
if ( ! wp_verify_nonce( $nonce, $action_check ) ) { // This nonce is not valid.
|
29 |
?>
|
30 |
<script type="text/javascript">
|
37 |
<?php
|
38 |
die;
|
39 |
}
|
40 |
+
return true; //FixIn: 7.2.1.10
|
41 |
}
|
42 |
|
43 |
// Alias
|
44 |
function wpbc_check_nonce_in_admin_panel( $action_check = 'wpbc_ajax_admin_nonce' ){
|
45 |
+
return wpdev_check_nonce_in_admin_panel( $action_check );
|
46 |
}
|
47 |
|
48 |
|
75 |
|
76 |
function wpbc_ajax_WPBC_TIMELINE_NAV() {
|
77 |
|
78 |
+
// if ( ! wpdev_check_nonce_in_admin_panel( $_POST['action'] ) ) return false; //FixIn: 7.2.1.10 // This line for admin panel
|
79 |
+
|
80 |
+
|
81 |
$nonce = ( isset($_REQUEST['wpbc_nonce']) ) ? $_REQUEST['wpbc_nonce'] : '';
|
82 |
if ( ! wp_verify_nonce( $nonce, $_POST['action'] ) ) { // This nonce is not valid.
|
83 |
wp_die( sprintf(__('%sError!%s Request do not pass security check! Please refresh the page and try one more time.' ,'booking'),'<strong>','</strong>') ); // Its prevent of showing '0' et the end of request.
|
89 |
|
90 |
function wpbc_ajax_CALCULATE_THE_COST() {
|
91 |
|
92 |
+
if ( ! wpdev_check_nonce_in_admin_panel( $_POST['action'] ) ) return false; //FixIn: 7.2.1.10
|
93 |
make_bk_action('wpdev_ajax_show_cost');
|
94 |
}
|
95 |
|
96 |
|
97 |
function wpbc_ajax_INSERT_INTO_TABLE() {
|
98 |
+
if ( ! wpdev_check_nonce_in_admin_panel( $_POST['action'] ) ) return false; //FixIn: 7.2.1.10
|
99 |
+
|
100 |
wpdev_bk_insert_new_booking();
|
101 |
}
|
102 |
|
103 |
|
104 |
function wpbc_ajax_UPDATE_READ_UNREAD () {
|
105 |
|
106 |
+
if ( ! wpdev_check_nonce_in_admin_panel() ) return false; //FixIn: 7.2.1.10
|
107 |
|
108 |
make_bk_action('check_multiuser_params_for_client_side_by_user_id', $_POST['user_id'] );
|
109 |
|
142 |
|
143 |
global $wpdb;
|
144 |
|
145 |
+
if ( ! wpdev_check_nonce_in_admin_panel() ) return false; //FixIn: 7.2.1.10
|
146 |
+
|
147 |
make_bk_action('check_multiuser_params_for_client_side_by_user_id', $_POST['user_id'] );
|
148 |
|
149 |
// Approve or Reject
|
211 |
function wpbc_ajax_TRASH_RESTORE() {
|
212 |
global $wpdb;
|
213 |
|
214 |
+
if ( ! wpdev_check_nonce_in_admin_panel() ) return false; //FixIn: 7.2.1.10
|
215 |
+
|
216 |
make_bk_action('check_multiuser_params_for_client_side_by_user_id', $_POST['user_id'] );
|
217 |
|
218 |
$booking_id = $_POST[ "booking_id" ]; // Booking ID
|
282 |
|
283 |
global $wpdb;
|
284 |
|
285 |
+
if ( ! wpdev_check_nonce_in_admin_panel() ) return false; //FixIn: 7.2.1.10
|
286 |
+
|
287 |
make_bk_action('check_multiuser_params_for_client_side_by_user_id', $_POST['user_id'] );
|
288 |
|
289 |
$booking_id = $_POST[ "booking_id" ]; // Booking ID
|
335 |
|
336 |
function wpbc_ajax_DELETE_BY_VISITOR() {
|
337 |
|
338 |
+
if ( ! wpdev_check_nonce_in_admin_panel( $_POST['action'] ) ) return false; //FixIn: 7.2.1.10
|
339 |
+
|
340 |
make_bk_action('wpdev_delete_booking_by_visitor');
|
341 |
|
342 |
}
|
344 |
|
345 |
function wpbc_ajax_SAVE_BK_COST() {
|
346 |
|
347 |
+
if ( ! wpdev_check_nonce_in_admin_panel() ) return false; //FixIn: 7.2.1.10
|
348 |
+
|
349 |
make_bk_action('wpdev_save_bk_cost');
|
350 |
}
|
351 |
|
352 |
|
353 |
function wpbc_ajax_SEND_PAYMENT_REQUEST() {
|
354 |
|
355 |
+
if ( ! wpdev_check_nonce_in_admin_panel() ) return false; //FixIn: 7.2.1.10
|
356 |
+
|
357 |
make_bk_action('check_multiuser_params_for_client_side_by_user_id', $_POST['user_id'] ); //FixIn: 5.4.5.6
|
358 |
make_bk_action('wpdev_send_payment_request');
|
359 |
}
|
361 |
|
362 |
function wpbc_ajax_CHANGE_PAYMENT_STATUS() {
|
363 |
|
364 |
+
if ( ! wpdev_check_nonce_in_admin_panel() ) return false; //FixIn: 7.2.1.10
|
365 |
+
|
366 |
make_bk_action('wpdev_change_payment_status');
|
367 |
}
|
368 |
|
369 |
|
370 |
function wpbc_ajax_UPDATE_BK_RESOURCE_4_BOOKING() {
|
371 |
|
372 |
+
if ( ! wpdev_check_nonce_in_admin_panel() ) return false; //FixIn: 7.2.1.10
|
373 |
make_bk_action('wpdev_updating_bk_resource_of_booking');
|
374 |
}
|
375 |
|
376 |
|
377 |
//FixIn:5.4.5.1
|
378 |
function wpbc_ajax_DUPLICATE_BOOKING_TO_OTHER_RESOURCE() {
|
379 |
+
if ( ! wpdev_check_nonce_in_admin_panel() ) return false; //FixIn: 7.2.1.10
|
380 |
make_bk_action('wpbc_duplicate_booking_to_other_resource');
|
381 |
}
|
382 |
|
383 |
|
384 |
function wpbc_ajax_UPDATE_REMARK() {
|
385 |
|
386 |
+
if ( ! wpdev_check_nonce_in_admin_panel() ) return false; //FixIn: 7.2.1.10
|
387 |
make_bk_action('wpdev_updating_remark');
|
388 |
}
|
389 |
|
390 |
|
391 |
function wpbc_ajax_DELETE_BK_FORM() {
|
392 |
|
393 |
+
if ( ! wpdev_check_nonce_in_admin_panel() ) return false; //FixIn: 7.2.1.10
|
394 |
make_bk_action('check_multiuser_params_for_client_side_by_user_id', $_POST['user_id'] );
|
395 |
make_bk_action('wpbc_make_delete_custom_booking_form');
|
396 |
}
|
398 |
|
399 |
function wpbc_ajax_USER_SAVE_WINDOW_STATE() {
|
400 |
|
401 |
+
// if ( ! wpdev_check_nonce_in_admin_panel() ) return false; //FixIn: 7.2.1.10
|
402 |
// update_user_option($_POST['user_id'],'booking_win_' . $_POST['window'] ,$_POST['is_closed']);
|
403 |
|
404 |
+
if ( ! wpbc_check_nonce_in_admin_panel() ) return false;
|
405 |
+
|
406 |
update_user_option( (int) $_POST['user_id'], 'booking_win_' . esc_attr( $_POST['window'] ) , (int) $_POST['is_closed'] );
|
407 |
|
408 |
+
wp_send_json_success(); //FixIn: 7.2.1.10.2 //Fix "400 Bad Request" error showing. At some situations, if Ajax request does not return anything, its will generate an issue
|
409 |
}
|
410 |
|
411 |
|
412 |
/** Save Custom User Data */
|
413 |
function wpbc_ajax_USER_SAVE_CUSTOM_DATA() {
|
414 |
|
415 |
+
if ( ! wpbc_check_nonce_in_admin_panel() ) return false;
|
416 |
/* Exmaple of $_POST:
|
417 |
[data_name] => add_booking_calendar_options
|
418 |
[data_value] => calendar_months_count=1&calendar_months_num_in_1_row=1&calendar_width=500px&calendar_cell_height
|
453 |
|
454 |
function wpbc_ajax_BOOKING_SEARCH() {
|
455 |
|
456 |
+
if ( ! wpdev_check_nonce_in_admin_panel( $_POST['action'] ) ) return false; //FixIn: 7.2.1.10
|
457 |
+
|
458 |
make_bk_action('wpdev_ajax_booking_search');
|
459 |
}
|
460 |
|
461 |
|
462 |
function wpbc_ajax_CHECK_BK_NEWS() {
|
463 |
|
464 |
+
if ( ! wpdev_check_nonce_in_admin_panel() ) return false; //FixIn: 7.2.1.10
|
465 |
wpdev_ajax_check_bk_news();
|
466 |
}
|
467 |
|
468 |
|
469 |
function wpbc_ajax_CHECK_BK_FEATURES() {
|
470 |
|
471 |
+
if ( ! wpdev_check_nonce_in_admin_panel() ) return false; //FixIn: 7.2.1.10
|
472 |
wpdev_ajax_check_bk_news('info/features/');
|
473 |
}
|
474 |
|
475 |
|
476 |
function wpbc_ajax_CHECK_BK_VERSION() {
|
477 |
|
478 |
+
if ( ! wpdev_check_nonce_in_admin_panel() ) return false; //FixIn: 7.2.1.10
|
479 |
wpdev_ajax_check_bk_version();
|
480 |
}
|
481 |
|
482 |
|
483 |
function wpbc_ajax_SAVE_BK_LISTING_FILTER() {
|
484 |
|
485 |
+
if ( ! wpdev_check_nonce_in_admin_panel() ) return false; //FixIn: 7.2.1.10
|
486 |
make_bk_action('wpdev_ajax_save_bk_listing_filter');
|
487 |
}
|
488 |
|
489 |
|
490 |
function wpbc_ajax_DELETE_BK_LISTING_FILTER() {
|
491 |
+
if ( ! wpdev_check_nonce_in_admin_panel() ) return false; //FixIn: 7.2.1.10
|
492 |
make_bk_action('wpdev_ajax_delete_bk_listing_filter');
|
493 |
}
|
494 |
|
495 |
|
496 |
function wpbc_ajax_EXPORT_BOOKINGS_TO_CSV() {
|
497 |
+
if ( ! wpdev_check_nonce_in_admin_panel() ) return false; //FixIn: 7.2.1.10
|
498 |
make_bk_action('wpdev_ajax_export_bookings_to_csv');
|
499 |
}
|
500 |
|
501 |
|
502 |
function wpbc_ajax_WPBC_IMPORT_GCAL_EVENTS() {
|
503 |
+
if ( ! wpdev_check_nonce_in_admin_panel() ) return false; //FixIn: 7.2.1.10
|
504 |
make_bk_action('check_multiuser_params_for_client_side_by_user_id', $_POST['user_id'] );
|
505 |
make_bk_action('wpbc_import_gcal_events');
|
506 |
}
|
539 |
,'DELETE_BK_LISTING_FILTER' => 'admin'
|
540 |
,'EXPORT_BOOKINGS_TO_CSV' => 'admin'
|
541 |
,'WPBC_IMPORT_GCAL_EVENTS' => 'admin' // Version:5.2
|
542 |
+
|
543 |
+
, 'WPBC_IMPORT_ICS_URL' => 'admin' // FixIn: 7.3
|
544 |
);
|
545 |
|
546 |
$actions_list = apply_filters( 'wpbc_ajax_action_list', $actions_list );
|
555 |
if ( ( $action_where == 'both' ) || ( $action_where == 'client' ) )
|
556 |
add_action( 'wp_ajax_nopriv_' . $action_name, 'wpbc_ajax_' . $action_name); // Client (not logged in)
|
557 |
}
|
558 |
+
}
|
559 |
}
|
core/lib/wpbc-booking-new.php
CHANGED
@@ -250,8 +250,9 @@ function wpbc_add_new_booking( $params , $is_edit_booking = false ){
|
|
250 |
if ( // ( ! $is_edit_booking ) && //FixIn: 7.0.1.36
|
251 |
(! wpbc_check_if_dates_free( $bktype, $formdata ,$dates_in_diff_formats, $start_time, $end_time , $exclude_bookings ) ) //FixIn: 7.0.1.36
|
252 |
) {
|
253 |
-
|
254 |
-
|
|
|
255 |
|
256 |
|
257 |
$my_check_in_date = explode( '-', $dates_in_diff_formats['array'][0] );
|
@@ -260,6 +261,7 @@ function wpbc_add_new_booking( $params , $is_edit_booking = false ){
|
|
260 |
|
261 |
if ( empty( $str_dates__dd_mm_yyyy ) ){
|
262 |
?> <script type="text/javascript"> if ( jQuery('#submiting<?php echo $bktype; ?>' ).length ) { document.getElementById('submiting<?php echo $bktype; ?>').innerHTML = '<div style="height:20px;width:100%;text-align:center;margin:15px auto;"><?php debuge_error('Error! No Dates',__FILE__,__LINE__); ?></div>'; } </script> <?php
|
|
|
263 |
die('Error! No Dates');
|
264 |
}
|
265 |
|
@@ -282,7 +284,8 @@ function wpbc_add_new_booking( $params , $is_edit_booking = false ){
|
|
282 |
|
283 |
if ( false === $wpdb->query( $sql_insertion ) ){
|
284 |
?> <script type="text/javascript"> if ( jQuery('#submiting<?php echo $bktype; ?>' ).length ) { document.getElementById('submiting<?php echo $bktype; ?>').innerHTML = '<div style="height:20px;width:100%;text-align:center;margin:15px auto;"><?php debuge_error('Error during inserting into DB',__FILE__,__LINE__); ?></div>'; }</script> <?php
|
285 |
-
|
|
|
286 |
}
|
287 |
$booking_id = (int) $wpdb->insert_id; // Get ID of booking
|
288 |
|
@@ -294,7 +297,8 @@ function wpbc_add_new_booking( $params , $is_edit_booking = false ){
|
|
294 |
$update_sql = "UPDATE {$wpdb->prefix}booking AS bk SET bk.form='{$formdata}', bk.booking_type={$bktype}, bk.modification_date={$my_modification_date}, sort_date='{$my_check_in_date_sql}' WHERE bk.booking_id={$booking_id};";
|
295 |
if ( false === $wpdb->query( $update_sql ) ){
|
296 |
?> <script type="text/javascript"> if ( jQuery('#submiting<?php echo $bktype; ?>' ).length ) { document.getElementById('submiting<?php echo $bktype; ?>').innerHTML = '<div style="height:20px;width:100%;text-align:center;margin:15px auto;"><?php debuge_error('Error during updating exist booking in DB',__FILE__,__LINE__); ?></div>'; }</script> <?php
|
297 |
-
|
|
|
298 |
}
|
299 |
|
300 |
// Check if dates already aproved or no
|
@@ -307,7 +311,8 @@ function wpbc_add_new_booking( $params , $is_edit_booking = false ){
|
|
307 |
$delete_sql = "DELETE FROM {$wpdb->prefix}bookingdates WHERE booking_id IN ({$booking_id})";
|
308 |
if ( false === $wpdb->query( $delete_sql ) ){
|
309 |
?> <script type="text/javascript"> if ( jQuery('#submiting<?php echo $bktype; ?>' ).length ) { document.getElementById('submiting<?php echo $bktype; ?>').innerHTML = '<div style="height:20px;width:100%;text-align:center;margin:15px auto;"><?php debuge_error('Error during updating exist booking for deleting dates in DB' ,__FILE__,__LINE__); ?></div>'; }</script> <?php
|
310 |
-
|
|
|
311 |
}
|
312 |
}
|
313 |
|
@@ -320,11 +325,12 @@ function wpbc_add_new_booking( $params , $is_edit_booking = false ){
|
|
320 |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
321 |
|
322 |
$insert = wpbc_get_insert_sql_for_dates( $dates_in_diff_formats , $is_approved_dates, $booking_id );
|
323 |
-
|
324 |
if ( !empty($insert) )
|
325 |
if ( false === $wpdb->query( "INSERT INTO {$wpdb->prefix}bookingdates (booking_id, booking_date, approved) VALUES " . $insert ) ){
|
326 |
?> <script type="text/javascript"> if ( jQuery('#submiting<?php echo $bktype; ?>' ).length ) { document.getElementById('submiting<?php echo $bktype; ?>').innerHTML = '<div style="height:20px;width:100%;text-align:center;margin:15px auto;"><?php debuge_error('Error during inserting into BD - Dates',__FILE__,__LINE__); ?></div>'; }</script> <?php
|
327 |
-
|
|
|
328 |
}
|
329 |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
330 |
|
@@ -384,7 +390,8 @@ function wpbc_add_new_booking( $params , $is_edit_booking = false ){
|
|
384 |
$appr_sql = $wpdb->prepare( "UPDATE {$wpdb->prefix}bookingdates SET approved = %s WHERE booking_id IN ({$booking_id})", $is_approve_or_pending );
|
385 |
if ( false === $wpdb->query( $appr_sql ) ){
|
386 |
?> <script type="text/javascript"> if ( jQuery('#submiting<?php echo $bktype; ?>' ).length ) { document.getElementById('submiting<?php echo $bktype; ?>').innerHTML = '<div style="height:20px;width:100%;text-align:center;margin:15px auto;"><?php debuge_error('Error during updating BD - Dates',__FILE__,__LINE__); ?></div>'; }</script> <?php
|
387 |
-
|
|
|
388 |
}
|
389 |
wpbc_send_email_approved( $booking_id, 1, "" );
|
390 |
}
|
250 |
if ( // ( ! $is_edit_booking ) && //FixIn: 7.0.1.36
|
251 |
(! wpbc_check_if_dates_free( $bktype, $formdata ,$dates_in_diff_formats, $start_time, $end_time , $exclude_bookings ) ) //FixIn: 7.0.1.36
|
252 |
) {
|
253 |
+
if ( ! empty( $params[ 'return_instead_die_on_error' ] ) ) return 0; //FixIn: 7.2.1.7
|
254 |
+
die( 'Dates unavailable' );
|
255 |
+
}
|
256 |
|
257 |
|
258 |
$my_check_in_date = explode( '-', $dates_in_diff_formats['array'][0] );
|
261 |
|
262 |
if ( empty( $str_dates__dd_mm_yyyy ) ){
|
263 |
?> <script type="text/javascript"> if ( jQuery('#submiting<?php echo $bktype; ?>' ).length ) { document.getElementById('submiting<?php echo $bktype; ?>').innerHTML = '<div style="height:20px;width:100%;text-align:center;margin:15px auto;"><?php debuge_error('Error! No Dates',__FILE__,__LINE__); ?></div>'; } </script> <?php
|
264 |
+
if ( ! empty( $params[ 'return_instead_die_on_error' ] ) ) return 0; //FixIn: 7.2.1.7
|
265 |
die('Error! No Dates');
|
266 |
}
|
267 |
|
284 |
|
285 |
if ( false === $wpdb->query( $sql_insertion ) ){
|
286 |
?> <script type="text/javascript"> if ( jQuery('#submiting<?php echo $bktype; ?>' ).length ) { document.getElementById('submiting<?php echo $bktype; ?>').innerHTML = '<div style="height:20px;width:100%;text-align:center;margin:15px auto;"><?php debuge_error('Error during inserting into DB',__FILE__,__LINE__); ?></div>'; }</script> <?php
|
287 |
+
if ( ! empty( $params[ 'return_instead_die_on_error' ] ) ) return 0; //FixIn: 7.2.1.7
|
288 |
+
die('Error during inserting into DB');
|
289 |
}
|
290 |
$booking_id = (int) $wpdb->insert_id; // Get ID of booking
|
291 |
|
297 |
$update_sql = "UPDATE {$wpdb->prefix}booking AS bk SET bk.form='{$formdata}', bk.booking_type={$bktype}, bk.modification_date={$my_modification_date}, sort_date='{$my_check_in_date_sql}' WHERE bk.booking_id={$booking_id};";
|
298 |
if ( false === $wpdb->query( $update_sql ) ){
|
299 |
?> <script type="text/javascript"> if ( jQuery('#submiting<?php echo $bktype; ?>' ).length ) { document.getElementById('submiting<?php echo $bktype; ?>').innerHTML = '<div style="height:20px;width:100%;text-align:center;margin:15px auto;"><?php debuge_error('Error during updating exist booking in DB',__FILE__,__LINE__); ?></div>'; }</script> <?php
|
300 |
+
if ( ! empty( $params[ 'return_instead_die_on_error' ] ) ) return 0; //FixIn: 7.2.1.7
|
301 |
+
die('Error during updating exist booking in DB');
|
302 |
}
|
303 |
|
304 |
// Check if dates already aproved or no
|
311 |
$delete_sql = "DELETE FROM {$wpdb->prefix}bookingdates WHERE booking_id IN ({$booking_id})";
|
312 |
if ( false === $wpdb->query( $delete_sql ) ){
|
313 |
?> <script type="text/javascript"> if ( jQuery('#submiting<?php echo $bktype; ?>' ).length ) { document.getElementById('submiting<?php echo $bktype; ?>').innerHTML = '<div style="height:20px;width:100%;text-align:center;margin:15px auto;"><?php debuge_error('Error during updating exist booking for deleting dates in DB' ,__FILE__,__LINE__); ?></div>'; }</script> <?php
|
314 |
+
if ( ! empty( $params[ 'return_instead_die_on_error' ] ) ) return 0; //FixIn: 7.2.1.7
|
315 |
+
die('Error during updating exist booking for deleting dates in DB');
|
316 |
}
|
317 |
}
|
318 |
|
325 |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
326 |
|
327 |
$insert = wpbc_get_insert_sql_for_dates( $dates_in_diff_formats , $is_approved_dates, $booking_id );
|
328 |
+
//debuge('$insert',$insert);
|
329 |
if ( !empty($insert) )
|
330 |
if ( false === $wpdb->query( "INSERT INTO {$wpdb->prefix}bookingdates (booking_id, booking_date, approved) VALUES " . $insert ) ){
|
331 |
?> <script type="text/javascript"> if ( jQuery('#submiting<?php echo $bktype; ?>' ).length ) { document.getElementById('submiting<?php echo $bktype; ?>').innerHTML = '<div style="height:20px;width:100%;text-align:center;margin:15px auto;"><?php debuge_error('Error during inserting into BD - Dates',__FILE__,__LINE__); ?></div>'; }</script> <?php
|
332 |
+
if ( ! empty( $params[ 'return_instead_die_on_error' ] ) ) return 0; //FixIn: 7.2.1.7
|
333 |
+
die('Error during inserting into BD - Dates');
|
334 |
}
|
335 |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
336 |
|
390 |
$appr_sql = $wpdb->prepare( "UPDATE {$wpdb->prefix}bookingdates SET approved = %s WHERE booking_id IN ({$booking_id})", $is_approve_or_pending );
|
391 |
if ( false === $wpdb->query( $appr_sql ) ){
|
392 |
?> <script type="text/javascript"> if ( jQuery('#submiting<?php echo $bktype; ?>' ).length ) { document.getElementById('submiting<?php echo $bktype; ?>').innerHTML = '<div style="height:20px;width:100%;text-align:center;margin:15px auto;"><?php debuge_error('Error during updating BD - Dates',__FILE__,__LINE__); ?></div>'; }</script> <?php
|
393 |
+
if ( ! empty( $params[ 'return_instead_die_on_error' ] ) ) return 0; //FixIn: 7.2.1.7
|
394 |
+
die('Error during updating BD - Dates');
|
395 |
}
|
396 |
wpbc_send_email_approved( $booking_id, 1, "" );
|
397 |
}
|
core/lib/wpbc_all_translations.php
CHANGED
@@ -107,6 +107,8 @@
|
|
107 |
$wpbc_all_translations[] = __('Activate loading of CSS and JavaScript files of plugin only at specific pages.', 'booking');
|
108 |
$wpbc_all_translations[] = __('Relative URLs of pages, where to load plugin CSS and JS files', 'booking');
|
109 |
$wpbc_all_translations[] = __('Enter relative URLs of pages, where you have Booking Calendar elements (booking forms or availability calendars). Please enter one URL per line. Example: %s', 'booking');
|
|
|
|
|
110 |
$wpbc_all_translations[] = __('Show settings of powered by notice', 'booking');
|
111 |
$wpbc_all_translations[] = __('Hide settings of powered by notice', 'booking');
|
112 |
$wpbc_all_translations[] = __('Powered by notice', 'booking');
|
@@ -245,6 +247,38 @@
|
|
245 |
$wpbc_all_translations[] = __('Enter dropdown options. One option per line.', 'booking');
|
246 |
$wpbc_all_translations[] = __('Close', 'booking');
|
247 |
$wpbc_all_translations[] = __('Cancel', 'booking');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
248 |
$wpbc_all_translations[] = __('None', 'booking');
|
249 |
$wpbc_all_translations[] = __('Event Title', 'booking');
|
250 |
$wpbc_all_translations[] = __('Select field for assigning to %sevent property%s', 'booking');
|
@@ -301,11 +335,7 @@
|
|
301 |
$wpbc_all_translations[] = __('Click the checkbox to make calendar public. Do not check the other option.', 'booking');
|
302 |
$wpbc_all_translations[] = __('Find Your Calendar ID', 'booking');
|
303 |
$wpbc_all_translations[] = __('Now copy the Calendar ID to use in the plugin settings in your WordPress admin. Make sure to %suse the Calendar ID only, not the entire XML feed URL%s.', 'booking');
|
304 |
-
$wpbc_all_translations[] = __('Import', 'booking');
|
305 |
-
$wpbc_all_translations[] = __('Google Calendar', 'booking');
|
306 |
-
$wpbc_all_translations[] = __('Events Import', 'booking');
|
307 |
-
$wpbc_all_translations[] = __('Import Settings', 'booking');
|
308 |
-
$wpbc_all_translations[] = __('Customization of synchronization with Google Calendar', 'booking');
|
309 |
$wpbc_all_translations[] = __('General Settings', 'booking');
|
310 |
$wpbc_all_translations[] = __('Assign events fields to specific booking form field', 'booking');
|
311 |
$wpbc_all_translations[] = __('Auto import events', 'booking');
|
@@ -380,7 +410,6 @@
|
|
380 |
$wpbc_all_translations[] = __('Only Form', 'booking');
|
381 |
$wpbc_all_translations[] = __('Other', 'booking');
|
382 |
$wpbc_all_translations[] = __('Insert into page', 'booking');
|
383 |
-
$wpbc_all_translations[] = __('parent resource', 'booking');
|
384 |
$wpbc_all_translations[] = __('Booking resources', 'booking');
|
385 |
$wpbc_all_translations[] = __('Select booking resources. Please use CTRL to select multiple booking resources.', 'booking');
|
386 |
$wpbc_all_translations[] = __('View mode', 'booking');
|
@@ -548,6 +577,10 @@
|
|
548 |
$wpbc_all_translations[] = __('Updated successfully', 'booking');
|
549 |
$wpbc_all_translations[] = __('Error!', 'booking');
|
550 |
$wpbc_all_translations[] = __('Probably these date(s) just was booking by other visitor. Please reload this page and make booking again.', 'booking');
|
|
|
|
|
|
|
|
|
551 |
$wpbc_all_translations[] = __('Error', 'booking');
|
552 |
$wpbc_all_translations[] = __('does not exist', 'booking');
|
553 |
$wpbc_all_translations[] = __('Calendar is loading...', 'booking');
|
@@ -570,7 +603,6 @@
|
|
570 |
$wpbc_all_translations[] = __('The feed could not be found (404). Please ensure your feed URL is correct.', 'booking');
|
571 |
$wpbc_all_translations[] = __('Access to this feed was denied (403). Please ensure you have public sharing enabled for your calendar.', 'booking');
|
572 |
$wpbc_all_translations[] = __('The feed data could not be retrieved. Error code: %s. Please ensure your feed URL is correct.', 'booking');
|
573 |
-
$wpbc_all_translations[] = __('Done', 'booking');
|
574 |
$wpbc_all_translations[] = __('GID', 'booking');
|
575 |
$wpbc_all_translations[] = __('Selection', 'booking');
|
576 |
$wpbc_all_translations[] = __('Location:', 'booking');
|
@@ -580,7 +612,6 @@
|
|
580 |
$wpbc_all_translations[] = __('Retrieve Google Calendar Events ', 'booking');
|
581 |
$wpbc_all_translations[] = __('Please configure settings for import Google Calendar events', 'booking');
|
582 |
$wpbc_all_translations[] = __('Configure', 'booking');
|
583 |
-
$wpbc_all_translations[] = __('Import Google Calendar Events', 'booking');
|
584 |
$wpbc_all_translations[] = __('%s Found %s not indexed bookings %s', 'booking');
|
585 |
$wpbc_all_translations[] = __('%s Finish getting sort dates. %s', 'booking');
|
586 |
$wpbc_all_translations[] = __('Updated booking: %s', 'booking');
|
@@ -681,7 +712,6 @@
|
|
681 |
$wpbc_all_translations[] = __('Warning!!! After you approved the specific booking(s), all your pending bookings of the same booking resource as an approved booking for the dates, which are intersect with dates of approved booking, will be automatically canceled!', 'booking');
|
682 |
$wpbc_all_translations[] = __('Set capacity based on number of visitors', 'booking');
|
683 |
$wpbc_all_translations[] = __('Check this box if you want total availability (daily capacity) to depend on the number of selected visitors.', 'booking');
|
684 |
-
$wpbc_all_translations[] = __('Important!', 'booking');
|
685 |
$wpbc_all_translations[] = __('Please read more info about configuration of this parameter %shere%s', 'booking');
|
686 |
$wpbc_all_translations[] = __('Add tooltip on calendar(s) to show availability based on the number of available booking resource items remaining for each day.', 'booking');
|
687 |
$wpbc_all_translations[] = __('Be sure to match the maximum number of visitors for the %sone booking resource%s with the number of visitors specified on the booking form.', 'booking');
|
@@ -1230,7 +1260,6 @@
|
|
1230 |
$wpbc_all_translations[] = __('Delete your previously saved default filer template!', 'booking');
|
1231 |
$wpbc_all_translations[] = __('Delete template', 'booking');
|
1232 |
$wpbc_all_translations[] = __('Print bookings listing', 'booking');
|
1233 |
-
$wpbc_all_translations[] = __('Export', 'booking');
|
1234 |
$wpbc_all_translations[] = __('Export only current page of bookings to CSV format', 'booking');
|
1235 |
$wpbc_all_translations[] = __('Export All', 'booking');
|
1236 |
$wpbc_all_translations[] = __('Export All bookings to CSV format', 'booking');
|
@@ -1577,4 +1606,5 @@
|
|
1577 |
$wpbc_all_translations[] = __('Integration of %s payment system', 'booking');
|
1578 |
$wpbc_all_translations[] = __('Processing your %s payments through %s', 'booking');
|
1579 |
$wpbc_all_translations[] = __('%s - inserting link for export booking to', 'booking');
|
|
|
1580 |
}
|
107 |
$wpbc_all_translations[] = __('Activate loading of CSS and JavaScript files of plugin only at specific pages.', 'booking');
|
108 |
$wpbc_all_translations[] = __('Relative URLs of pages, where to load plugin CSS and JS files', 'booking');
|
109 |
$wpbc_all_translations[] = __('Enter relative URLs of pages, where you have Booking Calendar elements (booking forms or availability calendars). Please enter one URL per line. Example: %s', 'booking');
|
110 |
+
$wpbc_all_translations[] = __('Show system debugging log for beta features', 'booking');
|
111 |
+
$wpbc_all_translations[] = __('Activate this option only for testing beta features', 'booking');
|
112 |
$wpbc_all_translations[] = __('Show settings of powered by notice', 'booking');
|
113 |
$wpbc_all_translations[] = __('Hide settings of powered by notice', 'booking');
|
114 |
$wpbc_all_translations[] = __('Powered by notice', 'booking');
|
247 |
$wpbc_all_translations[] = __('Enter dropdown options. One option per line.', 'booking');
|
248 |
$wpbc_all_translations[] = __('Close', 'booking');
|
249 |
$wpbc_all_translations[] = __('Cancel', 'booking');
|
250 |
+
$wpbc_all_translations[] = __('Sync', 'booking');
|
251 |
+
$wpbc_all_translations[] = __('Import', 'booking');
|
252 |
+
$wpbc_all_translations[] = __('Export', 'booking');
|
253 |
+
$wpbc_all_translations[] = __('feed', 'booking');
|
254 |
+
$wpbc_all_translations[] = __('Important!', 'booking');
|
255 |
+
$wpbc_all_translations[] = __('This feature require %s plugin. You can install %s plugin from this %spage%s.', 'booking');
|
256 |
+
$wpbc_all_translations[] = __('How it works', 'booking');
|
257 |
+
$wpbc_all_translations[] = __('.ics feed URL', 'booking');
|
258 |
+
$wpbc_all_translations[] = __('Open in new window', 'booking');
|
259 |
+
$wpbc_all_translations[] = __('Please enter URL for generating .ics feed', 'booking');
|
260 |
+
$wpbc_all_translations[] = __('This .ics feed of bookings starting from today for 1 year', 'booking');
|
261 |
+
$wpbc_all_translations[] = __('feeds', 'booking');
|
262 |
+
$wpbc_all_translations[] = __('parent resource', 'booking');
|
263 |
+
$wpbc_all_translations[] = __('Enter URL to .ics feed', 'booking');
|
264 |
+
$wpbc_all_translations[] = __('Choose file', 'booking');
|
265 |
+
$wpbc_all_translations[] = __('Insert file URL', 'booking');
|
266 |
+
$wpbc_all_translations[] = __('Upload / Select ', 'booking');
|
267 |
+
$wpbc_all_translations[] = __('What does .ics feeds import/export mean?', 'booking');
|
268 |
+
$wpbc_all_translations[] = __('Its useful, if you need to import/export bookings from/to external websites, like %s', 'booking');
|
269 |
+
$wpbc_all_translations[] = __('and any other calendar that uses .ics format', 'booking');
|
270 |
+
$wpbc_all_translations[] = __('.ics - is a file format of iCalendar standard for exchanging calendar and scheduling information between different sources %s Using a common calendar format (.ics), you can keep all your calendars updated and synchronized.', 'booking');
|
271 |
+
$wpbc_all_translations[] = __('How to start import of .ics feeds (files)?', 'booking');
|
272 |
+
$wpbc_all_translations[] = __('Install %s plugin.', 'booking');
|
273 |
+
$wpbc_all_translations[] = __('Insert %s shortcode into some post(s) or page(s). Check more info about this %sshortcode configuration%s', 'booking');
|
274 |
+
$wpbc_all_translations[] = __('Using such shortcodes in pages give a great flexibility to import from different .ics feeds (sources) into the same resource.%sAlso its possible to define different CRON parameters for accessing such different pages with different time intervals.', 'booking');
|
275 |
+
$wpbc_all_translations[] = __('Or you can import .ics feed or file directly at current page.', 'booking');
|
276 |
+
$wpbc_all_translations[] = __('If you have inserted import shortcodes from %s, then you can configure your CRON for periodically access these pages and import .ics feeds.', 'booking');
|
277 |
+
$wpbc_all_translations[] = __('How to start export of .ics feeds (files)?', 'booking');
|
278 |
+
$wpbc_all_translations[] = __('Confgure ULR feed(s) at this settings page.', 'booking');
|
279 |
+
$wpbc_all_translations[] = __('Using such URL(s) you can import .ics feeds, from interface of other websites. %sCheck more info about how to import .ics feeds into other websites at the support pages of sepcific website.', 'booking');
|
280 |
+
$wpbc_all_translations[] = __('Visit these (previosly configured URL feeds) pages for downloading .ics files.', 'booking');
|
281 |
+
$wpbc_all_translations[] = __('Done', 'booking');
|
282 |
$wpbc_all_translations[] = __('None', 'booking');
|
283 |
$wpbc_all_translations[] = __('Event Title', 'booking');
|
284 |
$wpbc_all_translations[] = __('Select field for assigning to %sevent property%s', 'booking');
|
335 |
$wpbc_all_translations[] = __('Click the checkbox to make calendar public. Do not check the other option.', 'booking');
|
336 |
$wpbc_all_translations[] = __('Find Your Calendar ID', 'booking');
|
337 |
$wpbc_all_translations[] = __('Now copy the Calendar ID to use in the plugin settings in your WordPress admin. Make sure to %suse the Calendar ID only, not the entire XML feed URL%s.', 'booking');
|
338 |
+
$wpbc_all_translations[] = __('Import Google Calendar Events', 'booking');
|
|
|
|
|
|
|
|
|
339 |
$wpbc_all_translations[] = __('General Settings', 'booking');
|
340 |
$wpbc_all_translations[] = __('Assign events fields to specific booking form field', 'booking');
|
341 |
$wpbc_all_translations[] = __('Auto import events', 'booking');
|
410 |
$wpbc_all_translations[] = __('Only Form', 'booking');
|
411 |
$wpbc_all_translations[] = __('Other', 'booking');
|
412 |
$wpbc_all_translations[] = __('Insert into page', 'booking');
|
|
|
413 |
$wpbc_all_translations[] = __('Booking resources', 'booking');
|
414 |
$wpbc_all_translations[] = __('Select booking resources. Please use CTRL to select multiple booking resources.', 'booking');
|
415 |
$wpbc_all_translations[] = __('View mode', 'booking');
|
577 |
$wpbc_all_translations[] = __('Updated successfully', 'booking');
|
578 |
$wpbc_all_translations[] = __('Error!', 'booking');
|
579 |
$wpbc_all_translations[] = __('Probably these date(s) just was booking by other visitor. Please reload this page and make booking again.', 'booking');
|
580 |
+
$wpbc_all_translations[] = __('Google Calendar', 'booking');
|
581 |
+
$wpbc_all_translations[] = __('Events Import', 'booking');
|
582 |
+
$wpbc_all_translations[] = __('Import Settings', 'booking');
|
583 |
+
$wpbc_all_translations[] = __('Customization of synchronization with Google Calendar', 'booking');
|
584 |
$wpbc_all_translations[] = __('Error', 'booking');
|
585 |
$wpbc_all_translations[] = __('does not exist', 'booking');
|
586 |
$wpbc_all_translations[] = __('Calendar is loading...', 'booking');
|
603 |
$wpbc_all_translations[] = __('The feed could not be found (404). Please ensure your feed URL is correct.', 'booking');
|
604 |
$wpbc_all_translations[] = __('Access to this feed was denied (403). Please ensure you have public sharing enabled for your calendar.', 'booking');
|
605 |
$wpbc_all_translations[] = __('The feed data could not be retrieved. Error code: %s. Please ensure your feed URL is correct.', 'booking');
|
|
|
606 |
$wpbc_all_translations[] = __('GID', 'booking');
|
607 |
$wpbc_all_translations[] = __('Selection', 'booking');
|
608 |
$wpbc_all_translations[] = __('Location:', 'booking');
|
612 |
$wpbc_all_translations[] = __('Retrieve Google Calendar Events ', 'booking');
|
613 |
$wpbc_all_translations[] = __('Please configure settings for import Google Calendar events', 'booking');
|
614 |
$wpbc_all_translations[] = __('Configure', 'booking');
|
|
|
615 |
$wpbc_all_translations[] = __('%s Found %s not indexed bookings %s', 'booking');
|
616 |
$wpbc_all_translations[] = __('%s Finish getting sort dates. %s', 'booking');
|
617 |
$wpbc_all_translations[] = __('Updated booking: %s', 'booking');
|
712 |
$wpbc_all_translations[] = __('Warning!!! After you approved the specific booking(s), all your pending bookings of the same booking resource as an approved booking for the dates, which are intersect with dates of approved booking, will be automatically canceled!', 'booking');
|
713 |
$wpbc_all_translations[] = __('Set capacity based on number of visitors', 'booking');
|
714 |
$wpbc_all_translations[] = __('Check this box if you want total availability (daily capacity) to depend on the number of selected visitors.', 'booking');
|
|
|
715 |
$wpbc_all_translations[] = __('Please read more info about configuration of this parameter %shere%s', 'booking');
|
716 |
$wpbc_all_translations[] = __('Add tooltip on calendar(s) to show availability based on the number of available booking resource items remaining for each day.', 'booking');
|
717 |
$wpbc_all_translations[] = __('Be sure to match the maximum number of visitors for the %sone booking resource%s with the number of visitors specified on the booking form.', 'booking');
|
1260 |
$wpbc_all_translations[] = __('Delete your previously saved default filer template!', 'booking');
|
1261 |
$wpbc_all_translations[] = __('Delete template', 'booking');
|
1262 |
$wpbc_all_translations[] = __('Print bookings listing', 'booking');
|
|
|
1263 |
$wpbc_all_translations[] = __('Export only current page of bookings to CSV format', 'booking');
|
1264 |
$wpbc_all_translations[] = __('Export All', 'booking');
|
1265 |
$wpbc_all_translations[] = __('Export All bookings to CSV format', 'booking');
|
1606 |
$wpbc_all_translations[] = __('Integration of %s payment system', 'booking');
|
1607 |
$wpbc_all_translations[] = __('Processing your %s payments through %s', 'booking');
|
1608 |
$wpbc_all_translations[] = __('%s - inserting link for export booking to', 'booking');
|
1609 |
+
$wpbc_all_translations[] = __('.ics Feed URL', 'booking');
|
1610 |
}
|
core/wpbc-activation.php
CHANGED
@@ -887,6 +887,10 @@ function wpbc_get_default_options( $option_name = '', $is_get_multiuser_general_
|
|
887 |
$default_options['booking_is_not_load_bs_script_in_admin'] = 'Off';
|
888 |
$mu_option4delete[]='booking_is_not_load_bs_script_in_admin';
|
889 |
$default_options['booking_is_load_js_css_on_specific_pages'] = 'Off';
|
|
|
|
|
|
|
|
|
890 |
$mu_option4delete[]='booking_is_load_js_css_on_specific_pages';
|
891 |
$default_options['booking_pages_for_load_js_css'] = '';
|
892 |
$mu_option4delete[]='booking_pages_for_load_js_css';
|
887 |
$default_options['booking_is_not_load_bs_script_in_admin'] = 'Off';
|
888 |
$mu_option4delete[]='booking_is_not_load_bs_script_in_admin';
|
889 |
$default_options['booking_is_load_js_css_on_specific_pages'] = 'Off';
|
890 |
+
//FixIn: 7.2.1.15
|
891 |
+
$mu_option4delete[]='booking_is_show_system_debug_log';
|
892 |
+
$default_options['booking_is_show_system_debug_log'] = 'Off';
|
893 |
+
|
894 |
$mu_option4delete[]='booking_is_load_js_css_on_specific_pages';
|
895 |
$default_options['booking_pages_for_load_js_css'] = '';
|
896 |
$mu_option4delete[]='booking_pages_for_load_js_css';
|
core/wpbc-constants.php
CHANGED
@@ -34,8 +34,8 @@ if (!defined('WP_BK_TIMILINE_LIMIT_HOURS')) define('WP_BK_TIMILINE_L
|
|
34 |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
35 |
// SYSTEM CONSTANTS //////////////////////////////////////////////////////////////////////////////////////////////////
|
36 |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
37 |
-
if (!defined('WP_BK_VERSION_NUM')) define('WP_BK_VERSION_NUM', '
|
38 |
-
if (!defined('WP_BK_MINOR_UPDATE')) define('WP_BK_MINOR_UPDATE', !true );
|
39 |
if (!defined('IS_USE_WPDEV_BK_CACHE')) define('IS_USE_WPDEV_BK_CACHE', true );
|
40 |
if (!defined('WP_BK_DEBUG_MODE')) define('WP_BK_DEBUG_MODE', false );
|
41 |
if (!defined('WP_BK_MIN')) define('WP_BK_MIN', false ); //TODO: Finish with this contstant, right now its not working correctly with TRUE status
|
34 |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
35 |
// SYSTEM CONSTANTS //////////////////////////////////////////////////////////////////////////////////////////////////
|
36 |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
37 |
+
if (!defined('WP_BK_VERSION_NUM')) define('WP_BK_VERSION_NUM', '8.0' );
|
38 |
+
if (!defined('WP_BK_MINOR_UPDATE')) define('WP_BK_MINOR_UPDATE', ! true );
|
39 |
if (!defined('IS_USE_WPDEV_BK_CACHE')) define('IS_USE_WPDEV_BK_CACHE', true );
|
40 |
if (!defined('WP_BK_DEBUG_MODE')) define('WP_BK_DEBUG_MODE', false );
|
41 |
if (!defined('WP_BK_MIN')) define('WP_BK_MIN', false ); //TODO: Finish with this contstant, right now its not working correctly with TRUE status
|
core/wpbc-dates.php
CHANGED
@@ -28,6 +28,13 @@ if ( ! defined( 'ABSPATH' ) ) exit;
|
|
28 |
*/
|
29 |
function wpbc_get_insert_sql_for_dates( $dates_in_diff_formats , $is_approved_dates, $booking_id , $is_return_only_array = false) {
|
30 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
$my_dates = $dates_in_diff_formats['array'];
|
32 |
|
33 |
if ( WP_BK_LAST_CHECKOUT_DAY_AVAILABLE )
|
28 |
*/
|
29 |
function wpbc_get_insert_sql_for_dates( $dates_in_diff_formats , $is_approved_dates, $booking_id , $is_return_only_array = false) {
|
30 |
|
31 |
+
//FixIn: 7.2.1.9
|
32 |
+
$is_return_dates = false;
|
33 |
+
// Hook for overwriting dates saving into databse
|
34 |
+
$is_return_dates = apply_filters( 'wpbc_get_insert_sql_for_dates', $is_return_dates, $dates_in_diff_formats , $is_approved_dates, $booking_id, $is_return_only_array );
|
35 |
+
if ( false !== $is_return_dates )
|
36 |
+
return $is_return_dates;
|
37 |
+
|
38 |
$my_dates = $dates_in_diff_formats['array'];
|
39 |
|
40 |
if ( WP_BK_LAST_CHECKOUT_DAY_AVAILABLE )
|
core/wpbc-debug.php
CHANGED
@@ -125,4 +125,70 @@ if ( ! function_exists ('wpbc_check_post_key_max_number')) {
|
|
125 |
}
|
126 |
}
|
127 |
}
|
128 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
125 |
}
|
126 |
}
|
127 |
}
|
128 |
+
}
|
129 |
+
|
130 |
+
|
131 |
+
/** Show System debug log for Beta features.
|
132 |
+
*
|
133 |
+
* @param mixed $show_debug_info
|
134 |
+
*
|
135 |
+
* Example of usage:
|
136 |
+
*
|
137 |
+
$is_show_debug_info = ( ( get_bk_option( 'booking_is_show_system_debug_log' ) == 'On' ) ? true : false );
|
138 |
+
if ( $is_show_debug_info )
|
139 |
+
add_action( 'wpbc_show_debug', 'wpbc_start_showing_debug', 10, 1 );
|
140 |
+
...
|
141 |
+
//-
|
142 |
+
do_action( 'wpbc_show_debug', array( 'after import' , $ics_array) );
|
143 |
+
...
|
144 |
+
if ( $is_show_debug_info )
|
145 |
+
remove_action( 'wpbc_show_debug', 'wpbc_start_showing_debug', 10 );
|
146 |
+
*/
|
147 |
+
function wpbc_start_showing_debug( $show_debug_info ) { //FixIn: 7.2.1.15
|
148 |
+
|
149 |
+
// Make first item as header - bold
|
150 |
+
if ( is_array( $show_debug_info ) )
|
151 |
+
$show_debug_info[0] = '<strong>' . $show_debug_info[0] . '</strong>';
|
152 |
+
|
153 |
+
// Get evrything in human redable view
|
154 |
+
$show_debug_info = print_r ( $show_debug_info, true );
|
155 |
+
|
156 |
+
// Remove unnecesary new lines
|
157 |
+
$show_debug_info = preg_replace( '/Array[\n\r\s]*\(/', 'array(', $show_debug_info );
|
158 |
+
$show_debug_info = preg_replace( '/\)\n/', ")", $show_debug_info );
|
159 |
+
|
160 |
+
// Show
|
161 |
+
echo "<div><pre class='prettyprint linenums'>";
|
162 |
+
|
163 |
+
echo( $show_debug_info );
|
164 |
+
|
165 |
+
echo "</pre></div>";
|
166 |
+
|
167 |
+
echo '<hr/>';
|
168 |
+
|
169 |
+
// For system debug log in Ajax request show it
|
170 |
+
?><script type="text/javascript"> jQuery( '.wpbc_system_info_log' ).show(); </script><?php
|
171 |
+
}
|
172 |
+
|
173 |
+
|
174 |
+
/** Show Top Notice in Admin panel by writing in-line JS
|
175 |
+
*
|
176 |
+
* @param string $message
|
177 |
+
* @param string $message_type - (default notice) notice | error | warning | info | success
|
178 |
+
* @param int $seconds_to_show - (default 3000) - delay in microseconds
|
179 |
+
* @param bool $is_append - (default true) - append notice instead of replacing
|
180 |
+
*/
|
181 |
+
function wpbc_admin_show_top_notice( $message, $message_type = 'info', $seconds_to_show = 3000, $is_append = true ) {
|
182 |
+
|
183 |
+
if ( ! is_admin() ) return;
|
184 |
+
|
185 |
+
// Show Notice in Admin header
|
186 |
+
?><script type="text/javascript">
|
187 |
+
wpbc_admin_show_message( '<?php echo html_entity_decode( esc_js( $message ), ENT_QUOTES ); ?>'
|
188 |
+
, '<?php echo $message_type; ?>'
|
189 |
+
, <?php echo intval( $seconds_to_show ); ?>
|
190 |
+
, <?php echo ( $is_append ? 'true' : 'false' ); ?>
|
191 |
+
);
|
192 |
+
</script><?php
|
193 |
+
}
|
194 |
+
add_action( 'wpbc_admin_show_top_notice', 'wpbc_admin_show_top_notice', 10, 3 );
|
core/wpbc-dev-api.php
ADDED
@@ -0,0 +1,389 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* @version 1.0
|
4 |
+
* @package Booking Calendar
|
5 |
+
* @subpackage Dev API for integration Booking Calendar with third party
|
6 |
+
* @category API
|
7 |
+
*
|
8 |
+
* @author wpdevelop
|
9 |
+
* @link http://wpbookingcalendar.com/
|
10 |
+
* @email info@wpbookingcalendar.com
|
11 |
+
*
|
12 |
+
* @modified 2017-06-24
|
13 |
+
*/
|
14 |
+
|
15 |
+
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
16 |
+
|
17 |
+
//FixIn: 8.0
|
18 |
+
|
19 |
+
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
20 |
+
// Add New Booking
|
21 |
+
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
22 |
+
|
23 |
+
/** Add New Booking
|
24 |
+
*
|
25 |
+
* @param array $booking_dates // array( '2017-06-24', '2017-06-24', '2017-06-25' );
|
26 |
+
* @param array $booking_data // array(
|
27 |
+
'secondname' => array( 'value' => 'Rika' , 'type' => 'text' )
|
28 |
+
, 'name' => 'Jo' // 'text' field type, if in such format
|
29 |
+
, 'rangetime' => array( 'value' => '14:00 - 16:00', 'type' => 'select-one' )
|
30 |
+
, 'email' => array( 'value' => 'rika@cost.com', 'type' => 'email' )
|
31 |
+
)
|
32 |
+
* @param int $resource_id // Optional. Default: 1
|
33 |
+
* @param type $params // Optional. Default: array(
|
34 |
+
'is_send_emeils' => 0
|
35 |
+
, 'booking_form_type' => ''
|
36 |
+
, 'wpdev_active_locale' => 'en_US'
|
37 |
+
, 'is_show_payment_form' => 0
|
38 |
+
, 'is_edit_booking' => false | array( 'booking_id' => 75, 'booking_type' => 1 )
|
39 |
+
)
|
40 |
+
* @return int|null - booking ID
|
41 |
+
*
|
42 |
+
*
|
43 |
+
***********************************************************************************************************************
|
44 |
+
* Notes!
|
45 |
+
* If need to book for specific time, then its have to be in approriate field(s) at $booking_data - booking form. In $booking_dates times have been sliced.
|
46 |
+
* It does not check about booked | available dates in calendar with capacity > 1 !!!!
|
47 |
+
* If the single booking resource booked for specific dates and settings have activated "Checking to prevent double booking, during submitting booking" then system just DIE
|
48 |
+
***********************************************************************************************************************
|
49 |
+
*
|
50 |
+
* Examples:
|
51 |
+
*
|
52 |
+
- AddSimple
|
53 |
+
$booking = array(
|
54 |
+
'dates' => array( '2017-06-24', '2017-06-24', '2017-06-25', '2017-06-26' )
|
55 |
+
, 'data' => array(
|
56 |
+
'secondname' => array( 'value' => 'Rika', 'type' => 'text' )
|
57 |
+
, 'name' => 'John'
|
58 |
+
, 'email' => array( 'value' => 'rika@cost.com', 'type' => 'email' )
|
59 |
+
)
|
60 |
+
);
|
61 |
+
$booking_id = wpbc_api_booking_add_new( $booking[ 'dates' ], $booking[ 'data' ] );
|
62 |
+
|
63 |
+
- Resource
|
64 |
+
$booking = array(
|
65 |
+
'dates' => array( '2017-06-24', '2017-06-24', '2017-06-25', '2017-06-26' )
|
66 |
+
, 'data' => array(
|
67 |
+
'secondname' => array( 'value' => 'Rika', 'type' => 'text' )
|
68 |
+
, 'name' => 'JoNNNNNNNNNN'
|
69 |
+
, 'rangetime' => array( 'value' => '14:00 - 16:00', 'type' => 'select-one' )
|
70 |
+
, 'email' => array( 'value' => 'rika@cost.com', 'type' => 'email' )
|
71 |
+
)
|
72 |
+
, 'resource_id' => 3
|
73 |
+
|
74 |
+
);
|
75 |
+
$booking_id = wpbc_api_booking_add_new( $booking[ 'dates' ], $booking[ 'data' ], $booking[ 'resource_id' ] );
|
76 |
+
|
77 |
+
|
78 |
+
- Edit:
|
79 |
+
$booking = array(
|
80 |
+
'dates' => array( '2017-06-24', '2017-06-24', '2017-06-25', '2017-06-28' )
|
81 |
+
, 'data' => array(
|
82 |
+
'secondname' => array( 'value' => 'Rika', 'type' => 'text' )
|
83 |
+
, 'name' => 'BoBy'
|
84 |
+
, 'rangetime' => array( 'value' => '14:00 - 16:00', 'type' => 'select-one' )
|
85 |
+
, 'email' => array( 'value' => 'rika@cost.com', 'type' => 'email' )
|
86 |
+
)
|
87 |
+
, 'resource_id' => 3
|
88 |
+
, 'params' => array( 'is_edit_booking' => array( 'booking_id' => 79, 'booking_type' => 3 ) )
|
89 |
+
|
90 |
+
);
|
91 |
+
$booking_id = wpbc_api_booking_add_new( $booking[ 'dates' ], $booking[ 'data' ], $booking[ 'resource_id' ], $booking[ 'params' ] );
|
92 |
+
*
|
93 |
+
*/
|
94 |
+
function wpbc_api_booking_add_new( $booking_dates, $booking_data, $resource_id = 1, $params = array() ) {
|
95 |
+
|
96 |
+
/*
|
97 |
+
// Dates in format: 'Y-m-d'
|
98 |
+
$booking_dates = array( '2017-06-24', '2017-06-24', '2017-06-25' );
|
99 |
+
|
100 |
+
// Booking Form params
|
101 |
+
$booking_data = array(
|
102 |
+
'secondname' => array( 'value' => 'Rika' , 'type' => 'text' )
|
103 |
+
, 'rangetime' => array( 'value' => '14:00 - 16:00', 'type' => 'select-one' )
|
104 |
+
, 'email' => array( 'value' => 'rika@cost.com', 'type' => 'email' )
|
105 |
+
);
|
106 |
+
// Booking resource ID
|
107 |
+
$resource_id = 1;
|
108 |
+
*/
|
109 |
+
|
110 |
+
// Other params
|
111 |
+
$defaults = array(
|
112 |
+
'is_send_emeils' => 0
|
113 |
+
, 'booking_form_type' => '' // custom_form_name
|
114 |
+
, 'wpdev_active_locale' => 'en_US' // locale
|
115 |
+
, 'is_show_payment_form' => 0 // Paramters for adding booking in the HTML:
|
116 |
+
, 'is_edit_booking' => false // array( 'booking_id' => 75, 'booking_type' => 1 ) // Update Booking params
|
117 |
+
, 'return_instead_die_on_error' => true // return 0 instead of die during creation of new booking
|
118 |
+
);
|
119 |
+
$params = wp_parse_args( $params, $defaults );
|
120 |
+
|
121 |
+
|
122 |
+
// booking resource ID
|
123 |
+
$resource_id = intval( $resource_id );
|
124 |
+
$resource_id = ( empty( $resource_id ) ? 1 : $resource_id );
|
125 |
+
$params[ 'bktype' ] = $resource_id;
|
126 |
+
|
127 |
+
|
128 |
+
// Dates ///////////////////////////////////////////////////////////////////////////////////////////////////////////
|
129 |
+
$booking_dates = array_map( 'strtotime', $booking_dates ); // Array ( [0] => 1498262400 [1] => 1498348800 )
|
130 |
+
sort( $booking_dates ); // Sort
|
131 |
+
$booking_dates = array_unique( $booking_dates ); // Remove Duplicates
|
132 |
+
$dates_formats = array_fill( 0, count( $booking_dates ), "d.m.Y" ); // Array ( [0] => d.m.Y [1] => d.m.Y )
|
133 |
+
$booking_dates = array_map( 'date_i18n', $dates_formats , $booking_dates ); // Array ( [0] => 24.06.2017 [1] => 25.06.2017 )
|
134 |
+
$booking_dates = implode(', ', $booking_dates); // 24.06.2017, 25.06.2017
|
135 |
+
$params[ 'dates' ] = $booking_dates;
|
136 |
+
|
137 |
+
|
138 |
+
// Booking Form ////////////////////////////////////////////////////////////////////////////////////////////////////
|
139 |
+
$booking_form = array();
|
140 |
+
foreach ( $booking_data as $field_name => $field_params ) {
|
141 |
+
|
142 |
+
if ( is_array( $field_params ) ) {
|
143 |
+
|
144 |
+
$booking_form_field = array( $field_params['type'], $field_name . $resource_id, $field_params['value'] );
|
145 |
+
} else { // value just string
|
146 |
+
$booking_form_field = array( 'text', $field_name . $resource_id, $field_params );
|
147 |
+
}
|
148 |
+
$booking_form_field[ 0 ] = str_replace( array( '^', '~' ), array( 'curret', 'tilde' ), $booking_form_field[ 0 ] ); // replace to temp symbols
|
149 |
+
$booking_form_field[ 1 ] = str_replace( array( '^', '~' ), array( 'curret', 'tilde' ), $booking_form_field[ 1 ] );
|
150 |
+
$booking_form_field[ 2 ] = str_replace( array( '^', '~' ), array( 'curret', 'tilde' ), $booking_form_field[ 2 ] );
|
151 |
+
|
152 |
+
$booking_form_field = implode( '^' , $booking_form_field );
|
153 |
+
$booking_form []= $booking_form_field;
|
154 |
+
}
|
155 |
+
$booking_form = implode( '~' , $booking_form );
|
156 |
+
|
157 |
+
$params[ 'form' ] = $booking_form;
|
158 |
+
|
159 |
+
|
160 |
+
// ADD NEW Booking
|
161 |
+
$booking_id = wpbc_add_new_booking( $params , $params[ 'is_edit_booking' ] );
|
162 |
+
|
163 |
+
return $booking_id;
|
164 |
+
}
|
165 |
+
|
166 |
+
|
167 |
+
|
168 |
+
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
169 |
+
// Is Date Booked ?
|
170 |
+
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
171 |
+
|
172 |
+
/** Check if dates available
|
173 |
+
* in specific resource
|
174 |
+
*
|
175 |
+
* @param array $booking_dates // Range List of Dates in MySQL format, like: array( '2017-06-23 14:00:01', '2017-06-24 00:00:00', '2017-06-25', '2017-06-26 12:00:02' );
|
176 |
+
* @param int $resource_id // Optional. Default: 1
|
177 |
+
* @param type $params // Optional. Default: array( ) -- For future improvement
|
178 |
+
* @return bool
|
179 |
+
*
|
180 |
+
* Examples:
|
181 |
+
*
|
182 |
+
$booking = array(
|
183 |
+
'dates' => array( '2017-06-23 14:00:01', '2017-06-24 00:00:00', '2017-06-25', '2017-06-26 12:00:02' )
|
184 |
+
, 'resource_id' => 1
|
185 |
+
);
|
186 |
+
$result = wpbc_api_is_dates_booked( $booking[ 'dates' ], $booking[ 'resource_id' ] );
|
187 |
+
*/
|
188 |
+
function wpbc_api_is_dates_booked( $booking_dates, $resource_id = 1, $params = array() ) {
|
189 |
+
|
190 |
+
global $wpdb;
|
191 |
+
|
192 |
+
// 01. DATES & TIMES in "Y-m-d H:i:s" format /////////////////////////////////////////////////////////////////////
|
193 |
+
// Example input: array( '2017-06-23 14:00:01', '2017-06-24 00:00:00', '2017-06-25', '2017-06-26 12:00:02' )
|
194 |
+
$booking_dates = array_map( 'strtotime', $booking_dates ); // Array ( [0] => 1498262400 [1] => 1498348800 )
|
195 |
+
sort( $booking_dates ); // Sort
|
196 |
+
$booking_dates = array_unique( $booking_dates ); // Remove Duplicates
|
197 |
+
$dates_formats = array_fill( 0, count( $booking_dates ), "Y-m-d H:i:s" ); // Array ( [0] => Y-m-d H:i:s [1] => Y-m-d H:i:s )
|
198 |
+
$booking_dates = array_map( 'date_i18n', $dates_formats , $booking_dates ); // Array ( '2017-06-23 14:00:01', '2017-06-24 00:00:00', '2017-06-25 00:00:00', '2017-06-26 12:00:02' )
|
199 |
+
|
200 |
+
|
201 |
+
// 02. Get ONLY dates in good format (ONLY DATES WITHOUT TIME) for SQL checking ////////////////////////////////////
|
202 |
+
$sql_dates_string = array();
|
203 |
+
foreach ( $booking_dates as $booking_date ) {
|
204 |
+
$sql_dates_string []= "DATE('" . $booking_date . "')";
|
205 |
+
}
|
206 |
+
$sql_dates_string = implode( ', ', $sql_dates_string );
|
207 |
+
|
208 |
+
$trash_bookings = ' AND bk.trash != 1 ';
|
209 |
+
|
210 |
+
|
211 |
+
// 03. Get bookings of selected booking resource - checking if some dates there is booked or not ///////////////////
|
212 |
+
$sql = $wpdb->prepare( "SELECT *
|
213 |
+
FROM {$wpdb->prefix}booking as bk
|
214 |
+
INNER JOIN {$wpdb->prefix}bookingdates as dt
|
215 |
+
ON bk.booking_id = dt.booking_id
|
216 |
+
WHERE bk.booking_type = %d {$trash_bookings}", $resource_id );
|
217 |
+
|
218 |
+
$sql .= " AND DATE(dt.booking_date) IN ( {$sql_dates_string} )";
|
219 |
+
|
220 |
+
// Checking for booking belonging booking to several booking resources
|
221 |
+
if ( class_exists('wpdev_bk_biz_l')) {
|
222 |
+
$sql .= " OR bk.booking_id IN ( SELECT DISTINCT booking_id FROM {$wpdb->prefix}bookingdates as dtt WHERE dtt.approved IN ( 0,1 ) AND dtt.type_id = {$resource_id} "
|
223 |
+
. " AND DATE(dt.booking_date) IN ( $sql_dates_string )"
|
224 |
+
.") ";
|
225 |
+
}
|
226 |
+
$sql .= " ORDER BY bk.booking_id DESC, dt.booking_date ASC ";
|
227 |
+
|
228 |
+
$exist_dates_results = $wpdb->get_results( $sql );
|
229 |
+
|
230 |
+
$is_date_time_booked = wpbc_check_dates_intersections( $booking_dates, $exist_dates_results );
|
231 |
+
|
232 |
+
return $is_date_time_booked;
|
233 |
+
}
|
234 |
+
|
235 |
+
|
236 |
+
|
237 |
+
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
238 |
+
// Get Bookings Array - [Listing]
|
239 |
+
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
240 |
+
|
241 |
+
/** Get bookings array from Booking Calendar
|
242 |
+
*
|
243 |
+
* @param aray $params
|
244 |
+
* @return array
|
245 |
+
( [bookings] => Array (
|
246 |
+
[2661] => stdClass Object (
|
247 |
+
[booking_id] => 2661
|
248 |
+
[trash] => 0
|
249 |
+
[sync_gid] => 5t3ogfsb3tqj09po7fiou6hh60@google.com
|
250 |
+
[is_new] => 1
|
251 |
+
[status] =>
|
252 |
+
[sort_date] => 2017-08-07 20:00:01
|
253 |
+
[modification_date] => 2017-07-08 11:54:03
|
254 |
+
[form] => text^name4^Event (timezone Pacific GMT-07:00)~....
|
255 |
+
[hash] => 69afc11e2ce86044dd55fbddf582ce66
|
256 |
+
[booking_type] => 4
|
257 |
+
[remark] =>
|
258 |
+
[cost] => 51.98
|
259 |
+
[pay_status] => 149950764311
|
260 |
+
[pay_request] => 0
|
261 |
+
[dates] => Array (
|
262 |
+
[0] => stdClass Object (
|
263 |
+
[booking_id] => 2661
|
264 |
+
[booking_date] => 2017-08-07 20:00:01
|
265 |
+
[approved] => 0
|
266 |
+
[type_id] => )
|
267 |
+
[1] => stdClass Object (
|
268 |
+
[booking_id] => 2661
|
269 |
+
[booking_date] => 2017-08-08 00:00:00
|
270 |
+
[approved] => 0
|
271 |
+
[type_id] =>
|
272 |
+
)
|
273 |
+
)
|
274 |
+
[dates_short] => Array (
|
275 |
+
[0] => 2017-08-07 20:00:01
|
276 |
+
[1] => -
|
277 |
+
[2] => 2017-08-08 00:00:00 )
|
278 |
+
[form_show] => 'First Name: John....'
|
279 |
+
[form_data] => Array (
|
280 |
+
[email] => ics@beta
|
281 |
+
[name] => Event (timezone Pacific GMT-07:00)
|
282 |
+
[secondname] =>
|
283 |
+
[visitors] => 1
|
284 |
+
[coupon] =>
|
285 |
+
[_all_] => Array (
|
286 |
+
[name4] => Event (timezone Pacific GMT-07:00)
|
287 |
+
[details4] => 8/7/2017 1:00pm TO 3:30pm 8/8/2017 (GMT-07:00) Pacific Time
|
288 |
+
[email4] => ics@beta
|
289 |
+
[rangetime4] => 20:00 - 00:00
|
290 |
+
[sync_gid4] => 5t3ogfsb3tqj09po7fiou6hh60@google.com
|
291 |
+
)
|
292 |
+
[_all_fields_] => Array (
|
293 |
+
[name] => Event (timezone Pacific GMT-07:00)
|
294 |
+
[details] => 8/7/2017 1:00pm TO 3:30pm 8/8/2017 (GMT-07:00) Pacific Time
|
295 |
+
[email] => ics@beta
|
296 |
+
[rangetime] => 20:00 - 00:00
|
297 |
+
[sync_gid] => 5t3ogfsb3tqj09po7fiou6hh60@google.com
|
298 |
+
[booking_resource_id] => 4
|
299 |
+
[resource_id] => 4
|
300 |
+
[type_id] => 4
|
301 |
+
[type] => 4
|
302 |
+
[resource] => 4
|
303 |
+
[booking_id] => 2661
|
304 |
+
[resource_title] => stdClass Object (
|
305 |
+
[booking_type_id] => 4
|
306 |
+
[title] => Apartment#3
|
307 |
+
[users] => 1
|
308 |
+
[import] => some_email@group.calendar.google.com
|
309 |
+
[cost] => 25.99
|
310 |
+
[default_form] => standard
|
311 |
+
[prioritet] => 40
|
312 |
+
[parent] => 0
|
313 |
+
[visitors] => 1
|
314 |
+
[id] => 4
|
315 |
+
[count] => 1
|
316 |
+
[ID] => 4
|
317 |
+
)
|
318 |
+
)
|
319 |
+
[rangetime] => 20:00 - 00:00
|
320 |
+
)
|
321 |
+
[dates_short_id] => Array (
|
322 |
+
[0] =>
|
323 |
+
[1] =>
|
324 |
+
[2] =>
|
325 |
+
)
|
326 |
+
)
|
327 |
+
....
|
328 |
+
)
|
329 |
+
[resources] => Array (
|
330 |
+
[4] => stdClass Object
|
331 |
+
(
|
332 |
+
[booking_type_id] => 4
|
333 |
+
[title] => Apartment#3
|
334 |
+
[users] => 1
|
335 |
+
[import] => some_email@group.calendar.google.com
|
336 |
+
[cost] => 25.99
|
337 |
+
[default_form] => standard
|
338 |
+
[prioritet] => 40
|
339 |
+
[parent] => 0
|
340 |
+
[visitors] => 1
|
341 |
+
[id] => 4
|
342 |
+
[count] => 1
|
343 |
+
[ID] => 4
|
344 |
+
)
|
345 |
+
....
|
346 |
+
)
|
347 |
+
[bookings_count] => 2
|
348 |
+
[page_num] => 1
|
349 |
+
[count_per_page] => 100000
|
350 |
+
)
|
351 |
+
*
|
352 |
+
*/
|
353 |
+
function wpbc_api_get_bookings_arr( $params = array() ) {
|
354 |
+
|
355 |
+
// Start Date of getting bookings
|
356 |
+
$real_date = strtotime( 'now' );
|
357 |
+
$wh_booking_date = date_i18n( "Y-m-d", $real_date ); // '2012-12-01';
|
358 |
+
|
359 |
+
// End date of getting bookings
|
360 |
+
$real_date = strtotime( '+1 year' );
|
361 |
+
$wh_booking_date2 = date_i18n( "Y-m-d", $real_date ); // '2013-02-31';
|
362 |
+
|
363 |
+
// params
|
364 |
+
$defaults = array(
|
365 |
+
'wh_booking_type' => '1'
|
366 |
+
, 'wh_approved' => ''
|
367 |
+
, 'wh_booking_id' => ''
|
368 |
+
, 'wh_is_new' => ''
|
369 |
+
, 'wh_pay_status' => 'all'
|
370 |
+
, 'wh_keyword' => ''
|
371 |
+
, 'wh_booking_date' => $wh_booking_date
|
372 |
+
, 'wh_booking_date2' => $wh_booking_date2
|
373 |
+
, 'wh_modification_date' => '3'
|
374 |
+
, 'wh_modification_date2' => ''
|
375 |
+
, 'wh_cost' => ''
|
376 |
+
, 'wh_cost2' => ''
|
377 |
+
, 'or_sort' => get_bk_option( 'booking_sort_order' )
|
378 |
+
, 'page_num' => '1'
|
379 |
+
, 'wh_trash' => 'any' // '' | trash | any
|
380 |
+
, 'limit_hours' => '0,24'
|
381 |
+
, 'only_booked_resources' => 0
|
382 |
+
, 'page_items_count' => '100000'
|
383 |
+
);
|
384 |
+
$params = wp_parse_args( $params, $defaults );
|
385 |
+
|
386 |
+
$bookings_arr = wpbc_get_bookings_objects( $params );
|
387 |
+
|
388 |
+
return $bookings_arr;
|
389 |
+
}
|
core/wpbc-functions.php
CHANGED
@@ -1540,9 +1540,10 @@ $is_old = false;
|
|
1540 |
*/
|
1541 |
function wpbc_is_this_demo() {
|
1542 |
//return ! true; //TODO: comment it. 2016-09-27 // Replaced!
|
|
|
1543 |
if (
|
1544 |
-
|
1545 |
-
|| ( strpos( $_SERVER['HTTP_HOST'], 'wpbookingcalendar.com' ) !== false )
|
1546 |
)
|
1547 |
return true;
|
1548 |
else
|
@@ -1729,7 +1730,7 @@ $is_old = false;
|
|
1729 |
$wp_admin_bar->add_menu(
|
1730 |
array(
|
1731 |
'id' => 'bar_wpbc_settings_sync',
|
1732 |
-
'title' => __( '
|
1733 |
'href' => $link_settings . '&tab=sync',
|
1734 |
'parent' => 'bar_wpbc_settings'
|
1735 |
)
|
@@ -2994,3 +2995,17 @@ function wpbc_get_currency_symbol_for_user( $booking_resource_id = 0 ){
|
|
2994 |
|
2995 |
return $currency_symbol;
|
2996 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1540 |
*/
|
1541 |
function wpbc_is_this_demo() {
|
1542 |
//return ! true; //TODO: comment it. 2016-09-27 // Replaced!
|
1543 |
+
//FixIn: 7.2.1.17
|
1544 |
if (
|
1545 |
+
( ( isset( $_SERVER['SCRIPT_FILENAME'] ) ) && ( strpos( $_SERVER['SCRIPT_FILENAME'], 'wpbookingcalendar.com' ) !== false ) )
|
1546 |
+
|| ( ( isset( $_SERVER['HTTP_HOST'] ) ) && ( strpos( $_SERVER['HTTP_HOST'], 'wpbookingcalendar.com' ) !== false ) )
|
1547 |
)
|
1548 |
return true;
|
1549 |
else
|
1730 |
$wp_admin_bar->add_menu(
|
1731 |
array(
|
1732 |
'id' => 'bar_wpbc_settings_sync',
|
1733 |
+
'title' => __( 'Sync', 'booking' ), //FixIn: 8.0
|
1734 |
'href' => $link_settings . '&tab=sync',
|
1735 |
'parent' => 'bar_wpbc_settings'
|
1736 |
)
|
2995 |
|
2996 |
return $currency_symbol;
|
2997 |
}
|
2998 |
+
|
2999 |
+
|
3000 |
+
|
3001 |
+
/** Check if "Booking Manager" installed/activated and return version number
|
3002 |
+
*
|
3003 |
+
* @return string - 0 if not installed, otherwise version num
|
3004 |
+
*/
|
3005 |
+
function wpbc_get_wpbm_version() {
|
3006 |
+
|
3007 |
+
if ( ! defined( 'WPBM_VERSION_NUM' ) )
|
3008 |
+
return 0;
|
3009 |
+
else
|
3010 |
+
return WPBM_VERSION_NUM;
|
3011 |
+
}
|
core/wpbc-include.php
CHANGED
@@ -67,6 +67,8 @@ if ( file_exists( WPBC_PLUGIN_DIR.'/inc/_ps/personal.php' ) ){
|
|
67 |
require_once( WPBC_PLUGIN_DIR . '/core/admin/page-email-deny.php' ); // Email - Deny - set pending
|
68 |
require_once( WPBC_PLUGIN_DIR . '/core/admin/page-email-trash.php' ); // Email - Trash
|
69 |
require_once( WPBC_PLUGIN_DIR . '/core/admin/page-email-deleted.php' ); // Email - Deleted - completely erase
|
|
|
|
|
70 |
require_once( WPBC_PLUGIN_DIR . '/core/admin/page-import-gcal.php' ); // Import from Google Calendar Settings page
|
71 |
}
|
72 |
|
@@ -89,4 +91,6 @@ require_once WPBC_PLUGIN_DIR . '/core/sync/wpbc-gcal.php';
|
|
89 |
require_once( WPBC_PLUGIN_DIR . '/core/any/activation.php' );
|
90 |
require_once( WPBC_PLUGIN_DIR . '/core/wpbc-activation.php' );
|
91 |
|
|
|
|
|
92 |
make_bk_action( 'wpbc_loaded_php_files' );
|
67 |
require_once( WPBC_PLUGIN_DIR . '/core/admin/page-email-deny.php' ); // Email - Deny - set pending
|
68 |
require_once( WPBC_PLUGIN_DIR . '/core/admin/page-email-trash.php' ); // Email - Trash
|
69 |
require_once( WPBC_PLUGIN_DIR . '/core/admin/page-email-deleted.php' ); // Email - Deleted - completely erase
|
70 |
+
require_once( WPBC_PLUGIN_DIR . '/core/admin/page-ics-import.php' ); // Import ICS Help Settings page //FixIn: 8.0
|
71 |
+
require_once( WPBC_PLUGIN_DIR . '/core/admin/page-ics-export.php' ); // Export ICS Feeds Settings page //FixIn: 8.0
|
72 |
require_once( WPBC_PLUGIN_DIR . '/core/admin/page-import-gcal.php' ); // Import from Google Calendar Settings page
|
73 |
}
|
74 |
|
91 |
require_once( WPBC_PLUGIN_DIR . '/core/any/activation.php' );
|
92 |
require_once( WPBC_PLUGIN_DIR . '/core/wpbc-activation.php' );
|
93 |
|
94 |
+
require_once( WPBC_PLUGIN_DIR . '/core/wpbc-dev-api.php' ); // API for Booking Calendar integrations //FixIn: 8.0
|
95 |
+
|
96 |
make_bk_action( 'wpbc_loaded_php_files' );
|
core/wpbc-js.php
CHANGED
@@ -137,22 +137,24 @@ function wpbc_js_load_libs( $where_to_load ) {
|
|
137 |
|
138 |
$version = wpbc_get_registered_jquery_version();
|
139 |
|
|
|
|
|
140 |
if ( $version !== false ) {
|
141 |
|
142 |
if ( version_compare( $version, '1.9.1', '<' ) ) { // load jQuery 1.7.1, if "Theme" load older jQuery //FixIn: 7.0.1.3
|
143 |
wp_deregister_script('jquery');
|
144 |
-
wp_register_script( 'jquery', '
|
145 |
-
// wp_register_script('jquery', '
|
146 |
wp_enqueue_script('jquery');
|
147 |
|
148 |
-
wp_register_script('jquery-migrate', '
|
149 |
wp_enqueue_script( 'jquery-migrate' ); //FixIn: 7.0.1.3
|
150 |
}
|
151 |
|
152 |
////////////////////////////////////////////////////////////////////////
|
153 |
// jQuery Migrate
|
154 |
if ( version_compare( $version, '1.9', '>=' ) ) { // if the jQuery newer then 1.9, then need to load this jquery-migrate-1.0.0 and NOT the jquery-migrate-3.0.0.min.js
|
155 |
-
wp_register_script('jquery-migrate', '
|
156 |
wp_enqueue_script( 'jquery-migrate' );
|
157 |
}
|
158 |
} else {
|
@@ -165,7 +167,13 @@ function wpbc_js_load_libs( $where_to_load ) {
|
|
165 |
// || ( is_admin() && ( defined( 'DOING_AJAX' ) ) && ( DOING_AJAX ) )
|
166 |
) {
|
167 |
|
168 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
169 |
wp_enqueue_script( 'wp-color-picker' );
|
170 |
wp_enqueue_script( 'jquery-ui-sortable' ); // UI Sortable
|
171 |
// if ( wpbc_is_bookings_page() )
|
137 |
|
138 |
$version = wpbc_get_registered_jquery_version();
|
139 |
|
140 |
+
$schema = is_ssl() ? 'https://' : 'http://'; // set_url_scheme() is not defined yet //FixIn: 7.2.1.4
|
141 |
+
|
142 |
if ( $version !== false ) {
|
143 |
|
144 |
if ( version_compare( $version, '1.9.1', '<' ) ) { // load jQuery 1.7.1, if "Theme" load older jQuery //FixIn: 7.0.1.3
|
145 |
wp_deregister_script('jquery');
|
146 |
+
wp_register_script( 'jquery', $schema . 'code.jquery.com/jquery-1.9.1.min.js', false, '1.9.1' ); //FixIn: 7.0.1.3
|
147 |
+
// wp_register_script('jquery', $schema . 'code.jquery.com/jquery-latest.min.js', false, false);
|
148 |
wp_enqueue_script('jquery');
|
149 |
|
150 |
+
wp_register_script('jquery-migrate', $schema . 'code.jquery.com/jquery-migrate-1.0.0.js', false, '1.0.0' ); //FixIn: 7.0.1.3
|
151 |
wp_enqueue_script( 'jquery-migrate' ); //FixIn: 7.0.1.3
|
152 |
}
|
153 |
|
154 |
////////////////////////////////////////////////////////////////////////
|
155 |
// jQuery Migrate
|
156 |
if ( version_compare( $version, '1.9', '>=' ) ) { // if the jQuery newer then 1.9, then need to load this jquery-migrate-1.0.0 and NOT the jquery-migrate-3.0.0.min.js
|
157 |
+
wp_register_script('jquery-migrate', $schema . 'code.jquery.com/jquery-migrate-1.0.0.js', false, '1.0.0' );
|
158 |
wp_enqueue_script( 'jquery-migrate' );
|
159 |
}
|
160 |
} else {
|
167 |
// || ( is_admin() && ( defined( 'DOING_AJAX' ) ) && ( DOING_AJAX ) )
|
168 |
) {
|
169 |
|
170 |
+
if ( wpbc_is_settings_page() ) {
|
171 |
+
wp_enqueue_style( 'thickbox' ); // CSS Thickbox
|
172 |
+
wp_enqueue_script( 'thickbox' ); // JS Thickbox
|
173 |
+
wp_enqueue_media();
|
174 |
+
}
|
175 |
+
|
176 |
+
wp_enqueue_style( 'wp-color-picker' ); // Color Picker
|
177 |
wp_enqueue_script( 'wp-color-picker' );
|
178 |
wp_enqueue_script( 'jquery-ui-sortable' ); // UI Sortable
|
179 |
// if ( wpbc_is_bookings_page() )
|
core/wpbc-translation.php
CHANGED
@@ -187,7 +187,10 @@ add_filter( 'load_textdomain_mofile', 'wpbc_load_custom_plugin_translation_file'
|
|
187 |
|
188 |
|
189 |
function wpbc_load_locale( $locale = '' ) {
|
190 |
-
|
|
|
|
|
|
|
191 |
if ( empty( $locale ) )
|
192 |
$locale = wpbc_get_booking_locale();
|
193 |
//debuge($locale);
|
@@ -201,31 +204,41 @@ function wpbc_load_locale( $locale = '' ) {
|
|
201 |
$mofile_local_short = WPBC_PLUGIN_DIR . '/languages/' . $domain . '-' . substr( $locale, 0 , 2 ) . '.mo';
|
202 |
}
|
203 |
|
204 |
-
|
205 |
if ( file_exists( $mofile ) ) {
|
206 |
|
207 |
$plugin_rel_path = WPBC_PLUGIN_DIRNAME . '/languages' ;
|
|
|
208 |
return load_plugin_textdomain( $domain, false, $plugin_rel_path ) ;
|
209 |
|
210 |
} elseif ( file_exists( $mofile_local_short ) ) {
|
211 |
-
|
212 |
// Direct load of this short MO file booking-en.mo
|
213 |
return load_textdomain( $domain, $mofile_local_short );
|
|
|
|
|
214 |
}
|
215 |
}
|
216 |
-
|
217 |
return false;
|
218 |
}
|
219 |
|
220 |
|
221 |
function wpbc_get_booking_locale() {
|
222 |
-
|
|
|
223 |
if ( defined( 'WPBC_LOCALE_RELOAD' ) )
|
224 |
return WPBC_LOCALE_RELOAD;
|
225 |
-
else
|
226 |
-
define( 'WPBC_LOCALE_RELOAD', get_locale() );
|
227 |
|
228 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
229 |
}
|
230 |
|
231 |
|
187 |
|
188 |
|
189 |
function wpbc_load_locale( $locale = '' ) {
|
190 |
+
//debuge($locale);
|
191 |
+
//if ( $locale == 'en_US')
|
192 |
+
//debuge($dfgdfg);
|
193 |
+
|
194 |
if ( empty( $locale ) )
|
195 |
$locale = wpbc_get_booking_locale();
|
196 |
//debuge($locale);
|
204 |
$mofile_local_short = WPBC_PLUGIN_DIR . '/languages/' . $domain . '-' . substr( $locale, 0 , 2 ) . '.mo';
|
205 |
}
|
206 |
|
207 |
+
//debuge( $mofile );
|
208 |
if ( file_exists( $mofile ) ) {
|
209 |
|
210 |
$plugin_rel_path = WPBC_PLUGIN_DIRNAME . '/languages' ;
|
211 |
+
//debuge(1,$domain, false, $plugin_rel_path ) ;
|
212 |
return load_plugin_textdomain( $domain, false, $plugin_rel_path ) ;
|
213 |
|
214 |
} elseif ( file_exists( $mofile_local_short ) ) {
|
215 |
+
//debuge(2,$domain, $mofile_local_short) ;
|
216 |
// Direct load of this short MO file booking-en.mo
|
217 |
return load_textdomain( $domain, $mofile_local_short );
|
218 |
+
} else { // FixIn: 7.2.1.21
|
219 |
+
unload_textdomain( $domain );
|
220 |
}
|
221 |
}
|
222 |
+
//debuge( 3 ) ;
|
223 |
return false;
|
224 |
}
|
225 |
|
226 |
|
227 |
function wpbc_get_booking_locale() {
|
228 |
+
|
229 |
+
//debuge( get_locale(), get_user_locale() , WPBC_LOCALE_RELOAD ); // FixIn: 7.2.1.21
|
230 |
if ( defined( 'WPBC_LOCALE_RELOAD' ) )
|
231 |
return WPBC_LOCALE_RELOAD;
|
|
|
|
|
232 |
|
233 |
+
if( function_exists( 'get_user_locale' ) )
|
234 |
+
$locale = is_admin() ? get_user_locale() : get_locale();
|
235 |
+
else
|
236 |
+
$locale = get_locale();
|
237 |
+
|
238 |
+
define( 'WPBC_LOCALE_RELOAD', $locale );
|
239 |
+
|
240 |
+
return $locale;
|
241 |
+
|
242 |
}
|
243 |
|
244 |
|
css/timeline.css
CHANGED
@@ -436,7 +436,11 @@
|
|
436 |
background-color: #a44;
|
437 |
}
|
438 |
|
439 |
-
|
|
|
|
|
|
|
|
|
440 |
|
441 |
|
442 |
/* Show description title of the booking */
|
436 |
background-color: #a44;
|
437 |
}
|
438 |
|
439 |
+
/* FixIn:7.2.1.8 */
|
440 |
+
.wpbc_tl_day_cell .time_booked_in_day.booking_blank,
|
441 |
+
.wpbc_tl_day_cell.today_date .time_booked_in_day.booking_blank{
|
442 |
+
border: 1px dashed #F55;
|
443 |
+
}
|
444 |
|
445 |
|
446 |
/* Show description title of the booking */
|
js/client.js
CHANGED
@@ -567,7 +567,12 @@ function mybooking_submit( submit_form , bk_type, wpdev_active_locale){
|
|
567 |
continue; // Skip elements from garbage //FixIn: 7.1.2.14
|
568 |
}
|
569 |
|
570 |
-
if (
|
|
|
|
|
|
|
|
|
|
|
571 |
|
572 |
|
573 |
// Get Element Value
|
@@ -589,6 +594,7 @@ function mybooking_submit( submit_form , bk_type, wpdev_active_locale){
|
|
589 |
// We need to check it here, because radio have the several otions with same name and type and otherwsie we will save several options with selcted and empty values.
|
590 |
if ( //FixIn: 7.0.1.62
|
591 |
( element.className.indexOf('wpdev-validates-as-required') !== -1 )
|
|
|
592 |
&& ( ! jQuery(':radio[name="'+element.name+'"]', submit_form).is(":checked") ) ) {
|
593 |
showErrorMessage( element , message_verif_requred_for_radio_box);
|
594 |
return;
|
@@ -606,71 +612,74 @@ function mybooking_submit( submit_form , bk_type, wpdev_active_locale){
|
|
606 |
inp_value='';
|
607 |
}
|
608 |
|
609 |
-
|
610 |
-
|
611 |
-
|
612 |
-
if
|
613 |
-
if ( is_max_visitors_selection_more_than_available
|
614 |
-
|
615 |
-
|
616 |
-
|
617 |
-
|
618 |
-
|
619 |
-
|
620 |
-
|
621 |
-
|
622 |
-
if(
|
623 |
-
|
624 |
-
|
625 |
-
|
626 |
-
|
627 |
-
if
|
628 |
-
if
|
629 |
-
|
630 |
-
|
|
|
|
|
631 |
}
|
632 |
-
|
633 |
-
|
634 |
-
|
635 |
-
|
636 |
-
|
|
|
|
|
|
|
|
|
637 |
}
|
638 |
}
|
639 |
-
if ( (element.type !='checkbox') && (element.type !='radio') && ( jQuery.trim(inp_value) === '')) { //FixIn:7.0.1.39
|
640 |
-
showErrorMessage( element , message_verif_requred);
|
641 |
-
return;
|
642 |
-
}
|
643 |
-
}
|
644 |
|
645 |
-
|
646 |
-
|
647 |
-
|
648 |
-
|
649 |
-
|
650 |
-
|
651 |
-
|
652 |
|
653 |
-
|
654 |
-
|
655 |
|
656 |
-
|
657 |
-
|
658 |
-
|
659 |
-
|
660 |
|
661 |
-
|
662 |
-
|
663 |
|
664 |
-
|
665 |
-
|
666 |
-
|
|
|
667 |
}
|
668 |
}
|
|
|
|
|
669 |
}
|
670 |
-
// Skip one loop for the email veryfication field
|
671 |
-
continue;
|
672 |
-
}
|
673 |
|
|
|
|
|
674 |
// Get Form Data
|
675 |
if ( element.name !== ('captcha_input' + bk_type) ) {
|
676 |
if (formdata !=='') formdata += '~'; // next field element
|
567 |
continue; // Skip elements from garbage //FixIn: 7.1.2.14
|
568 |
}
|
569 |
|
570 |
+
if (
|
571 |
+
( element.type !== 'button' )
|
572 |
+
&& ( element.type !== 'hidden' )
|
573 |
+
&& ( element.name !== ( 'date_booking' + bk_type ) )
|
574 |
+
// && ( jQuery( element ).is( ':visible' ) ) //FixIn: 7.2.1.12.2 // Its prevent of saving hints, and some other hidden element
|
575 |
+
) { // Skip buttons and hidden element - type //FixIn: 7.2.1.12
|
576 |
|
577 |
|
578 |
// Get Element Value
|
594 |
// We need to check it here, because radio have the several otions with same name and type and otherwsie we will save several options with selcted and empty values.
|
595 |
if ( //FixIn: 7.0.1.62
|
596 |
( element.className.indexOf('wpdev-validates-as-required') !== -1 )
|
597 |
+
&& ( jQuery( element ).is( ':visible' ) ) //FixIn: 7.2.1.12.2 // Its prevent of saving hints, and some other hidden element
|
598 |
&& ( ! jQuery(':radio[name="'+element.name+'"]', submit_form).is(":checked") ) ) {
|
599 |
showErrorMessage( element , message_verif_requred_for_radio_box);
|
600 |
return;
|
612 |
inp_value='';
|
613 |
}
|
614 |
|
615 |
+
// Make validation only for visible elements
|
616 |
+
if ( jQuery( element ).is( ':visible' ) ) { //FixIn: 7.2.1.12.2
|
617 |
+
// Recheck for max num. available visitors selection
|
618 |
+
if ( element.name == ('visitors'+bk_type) )
|
619 |
+
if( typeof( is_max_visitors_selection_more_than_available ) == 'function' )
|
620 |
+
if ( is_max_visitors_selection_more_than_available( bk_type, inp_value, element ) )
|
621 |
+
return;
|
622 |
+
|
623 |
+
// Phone validation
|
624 |
+
/*if ( element.name == ('phone'+bk_type) ) {
|
625 |
+
// we validate a phone number of 10 digits with no comma, no spaces, no punctuation and there will be no + sign in front the number - See more at: http://www.w3resource.com/javascript/form/phone-no-validation.php#sthash.U9FHwcdW.dpuf
|
626 |
+
var reg = /^\d{10}$/;
|
627 |
+
var message_verif_phone = "Please enter correctly phone number";
|
628 |
+
if ( inp_value != '' )
|
629 |
+
if(reg.test(inp_value) == false) {showErrorMessage( element , message_verif_phone);return;}
|
630 |
+
}*/
|
631 |
+
|
632 |
+
// Validation Check --- Requred fields
|
633 |
+
if ( element.className.indexOf('wpdev-validates-as-required') !== -1 ){
|
634 |
+
if ((element.type =='checkbox') && ( element.checked === false)) {
|
635 |
+
if ( ! jQuery(':checkbox[name="'+element.name+'"]', submit_form).is(":checked") ) {
|
636 |
+
showErrorMessage( element , message_verif_requred_for_check_box);
|
637 |
+
return;
|
638 |
+
}
|
639 |
}
|
640 |
+
if (element.type =='radio') {
|
641 |
+
if ( ! jQuery(':radio[name="'+element.name+'"]', submit_form).is(":checked") ) {
|
642 |
+
showErrorMessage( element , message_verif_requred_for_radio_box);
|
643 |
+
return;
|
644 |
+
}
|
645 |
+
}
|
646 |
+
if ( (element.type !='checkbox') && (element.type !='radio') && ( jQuery.trim(inp_value) === '')) { //FixIn:7.0.1.39
|
647 |
+
showErrorMessage( element , message_verif_requred);
|
648 |
+
return;
|
649 |
}
|
650 |
}
|
|
|
|
|
|
|
|
|
|
|
651 |
|
652 |
+
// Validation Check --- Email correct filling field
|
653 |
+
if ( element.className.indexOf('wpdev-validates-as-email') !== -1 ){
|
654 |
+
inp_value = inp_value.replace(/^\s+|\s+$/gm,''); // Trim white space //FixIn: 5.4.5
|
655 |
+
var reg = /^([A-Za-z0-9_\-\.\+])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,})$/;
|
656 |
+
if ( inp_value != '' )
|
657 |
+
if(reg.test(inp_value) == false) {showErrorMessage( element , message_verif_emeil);return;}
|
658 |
+
}
|
659 |
|
660 |
+
// Validation Check --- Same Email Field
|
661 |
+
if ( ( element.className.indexOf('wpdev-validates-as-email') !== -1 ) && ( element.className.indexOf('same_as_') !== -1 ) ) {
|
662 |
|
663 |
+
// Get the name of Primary Email field from the "same_as_NAME" class
|
664 |
+
var primary_email_name = element.className.match(/same_as_([^\s])+/gi);
|
665 |
+
if (primary_email_name != null) { // We found
|
666 |
+
primary_email_name = primary_email_name[0].substr(8);
|
667 |
|
668 |
+
// Recehck if such primary email field exist in the booking form
|
669 |
+
if (jQuery('[name="' + primary_email_name + bk_type + '"]').length > 0) {
|
670 |
|
671 |
+
// Recheck the values of the both emails, if they do not equla show warning
|
672 |
+
if ( jQuery('[name="' + primary_email_name + bk_type + '"]').val() !== inp_value ) {
|
673 |
+
showErrorMessage( element , message_verif_same_emeil );return;
|
674 |
+
}
|
675 |
}
|
676 |
}
|
677 |
+
// Skip one loop for the email veryfication field
|
678 |
+
continue;
|
679 |
}
|
|
|
|
|
|
|
680 |
|
681 |
+
}
|
682 |
+
|
683 |
// Get Form Data
|
684 |
if ( element.name !== ('captcha_input' + bk_type) ) {
|
685 |
if (formdata !=='') formdata += '~'; // next field element
|
languages/booking-ar_SA.mo
CHANGED
Binary file
|
languages/booking-be_BY.mo
CHANGED
Binary file
|
languages/booking-bg_BG.mo
CHANGED
Binary file
|
languages/booking-ca.mo
CHANGED
Binary file
|
languages/booking-cs_CZ.mo
CHANGED
Binary file
|
languages/booking-da_DK.mo
CHANGED
Binary file
|
languages/booking-de_DE.mo
CHANGED
Binary file
|
languages/booking-el.mo
CHANGED
Binary file
|
languages/booking-es_ES.mo
CHANGED
Binary file
|
languages/booking-fi.mo
CHANGED
Binary file
|
languages/booking-fr_FR.mo
CHANGED
Binary file
|
languages/booking-he_IL.mo
CHANGED
Binary file
|
languages/booking-hr.mo
CHANGED
Binary file
|
languages/booking-hu_HU.mo
CHANGED
Binary file
|
languages/booking-it_IT.mo
CHANGED
Binary file
|
languages/booking-nb_NO.mo
CHANGED
Binary file
|
languages/booking-nl_NL.mo
CHANGED
Binary file
|
languages/booking-pl_PL.mo
CHANGED
Binary file
|
languages/booking-pt_BR.mo
CHANGED
Binary file
|
languages/booking-pt_PT.mo
CHANGED
Binary file
|
languages/booking-ru_RU.mo
CHANGED
Binary file
|
languages/booking-sk_SK.mo
CHANGED
Binary file
|
languages/booking-sv_SE.mo
CHANGED
Binary file
|
languages/booking-tr_TR.mo
CHANGED
Binary file
|
languages/booking-uk_UK.mo
CHANGED
Binary file
|
languages/booking-zh_CN.mo
CHANGED
Binary file
|
languages/booking-zh_TW.mo
ADDED
Binary file
|
languages/booking.pot
CHANGED
@@ -3,7 +3,7 @@ msgid ""
|
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: booking\n"
|
5 |
"Report-Msgid-Bugs-To: \n"
|
6 |
-
"POT-Creation-Date: 2017-
|
7 |
"PO-Revision-Date: \n"
|
8 |
"Last-Translator: wpdevelop <info@wpdevelop.com>\n"
|
9 |
"Language-Team: wpdevelop <info@wpbookingcalendar.com>\n"
|
@@ -163,10 +163,10 @@ msgid "Using BootStrap CSS for the form fields"
|
|
163 |
msgstr ""
|
164 |
|
165 |
#: core/admin/api-settings.php:256 core/admin/api-settings.php:416 core/admin/api-settings.php:451
|
166 |
-
#: core/admin/api-settings.php:743 core/admin/
|
167 |
-
#: core/
|
168 |
-
#: inc/_bl/admin/api-settings-l.php:
|
169 |
-
#: inc/gateways/page-gateways.php:113
|
170 |
msgid "Note"
|
171 |
msgstr ""
|
172 |
|
@@ -187,7 +187,7 @@ msgid "Available item"
|
|
187 |
msgstr ""
|
188 |
|
189 |
#: core/admin/api-settings.php:293 core/lib/wpbc_all_translations.php:34
|
190 |
-
#: core/wpbc-activation.php:
|
191 |
msgid "Available"
|
192 |
msgstr ""
|
193 |
|
@@ -202,8 +202,8 @@ msgstr ""
|
|
202 |
|
203 |
#: core/admin/api-settings.php:330 core/admin/page-email-deny.php:499
|
204 |
#: core/admin/wpbc-class-listing.php:324 core/admin/wpbc-toolbars.php:538
|
205 |
-
#: core/lib/wpbc_all_translations.php:37 core/wpbc-activation.php:
|
206 |
-
#: inc/_ps/personal.php:
|
207 |
msgid "Pending"
|
208 |
msgstr ""
|
209 |
|
@@ -217,7 +217,7 @@ msgid "Approved item"
|
|
217 |
msgstr ""
|
218 |
|
219 |
#: core/admin/api-settings.php:367 core/lib/wpbc_all_translations.php:40
|
220 |
-
#: core/wpbc-activation.php:
|
221 |
msgid "Booked"
|
222 |
msgstr ""
|
223 |
|
@@ -231,7 +231,7 @@ msgid "Partially booked item"
|
|
231 |
msgstr ""
|
232 |
|
233 |
#: core/admin/api-settings.php:405 core/lib/wpbc_all_translations.php:43
|
234 |
-
#: core/wpbc-activation.php:
|
235 |
msgid "Partially booked"
|
236 |
msgstr ""
|
237 |
|
@@ -309,7 +309,7 @@ msgstr ""
|
|
309 |
|
310 |
#: core/admin/api-settings.php:535 core/admin/page-timeline.php:44 core/admin/page-timeline.php:45
|
311 |
#: core/admin/page-timeline.php:46 core/admin/wpbc-toolbars.php:471
|
312 |
-
#: core/lib/wpbc_all_translations.php:60 core/wpbc-functions.php:
|
313 |
msgid "Calendar Overview"
|
314 |
msgstr ""
|
315 |
|
@@ -397,9 +397,10 @@ msgstr ""
|
|
397 |
#: inc/_bm/admin/page-availability.php:962 inc/_bm/admin/page-cost-rate.php:147
|
398 |
#: inc/_bm/admin/page-cost.php:541 inc/_bm/admin/page-seasons.php:497 inc/_bs/lib_s.php:179
|
399 |
#: inc/_bs/lib_s.php:184 inc/_mu/admin/page-users.php:422
|
400 |
-
#: inc/_ps/admin/br-table-
|
401 |
-
#: inc/_ps/form/class-wpbc-field-help-text.php:211
|
402 |
-
#: inc/_ps/
|
|
|
403 |
msgid "ID"
|
404 |
msgstr ""
|
405 |
|
@@ -434,7 +435,7 @@ msgstr ""
|
|
434 |
|
435 |
#: core/admin/api-settings.php:619 core/admin/api-settings.php:620
|
436 |
#: core/admin/wpbc-toolbar-tiny.php:1776 core/lib/wpbc_all_translations.php:82
|
437 |
-
#: inc/_bs/admin/api-settings-s.php:
|
438 |
#: inc/_bs/lib_s.php:187 inc/_ps/wpbc-print.php:84
|
439 |
msgid "Cost"
|
440 |
msgstr ""
|
@@ -457,7 +458,7 @@ msgstr ""
|
|
457 |
|
458 |
#: core/admin/api-settings.php:651 core/admin/wpbc-toolbars.php:1428
|
459 |
#: core/lib/wpbc_all_translations.php:87 inc/_bm/admin/api-settings-m.php:194
|
460 |
-
#: inc/_bs/admin/api-settings-s.php:
|
461 |
msgid "Custom"
|
462 |
msgstr ""
|
463 |
|
@@ -566,128 +567,136 @@ msgid ""
|
|
566 |
"availability calendars). Please enter one URL per line. Example: %s"
|
567 |
msgstr ""
|
568 |
|
569 |
-
#: core/admin/api-settings.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
570 |
msgid "Show settings of powered by notice"
|
571 |
msgstr ""
|
572 |
|
573 |
-
#: core/admin/api-settings.php:
|
574 |
msgid "Hide settings of powered by notice"
|
575 |
msgstr ""
|
576 |
|
577 |
-
#: core/admin/api-settings.php:
|
578 |
msgid "Powered by notice"
|
579 |
msgstr ""
|
580 |
|
581 |
-
#: core/admin/api-settings.php:
|
582 |
msgid " Turn On/Off powered by \"Booking Calendar\" notice under the calendar."
|
583 |
msgstr ""
|
584 |
|
585 |
-
#: core/admin/api-settings.php:
|
586 |
msgid "Help and info notices"
|
587 |
msgstr ""
|
588 |
|
589 |
-
#: core/admin/api-settings.php:
|
590 |
msgid " Turn On/Off version notice and help info links at booking admin panel."
|
591 |
msgstr ""
|
592 |
|
593 |
-
#: core/admin/api-settings.php:
|
594 |
msgid "Plugin menu position"
|
595 |
msgstr ""
|
596 |
|
597 |
-
#: core/admin/api-settings.php:
|
598 |
msgid "Top"
|
599 |
msgstr ""
|
600 |
|
601 |
-
#: core/admin/api-settings.php:
|
602 |
msgid "Middle"
|
603 |
msgstr ""
|
604 |
|
605 |
-
#: core/admin/api-settings.php:
|
606 |
msgid "Bottom"
|
607 |
msgstr ""
|
608 |
|
609 |
-
#: core/admin/api-settings.php:
|
610 |
msgid "User permissions for plugin menu pages"
|
611 |
msgstr ""
|
612 |
|
613 |
-
#: core/admin/api-settings.php:
|
614 |
#: core/admin/wpbc-toolbars.php:545 core/admin/wpbc-toolbars.php:760
|
615 |
#: core/lib/wpbc_all_translations.php:121 core/wpbc.php:136
|
616 |
msgid "Bookings"
|
617 |
msgstr ""
|
618 |
|
619 |
-
#: core/admin/api-settings.php:
|
620 |
#: core/admin/page-new.php:34 core/admin/wpbc-toolbars.php:1791
|
621 |
-
#: core/lib/wpbc_all_translations.php:122 core/wpbc-functions.php:
|
622 |
#: core/wpbc.php:166 core/wpbc.php:167
|
623 |
msgid "Add booking"
|
624 |
msgstr ""
|
625 |
|
626 |
-
#: core/admin/api-settings.php:
|
627 |
#: core/admin/wpbc-class-timeline.php:60 core/lib/wpbc_all_translations.php:123
|
628 |
-
#: core/wpbc-functions.php:
|
629 |
-
#: inc/_bl/admin/page-coupons.php:529 inc/_bl/admin/page-coupons.php:
|
630 |
#: inc/_bm/admin/page-availability.php:865 inc/_bm/admin/page-cost-rate.php:104
|
631 |
#: inc/_bm/admin/page-cost-valuation.php:131 inc/_mu/admin/page-users.php:440
|
632 |
-
#: inc/_ps/admin/br-table-
|
633 |
-
#: inc/_ps/admin/page-resources.php:137
|
634 |
msgid "Resources"
|
635 |
msgstr ""
|
636 |
|
637 |
-
#: core/admin/api-settings.php:
|
638 |
-
#: core/wpbc-functions.php:
|
639 |
#: inc/_bl/admin/page-coupons.php:46 inc/_bm/admin/page-seasons.php:47
|
640 |
msgid "Settings"
|
641 |
msgstr ""
|
642 |
|
643 |
-
#: core/admin/api-settings.php:
|
644 |
msgid "Select user access level for the menu pages of plugin"
|
645 |
msgstr ""
|
646 |
|
647 |
-
#: core/admin/api-settings.php:
|
648 |
msgid "Delete booking data, when plugin deactivated"
|
649 |
msgstr ""
|
650 |
|
651 |
-
#: core/admin/api-settings.php:
|
652 |
msgid "Check this box to delete all booking data when you uninstal this plugin."
|
653 |
msgstr ""
|
654 |
|
655 |
-
#: core/admin/api-settings.php:
|
656 |
#: core/lib/wpbc_all_translations.php:128 core/sync/wpbc-gcal-class.php:439
|
657 |
#: core/sync/wpbc-gcal-class.php:606 core/sync/wpbc-gcal-class.php:632
|
658 |
#: inc/_bl/admin/api-settings-l.php:361 inc/_bm/admin/page-availability.php:980
|
659 |
#: inc/_bm/admin/page-cost-rate.php:175 inc/_bm/admin/page-seasons.php:510
|
660 |
-
#: inc/_ps/admin/br-table-import-gcal-p.php:150
|
661 |
msgid "Info"
|
662 |
msgstr ""
|
663 |
|
664 |
-
#: core/admin/api-settings.php:
|
665 |
-
#: core/admin/api-settings.php:
|
666 |
-
#: core/admin/api-settings.php:
|
667 |
#: inc/gateways/authorizenet/wpbc-gw-authorizenet.php:507
|
668 |
#: inc/gateways/ipay88/wpbc-gw-ipay88.php:410 inc/gateways/page-gateways.php:774
|
669 |
#: inc/gateways/paypal/wpbc-gw-paypal.php:638 inc/gateways/sage/wpbc-gw-sage.php:588
|
670 |
msgid "Warning"
|
671 |
msgstr ""
|
672 |
|
673 |
-
#: core/admin/api-settings.php:
|
674 |
msgid ""
|
675 |
"You allow unlimited number of bookings per same dates, its can be a reason of double bookings on "
|
676 |
"the same date. Do you really want to do this?"
|
677 |
msgstr ""
|
678 |
|
679 |
-
#: core/admin/api-settings.php:
|
680 |
msgid "This feature can impact to speed of submitting booking. Do you really want to do this?"
|
681 |
msgstr ""
|
682 |
|
683 |
-
#: core/admin/api-settings.php:
|
684 |
#: core/lib/wpbc_all_translations.php:132
|
685 |
msgid ""
|
686 |
"You are need to be sure what you are doing. You are disable of loading some JavaScripts Do you "
|
687 |
"really want to do this?"
|
688 |
msgstr ""
|
689 |
|
690 |
-
#: core/admin/api-settings.php:
|
691 |
msgid ""
|
692 |
"If you check this option, all booking data will be deleted when you uninstall this plugin. Do "
|
693 |
"you really want to do this?"
|
@@ -696,7 +705,7 @@ msgstr ""
|
|
696 |
#: core/admin/page-bookings.php:44 core/admin/page-bookings.php:45 core/admin/page-bookings.php:46
|
697 |
#: core/admin/page-settings.php:101 core/admin/page-settings.php:216
|
698 |
#: core/admin/wpbc-toolbars.php:456 core/lib/wpbc_all_translations.php:134
|
699 |
-
#: core/wpbc-functions.php:
|
700 |
msgid "Booking Listing"
|
701 |
msgstr ""
|
702 |
|
@@ -807,7 +816,7 @@ msgid "optional"
|
|
807 |
msgstr ""
|
808 |
|
809 |
#: core/admin/page-email-approved.php:304 core/lib/wpbc_all_translations.php:144
|
810 |
-
#: core/wpbc-activation.php:
|
811 |
msgid "Your booking has been approved"
|
812 |
msgstr ""
|
813 |
|
@@ -829,7 +838,7 @@ msgid "Type your email %ssubject%s for the booking confimation message."
|
|
829 |
msgstr ""
|
830 |
|
831 |
#: core/admin/page-email-approved.php:319 core/lib/wpbc_all_translations.php:147
|
832 |
-
#: core/wpbc-activation.php:
|
833 |
#, php-format
|
834 |
msgid ""
|
835 |
"Your reservation %s for: %s has been approved.%sYou can edit the booking on this page: %s Thank "
|
@@ -837,7 +846,7 @@ msgid ""
|
|
837 |
msgstr ""
|
838 |
|
839 |
#: core/admin/page-email-approved.php:321 core/lib/wpbc_all_translations.php:148
|
840 |
-
#: core/wpbc-activation.php:
|
841 |
#, php-format
|
842 |
msgid "Your booking %s for: %s has been approved.%sThank you, %s"
|
843 |
msgstr ""
|
@@ -1043,7 +1052,7 @@ msgstr ""
|
|
1043 |
#: core/admin/page-email-deny.php:395 core/admin/page-email-new-admin.php:431
|
1044 |
#: core/admin/page-email-new-visitor.php:437 core/admin/page-email-trash.php:400
|
1045 |
#: core/lib/wpbc_all_translations.php:172 inc/_bs/admin/page-email-payment.php:398
|
1046 |
-
#: inc/_ps/admin/page-email-edit.php:394 inc/_ps/admin/page-settings-form.php:
|
1047 |
#: inc/_ps/form/class-wpbc-form-help.php:92 inc/gateways/page-gateways.php:979
|
1048 |
msgid "HTML"
|
1049 |
msgstr ""
|
@@ -1076,7 +1085,7 @@ msgid "here"
|
|
1076 |
msgstr ""
|
1077 |
|
1078 |
#: core/admin/page-email-approved.php:552 core/admin/wpbc-class-listing.php:325
|
1079 |
-
#: core/admin/wpbc-toolbars.php:539 core/lib/wpbc_all_translations.php:176 inc/_ps/personal.php:
|
1080 |
#: inc/_ps/wpbc-print.php:115
|
1081 |
msgid "Approved"
|
1082 |
msgstr ""
|
@@ -1141,10 +1150,11 @@ msgstr ""
|
|
1141 |
#: core/admin/page-email-new-visitor.php:705 core/admin/page-email-new-visitor.php:741
|
1142 |
#: core/admin/page-email-trash.php:674 core/admin/page-email-trash.php:710
|
1143 |
#: core/admin/page-form-free.php:134 core/admin/page-form-free.php:184
|
|
|
1144 |
#: core/admin/page-import-gcal.php:703 core/admin/page-settings.php:134
|
1145 |
#: core/admin/page-settings.php:273 core/admin/wpbc-toolbars.php:1770
|
1146 |
#: core/lib/wpbc_all_translations.php:184 inc/_bl/admin/page-coupons.php:210
|
1147 |
-
#: inc/_bl/admin/page-coupons.php:
|
1148 |
#: inc/_bl/admin/page-search.php:435 inc/_bm/admin/page-availability.php:1014
|
1149 |
#: inc/_bm/admin/page-cost-advanced.php:101 inc/_bm/admin/page-cost-advanced.php:160
|
1150 |
#: inc/_bm/admin/page-cost-deposit.php:361 inc/_bm/admin/page-cost-rate.php:230
|
@@ -1153,8 +1163,8 @@ msgstr ""
|
|
1153 |
#: inc/_bm/admin/page-seasons.php:1422 inc/_bs/admin/page-email-payment.php:671
|
1154 |
#: inc/_bs/admin/page-email-payment.php:707 inc/_mu/admin/page-users.php:163
|
1155 |
#: inc/_ps/admin/page-email-edit.php:667 inc/_ps/admin/page-email-edit.php:703
|
1156 |
-
#: inc/_ps/admin/page-resources.php:188 inc/_ps/admin/page-settings-form.php:
|
1157 |
-
#: inc/_ps/admin/page-settings-form.php:
|
1158 |
#: inc/gateways/bank_transfer/wpbc-gw-bank_transfer.php:484
|
1159 |
#: inc/gateways/ideal/wpbc-gw-ideal.php:913 inc/gateways/ipay88/wpbc-gw-ipay88.php:774
|
1160 |
#: inc/gateways/page-gateways.php:544 inc/gateways/pay_cash/wpbc-gw-pay_cash.php:398
|
@@ -1174,12 +1184,13 @@ msgstr ""
|
|
1174 |
#: core/admin/page-email-approved.php:747 core/admin/page-email-deleted.php:694
|
1175 |
#: core/admin/page-email-deny.php:694 core/admin/page-email-new-admin.php:727
|
1176 |
#: core/admin/page-email-new-visitor.php:730 core/admin/page-email-trash.php:699
|
1177 |
-
#: core/admin/page-import
|
1178 |
-
#: core/admin/page-settings.php:
|
1179 |
-
#: core/admin/wpbc-toolbars.php:
|
1180 |
-
#:
|
1181 |
-
#: inc/
|
1182 |
-
#: inc/
|
|
|
1183 |
#: inc/gateways/bank_transfer/wpbc-gw-bank_transfer.php:447 inc/gateways/page-gateways.php:533
|
1184 |
#: inc/gateways/pay_cash/wpbc-gw-pay_cash.php:389 inc/gateways/paypal/wpbc-gw-paypal.php:1052
|
1185 |
#: inc/gateways/paypal/wpbc-gw-paypal.php:1069
|
@@ -1238,23 +1249,23 @@ msgstr ""
|
|
1238 |
|
1239 |
#: core/admin/page-email-deleted.php:254 core/admin/page-email-deny.php:254
|
1240 |
#: core/admin/page-email-trash.php:259 core/lib/wpbc_all_translations.php:192
|
1241 |
-
#: core/wpbc-activation.php:
|
1242 |
msgid "Your booking has been declined"
|
1243 |
msgstr ""
|
1244 |
|
1245 |
#: core/admin/page-email-deleted.php:268 core/admin/page-email-deny.php:268
|
1246 |
#: core/admin/page-email-trash.php:273 core/lib/wpbc_all_translations.php:193
|
1247 |
-
#: core/wpbc-activation.php:
|
1248 |
#, php-format
|
1249 |
msgid "Your booking %s for: %s has been canceled. %sThank you, %s"
|
1250 |
msgstr ""
|
1251 |
|
1252 |
-
#: core/admin/page-email-deleted.php:499 core/lib/wpbc-ajax.php:
|
1253 |
#: core/lib/wpbc_all_translations.php:194 inc/_bl/admin/page-coupons.php:368
|
1254 |
-
#: inc/_bl/admin/page-coupons.php:
|
1255 |
#: inc/_bm/admin/page-cost.php:313 inc/_bm/admin/page-seasons.php:305
|
1256 |
-
#: inc/_bm/admin/page-seasons.php:832 inc/_bm/m-toolbar.php:
|
1257 |
-
#: inc/_ps/admin/page-resources.php:312 inc/_ps/personal.php:
|
1258 |
msgid "Deleted"
|
1259 |
msgstr ""
|
1260 |
|
@@ -1278,12 +1289,12 @@ msgstr ""
|
|
1278 |
|
1279 |
#: core/admin/page-email-new-admin.php:292 core/admin/page-email-new-visitor.php:292
|
1280 |
#: core/admin/wpbc-class-listing.php:297 core/lib/wpbc_all_translations.php:199
|
1281 |
-
#: core/wpbc-activation.php:
|
1282 |
msgid "New booking"
|
1283 |
msgstr ""
|
1284 |
|
1285 |
#: core/admin/page-email-new-admin.php:308 core/lib/wpbc_all_translations.php:200
|
1286 |
-
#: core/wpbc-activation.php:
|
1287 |
#, php-format
|
1288 |
msgid ""
|
1289 |
"You need to approve a new booking %s for: %s Person detail information:%s Currently a new "
|
@@ -1291,7 +1302,7 @@ msgid ""
|
|
1291 |
msgstr ""
|
1292 |
|
1293 |
#: core/admin/page-email-new-admin.php:503 core/lib/wpbc_all_translations.php:201
|
1294 |
-
#: core/wpbc-functions.php:
|
1295 |
msgid "Emails"
|
1296 |
msgstr ""
|
1297 |
|
@@ -1313,7 +1324,7 @@ msgid "Email is sending to Admin after creation of booking."
|
|
1313 |
msgstr ""
|
1314 |
|
1315 |
#: core/admin/page-email-new-visitor.php:307 core/lib/wpbc_all_translations.php:206
|
1316 |
-
#: core/wpbc-activation.php:
|
1317 |
#, php-format
|
1318 |
msgid ""
|
1319 |
"Your reservation %s for: %s is processing now! We will send confirmation by email. %sYou can "
|
@@ -1321,7 +1332,7 @@ msgid ""
|
|
1321 |
msgstr ""
|
1322 |
|
1323 |
#: core/admin/page-email-new-visitor.php:309 core/lib/wpbc_all_translations.php:207
|
1324 |
-
#: core/wpbc-activation.php:
|
1325 |
#, php-format
|
1326 |
msgid ""
|
1327 |
"Your reservation %s for: %s is processing now! We will send confirmation by email. %s Thank you, "
|
@@ -1341,7 +1352,7 @@ msgid "Email is sending to Visitor after creation of booking."
|
|
1341 |
msgstr ""
|
1342 |
|
1343 |
#: core/admin/page-email-trash.php:504 core/admin/wpbc-class-listing.php:327
|
1344 |
-
#: core/admin/wpbc-class-timeline.php:
|
1345 |
#: core/lib/wpbc_all_translations.php:211
|
1346 |
msgid "Trash"
|
1347 |
msgstr ""
|
@@ -1352,17 +1363,17 @@ msgstr ""
|
|
1352 |
|
1353 |
#: core/admin/page-form-free.php:56 core/admin/page-settings.php:96
|
1354 |
#: core/admin/page-settings.php:209 core/lib/wpbc_all_translations.php:213
|
1355 |
-
#: core/wpbc-functions.php:
|
1356 |
msgid "Form"
|
1357 |
msgstr ""
|
1358 |
|
1359 |
#: core/admin/page-form-free.php:57 core/lib/wpbc_all_translations.php:214
|
1360 |
-
#: inc/_ps/admin/page-settings-form.php:
|
1361 |
msgid "Fields Settings"
|
1362 |
msgstr ""
|
1363 |
|
1364 |
#: core/admin/page-form-free.php:58 core/lib/wpbc_all_translations.php:215
|
1365 |
-
#: inc/_ps/admin/page-settings-form.php:
|
1366 |
msgid "Customizaton of Form Fields"
|
1367 |
msgstr ""
|
1368 |
|
@@ -1382,7 +1393,7 @@ msgstr ""
|
|
1382 |
|
1383 |
#: core/admin/page-form-free.php:250 core/admin/page-form-free.php:374
|
1384 |
#: core/admin/page-form-free.php:501 core/lib/wpbc_all_translations.php:219
|
1385 |
-
#: core/lib/wpdev-booking-class.php:632 inc/_ps/personal.php:
|
1386 |
#: inc/_ps/wpbc-form-templates.php:41 inc/_ps/wpbc-form-templates.php:60
|
1387 |
#: inc/_ps/wpbc-form-templates.php:80 inc/_ps/wpbc-form-templates.php:103
|
1388 |
#: inc/_ps/wpbc-form-templates.php:126
|
@@ -1410,7 +1421,7 @@ msgid "Add New Field"
|
|
1410 |
msgstr ""
|
1411 |
|
1412 |
#: core/admin/page-form-free.php:795 core/admin/page-form-free.php:830
|
1413 |
-
#: core/lib/wpbc_all_translations.php:223 inc/_ps/admin/page-settings-form.php:
|
1414 |
msgid "Select"
|
1415 |
msgstr ""
|
1416 |
|
@@ -1459,7 +1470,7 @@ msgstr ""
|
|
1459 |
#: core/admin/page-form-free.php:977 core/admin/page-form-free.php:1361
|
1460 |
#: core/admin/page-form-free.php:1431 core/admin/page-form-free.php:1752
|
1461 |
#: core/lib/wpbc_all_translations.php:233 inc/_bl/admin/page-coupons.php:205
|
1462 |
-
#: inc/_bl/admin/page-coupons.php:792 inc/_bl/admin/page-coupons.php:
|
1463 |
#: inc/_bm/admin/page-cost.php:208 inc/_bm/admin/page-seasons.php:192
|
1464 |
#: inc/_bm/admin/page-seasons.php:588 inc/_bm/admin/page-seasons.php:804
|
1465 |
#: inc/_bm/admin/page-seasons.php:810 inc/_ps/admin/page-resources.php:183
|
@@ -1540,11 +1551,188 @@ msgid "Close"
|
|
1540 |
msgstr ""
|
1541 |
|
1542 |
#: core/admin/page-form-free.php:1757 core/lib/wpbc_all_translations.php:247
|
1543 |
-
#: inc/_bm/m-toolbar.php:
|
1544 |
#: inc/_ps/p-toolbar.php:398 inc/_ps/p-toolbar.php:431
|
1545 |
msgid "Cancel"
|
1546 |
msgstr ""
|
1547 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1548 |
#: core/admin/page-import-gcal.php:64 core/admin/wpbc-toolbar-tiny.php:868
|
1549 |
#: core/admin/wpbc-toolbar-tiny.php:1083 core/admin/wpbc-toolbar-tiny.php:1164
|
1550 |
#: core/lib/wpbc_all_translations.php:248 inc/_bm/admin/api-settings-m.php:58
|
@@ -1581,7 +1769,7 @@ msgstr ""
|
|
1581 |
|
1582 |
#: core/admin/page-import-gcal.php:140 core/lib/wpbc_all_translations.php:255
|
1583 |
#: inc/_bm/admin/api-settings-m.php:96 inc/_bm/admin/api-settings-m.php:98
|
1584 |
-
#: inc/_bs/admin/api-settings-s.php:
|
1585 |
msgid "hour"
|
1586 |
msgstr ""
|
1587 |
|
@@ -1589,15 +1777,15 @@ msgstr ""
|
|
1589 |
#: core/admin/page-import-gcal.php:386 core/admin/wpbc-toolbar-tiny.php:627
|
1590 |
#: core/lib/wpbc_all_translations.php:256 core/sync/wpbc-gcal.php:207 core/sync/wpbc-gcal.php:271
|
1591 |
#: inc/_bm/admin/api-settings-m.php:65 inc/_bm/admin/api-settings-m.php:102
|
1592 |
-
#: inc/_bs/admin/api-settings-s.php:
|
1593 |
msgid "hours"
|
1594 |
msgstr ""
|
1595 |
|
1596 |
#: core/admin/page-import-gcal.php:144 core/admin/wpbc-toolbars.php:556
|
1597 |
#: core/admin/wpbc-toolbars.php:790 core/lib/wpbc_all_translations.php:257 core/wpbc-emails.php:204
|
1598 |
#: inc/_bm/admin/page-cost-advanced.php:439 inc/_bm/admin/page-cost-deposit.php:222
|
1599 |
-
#: inc/_bm/admin/page-cost-valuation.php:344 inc/_bs/admin/api-settings-s.php:
|
1600 |
-
#: inc/_bs/admin/api-settings-s.php:
|
1601 |
msgid "day"
|
1602 |
msgstr ""
|
1603 |
|
@@ -1611,7 +1799,7 @@ msgstr ""
|
|
1611 |
#: core/sync/wpbc-gcal.php:208 core/sync/wpbc-gcal.php:272 inc/_bl/admin/page-search.php:81
|
1612 |
#: inc/_bm/admin/page-cost-deposit.php:224 inc/_bm/admin/page-cost-valuation.php:188
|
1613 |
#: inc/_bm/admin/page-cost-valuation.php:346 inc/_bm/admin/page-cost-valuation.php:478
|
1614 |
-
#: inc/_bm/admin/page-seasons.php:1035 inc/_bs/admin/api-settings-s.php:
|
1615 |
#: inc/_ps/wpbc-form-templates.php:241
|
1616 |
msgid "days"
|
1617 |
msgstr ""
|
@@ -1654,7 +1842,7 @@ msgstr ""
|
|
1654 |
|
1655 |
#: core/admin/page-import-gcal.php:205 core/admin/wpbc-class-listing.php:203
|
1656 |
#: core/lib/wpbc_all_translations.php:266 core/sync/wpbc-gcal.php:314
|
1657 |
-
#: inc/_bl/admin/activation-l.php:117 inc/_mu/multiuser.php:
|
1658 |
msgid "Default"
|
1659 |
msgstr ""
|
1660 |
|
@@ -1736,9 +1924,9 @@ msgstr ""
|
|
1736 |
#: core/admin/page-import-gcal.php:303 core/admin/page-import-gcal.php:385
|
1737 |
#: core/lib/wpbc_all_translations.php:282 core/sync/wpbc-gcal.php:206 core/sync/wpbc-gcal.php:270
|
1738 |
#: inc/_bm/admin/api-settings-m.php:65 inc/_bm/admin/api-settings-m.php:94
|
1739 |
-
#: inc/_bm/admin/api-settings-m.php:98 inc/_bs/admin/api-settings-s.php:
|
1740 |
-
#: inc/_bs/admin/api-settings-s.php:
|
1741 |
-
#: inc/_ps/admin/page-settings-form.php:
|
1742 |
msgid "minutes"
|
1743 |
msgstr ""
|
1744 |
|
@@ -1842,27 +2030,10 @@ msgid ""
|
|
1842 |
"%suse the Calendar ID only, not the entire XML feed URL%s."
|
1843 |
msgstr ""
|
1844 |
|
1845 |
-
#: core/admin/page-import-gcal.php:
|
1846 |
-
#: core/
|
1847 |
-
|
1848 |
-
|
1849 |
-
|
1850 |
-
#: core/admin/page-import-gcal.php:496 core/admin/page-import-gcal.php:513
|
1851 |
-
#: core/lib/wpbc_all_translations.php:305
|
1852 |
-
msgid "Google Calendar"
|
1853 |
-
msgstr ""
|
1854 |
-
|
1855 |
-
#: core/admin/page-import-gcal.php:496 core/admin/page-import-gcal.php:513
|
1856 |
-
#: core/lib/wpbc_all_translations.php:306
|
1857 |
-
msgid "Events Import"
|
1858 |
-
msgstr ""
|
1859 |
-
|
1860 |
-
#: core/admin/page-import-gcal.php:514 core/lib/wpbc_all_translations.php:307
|
1861 |
-
msgid "Import Settings"
|
1862 |
-
msgstr ""
|
1863 |
-
|
1864 |
-
#: core/admin/page-import-gcal.php:515 core/lib/wpbc_all_translations.php:308
|
1865 |
-
msgid "Customization of synchronization with Google Calendar"
|
1866 |
msgstr ""
|
1867 |
|
1868 |
#: core/admin/page-import-gcal.php:609 core/admin/page-settings.php:73
|
@@ -1901,7 +2072,7 @@ msgid "Calendar"
|
|
1901 |
msgstr ""
|
1902 |
|
1903 |
#: core/admin/page-settings.php:91 core/admin/page-settings.php:202
|
1904 |
-
#: core/lib/wpbc_all_translations.php:316 core/wpbc-functions.php:
|
1905 |
#: inc/_bm/admin/page-availability.php:46 inc/_bm/admin/page-availability.php:497
|
1906 |
#: inc/_bm/admin/page-availability.php:588 inc/_bm/admin/page-availability.php:589
|
1907 |
#: inc/_ps/wpbc-form-templates.php:275 inc/_ps/wpbc-form-templates.php:292
|
@@ -1915,7 +2086,7 @@ msgstr ""
|
|
1915 |
#: core/admin/page-settings.php:113 core/admin/page-settings.php:235
|
1916 |
#: core/lib/wpbc_all_translations.php:318 inc/_bl/admin/page-search.php:589
|
1917 |
#: inc/_bl/admin/page-search.php:623 inc/_bl/wpbc-search-availability.php:167
|
1918 |
-
#: inc/_bl/wpbc-search-availability.php:
|
1919 |
#: inc/gateways/ideal/wpbc-gw-ideal.php:904 inc/gateways/ipay88/wpbc-gw-ipay88.php:765
|
1920 |
#: inc/gateways/paypal/wpbc-gw-paypal.php:1045 inc/gateways/sage/wpbc-gw-sage.php:894
|
1921 |
msgid "Advanced"
|
@@ -1944,8 +2115,8 @@ msgstr ""
|
|
1944 |
|
1945 |
#: core/admin/wpbc-class-listing.php:102 core/admin/wpbc-toolbar-tiny.php:1513
|
1946 |
#: core/admin/wpbc-toolbar-tiny.php:1522 core/lib/wpbc_all_translations.php:324
|
1947 |
-
#: inc/_bl/admin/page-coupons.php:
|
1948 |
-
#: inc/_bl/wpbc-search-availability.php:
|
1949 |
#: inc/_bm/admin/page-availability.php:805 inc/_bm/admin/page-cost-deposit.php:81
|
1950 |
#: inc/_bm/admin/page-cost-rate.php:77 inc/_bm/admin/page-cost-valuation.php:102
|
1951 |
#: inc/_bm/admin/page-seasons.php:815 inc/_bm/admin/page-seasons.php:817
|
@@ -2060,20 +2231,20 @@ msgstr ""
|
|
2060 |
msgid "Sun"
|
2061 |
msgstr ""
|
2062 |
|
2063 |
-
#: core/admin/wpbc-class-timeline.php:
|
2064 |
#: core/lib/wpbc_all_translations.php:348 inc/_ps/wpbc-form-templates.php:153
|
2065 |
msgid "Times"
|
2066 |
msgstr ""
|
2067 |
|
2068 |
-
#: core/admin/wpbc-class-timeline.php:
|
2069 |
-
#: core/lib/wpbc_all_translations.php:349 core/wpbc-functions.php:
|
2070 |
-
#: inc/_bs/lib_s.php:267 inc/_bs/lib_s.php:269 inc/_ps/admin/page-settings-form.php:
|
2071 |
msgid "Payment"
|
2072 |
msgstr ""
|
2073 |
|
2074 |
#: core/admin/wpbc-dashboard.php:35 core/admin/wpbc-toolbar-tiny.php:224
|
2075 |
#: core/lib/wpbc_all_translations.php:350 core/lib/wpdev-booking-widget.php:14
|
2076 |
-
#: core/wpbc-functions.php:
|
2077 |
#: core/wpbc.php:189
|
2078 |
msgid "Booking Calendar"
|
2079 |
msgstr ""
|
@@ -2103,14 +2274,14 @@ msgstr ""
|
|
2103 |
msgid "Rate plugin (thanks:)"
|
2104 |
msgstr ""
|
2105 |
|
2106 |
-
#: core/admin/wpbc-dashboard.php:370 core/class/wpbc-class-welcome.php:
|
2107 |
-
#: core/class/wpbc-class-welcome.php:
|
2108 |
#: inc/_ps/admin/page-settings-up.php:142
|
2109 |
msgid "Purchase"
|
2110 |
msgstr ""
|
2111 |
|
2112 |
#: core/admin/wpbc-dashboard.php:370 core/admin/wpbc-toolbars.php:435
|
2113 |
-
#: core/class/wpbc-class-welcome.php:
|
2114 |
#: core/lib/wpbc_all_translations.php:358 inc/_ps/admin/page-settings-up.php:142
|
2115 |
msgid "Upgrade Now"
|
2116 |
msgstr ""
|
@@ -2188,8 +2359,8 @@ msgstr ""
|
|
2188 |
|
2189 |
#: core/admin/wpbc-toolbar-tiny.php:237 core/admin/wpbc-toolbar-tiny.php:691
|
2190 |
#: core/admin/wpbc-toolbar-tiny.php:1192 core/admin/wpbc-toolbar-tiny.php:1608
|
2191 |
-
#: core/lib/wpbc_all_translations.php:376 inc/_bm/m-toolbar.php:29 inc/_bm/m-toolbar.php:
|
2192 |
-
#: inc/_bm/m-toolbar.php:
|
2193 |
msgid "Booking Form"
|
2194 |
msgstr ""
|
2195 |
|
@@ -2202,8 +2373,8 @@ msgid "Resources Selection"
|
|
2202 |
msgstr ""
|
2203 |
|
2204 |
#: core/admin/wpbc-toolbar-tiny.php:243 core/lib/wpbc_all_translations.php:379
|
2205 |
-
#: core/wpbc-functions.php:
|
2206 |
-
#: inc/_bl/biz_l.php:
|
2207 |
msgid "Search"
|
2208 |
msgstr ""
|
2209 |
|
@@ -2220,14 +2391,9 @@ msgstr ""
|
|
2220 |
msgid "Insert into page"
|
2221 |
msgstr ""
|
2222 |
|
2223 |
-
#: core/admin/wpbc-toolbar-tiny.php:324 core/lib/wpbc_all_translations.php:383
|
2224 |
-
#: inc/_bl/admin/page-coupons.php:1391 inc/_ps/p-toolbar.php:895 inc/_ps/p-toolbar.php:926
|
2225 |
-
msgid "parent resource"
|
2226 |
-
msgstr ""
|
2227 |
-
|
2228 |
#: core/admin/wpbc-toolbar-tiny.php:364 core/admin/wpbc-toolbar-tiny.php:1144
|
2229 |
#: core/lib/wpbc_all_translations.php:384 core/wpbc.php:177 inc/_ps/admin/page-resources.php:39
|
2230 |
-
#: inc/_ps/p-toolbar.php:
|
2231 |
msgid "Booking resources"
|
2232 |
msgstr ""
|
2233 |
|
@@ -2282,7 +2448,7 @@ msgstr ""
|
|
2282 |
#: core/admin/wpbc-toolbar-tiny.php:667 core/admin/wpbc-toolbar-tiny.php:910
|
2283 |
#: core/admin/wpbc-toolbar-tiny.php:1584 core/admin/wpbc-toolbar-tiny.php:1756
|
2284 |
#: core/lib/wpbc_all_translations.php:396 core/lib/wpdev-booking-widget.php:116
|
2285 |
-
#: inc/_ps/admin/br-table-import-gcal-p.php:169 inc/_ps/p-toolbar.php:
|
2286 |
#: inc/_ps/wpbc-booking-select-widget.php:153
|
2287 |
msgid "Booking resource"
|
2288 |
msgstr ""
|
@@ -2456,7 +2622,7 @@ msgid "Define preselected resource."
|
|
2456 |
msgstr ""
|
2457 |
|
2458 |
#: core/admin/wpbc-toolbar-tiny.php:1197 core/lib/wpbc_all_translations.php:424
|
2459 |
-
#: inc/_bm/admin/api-settings-m.php:411 inc/_ps/p-toolbar.php:
|
2460 |
msgid "Default Form"
|
2461 |
msgstr ""
|
2462 |
|
@@ -2475,7 +2641,7 @@ msgid "First option title"
|
|
2475 |
msgstr ""
|
2476 |
|
2477 |
#: core/admin/wpbc-toolbar-tiny.php:1232 core/lib/wpbc_all_translations.php:428
|
2478 |
-
#: inc/_ps/personal.php:
|
2479 |
msgid "Please Select"
|
2480 |
msgstr ""
|
2481 |
|
@@ -2499,8 +2665,8 @@ msgid "Search form"
|
|
2499 |
msgstr ""
|
2500 |
|
2501 |
#: core/admin/wpbc-toolbar-tiny.php:1438 core/lib/wpbc_all_translations.php:433
|
2502 |
-
#: inc/_bl/wpbc-search-availability.php:167 inc/_bl/wpbc-search-availability.php:
|
2503 |
-
#: inc/_bl/wpbc-search-availability.php:
|
2504 |
msgid "Search results"
|
2505 |
msgstr ""
|
2506 |
|
@@ -2595,7 +2761,8 @@ msgid "Email templates, which use shortcodes: %s, will be linked to this page"
|
|
2595 |
msgstr ""
|
2596 |
|
2597 |
#: core/admin/wpbc-toolbar-tiny.php:1778 core/lib/wpbc_all_translations.php:453
|
2598 |
-
#: inc/_bl/admin/api-settings-l.php:457 inc/_ps/admin/br-table-
|
|
|
2599 |
msgid "Capacity"
|
2600 |
msgstr ""
|
2601 |
|
@@ -2717,7 +2884,7 @@ msgid "Check Out - Tomorrow"
|
|
2717 |
msgstr ""
|
2718 |
|
2719 |
#: core/admin/wpbc-toolbars.php:591 core/lib/wpbc_all_translations.php:480
|
2720 |
-
#: core/wpbc-functions.php:
|
2721 |
msgid "Next"
|
2722 |
msgstr ""
|
2723 |
|
@@ -2777,7 +2944,7 @@ msgstr ""
|
|
2777 |
#: inc/_bm/admin/page-availability.php:234 inc/_bm/admin/page-availability.php:240
|
2778 |
#: inc/_bm/admin/page-cost-valuation.php:564 inc/_bm/admin/page-cost.php:212
|
2779 |
#: inc/_bm/admin/page-cost.php:221 inc/_bm/admin/page-seasons.php:193
|
2780 |
-
#: inc/_bm/admin/page-seasons.php:199 inc/_bm/m-toolbar.php:
|
2781 |
#: inc/_ps/admin/page-resources.php:184 inc/_ps/admin/page-resources.php:190
|
2782 |
msgid "Delete"
|
2783 |
msgstr ""
|
@@ -2950,12 +3117,12 @@ msgid "Email copy to"
|
|
2950 |
msgstr ""
|
2951 |
|
2952 |
#: core/class/wpbc-class-dismiss.php:22 core/lib/wpbc_all_translations.php:532
|
2953 |
-
#: core/wpbc-functions.php:
|
2954 |
msgid "Dismiss"
|
2955 |
msgstr ""
|
2956 |
|
2957 |
#: core/class/wpbc-class-notices.php:25 core/lib/wpbc_all_translations.php:533
|
2958 |
-
#: core/sync/wpbc-gcal.php:398 inc/_bm/admin/page-cost-valuation.php:288 inc/_mu/multiuser.php:
|
2959 |
msgid "Warning!"
|
2960 |
msgstr ""
|
2961 |
|
@@ -2967,50 +3134,50 @@ msgid ""
|
|
2967 |
msgstr ""
|
2968 |
|
2969 |
#: core/class/wpbc-class-notices.php:104 core/lib/wpbc_all_translations.php:535
|
2970 |
-
#: core/sync/wpbc-gcal-class.php:668 core/wpbc-functions.php:
|
2971 |
msgid "Hide"
|
2972 |
msgstr ""
|
2973 |
|
2974 |
-
#: core/lib/wpbc-ajax.php:
|
2975 |
-
#: inc/gateways/ideal/wpbc-gw-ideal.php:
|
2976 |
#, php-format
|
2977 |
msgid ""
|
2978 |
"%sError!%s Request do not pass security check! Please refresh the page and try one more time."
|
2979 |
msgstr ""
|
2980 |
|
2981 |
-
#: core/lib/wpbc-ajax.php:
|
2982 |
msgid "Set as Unread"
|
2983 |
msgstr ""
|
2984 |
|
2985 |
-
#: core/lib/wpbc-ajax.php:
|
2986 |
msgid "Set as Read"
|
2987 |
msgstr ""
|
2988 |
|
2989 |
-
#: core/lib/wpbc-ajax.php:
|
2990 |
msgid "Set as Approved"
|
2991 |
msgstr ""
|
2992 |
|
2993 |
-
#: core/lib/wpbc-ajax.php:
|
2994 |
msgid "Set as Pending"
|
2995 |
msgstr ""
|
2996 |
|
2997 |
-
#: core/lib/wpbc-ajax.php:
|
2998 |
msgid "Reason for cancellation here"
|
2999 |
msgstr ""
|
3000 |
|
3001 |
-
#: core/lib/wpbc-ajax.php:
|
3002 |
msgid "Reason of cancellation here"
|
3003 |
msgstr ""
|
3004 |
|
3005 |
-
#: core/lib/wpbc-ajax.php:
|
3006 |
msgid "Moved to trash"
|
3007 |
msgstr ""
|
3008 |
|
3009 |
-
#: core/lib/wpbc-ajax.php:
|
3010 |
msgid "Restored"
|
3011 |
msgstr ""
|
3012 |
|
3013 |
-
#: core/lib/wpbc-ajax.php:
|
3014 |
msgid "Saved"
|
3015 |
msgstr ""
|
3016 |
|
@@ -3023,23 +3190,39 @@ msgid "Updating..."
|
|
3023 |
msgstr ""
|
3024 |
|
3025 |
#: core/lib/wpbc-booking-new.php:163 core/lib/wpbc_all_translations.php:548
|
3026 |
-
#: inc/_ps/personal.php:
|
3027 |
msgid "Updated successfully"
|
3028 |
msgstr ""
|
3029 |
|
3030 |
-
#: core/lib/wpbc-booking-new.php:
|
3031 |
msgid "Error!"
|
3032 |
msgstr ""
|
3033 |
|
3034 |
-
#: core/lib/wpbc-booking-new.php:
|
3035 |
msgid ""
|
3036 |
"Probably these date(s) just was booking by other visitor. Please reload this page and make "
|
3037 |
"booking again."
|
3038 |
msgstr ""
|
3039 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3040 |
#: core/lib/wpbc_all_translations.php:551 core/wpbc-debug.php:122 core/wpbc-emails.php:418
|
3041 |
-
#: core/wpbc.php:322 core/wpbc.php:363 inc/_bl/admin/page-coupons.php:
|
3042 |
-
#: inc/_bl/admin/page-coupons.php:
|
3043 |
#: inc/_bm/admin/page-cost-deposit.php:81 inc/_bm/admin/page-cost-rate.php:77
|
3044 |
#: inc/_bm/admin/page-cost-valuation.php:102 inc/_bm/admin/page-seasons.php:815
|
3045 |
#: inc/_bm/admin/page-seasons.php:817 inc/_bs/lib_s.php:340
|
@@ -3055,7 +3238,7 @@ msgid "Calendar is loading..."
|
|
3055 |
msgstr ""
|
3056 |
|
3057 |
#: core/lib/wpbc_all_translations.php:554 core/lib/wpdev-booking-class.php:675
|
3058 |
-
#: core/lib/wpdev-booking-class.php:736 inc/_ps/personal.php:
|
3059 |
msgid "Wrong booking hash in URL (probably expired)"
|
3060 |
msgstr ""
|
3061 |
|
@@ -3149,11 +3332,6 @@ msgid ""
|
|
3149 |
"The feed data could not be retrieved. Error code: %s. Please ensure your feed URL is correct."
|
3150 |
msgstr ""
|
3151 |
|
3152 |
-
#: core/lib/wpbc_all_translations.php:573 core/sync/wpbc-gcal-class.php:457
|
3153 |
-
#: core/sync/wpbc-gcal.php:102 inc/_ps/personal.php:414
|
3154 |
-
msgid "Done"
|
3155 |
-
msgstr ""
|
3156 |
-
|
3157 |
#: core/lib/wpbc_all_translations.php:574 core/sync/wpbc-gcal-class.php:608
|
3158 |
#: core/sync/wpbc-gcal-class.php:658
|
3159 |
msgid "GID"
|
@@ -3191,10 +3369,6 @@ msgstr ""
|
|
3191 |
msgid "Configure"
|
3192 |
msgstr ""
|
3193 |
|
3194 |
-
#: core/lib/wpbc_all_translations.php:583 core/sync/wpbc-gcal.php:443 core/sync/wpbc-gcal.php:466
|
3195 |
-
msgid "Import Google Calendar Events"
|
3196 |
-
msgstr ""
|
3197 |
-
|
3198 |
#: core/lib/wpbc_all_translations.php:584 core/wpbc-activation.php:564
|
3199 |
#, php-format
|
3200 |
msgid "%s Found %s not indexed bookings %s"
|
@@ -3210,16 +3384,16 @@ msgstr ""
|
|
3210 |
msgid "Updated booking: %s"
|
3211 |
msgstr ""
|
3212 |
|
3213 |
-
#: core/lib/wpbc_all_translations.php:587 core/wpbc-activation.php:
|
3214 |
msgid "Booking form"
|
3215 |
msgstr ""
|
3216 |
|
3217 |
-
#: core/lib/wpbc_all_translations.php:588 core/wpbc-activation.php:
|
3218 |
#: inc/_ps/admin/page-email-edit.php:253
|
3219 |
msgid "The reservation has been modified"
|
3220 |
msgstr ""
|
3221 |
|
3222 |
-
#: core/lib/wpbc_all_translations.php:589 core/wpbc-activation.php:
|
3223 |
#: inc/_ps/admin/page-email-edit.php:267
|
3224 |
#, php-format
|
3225 |
msgid ""
|
@@ -3227,23 +3401,23 @@ msgid ""
|
|
3227 |
"Thank you, %s"
|
3228 |
msgstr ""
|
3229 |
|
3230 |
-
#: core/lib/wpbc_all_translations.php:590 core/wpbc-activation.php:
|
3231 |
-
#: inc/_bs/admin/api-settings-s.php:
|
3232 |
msgid "Booked Times:"
|
3233 |
msgstr ""
|
3234 |
|
3235 |
-
#: core/lib/wpbc_all_translations.php:591 core/wpbc-activation.php:
|
3236 |
msgid ""
|
3237 |
"This booking canceled because we did not receive payment and the administrator did not approve "
|
3238 |
"it."
|
3239 |
msgstr ""
|
3240 |
|
3241 |
-
#: core/lib/wpbc_all_translations.php:592 core/wpbc-activation.php:
|
3242 |
#: inc/_bs/admin/page-email-payment.php:257
|
3243 |
msgid "You need to make payment for this reservation"
|
3244 |
msgstr ""
|
3245 |
|
3246 |
-
#: core/lib/wpbc_all_translations.php:593 core/wpbc-activation.php:
|
3247 |
#: inc/_bs/admin/page-email-payment.php:271
|
3248 |
#, php-format
|
3249 |
msgid ""
|
@@ -3251,12 +3425,12 @@ msgid ""
|
|
3251 |
"Thank you, %s"
|
3252 |
msgstr ""
|
3253 |
|
3254 |
-
#: core/lib/wpbc_all_translations.php:594 core/wpbc-activation.php:
|
3255 |
#: inc/_bm/admin/api-settings-m.php:244
|
3256 |
msgid "Cost: "
|
3257 |
msgstr ""
|
3258 |
|
3259 |
-
#: core/lib/wpbc_all_translations.php:595 core/wpbc-activation.php:
|
3260 |
#: inc/_bl/admin/api-settings-l.php:73
|
3261 |
msgid "Available: "
|
3262 |
msgstr ""
|
@@ -3412,7 +3586,7 @@ msgstr ""
|
|
3412 |
msgid "Example #2: \"%s\" - English and French translation of some message"
|
3413 |
msgstr ""
|
3414 |
|
3415 |
-
#: core/lib/wpbc_all_translations.php:624 core/wpbc-functions.php:756 inc/_bm/biz_m.php:
|
3416 |
msgid "yes"
|
3417 |
msgstr ""
|
3418 |
|
@@ -3420,126 +3594,126 @@ msgstr ""
|
|
3420 |
msgid "no"
|
3421 |
msgstr ""
|
3422 |
|
3423 |
-
#: core/lib/wpbc_all_translations.php:626 core/wpbc-functions.php:
|
3424 |
#: inc/_bm/admin/page-cost.php:47 inc/_bm/admin/page-cost.php:556
|
3425 |
msgid "Costs and Rates"
|
3426 |
msgstr ""
|
3427 |
|
3428 |
-
#: core/lib/wpbc_all_translations.php:627 core/wpbc-functions.php:
|
3429 |
#: inc/_bm/admin/page-cost-advanced.php:42 inc/_bm/admin/page-cost-advanced.php:147
|
3430 |
#: inc/gateways/page-gateways.php:90
|
3431 |
msgid "Advanced Cost"
|
3432 |
msgstr ""
|
3433 |
|
3434 |
-
#: core/lib/wpbc_all_translations.php:628 core/wpbc-functions.php:
|
3435 |
#: inc/_bl/admin/page-coupons.php:44 inc/_bl/admin/page-coupons.php:46
|
3436 |
msgid "Coupons"
|
3437 |
msgstr ""
|
3438 |
|
3439 |
-
#: core/lib/wpbc_all_translations.php:629 core/wpbc-functions.php:
|
3440 |
#: inc/_bm/admin/page-seasons.php:45 inc/_bm/admin/page-seasons.php:47
|
3441 |
msgid "Season Filters"
|
3442 |
msgstr ""
|
3443 |
|
3444 |
-
#: core/lib/wpbc_all_translations.php:630 core/wpbc-functions.php:
|
3445 |
msgid "Warning! Some error occur, during sending registration request."
|
3446 |
msgstr ""
|
3447 |
|
3448 |
-
#: core/lib/wpbc_all_translations.php:631 core/wpbc-functions.php:
|
3449 |
msgid ""
|
3450 |
"Please refresh this page and if the same error appear again contact support by email (with info "
|
3451 |
"about order number and website) for finishing the registrations"
|
3452 |
msgstr ""
|
3453 |
|
3454 |
-
#: core/lib/wpbc_all_translations.php:632 core/wpbc-functions.php:
|
3455 |
#, php-format
|
3456 |
msgid "If you like %s please leave us a %s rating. A huge thank you in advance!"
|
3457 |
msgstr ""
|
3458 |
|
3459 |
-
#: core/lib/wpbc_all_translations.php:633 core/wpbc-functions.php:
|
3460 |
msgid "Changes saved."
|
3461 |
msgstr ""
|
3462 |
|
3463 |
-
#: core/lib/wpbc_all_translations.php:634 core/wpbc-functions.php:
|
3464 |
msgid "Click to toggle"
|
3465 |
msgstr ""
|
3466 |
|
3467 |
-
#: core/lib/wpbc_all_translations.php:635 core/wpbc-functions.php:
|
3468 |
msgid "Prev"
|
3469 |
msgstr ""
|
3470 |
|
3471 |
-
#: core/lib/wpbc_all_translations.php:636 core/wpbc-functions.php:
|
3472 |
msgid "We’ve assembled some links to get you started:"
|
3473 |
msgstr ""
|
3474 |
|
3475 |
-
#: core/lib/wpbc_all_translations.php:637 core/wpbc-functions.php:
|
3476 |
msgid "Get Started"
|
3477 |
msgstr ""
|
3478 |
|
3479 |
-
#: core/lib/wpbc_all_translations.php:638 core/wpbc-functions.php:
|
3480 |
#, php-format
|
3481 |
msgid "Insert booking form %sshortcode%s into your %sPost%s or %sPage%s"
|
3482 |
msgstr ""
|
3483 |
|
3484 |
-
#: core/lib/wpbc_all_translations.php:639 core/wpbc-functions.php:
|
3485 |
#, php-format
|
3486 |
msgid "or add booking calendar %sWidget%s to your sidebar."
|
3487 |
msgstr ""
|
3488 |
|
3489 |
-
#: core/lib/wpbc_all_translations.php:640 core/wpbc-functions.php:
|
3490 |
#, php-format
|
3491 |
msgid "Check %show todo%s that and what %sshortcodes%s are available."
|
3492 |
msgstr ""
|
3493 |
|
3494 |
-
#: core/lib/wpbc_all_translations.php:641 core/wpbc-functions.php:
|
3495 |
#, php-format
|
3496 |
msgid "Add new booking from your post/page or from %sAdmin Panel%s."
|
3497 |
msgstr ""
|
3498 |
|
3499 |
-
#: core/lib/wpbc_all_translations.php:642 core/wpbc-functions.php:
|
3500 |
msgid "Next Steps"
|
3501 |
msgstr ""
|
3502 |
|
3503 |
-
#: core/lib/wpbc_all_translations.php:643 core/wpbc-functions.php:
|
3504 |
#, php-format
|
3505 |
msgid "Check %sBooking Listing%s page for new bookings."
|
3506 |
msgstr ""
|
3507 |
|
3508 |
-
#: core/lib/wpbc_all_translations.php:644 core/wpbc-functions.php:
|
3509 |
#, php-format
|
3510 |
msgid "Configure booking %sSettings%s."
|
3511 |
msgstr ""
|
3512 |
|
3513 |
-
#: core/lib/wpbc_all_translations.php:645 core/wpbc-functions.php:
|
3514 |
#, php-format
|
3515 |
msgid "Configure predefined set of your %sForm Fields%s."
|
3516 |
msgstr ""
|
3517 |
|
3518 |
-
#: core/lib/wpbc_all_translations.php:646 core/wpbc-functions.php:
|
3519 |
#, php-format
|
3520 |
msgid "Configure your predefined %sEmail Templates%s."
|
3521 |
msgstr ""
|
3522 |
|
3523 |
-
#: core/lib/wpbc_all_translations.php:647 core/wpbc-functions.php:
|
3524 |
msgid "Have a questions?"
|
3525 |
msgstr ""
|
3526 |
|
3527 |
-
#: core/lib/wpbc_all_translations.php:648 core/wpbc-functions.php:
|
3528 |
#, php-format
|
3529 |
msgid "Check out our %sHelp%s"
|
3530 |
msgstr ""
|
3531 |
|
3532 |
-
#: core/lib/wpbc_all_translations.php:649 core/wpbc-functions.php:
|
3533 |
#, php-format
|
3534 |
msgid "See %sFAQ%s."
|
3535 |
msgstr ""
|
3536 |
|
3537 |
-
#: core/lib/wpbc_all_translations.php:650 core/wpbc-functions.php:
|
3538 |
#, php-format
|
3539 |
msgid "Still having questions? Contact %sSupport%s."
|
3540 |
msgstr ""
|
3541 |
|
3542 |
-
#: core/lib/wpbc_all_translations.php:651 core/wpbc-functions.php:
|
3543 |
#, php-format
|
3544 |
msgid "Need even more functionality? Check %s higher versions %s"
|
3545 |
msgstr ""
|
@@ -3568,7 +3742,7 @@ msgstr ""
|
|
3568 |
msgid "Please, select booking date(s) at Calendar."
|
3569 |
msgstr ""
|
3570 |
|
3571 |
-
#: core/lib/wpbc_all_translations.php:658 core/wpbc-js.php:123 inc/_ps/personal.php:
|
3572 |
msgid "Processing"
|
3573 |
msgstr ""
|
3574 |
|
@@ -3594,8 +3768,8 @@ msgstr ""
|
|
3594 |
|
3595 |
#: core/lib/wpbc_all_translations.php:664 inc/_bl/admin/activation-l.php:117
|
3596 |
#: inc/_bl/admin/activation-l.php:121 inc/_bl/admin/activation-l.php:157
|
3597 |
-
#: inc/_bl/admin/page-search.php:613 inc/_bm/admin/api-settings-m.php:457 inc/_bm/m-toolbar.php:
|
3598 |
-
#: inc/_bm/m-toolbar.php:
|
3599 |
#: inc/_ps/wpbc-booking-select-widget.php:230
|
3600 |
msgid "Standard"
|
3601 |
msgstr ""
|
@@ -3671,7 +3845,7 @@ msgid "Check this box if you want to show the pending days as available in calen
|
|
3671 |
msgstr ""
|
3672 |
|
3673 |
#: core/lib/wpbc_all_translations.php:679 inc/_bl/admin/api-settings-l.php:107
|
3674 |
-
#: inc/_bs/admin/api-settings-s.php:
|
3675 |
msgid "Auto-cancel bookings"
|
3676 |
msgstr ""
|
3677 |
|
@@ -3700,22 +3874,6 @@ msgid ""
|
|
3700 |
"selected visitors."
|
3701 |
msgstr ""
|
3702 |
|
3703 |
-
#: core/lib/wpbc_all_translations.php:684 inc/_bl/admin/api-settings-l.php:158
|
3704 |
-
#: inc/_bm/admin/api-settings-m.php:84 inc/_ps/form/class-wpbc-form-help.php:117
|
3705 |
-
#: inc/_ps/form/class-wpbc-form-help.php:126 inc/_ps/form/class-wpbc-form-help.php:136
|
3706 |
-
#: inc/_ps/form/class-wpbc-form-help.php:197 inc/_ps/form/class-wpbc-form-help.php:228
|
3707 |
-
#: inc/_ps/form/class-wpbc-form-help.php:230 inc/_ps/form/class-wpbc-form-help.php:278
|
3708 |
-
#: inc/_ps/form/class-wpbc-form-help.php:291 inc/_ps/form/class-wpbc-form-help.php:303
|
3709 |
-
#: inc/_ps/form/class-wpbc-form-help.php:305 inc/_ps/form/class-wpbc-form-help.php:341
|
3710 |
-
#: inc/_ps/form/class-wpbc-form-help.php:343 inc/_ps/form/class-wpbc-form-help.php:380
|
3711 |
-
#: inc/_ps/form/class-wpbc-form-help.php:382 inc/_ps/form/class-wpbc-form-help.php:497
|
3712 |
-
#: inc/_ps/form/class-wpbc-form-help.php:515 inc/_ps/form/class-wpbc-form-help.php:645
|
3713 |
-
#: inc/_ps/form/class-wpbc-form-help.php:659 inc/gateways/authorizenet/wpbc-gw-authorizenet.php:405
|
3714 |
-
#: inc/gateways/authorizenet/wpbc-gw-authorizenet.php:818
|
3715 |
-
#: inc/gateways/ipay88/wpbc-gw-ipay88.php:741 inc/gateways/sage/wpbc-gw-sage.php:872
|
3716 |
-
msgid "Important!"
|
3717 |
-
msgstr ""
|
3718 |
-
|
3719 |
#: core/lib/wpbc_all_translations.php:685 inc/_bl/admin/api-settings-l.php:158
|
3720 |
#: inc/_ps/admin/api-settings-p.php:167
|
3721 |
#, php-format
|
@@ -3764,12 +3922,12 @@ msgid ""
|
|
3764 |
msgstr ""
|
3765 |
|
3766 |
#: core/lib/wpbc_all_translations.php:693 inc/_bl/admin/api-settings-l.php:331
|
3767 |
-
#: inc/_ps/p-toolbar.php:
|
3768 |
msgid "Parent"
|
3769 |
msgstr ""
|
3770 |
|
3771 |
#: core/lib/wpbc_all_translations.php:694 inc/_bl/admin/api-settings-l.php:337
|
3772 |
-
#: inc/_ps/p-toolbar.php:
|
3773 |
msgid "Priority"
|
3774 |
msgstr ""
|
3775 |
|
@@ -3790,7 +3948,7 @@ msgid "Setting coupons for discount"
|
|
3790 |
msgstr ""
|
3791 |
|
3792 |
#: core/lib/wpbc_all_translations.php:699 inc/_bl/admin/page-coupons.php:121
|
3793 |
-
#: inc/_bm/m-toolbar.php:
|
3794 |
msgid "Create dates filter"
|
3795 |
msgstr ""
|
3796 |
|
@@ -3806,12 +3964,12 @@ msgid "Bulk Actions"
|
|
3806 |
msgstr ""
|
3807 |
|
3808 |
#: core/lib/wpbc_all_translations.php:702 inc/_bl/admin/page-coupons.php:494
|
3809 |
-
#: inc/_bl/admin/page-coupons.php:
|
3810 |
msgid "Coupon Code"
|
3811 |
msgstr ""
|
3812 |
|
3813 |
#: core/lib/wpbc_all_translations.php:703 inc/_bl/admin/page-coupons.php:500
|
3814 |
-
#: inc/_bl/admin/page-coupons.php:
|
3815 |
msgid "Savings"
|
3816 |
msgstr ""
|
3817 |
|
@@ -3831,66 +3989,66 @@ msgstr ""
|
|
3831 |
#: inc/_bm/admin/page-availability.php:563 inc/_bm/admin/page-availability.php:1045
|
3832 |
#: inc/_bm/admin/page-cost-rate.php:254 inc/_bm/admin/page-cost-valuation.php:413
|
3833 |
#: inc/_bm/admin/page-cost.php:617 inc/_bm/admin/page-seasons.php:555
|
3834 |
-
#: inc/_mu/admin/page-users.php:492 inc/_ps/admin/br-table-
|
3835 |
-
#: inc/_ps/admin/page-resources.php:506
|
3836 |
msgid "Select Booking Resource"
|
3837 |
msgstr ""
|
3838 |
|
3839 |
#: core/lib/wpbc_all_translations.php:708 inc/_bl/admin/page-coupons.php:764
|
3840 |
-
#: inc/_bl/admin/page-coupons.php:
|
3841 |
-
#: inc/_ps/p-toolbar.php:
|
3842 |
msgid "All resources"
|
3843 |
msgstr ""
|
3844 |
|
3845 |
-
#: core/lib/wpbc_all_translations.php:709 inc/_bl/admin/page-coupons.php:
|
3846 |
#: inc/_ps/wpbc-form-templates.php:123 inc/_ps/wpbc-form-templates.php:194
|
3847 |
msgid "Coupon"
|
3848 |
msgstr ""
|
3849 |
|
3850 |
-
#: core/lib/wpbc_all_translations.php:710 inc/_bl/admin/page-coupons.php:
|
3851 |
msgid "Enter coupon code."
|
3852 |
msgstr ""
|
3853 |
|
3854 |
-
#: core/lib/wpbc_all_translations.php:711 inc/_bl/admin/page-coupons.php:
|
3855 |
msgid "Enter number of fixed or percentage savings."
|
3856 |
msgstr ""
|
3857 |
|
3858 |
-
#: core/lib/wpbc_all_translations.php:712 inc/_bl/admin/page-coupons.php:
|
3859 |
msgid "Expiration Date"
|
3860 |
msgstr ""
|
3861 |
|
3862 |
-
#: core/lib/wpbc_all_translations.php:713 inc/_bl/admin/page-coupons.php:
|
3863 |
msgid "Select Expiration Date of the coupon."
|
3864 |
msgstr ""
|
3865 |
|
3866 |
-
#: core/lib/wpbc_all_translations.php:714 inc/_bl/admin/page-coupons.php:
|
3867 |
msgid "Minimum Booking Cost"
|
3868 |
msgstr ""
|
3869 |
|
3870 |
-
#: core/lib/wpbc_all_translations.php:715 inc/_bl/admin/page-coupons.php:
|
3871 |
msgid "Enter minimum booking cost, when coupon is applicable."
|
3872 |
msgstr ""
|
3873 |
|
3874 |
-
#: core/lib/wpbc_all_translations.php:716 inc/_bl/admin/page-coupons.php:
|
3875 |
msgid "Maximum number of usage"
|
3876 |
msgstr ""
|
3877 |
|
3878 |
-
#: core/lib/wpbc_all_translations.php:717 inc/_bl/admin/page-coupons.php:
|
3879 |
msgid "Enter maximum number of times, when coupon is applicable."
|
3880 |
msgstr ""
|
3881 |
|
3882 |
-
#: core/lib/wpbc_all_translations.php:718 inc/_bl/admin/page-coupons.php:
|
3883 |
msgid "Select booking resources, where is possible to apply this coupon code."
|
3884 |
msgstr ""
|
3885 |
|
3886 |
-
#: core/lib/wpbc_all_translations.php:719 inc/_bl/admin/page-coupons.php:
|
3887 |
#: inc/_bm/admin/page-seasons.php:1206 inc/_bm/admin/page-seasons.php:1422
|
3888 |
-
#: inc/_ps/p-toolbar.php:
|
3889 |
msgid "Add New"
|
3890 |
msgstr ""
|
3891 |
|
3892 |
#: core/lib/wpbc_all_translations.php:720 inc/_bl/admin/page-search.php:74
|
3893 |
-
#: inc/_bl/admin/page-search.php:113 inc/_ps/admin/page-settings-form.php:
|
3894 |
#: inc/gateways/page-gateways.php:923
|
3895 |
msgid "Use these shortcodes for customization: "
|
3896 |
msgstr ""
|
@@ -4069,12 +4227,12 @@ msgstr ""
|
|
4069 |
|
4070 |
#: core/lib/wpbc_all_translations.php:756 inc/_bl/admin/page-search.php:680
|
4071 |
#: inc/_bm/admin/page-seasons.php:1209 inc/_bm/admin/page-seasons.php:1425
|
4072 |
-
#: inc/_ps/admin/page-settings-form.php:
|
4073 |
msgid "Reset"
|
4074 |
msgstr ""
|
4075 |
|
4076 |
#: core/lib/wpbc_all_translations.php:757 inc/_bl/admin/page-search.php:681
|
4077 |
-
#: inc/_ps/admin/page-settings-form.php:
|
4078 |
msgid "Reset current Form"
|
4079 |
msgstr ""
|
4080 |
|
@@ -4101,20 +4259,20 @@ msgid ""
|
|
4101 |
"units on selected day(s)!"
|
4102 |
msgstr ""
|
4103 |
|
4104 |
-
#: core/lib/wpbc_all_translations.php:763 inc/_bl/biz_l.php:
|
4105 |
msgid "coupon"
|
4106 |
msgstr ""
|
4107 |
|
4108 |
-
#: core/lib/wpbc_all_translations.php:764 inc/_bl/biz_l.php:
|
4109 |
msgid "discount"
|
4110 |
msgstr ""
|
4111 |
|
4112 |
-
#: core/lib/wpbc_all_translations.php:765 inc/_bl/biz_l.php:
|
4113 |
msgid "Please select check-in and check-out days!"
|
4114 |
msgstr ""
|
4115 |
|
4116 |
-
#: core/lib/wpbc_all_translations.php:766 inc/_bl/biz_l.php:
|
4117 |
-
#: inc/_bl/biz_l.php:
|
4118 |
#, php-format
|
4119 |
msgid ""
|
4120 |
"Sorry, the reservation was not made because these days are already booked!!! %s (Its not "
|
@@ -4122,12 +4280,12 @@ msgid ""
|
|
4122 |
"page and try other days."
|
4123 |
msgstr ""
|
4124 |
|
4125 |
-
#: core/lib/wpbc_all_translations.php:767 inc/_bl/biz_l.php:
|
4126 |
#, php-format
|
4127 |
msgid "The folowing pending booking(s): %s deleted."
|
4128 |
msgstr ""
|
4129 |
|
4130 |
-
#: core/lib/wpbc_all_translations.php:768 inc/_bl/wpbc-search-availability.php:
|
4131 |
msgid "Book now"
|
4132 |
msgstr ""
|
4133 |
|
@@ -4178,12 +4336,12 @@ msgid ""
|
|
4178 |
msgstr ""
|
4179 |
|
4180 |
#: core/lib/wpbc_all_translations.php:779 inc/_bm/admin/activation-m.php:48
|
4181 |
-
#: inc/_mu/multiuser.php:
|
4182 |
msgid "Weekend"
|
4183 |
msgstr ""
|
4184 |
|
4185 |
#: core/lib/wpbc_all_translations.php:780 inc/_bm/admin/activation-m.php:92
|
4186 |
-
#: inc/_mu/multiuser.php:
|
4187 |
msgid "High season"
|
4188 |
msgstr ""
|
4189 |
|
@@ -4261,7 +4419,7 @@ msgid "Type your %scost%s description"
|
|
4261 |
msgstr ""
|
4262 |
|
4263 |
#: core/lib/wpbc_all_translations.php:796 inc/_bm/admin/api-settings-m.php:459
|
4264 |
-
#: inc/_bm/m-toolbar.php:
|
4265 |
msgid "Custom Forms"
|
4266 |
msgstr ""
|
4267 |
|
@@ -4274,12 +4432,12 @@ msgid "Availability Settings"
|
|
4274 |
msgstr ""
|
4275 |
|
4276 |
#: core/lib/wpbc_all_translations.php:799 inc/_bm/admin/page-availability.php:142
|
4277 |
-
#: inc/_bm/admin/page-cost.php:118 inc/_ps/p-toolbar.php:
|
4278 |
msgid "Show Children Resources"
|
4279 |
msgstr ""
|
4280 |
|
4281 |
#: core/lib/wpbc_all_translations.php:800 inc/_bm/admin/page-availability.php:144
|
4282 |
-
#: inc/_bm/admin/page-cost.php:120 inc/_ps/p-toolbar.php:
|
4283 |
msgid "Hide Children Resources"
|
4284 |
msgstr ""
|
4285 |
|
@@ -4376,7 +4534,7 @@ msgid "of total cost"
|
|
4376 |
msgstr ""
|
4377 |
|
4378 |
#: core/lib/wpbc_all_translations.php:818 inc/_bm/admin/page-cost-advanced.php:440
|
4379 |
-
#: inc/_bs/admin/api-settings-s.php:
|
4380 |
msgid "night"
|
4381 |
msgstr ""
|
4382 |
|
@@ -4849,35 +5007,35 @@ msgstr ""
|
|
4849 |
msgid "Total booking resource cost"
|
4850 |
msgstr ""
|
4851 |
|
4852 |
-
#: core/lib/wpbc_all_translations.php:918 inc/_bm/m-toolbar.php:
|
4853 |
msgid "Delete selected booking form"
|
4854 |
msgstr ""
|
4855 |
|
4856 |
-
#: core/lib/wpbc_all_translations.php:919 inc/_bm/m-toolbar.php:
|
4857 |
msgid "Do you really want to delete selected booking form ?"
|
4858 |
msgstr ""
|
4859 |
|
4860 |
-
#: core/lib/wpbc_all_translations.php:920 inc/_bm/m-toolbar.php:
|
4861 |
msgid "Add New Custom Form"
|
4862 |
msgstr ""
|
4863 |
|
4864 |
-
#: core/lib/wpbc_all_translations.php:921 inc/_bm/m-toolbar.php:
|
4865 |
msgid "Type the name of booking form"
|
4866 |
msgstr ""
|
4867 |
|
4868 |
-
#: core/lib/wpbc_all_translations.php:922 inc/_bm/m-toolbar.php:
|
4869 |
msgid "Create"
|
4870 |
msgstr ""
|
4871 |
|
4872 |
-
#: core/lib/wpbc_all_translations.php:923 inc/_bm/m-toolbar.php:
|
4873 |
msgid "Create new form"
|
4874 |
msgstr ""
|
4875 |
|
4876 |
-
#: core/lib/wpbc_all_translations.php:924 inc/_bm/m-toolbar.php:
|
4877 |
msgid "There are no extended booking forms"
|
4878 |
msgstr ""
|
4879 |
|
4880 |
-
#: core/lib/wpbc_all_translations.php:925 inc/_bm/m-toolbar.php:
|
4881 |
msgid "Create conditional days filter"
|
4882 |
msgstr ""
|
4883 |
|
@@ -5017,62 +5175,62 @@ msgstr ""
|
|
5017 |
msgid "Check this option, to show change over days as triangles. "
|
5018 |
msgstr ""
|
5019 |
|
5020 |
-
#: core/lib/wpbc_all_translations.php:954 inc/_bs/admin/api-settings-s.php:
|
5021 |
msgid "Title of booked timeslot(s)"
|
5022 |
msgstr ""
|
5023 |
|
5024 |
-
#: core/lib/wpbc_all_translations.php:955 inc/_bs/admin/api-settings-s.php:
|
5025 |
#, php-format
|
5026 |
msgid "Type your %stitle%s, what will show in mouseover tooltip near booked timeslot(s)"
|
5027 |
msgstr ""
|
5028 |
|
5029 |
-
#: core/lib/wpbc_all_translations.php:956 inc/_bs/admin/api-settings-s.php:
|
5030 |
msgid "Time Format"
|
5031 |
msgstr ""
|
5032 |
|
5033 |
-
#: core/lib/wpbc_all_translations.php:957 inc/_bs/admin/api-settings-s.php:
|
5034 |
#, php-format
|
5035 |
msgid ""
|
5036 |
"Type your time format for emails and the booking table. %sDocumentation on time formatting%s"
|
5037 |
msgstr ""
|
5038 |
|
5039 |
-
#: core/lib/wpbc_all_translations.php:958 inc/_bs/admin/api-settings-s.php:
|
5040 |
msgid "Auto approve all new bookings"
|
5041 |
msgstr ""
|
5042 |
|
5043 |
-
#: core/lib/wpbc_all_translations.php:959 inc/_bs/admin/api-settings-s.php:
|
5044 |
#, php-format
|
5045 |
msgid "Check this checkbox to %sactivate%s auto approve of all new pending bookings."
|
5046 |
msgstr ""
|
5047 |
|
5048 |
-
#: core/lib/wpbc_all_translations.php:960 inc/_bs/admin/api-settings-s.php:
|
5049 |
#, php-format
|
5050 |
msgid "Check this box to %sactivate%s auto-cancellation for pending, unpaid bookings."
|
5051 |
msgstr ""
|
5052 |
|
5053 |
-
#: core/lib/wpbc_all_translations.php:961 inc/_bs/admin/api-settings-s.php:
|
5054 |
msgid "Cancel bookings older"
|
5055 |
msgstr ""
|
5056 |
|
5057 |
-
#: core/lib/wpbc_all_translations.php:962 inc/_bs/admin/api-settings-s.php:
|
5058 |
msgid "Cancel only pending, unpaid bookings, which are older than this selection."
|
5059 |
msgstr ""
|
5060 |
|
5061 |
-
#: core/lib/wpbc_all_translations.php:963 inc/_bs/admin/api-settings-s.php:
|
5062 |
msgid "Cancellation email sent"
|
5063 |
msgstr ""
|
5064 |
|
5065 |
-
#: core/lib/wpbc_all_translations.php:964 inc/_bs/admin/api-settings-s.php:
|
5066 |
#, php-format
|
5067 |
msgid "Check this box to %ssend%s cancellation email for this resource."
|
5068 |
msgstr ""
|
5069 |
|
5070 |
-
#: core/lib/wpbc_all_translations.php:965 inc/_bs/admin/api-settings-s.php:
|
5071 |
-
#: inc/_bs/admin/api-settings-s.php:
|
5072 |
msgid "Reason for cancellation"
|
5073 |
msgstr ""
|
5074 |
|
5075 |
-
#: core/lib/wpbc_all_translations.php:966 inc/_bs/admin/api-settings-s.php:
|
5076 |
#, php-format
|
5077 |
msgid "Type the reason for %scancellation%s for the email template."
|
5078 |
msgstr ""
|
@@ -5299,7 +5457,7 @@ msgid "Suite"
|
|
5299 |
msgstr ""
|
5300 |
|
5301 |
#: core/lib/wpbc_all_translations.php:1020 inc/_mu/admin/api-settings-u.php:62
|
5302 |
-
#: inc/_ps/admin/br-table-import-gcal-p.php:72
|
5303 |
msgid "User"
|
5304 |
msgstr ""
|
5305 |
|
@@ -5333,12 +5491,12 @@ msgid "Users Settings"
|
|
5333 |
msgstr ""
|
5334 |
|
5335 |
#: core/lib/wpbc_all_translations.php:1027 inc/_mu/admin/page-users.php:204
|
5336 |
-
#: inc/_mu/multiuser.php:
|
5337 |
msgid "User is Activated"
|
5338 |
msgstr ""
|
5339 |
|
5340 |
#: core/lib/wpbc_all_translations.php:1028 inc/_mu/admin/page-users.php:232
|
5341 |
-
#: inc/_mu/multiuser.php:
|
5342 |
msgid "User is Deactivated"
|
5343 |
msgstr ""
|
5344 |
|
@@ -5394,23 +5552,23 @@ msgstr ""
|
|
5394 |
msgid "Delete data"
|
5395 |
msgstr ""
|
5396 |
|
5397 |
-
#: core/lib/wpbc_all_translations.php:1041 inc/_mu/multiuser.php:
|
5398 |
msgid "Work days"
|
5399 |
msgstr ""
|
5400 |
|
5401 |
-
#: core/lib/wpbc_all_translations.php:1042 inc/_mu/multiuser.php:
|
5402 |
#, php-format
|
5403 |
msgid ""
|
5404 |
"%sYou do not have permissions for this page.%s Your account is not active, please contact "
|
5405 |
"administrator.%s"
|
5406 |
msgstr ""
|
5407 |
|
5408 |
-
#: core/lib/wpbc_all_translations.php:1043 inc/_mu/multiuser.php:
|
5409 |
#, php-format
|
5410 |
msgid "%sYou do not have permissions for this booking resources.%s"
|
5411 |
msgstr ""
|
5412 |
|
5413 |
-
#: core/lib/wpbc_all_translations.php:1044 inc/_mu/multiuser.php:
|
5414 |
#, php-format
|
5415 |
msgid "%sNo this booking resources.%s"
|
5416 |
msgstr ""
|
@@ -5524,82 +5682,82 @@ msgstr ""
|
|
5524 |
msgid "Customizaton of booking resources"
|
5525 |
msgstr ""
|
5526 |
|
5527 |
-
#: core/lib/wpbc_all_translations.php:1069 inc/_ps/admin/page-settings-form.php:
|
5528 |
-
#: inc/_ps/admin/page-settings-form.php:
|
5529 |
msgid "Form fields"
|
5530 |
msgstr ""
|
5531 |
|
5532 |
-
#: core/lib/wpbc_all_translations.php:1070 inc/_ps/admin/page-settings-form.php:
|
5533 |
msgid "Content of Booking Fields"
|
5534 |
msgstr ""
|
5535 |
|
5536 |
-
#: core/lib/wpbc_all_translations.php:1071 inc/_ps/admin/page-settings-form.php:
|
5537 |
msgid "Generate tag"
|
5538 |
msgstr ""
|
5539 |
|
5540 |
-
#: core/lib/wpbc_all_translations.php:1072 inc/_ps/admin/page-settings-form.php:
|
5541 |
#, php-format
|
5542 |
msgid "Content of booking fields data for email templates (%s-shortcode) and booking listing page"
|
5543 |
msgstr ""
|
5544 |
|
5545 |
-
#: core/lib/wpbc_all_translations.php:1073 inc/_ps/admin/page-settings-form.php:
|
5546 |
msgid "Form Template"
|
5547 |
msgstr ""
|
5548 |
|
5549 |
-
#: core/lib/wpbc_all_translations.php:1074 inc/_ps/admin/page-settings-form.php:
|
5550 |
msgid "Standard Templates"
|
5551 |
msgstr ""
|
5552 |
|
5553 |
-
#: core/lib/wpbc_all_translations.php:1075 inc/_ps/admin/page-settings-form.php:
|
5554 |
#: inc/_ps/form/class-wpbc-field-help-textarea.php:111
|
5555 |
msgid "Columns"
|
5556 |
msgstr ""
|
5557 |
|
5558 |
-
#: core/lib/wpbc_all_translations.php:1076 inc/_ps/admin/page-settings-form.php:
|
5559 |
-
#: inc/_ps/admin/page-settings-form.php:
|
5560 |
msgid "Time Slots"
|
5561 |
msgstr ""
|
5562 |
|
5563 |
-
#: core/lib/wpbc_all_translations.php:1077 inc/_ps/admin/page-settings-form.php:
|
5564 |
msgid "Advanced Templates"
|
5565 |
msgstr ""
|
5566 |
|
5567 |
-
#: core/lib/wpbc_all_translations.php:1078 inc/_ps/admin/page-settings-form.php:
|
5568 |
msgid "Wizard (several steps)"
|
5569 |
msgstr ""
|
5570 |
|
5571 |
-
#: core/lib/wpbc_all_translations.php:1079 inc/_ps/admin/page-settings-form.php:
|
5572 |
msgid "Time slots for different weekdays"
|
5573 |
msgstr ""
|
5574 |
|
5575 |
-
#: core/lib/wpbc_all_translations.php:1080 inc/_ps/admin/page-settings-form.php:
|
5576 |
msgid "Hints"
|
5577 |
msgstr ""
|
5578 |
|
5579 |
-
#: core/lib/wpbc_all_translations.php:1081 inc/_ps/admin/page-settings-form.php:
|
5580 |
msgid "Reset Form"
|
5581 |
msgstr ""
|
5582 |
|
5583 |
-
#: core/lib/wpbc_all_translations.php:1082 inc/_ps/admin/page-settings-form.php:
|
5584 |
msgid "Both"
|
5585 |
msgstr ""
|
5586 |
|
5587 |
-
#: core/lib/wpbc_all_translations.php:1083 inc/_ps/admin/page-settings-form.php:
|
5588 |
msgid "Reset Booking Form and Content of Booking Fields Form"
|
5589 |
msgstr ""
|
5590 |
|
5591 |
-
#: core/lib/wpbc_all_translations.php:1084 inc/_ps/admin/page-settings-form.php:
|
5592 |
#: inc/gateways/page-gateways.php:925
|
5593 |
#, php-format
|
5594 |
msgid "%s - inserting data from fields of booking form"
|
5595 |
msgstr ""
|
5596 |
|
5597 |
-
#: core/lib/wpbc_all_translations.php:1085 inc/_ps/admin/page-settings-form.php:
|
5598 |
#, php-format
|
5599 |
msgid "%s - inserting new line"
|
5600 |
msgstr ""
|
5601 |
|
5602 |
-
#: core/lib/wpbc_all_translations.php:1086 inc/_ps/admin/page-settings-form.php:
|
5603 |
#: inc/_ps/form/class-wpbc-form-help.php:93 inc/gateways/page-gateways.php:980
|
5604 |
#, php-format
|
5605 |
msgid ""
|
@@ -6348,10 +6506,6 @@ msgstr ""
|
|
6348 |
msgid "Print bookings listing"
|
6349 |
msgstr ""
|
6350 |
|
6351 |
-
#: core/lib/wpbc_all_translations.php:1233 inc/_ps/p-toolbar.php:142
|
6352 |
-
msgid "Export"
|
6353 |
-
msgstr ""
|
6354 |
-
|
6355 |
#: core/lib/wpbc_all_translations.php:1234 inc/_ps/p-toolbar.php:143
|
6356 |
msgid "Export only current page of bookings to CSV format"
|
6357 |
msgstr ""
|
@@ -6408,102 +6562,102 @@ msgstr ""
|
|
6408 |
msgid "Download"
|
6409 |
msgstr ""
|
6410 |
|
6411 |
-
#: core/lib/wpbc_all_translations.php:1248 inc/_ps/p-toolbar.php:
|
6412 |
msgid "Clear booking resources selection"
|
6413 |
msgstr ""
|
6414 |
|
6415 |
-
#: core/lib/wpbc_all_translations.php:1249 inc/_ps/p-toolbar.php:
|
6416 |
msgid "Apply booking resources selection"
|
6417 |
msgstr ""
|
6418 |
|
6419 |
-
#: core/lib/wpbc_all_translations.php:1250 inc/_ps/p-toolbar.php:
|
6420 |
msgid ""
|
6421 |
"Please note, its not possible to add new resources, if \"All resources\" option is selected. "
|
6422 |
"Please clear the selection, then add new resources."
|
6423 |
msgstr ""
|
6424 |
|
6425 |
-
#: core/lib/wpbc_all_translations.php:1251 inc/_ps/p-toolbar.php:
|
6426 |
msgid "Add New Booking Resource(s)"
|
6427 |
msgstr ""
|
6428 |
|
6429 |
-
#: core/lib/wpbc_all_translations.php:1252 inc/_ps/p-toolbar.php:
|
6430 |
msgid "Enter name of booking resource"
|
6431 |
msgstr ""
|
6432 |
|
6433 |
-
#: core/lib/wpbc_all_translations.php:1253 inc/_ps/p-toolbar.php:
|
6434 |
msgid "Resources count"
|
6435 |
msgstr ""
|
6436 |
|
6437 |
-
#: core/lib/wpbc_all_translations.php:1254 inc/_ps/personal.php:
|
6438 |
msgid "This booking resources does not exist"
|
6439 |
msgstr ""
|
6440 |
|
6441 |
-
#: core/lib/wpbc_all_translations.php:1255 inc/_ps/personal.php:
|
6442 |
msgid "Generating columns"
|
6443 |
msgstr ""
|
6444 |
|
6445 |
-
#: core/lib/wpbc_all_translations.php:1256 inc/_ps/personal.php:
|
6446 |
msgid "Exporting booking data"
|
6447 |
msgstr ""
|
6448 |
|
6449 |
-
#: core/lib/wpbc_all_translations.php:1257 inc/_ps/personal.php:
|
6450 |
msgid "Generating content of file"
|
6451 |
msgstr ""
|
6452 |
|
6453 |
-
#: core/lib/wpbc_all_translations.php:1258 inc/_ps/personal.php:
|
6454 |
msgid "Saving to file"
|
6455 |
msgstr ""
|
6456 |
|
6457 |
-
#: core/lib/wpbc_all_translations.php:1259 inc/_ps/personal.php:
|
6458 |
msgid "The booking was canceled by the visitor."
|
6459 |
msgstr ""
|
6460 |
|
6461 |
-
#: core/lib/wpbc_all_translations.php:1260 inc/_ps/personal.php:
|
6462 |
msgid "The booking has been canceled successfully"
|
6463 |
msgstr ""
|
6464 |
|
6465 |
-
#: core/lib/wpbc_all_translations.php:1261 inc/_ps/personal.php:
|
6466 |
msgid "Incorrect date format"
|
6467 |
msgstr ""
|
6468 |
|
6469 |
-
#: core/lib/wpbc_all_translations.php:1262 inc/_ps/personal.php:
|
6470 |
msgid "Change your Booking"
|
6471 |
msgstr ""
|
6472 |
|
6473 |
-
#: core/lib/wpbc_all_translations.php:1263 inc/_ps/personal.php:
|
6474 |
msgid "Cancel Booking"
|
6475 |
msgstr ""
|
6476 |
|
6477 |
-
#: core/lib/wpbc_all_translations.php:1264 inc/_ps/personal.php:
|
6478 |
msgid "Warning! The resource was not changed. Current dates are already booked there."
|
6479 |
msgstr ""
|
6480 |
|
6481 |
-
#: core/lib/wpbc_all_translations.php:1265 inc/_ps/personal.php:
|
6482 |
msgid "The booking has been duplicated successfully"
|
6483 |
msgstr ""
|
6484 |
|
6485 |
-
#: core/lib/wpbc_all_translations.php:1266 inc/_ps/personal.php:
|
6486 |
msgid "Warning! Operation failed. Current dates are already booked there."
|
6487 |
msgstr ""
|
6488 |
|
6489 |
-
#: core/lib/wpbc_all_translations.php:1267 inc/_ps/personal.php:
|
6490 |
msgid "Sending request..."
|
6491 |
msgstr ""
|
6492 |
|
6493 |
-
#: core/lib/wpbc_all_translations.php:1268 inc/_ps/personal.php:
|
6494 |
msgid "Order number"
|
6495 |
msgstr ""
|
6496 |
|
6497 |
-
#: core/lib/wpbc_all_translations.php:1269 inc/_ps/personal.php:
|
6498 |
msgid "Register"
|
6499 |
msgstr ""
|
6500 |
|
6501 |
-
#: core/lib/wpbc_all_translations.php:1270 inc/_ps/personal.php:
|
6502 |
msgid ""
|
6503 |
"Please, enter order number of your purchased version, which you received to your billing email."
|
6504 |
msgstr ""
|
6505 |
|
6506 |
-
#: core/lib/wpbc_all_translations.php:1271 inc/_ps/personal.php:
|
6507 |
#, php-format
|
6508 |
msgid "If you will get any difficulties or have a questions, please contact by email %s"
|
6509 |
msgstr ""
|
@@ -8005,3 +8159,7 @@ msgstr ""
|
|
8005 |
#, php-format
|
8006 |
msgid "%s - inserting link for export booking to"
|
8007 |
msgstr ""
|
|
|
|
|
|
|
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: booking\n"
|
5 |
"Report-Msgid-Bugs-To: \n"
|
6 |
+
"POT-Creation-Date: 2017-08-22 16:08+0300\n"
|
7 |
"PO-Revision-Date: \n"
|
8 |
"Last-Translator: wpdevelop <info@wpdevelop.com>\n"
|
9 |
"Language-Team: wpdevelop <info@wpbookingcalendar.com>\n"
|
163 |
msgstr ""
|
164 |
|
165 |
#: core/admin/api-settings.php:256 core/admin/api-settings.php:416 core/admin/api-settings.php:451
|
166 |
+
#: core/admin/api-settings.php:743 core/admin/page-ics-export.php:438
|
167 |
+
#: core/admin/wpbc-class-timeline.php:2205 core/lib/wpbc_all_translations.php:29
|
168 |
+
#: inc/_bl/admin/api-settings-l.php:175 inc/_bl/admin/api-settings-l.php:181
|
169 |
+
#: inc/_bl/admin/api-settings-l.php:212 inc/gateways/page-gateways.php:113
|
170 |
msgid "Note"
|
171 |
msgstr ""
|
172 |
|
187 |
msgstr ""
|
188 |
|
189 |
#: core/admin/api-settings.php:293 core/lib/wpbc_all_translations.php:34
|
190 |
+
#: core/wpbc-activation.php:1012
|
191 |
msgid "Available"
|
192 |
msgstr ""
|
193 |
|
202 |
|
203 |
#: core/admin/api-settings.php:330 core/admin/page-email-deny.php:499
|
204 |
#: core/admin/wpbc-class-listing.php:324 core/admin/wpbc-toolbars.php:538
|
205 |
+
#: core/lib/wpbc_all_translations.php:37 core/wpbc-activation.php:1016 inc/_bs/lib_s.php:322
|
206 |
+
#: inc/_ps/personal.php:347 inc/_ps/wpbc-print.php:116
|
207 |
msgid "Pending"
|
208 |
msgstr ""
|
209 |
|
217 |
msgstr ""
|
218 |
|
219 |
#: core/admin/api-settings.php:367 core/lib/wpbc_all_translations.php:40
|
220 |
+
#: core/wpbc-activation.php:1020
|
221 |
msgid "Booked"
|
222 |
msgstr ""
|
223 |
|
231 |
msgstr ""
|
232 |
|
233 |
#: core/admin/api-settings.php:405 core/lib/wpbc_all_translations.php:43
|
234 |
+
#: core/wpbc-activation.php:1026
|
235 |
msgid "Partially booked"
|
236 |
msgstr ""
|
237 |
|
309 |
|
310 |
#: core/admin/api-settings.php:535 core/admin/page-timeline.php:44 core/admin/page-timeline.php:45
|
311 |
#: core/admin/page-timeline.php:46 core/admin/wpbc-toolbars.php:471
|
312 |
+
#: core/lib/wpbc_all_translations.php:60 core/wpbc-functions.php:1604
|
313 |
msgid "Calendar Overview"
|
314 |
msgstr ""
|
315 |
|
397 |
#: inc/_bm/admin/page-availability.php:962 inc/_bm/admin/page-cost-rate.php:147
|
398 |
#: inc/_bm/admin/page-cost.php:541 inc/_bm/admin/page-seasons.php:497 inc/_bs/lib_s.php:179
|
399 |
#: inc/_bs/lib_s.php:184 inc/_mu/admin/page-users.php:422
|
400 |
+
#: inc/_ps/admin/br-table-export-feeds.php:159 inc/_ps/admin/br-table-import-gcal-p.php:139
|
401 |
+
#: inc/_ps/admin/page-resources.php:448 inc/_ps/form/class-wpbc-field-help-text.php:211
|
402 |
+
#: inc/_ps/lib_p.php:123 inc/_ps/lib_p.php:127 inc/_ps/wpbc-print.php:80
|
403 |
+
#: inc/gateways/page-gateways.php:726
|
404 |
msgid "ID"
|
405 |
msgstr ""
|
406 |
|
435 |
|
436 |
#: core/admin/api-settings.php:619 core/admin/api-settings.php:620
|
437 |
#: core/admin/wpbc-toolbar-tiny.php:1776 core/lib/wpbc_all_translations.php:82
|
438 |
+
#: inc/_bs/admin/api-settings-s.php:867 inc/_bs/lib_s.php:139 inc/_bs/lib_s.php:182
|
439 |
#: inc/_bs/lib_s.php:187 inc/_ps/wpbc-print.php:84
|
440 |
msgid "Cost"
|
441 |
msgstr ""
|
458 |
|
459 |
#: core/admin/api-settings.php:651 core/admin/wpbc-toolbars.php:1428
|
460 |
#: core/lib/wpbc_all_translations.php:87 inc/_bm/admin/api-settings-m.php:194
|
461 |
+
#: inc/_bs/admin/api-settings-s.php:407 inc/_bs/lib_s.php:54
|
462 |
msgid "Custom"
|
463 |
msgstr ""
|
464 |
|
567 |
"availability calendars). Please enter one URL per line. Example: %s"
|
568 |
msgstr ""
|
569 |
|
570 |
+
#: core/admin/api-settings.php:816
|
571 |
+
msgid "Show system debugging log for beta features"
|
572 |
+
msgstr ""
|
573 |
+
|
574 |
+
#: core/admin/api-settings.php:817
|
575 |
+
msgid "Activate this option only for testing beta features"
|
576 |
+
msgstr ""
|
577 |
+
|
578 |
+
#: core/admin/api-settings.php:833 core/lib/wpbc_all_translations.php:110
|
579 |
msgid "Show settings of powered by notice"
|
580 |
msgstr ""
|
581 |
|
582 |
+
#: core/admin/api-settings.php:834 core/lib/wpbc_all_translations.php:111
|
583 |
msgid "Hide settings of powered by notice"
|
584 |
msgstr ""
|
585 |
|
586 |
+
#: core/admin/api-settings.php:841 core/lib/wpbc_all_translations.php:112
|
587 |
msgid "Powered by notice"
|
588 |
msgstr ""
|
589 |
|
590 |
+
#: core/admin/api-settings.php:842 core/lib/wpbc_all_translations.php:113
|
591 |
msgid " Turn On/Off powered by \"Booking Calendar\" notice under the calendar."
|
592 |
msgstr ""
|
593 |
|
594 |
+
#: core/admin/api-settings.php:850 core/lib/wpbc_all_translations.php:114
|
595 |
msgid "Help and info notices"
|
596 |
msgstr ""
|
597 |
|
598 |
+
#: core/admin/api-settings.php:851 core/lib/wpbc_all_translations.php:115
|
599 |
msgid " Turn On/Off version notice and help info links at booking admin panel."
|
600 |
msgstr ""
|
601 |
|
602 |
+
#: core/admin/api-settings.php:878 core/lib/wpbc_all_translations.php:116
|
603 |
msgid "Plugin menu position"
|
604 |
msgstr ""
|
605 |
|
606 |
+
#: core/admin/api-settings.php:881 core/lib/wpbc_all_translations.php:117
|
607 |
msgid "Top"
|
608 |
msgstr ""
|
609 |
|
610 |
+
#: core/admin/api-settings.php:882 core/lib/wpbc_all_translations.php:118
|
611 |
msgid "Middle"
|
612 |
msgstr ""
|
613 |
|
614 |
+
#: core/admin/api-settings.php:883 core/lib/wpbc_all_translations.php:119
|
615 |
msgid "Bottom"
|
616 |
msgstr ""
|
617 |
|
618 |
+
#: core/admin/api-settings.php:894 core/lib/wpbc_all_translations.php:120
|
619 |
msgid "User permissions for plugin menu pages"
|
620 |
msgstr ""
|
621 |
|
622 |
+
#: core/admin/api-settings.php:909 core/admin/wpbc-class-timeline.php:62
|
623 |
#: core/admin/wpbc-toolbars.php:545 core/admin/wpbc-toolbars.php:760
|
624 |
#: core/lib/wpbc_all_translations.php:121 core/wpbc.php:136
|
625 |
msgid "Bookings"
|
626 |
msgstr ""
|
627 |
|
628 |
+
#: core/admin/api-settings.php:918 core/admin/page-new.php:32 core/admin/page-new.php:33
|
629 |
#: core/admin/page-new.php:34 core/admin/wpbc-toolbars.php:1791
|
630 |
+
#: core/lib/wpbc_all_translations.php:122 core/wpbc-functions.php:1634 core/wpbc.php:165
|
631 |
#: core/wpbc.php:166 core/wpbc.php:167
|
632 |
msgid "Add booking"
|
633 |
msgstr ""
|
634 |
|
635 |
+
#: core/admin/api-settings.php:928 core/admin/page-import-gcal.php:616
|
636 |
#: core/admin/wpbc-class-timeline.php:60 core/lib/wpbc_all_translations.php:123
|
637 |
+
#: core/wpbc-functions.php:1644 core/wpbc.php:176 core/wpbc.php:178
|
638 |
+
#: inc/_bl/admin/page-coupons.php:529 inc/_bl/admin/page-coupons.php:1339
|
639 |
#: inc/_bm/admin/page-availability.php:865 inc/_bm/admin/page-cost-rate.php:104
|
640 |
#: inc/_bm/admin/page-cost-valuation.php:131 inc/_mu/admin/page-users.php:440
|
641 |
+
#: inc/_ps/admin/br-table-export-feeds.php:163 inc/_ps/admin/br-table-import-gcal-p.php:143
|
642 |
+
#: inc/_ps/admin/page-resources.php:37 inc/_ps/admin/page-resources.php:137
|
643 |
msgid "Resources"
|
644 |
msgstr ""
|
645 |
|
646 |
+
#: core/admin/api-settings.php:937 core/lib/wpbc_all_translations.php:124
|
647 |
+
#: core/wpbc-functions.php:1699 core/wpbc.php:187 core/wpbc.php:189 core/wpbc.php:376
|
648 |
#: inc/_bl/admin/page-coupons.php:46 inc/_bm/admin/page-seasons.php:47
|
649 |
msgid "Settings"
|
650 |
msgstr ""
|
651 |
|
652 |
+
#: core/admin/api-settings.php:938 core/lib/wpbc_all_translations.php:125
|
653 |
msgid "Select user access level for the menu pages of plugin"
|
654 |
msgstr ""
|
655 |
|
656 |
+
#: core/admin/api-settings.php:956 core/lib/wpbc_all_translations.php:126
|
657 |
msgid "Delete booking data, when plugin deactivated"
|
658 |
msgstr ""
|
659 |
|
660 |
+
#: core/admin/api-settings.php:957 core/lib/wpbc_all_translations.php:127
|
661 |
msgid "Check this box to delete all booking data when you uninstal this plugin."
|
662 |
msgstr ""
|
663 |
|
664 |
+
#: core/admin/api-settings.php:983 core/admin/page-form-free.php:868
|
665 |
#: core/lib/wpbc_all_translations.php:128 core/sync/wpbc-gcal-class.php:439
|
666 |
#: core/sync/wpbc-gcal-class.php:606 core/sync/wpbc-gcal-class.php:632
|
667 |
#: inc/_bl/admin/api-settings-l.php:361 inc/_bm/admin/page-availability.php:980
|
668 |
#: inc/_bm/admin/page-cost-rate.php:175 inc/_bm/admin/page-seasons.php:510
|
669 |
+
#: inc/_ps/admin/br-table-export-feeds.php:170 inc/_ps/admin/br-table-import-gcal-p.php:150
|
670 |
msgid "Info"
|
671 |
msgstr ""
|
672 |
|
673 |
+
#: core/admin/api-settings.php:1106 core/admin/api-settings.php:1123
|
674 |
+
#: core/admin/api-settings.php:1154 core/admin/api-settings.php:1167
|
675 |
+
#: core/admin/api-settings.php:1200 core/lib/wpbc_all_translations.php:129
|
676 |
#: inc/gateways/authorizenet/wpbc-gw-authorizenet.php:507
|
677 |
#: inc/gateways/ipay88/wpbc-gw-ipay88.php:410 inc/gateways/page-gateways.php:774
|
678 |
#: inc/gateways/paypal/wpbc-gw-paypal.php:638 inc/gateways/sage/wpbc-gw-sage.php:588
|
679 |
msgid "Warning"
|
680 |
msgstr ""
|
681 |
|
682 |
+
#: core/admin/api-settings.php:1107 core/lib/wpbc_all_translations.php:130
|
683 |
msgid ""
|
684 |
"You allow unlimited number of bookings per same dates, its can be a reason of double bookings on "
|
685 |
"the same date. Do you really want to do this?"
|
686 |
msgstr ""
|
687 |
|
688 |
+
#: core/admin/api-settings.php:1124 core/lib/wpbc_all_translations.php:131
|
689 |
msgid "This feature can impact to speed of submitting booking. Do you really want to do this?"
|
690 |
msgstr ""
|
691 |
|
692 |
+
#: core/admin/api-settings.php:1155 core/admin/api-settings.php:1168
|
693 |
#: core/lib/wpbc_all_translations.php:132
|
694 |
msgid ""
|
695 |
"You are need to be sure what you are doing. You are disable of loading some JavaScripts Do you "
|
696 |
"really want to do this?"
|
697 |
msgstr ""
|
698 |
|
699 |
+
#: core/admin/api-settings.php:1201 core/lib/wpbc_all_translations.php:133
|
700 |
msgid ""
|
701 |
"If you check this option, all booking data will be deleted when you uninstall this plugin. Do "
|
702 |
"you really want to do this?"
|
705 |
#: core/admin/page-bookings.php:44 core/admin/page-bookings.php:45 core/admin/page-bookings.php:46
|
706 |
#: core/admin/page-settings.php:101 core/admin/page-settings.php:216
|
707 |
#: core/admin/wpbc-toolbars.php:456 core/lib/wpbc_all_translations.php:134
|
708 |
+
#: core/wpbc-functions.php:1612
|
709 |
msgid "Booking Listing"
|
710 |
msgstr ""
|
711 |
|
816 |
msgstr ""
|
817 |
|
818 |
#: core/admin/page-email-approved.php:304 core/lib/wpbc_all_translations.php:144
|
819 |
+
#: core/wpbc-activation.php:980
|
820 |
msgid "Your booking has been approved"
|
821 |
msgstr ""
|
822 |
|
838 |
msgstr ""
|
839 |
|
840 |
#: core/admin/page-email-approved.php:319 core/lib/wpbc_all_translations.php:147
|
841 |
+
#: core/wpbc-activation.php:982
|
842 |
#, php-format
|
843 |
msgid ""
|
844 |
"Your reservation %s for: %s has been approved.%sYou can edit the booking on this page: %s Thank "
|
846 |
msgstr ""
|
847 |
|
848 |
#: core/admin/page-email-approved.php:321 core/lib/wpbc_all_translations.php:148
|
849 |
+
#: core/wpbc-activation.php:984
|
850 |
#, php-format
|
851 |
msgid "Your booking %s for: %s has been approved.%sThank you, %s"
|
852 |
msgstr ""
|
1052 |
#: core/admin/page-email-deny.php:395 core/admin/page-email-new-admin.php:431
|
1053 |
#: core/admin/page-email-new-visitor.php:437 core/admin/page-email-trash.php:400
|
1054 |
#: core/lib/wpbc_all_translations.php:172 inc/_bs/admin/page-email-payment.php:398
|
1055 |
+
#: inc/_ps/admin/page-email-edit.php:394 inc/_ps/admin/page-settings-form.php:587
|
1056 |
#: inc/_ps/form/class-wpbc-form-help.php:92 inc/gateways/page-gateways.php:979
|
1057 |
msgid "HTML"
|
1058 |
msgstr ""
|
1085 |
msgstr ""
|
1086 |
|
1087 |
#: core/admin/page-email-approved.php:552 core/admin/wpbc-class-listing.php:325
|
1088 |
+
#: core/admin/wpbc-toolbars.php:539 core/lib/wpbc_all_translations.php:176 inc/_ps/personal.php:346
|
1089 |
#: inc/_ps/wpbc-print.php:115
|
1090 |
msgid "Approved"
|
1091 |
msgstr ""
|
1150 |
#: core/admin/page-email-new-visitor.php:705 core/admin/page-email-new-visitor.php:741
|
1151 |
#: core/admin/page-email-trash.php:674 core/admin/page-email-trash.php:710
|
1152 |
#: core/admin/page-form-free.php:134 core/admin/page-form-free.php:184
|
1153 |
+
#: core/admin/page-ics-export.php:214 core/admin/page-ics-import.php:201
|
1154 |
#: core/admin/page-import-gcal.php:703 core/admin/page-settings.php:134
|
1155 |
#: core/admin/page-settings.php:273 core/admin/wpbc-toolbars.php:1770
|
1156 |
#: core/lib/wpbc_all_translations.php:184 inc/_bl/admin/page-coupons.php:210
|
1157 |
+
#: inc/_bl/admin/page-coupons.php:1362 inc/_bl/admin/page-search.php:339
|
1158 |
#: inc/_bl/admin/page-search.php:435 inc/_bm/admin/page-availability.php:1014
|
1159 |
#: inc/_bm/admin/page-cost-advanced.php:101 inc/_bm/admin/page-cost-advanced.php:160
|
1160 |
#: inc/_bm/admin/page-cost-deposit.php:361 inc/_bm/admin/page-cost-rate.php:230
|
1163 |
#: inc/_bm/admin/page-seasons.php:1422 inc/_bs/admin/page-email-payment.php:671
|
1164 |
#: inc/_bs/admin/page-email-payment.php:707 inc/_mu/admin/page-users.php:163
|
1165 |
#: inc/_ps/admin/page-email-edit.php:667 inc/_ps/admin/page-email-edit.php:703
|
1166 |
+
#: inc/_ps/admin/page-resources.php:188 inc/_ps/admin/page-settings-form.php:113
|
1167 |
+
#: inc/_ps/admin/page-settings-form.php:175 inc/gateways/authorizenet/wpbc-gw-authorizenet.php:855
|
1168 |
#: inc/gateways/bank_transfer/wpbc-gw-bank_transfer.php:484
|
1169 |
#: inc/gateways/ideal/wpbc-gw-ideal.php:913 inc/gateways/ipay88/wpbc-gw-ipay88.php:774
|
1170 |
#: inc/gateways/page-gateways.php:544 inc/gateways/pay_cash/wpbc-gw-pay_cash.php:398
|
1184 |
#: core/admin/page-email-approved.php:747 core/admin/page-email-deleted.php:694
|
1185 |
#: core/admin/page-email-deny.php:694 core/admin/page-email-new-admin.php:727
|
1186 |
#: core/admin/page-email-new-visitor.php:730 core/admin/page-email-trash.php:699
|
1187 |
+
#: core/admin/page-ics-import.php:192 core/admin/page-import-gcal.php:685
|
1188 |
+
#: core/admin/page-settings.php:128 core/admin/page-settings.php:265
|
1189 |
+
#: core/admin/wpbc-toolbars.php:425 core/admin/wpbc-toolbars.php:431
|
1190 |
+
#: core/lib/wpbc_all_translations.php:186 inc/_bl/admin/page-search.php:389
|
1191 |
+
#: inc/_bl/admin/page-search.php:417 inc/_bm/admin/page-cost-advanced.php:154
|
1192 |
+
#: inc/_bs/admin/page-email-payment.php:696 inc/_ps/admin/page-email-edit.php:692
|
1193 |
+
#: inc/_ps/admin/page-settings-form.php:169
|
1194 |
#: inc/gateways/bank_transfer/wpbc-gw-bank_transfer.php:447 inc/gateways/page-gateways.php:533
|
1195 |
#: inc/gateways/pay_cash/wpbc-gw-pay_cash.php:389 inc/gateways/paypal/wpbc-gw-paypal.php:1052
|
1196 |
#: inc/gateways/paypal/wpbc-gw-paypal.php:1069
|
1249 |
|
1250 |
#: core/admin/page-email-deleted.php:254 core/admin/page-email-deny.php:254
|
1251 |
#: core/admin/page-email-trash.php:259 core/lib/wpbc_all_translations.php:192
|
1252 |
+
#: core/wpbc-activation.php:991
|
1253 |
msgid "Your booking has been declined"
|
1254 |
msgstr ""
|
1255 |
|
1256 |
#: core/admin/page-email-deleted.php:268 core/admin/page-email-deny.php:268
|
1257 |
#: core/admin/page-email-trash.php:273 core/lib/wpbc_all_translations.php:193
|
1258 |
+
#: core/wpbc-activation.php:992
|
1259 |
#, php-format
|
1260 |
msgid "Your booking %s for: %s has been canceled. %sThank you, %s"
|
1261 |
msgstr ""
|
1262 |
|
1263 |
+
#: core/admin/page-email-deleted.php:499 core/lib/wpbc-ajax.php:328
|
1264 |
#: core/lib/wpbc_all_translations.php:194 inc/_bl/admin/page-coupons.php:368
|
1265 |
+
#: inc/_bl/admin/page-coupons.php:1010 inc/_bm/admin/page-availability.php:358
|
1266 |
#: inc/_bm/admin/page-cost.php:313 inc/_bm/admin/page-seasons.php:305
|
1267 |
+
#: inc/_bm/admin/page-seasons.php:832 inc/_bm/m-toolbar.php:546
|
1268 |
+
#: inc/_ps/admin/page-resources.php:312 inc/_ps/personal.php:167
|
1269 |
msgid "Deleted"
|
1270 |
msgstr ""
|
1271 |
|
1289 |
|
1290 |
#: core/admin/page-email-new-admin.php:292 core/admin/page-email-new-visitor.php:292
|
1291 |
#: core/admin/wpbc-class-listing.php:297 core/lib/wpbc_all_translations.php:199
|
1292 |
+
#: core/wpbc-activation.php:962 core/wpbc-activation.php:969
|
1293 |
msgid "New booking"
|
1294 |
msgstr ""
|
1295 |
|
1296 |
#: core/admin/page-email-new-admin.php:308 core/lib/wpbc_all_translations.php:200
|
1297 |
+
#: core/wpbc-activation.php:963
|
1298 |
#, php-format
|
1299 |
msgid ""
|
1300 |
"You need to approve a new booking %s for: %s Person detail information:%s Currently a new "
|
1302 |
msgstr ""
|
1303 |
|
1304 |
#: core/admin/page-email-new-admin.php:503 core/lib/wpbc_all_translations.php:201
|
1305 |
+
#: core/wpbc-functions.php:1716
|
1306 |
msgid "Emails"
|
1307 |
msgstr ""
|
1308 |
|
1324 |
msgstr ""
|
1325 |
|
1326 |
#: core/admin/page-email-new-visitor.php:307 core/lib/wpbc_all_translations.php:206
|
1327 |
+
#: core/wpbc-activation.php:971
|
1328 |
#, php-format
|
1329 |
msgid ""
|
1330 |
"Your reservation %s for: %s is processing now! We will send confirmation by email. %sYou can "
|
1332 |
msgstr ""
|
1333 |
|
1334 |
#: core/admin/page-email-new-visitor.php:309 core/lib/wpbc_all_translations.php:207
|
1335 |
+
#: core/wpbc-activation.php:973
|
1336 |
#, php-format
|
1337 |
msgid ""
|
1338 |
"Your reservation %s for: %s is processing now! We will send confirmation by email. %s Thank you, "
|
1352 |
msgstr ""
|
1353 |
|
1354 |
#: core/admin/page-email-trash.php:504 core/admin/wpbc-class-listing.php:327
|
1355 |
+
#: core/admin/wpbc-class-timeline.php:2190 core/admin/wpbc-toolbars.php:983
|
1356 |
#: core/lib/wpbc_all_translations.php:211
|
1357 |
msgid "Trash"
|
1358 |
msgstr ""
|
1363 |
|
1364 |
#: core/admin/page-form-free.php:56 core/admin/page-settings.php:96
|
1365 |
#: core/admin/page-settings.php:209 core/lib/wpbc_all_translations.php:213
|
1366 |
+
#: core/wpbc-functions.php:1708 inc/_ps/admin/page-settings-form.php:38
|
1367 |
msgid "Form"
|
1368 |
msgstr ""
|
1369 |
|
1370 |
#: core/admin/page-form-free.php:57 core/lib/wpbc_all_translations.php:214
|
1371 |
+
#: inc/_ps/admin/page-settings-form.php:39
|
1372 |
msgid "Fields Settings"
|
1373 |
msgstr ""
|
1374 |
|
1375 |
#: core/admin/page-form-free.php:58 core/lib/wpbc_all_translations.php:215
|
1376 |
+
#: inc/_ps/admin/page-settings-form.php:40
|
1377 |
msgid "Customizaton of Form Fields"
|
1378 |
msgstr ""
|
1379 |
|
1393 |
|
1394 |
#: core/admin/page-form-free.php:250 core/admin/page-form-free.php:374
|
1395 |
#: core/admin/page-form-free.php:501 core/lib/wpbc_all_translations.php:219
|
1396 |
+
#: core/lib/wpdev-booking-class.php:632 inc/_ps/personal.php:1985
|
1397 |
#: inc/_ps/wpbc-form-templates.php:41 inc/_ps/wpbc-form-templates.php:60
|
1398 |
#: inc/_ps/wpbc-form-templates.php:80 inc/_ps/wpbc-form-templates.php:103
|
1399 |
#: inc/_ps/wpbc-form-templates.php:126
|
1421 |
msgstr ""
|
1422 |
|
1423 |
#: core/admin/page-form-free.php:795 core/admin/page-form-free.php:830
|
1424 |
+
#: core/lib/wpbc_all_translations.php:223 inc/_ps/admin/page-settings-form.php:300
|
1425 |
msgid "Select"
|
1426 |
msgstr ""
|
1427 |
|
1470 |
#: core/admin/page-form-free.php:977 core/admin/page-form-free.php:1361
|
1471 |
#: core/admin/page-form-free.php:1431 core/admin/page-form-free.php:1752
|
1472 |
#: core/lib/wpbc_all_translations.php:233 inc/_bl/admin/page-coupons.php:205
|
1473 |
+
#: inc/_bl/admin/page-coupons.php:792 inc/_bl/admin/page-coupons.php:980
|
1474 |
#: inc/_bm/admin/page-cost.php:208 inc/_bm/admin/page-seasons.php:192
|
1475 |
#: inc/_bm/admin/page-seasons.php:588 inc/_bm/admin/page-seasons.php:804
|
1476 |
#: inc/_bm/admin/page-seasons.php:810 inc/_ps/admin/page-resources.php:183
|
1551 |
msgstr ""
|
1552 |
|
1553 |
#: core/admin/page-form-free.php:1757 core/lib/wpbc_all_translations.php:247
|
1554 |
+
#: inc/_bm/m-toolbar.php:366 inc/_bm/m-toolbar.php:367 inc/_ps/p-toolbar.php:348
|
1555 |
#: inc/_ps/p-toolbar.php:398 inc/_ps/p-toolbar.php:431
|
1556 |
msgid "Cancel"
|
1557 |
msgstr ""
|
1558 |
|
1559 |
+
#: core/admin/page-ics-export.php:41 core/admin/page-ics-export.php:42
|
1560 |
+
#: core/admin/page-ics-import.php:39 core/admin/page-ics-import.php:40
|
1561 |
+
#: core/admin/page-import-gcal.php:494 core/admin/page-import-gcal.php:495
|
1562 |
+
#: core/wpbc-functions.php:1733
|
1563 |
+
msgid "Sync"
|
1564 |
+
msgstr ""
|
1565 |
+
|
1566 |
+
#: core/admin/page-ics-export.php:43 core/admin/page-ics-import.php:41
|
1567 |
+
#: core/admin/page-ics-import.php:58 core/admin/page-ics-import.php:59
|
1568 |
+
#: core/admin/page-ics-import.php:61 core/admin/page-ics-import.php:184
|
1569 |
+
#: core/admin/page-ics-import.php:461 core/admin/page-import-gcal.php:496
|
1570 |
+
#: core/lib/wpbc_all_translations.php:304 core/sync/wpbc-gcal.php:465
|
1571 |
+
msgid "Import"
|
1572 |
+
msgstr ""
|
1573 |
+
|
1574 |
+
#: core/admin/page-ics-export.php:43 core/admin/page-ics-export.php:60
|
1575 |
+
#: core/admin/page-ics-export.php:61 core/admin/page-ics-export.php:63
|
1576 |
+
#: core/admin/page-ics-export.php:206 core/admin/page-ics-import.php:41
|
1577 |
+
#: core/admin/page-import-gcal.php:496 core/lib/wpbc_all_translations.php:1233
|
1578 |
+
#: inc/_ps/p-toolbar.php:142
|
1579 |
+
msgid "Export"
|
1580 |
+
msgstr ""
|
1581 |
+
|
1582 |
+
#: core/admin/page-ics-export.php:63 core/admin/page-ics-export.php:206
|
1583 |
+
msgid "feed"
|
1584 |
+
msgstr ""
|
1585 |
+
|
1586 |
+
#: core/admin/page-ics-export.php:147 core/admin/page-ics-import.php:161
|
1587 |
+
#: core/lib/wpbc_all_translations.php:684 inc/_bl/admin/api-settings-l.php:158
|
1588 |
+
#: inc/_bm/admin/api-settings-m.php:84 inc/_ps/form/class-wpbc-form-help.php:117
|
1589 |
+
#: inc/_ps/form/class-wpbc-form-help.php:126 inc/_ps/form/class-wpbc-form-help.php:136
|
1590 |
+
#: inc/_ps/form/class-wpbc-form-help.php:197 inc/_ps/form/class-wpbc-form-help.php:228
|
1591 |
+
#: inc/_ps/form/class-wpbc-form-help.php:230 inc/_ps/form/class-wpbc-form-help.php:278
|
1592 |
+
#: inc/_ps/form/class-wpbc-form-help.php:291 inc/_ps/form/class-wpbc-form-help.php:303
|
1593 |
+
#: inc/_ps/form/class-wpbc-form-help.php:305 inc/_ps/form/class-wpbc-form-help.php:341
|
1594 |
+
#: inc/_ps/form/class-wpbc-form-help.php:343 inc/_ps/form/class-wpbc-form-help.php:380
|
1595 |
+
#: inc/_ps/form/class-wpbc-form-help.php:382 inc/_ps/form/class-wpbc-form-help.php:497
|
1596 |
+
#: inc/_ps/form/class-wpbc-form-help.php:515 inc/_ps/form/class-wpbc-form-help.php:645
|
1597 |
+
#: inc/_ps/form/class-wpbc-form-help.php:659 inc/gateways/authorizenet/wpbc-gw-authorizenet.php:405
|
1598 |
+
#: inc/gateways/authorizenet/wpbc-gw-authorizenet.php:818
|
1599 |
+
#: inc/gateways/ipay88/wpbc-gw-ipay88.php:741 inc/gateways/sage/wpbc-gw-sage.php:872
|
1600 |
+
msgid "Important!"
|
1601 |
+
msgstr ""
|
1602 |
+
|
1603 |
+
#: core/admin/page-ics-export.php:149 core/admin/page-ics-import.php:163
|
1604 |
+
#, php-format
|
1605 |
+
msgid "This feature require %s plugin. You can install %s plugin from this %spage%s."
|
1606 |
+
msgstr ""
|
1607 |
+
|
1608 |
+
#: core/admin/page-ics-export.php:160 core/admin/page-ics-export.php:218
|
1609 |
+
#: core/admin/page-ics-import.php:174
|
1610 |
+
msgid "How it works"
|
1611 |
+
msgstr ""
|
1612 |
+
|
1613 |
+
#: core/admin/page-ics-export.php:418 core/admin/page-ics-export.php:421
|
1614 |
+
msgid ".ics feed URL"
|
1615 |
+
msgstr ""
|
1616 |
+
|
1617 |
+
#: core/admin/page-ics-export.php:434 inc/_ps/admin/br-table-export-feeds.php:62
|
1618 |
+
msgid "Open in new window"
|
1619 |
+
msgstr ""
|
1620 |
+
|
1621 |
+
#: core/admin/page-ics-export.php:436
|
1622 |
+
msgid "Please enter URL for generating .ics feed"
|
1623 |
+
msgstr ""
|
1624 |
+
|
1625 |
+
#: core/admin/page-ics-export.php:439
|
1626 |
+
msgid "This .ics feed of bookings starting from today for 1 year"
|
1627 |
+
msgstr ""
|
1628 |
+
|
1629 |
+
#: core/admin/page-ics-import.php:61
|
1630 |
+
msgid "feeds"
|
1631 |
+
msgstr ""
|
1632 |
+
|
1633 |
+
#: core/admin/page-ics-import.php:430 core/admin/wpbc-toolbar-tiny.php:324
|
1634 |
+
#: core/lib/wpbc_all_translations.php:383 inc/_bl/admin/page-coupons.php:1393
|
1635 |
+
#: inc/_ps/p-toolbar.php:912 inc/_ps/p-toolbar.php:943
|
1636 |
+
msgid "parent resource"
|
1637 |
+
msgstr ""
|
1638 |
+
|
1639 |
+
#: core/admin/page-ics-import.php:452
|
1640 |
+
msgid "Enter URL to .ics feed"
|
1641 |
+
msgstr ""
|
1642 |
+
|
1643 |
+
#: core/admin/page-ics-import.php:457
|
1644 |
+
msgid "Choose file"
|
1645 |
+
msgstr ""
|
1646 |
+
|
1647 |
+
#: core/admin/page-ics-import.php:458
|
1648 |
+
msgid "Insert file URL"
|
1649 |
+
msgstr ""
|
1650 |
+
|
1651 |
+
#: core/admin/page-ics-import.php:459
|
1652 |
+
msgid "Upload / Select "
|
1653 |
+
msgstr ""
|
1654 |
+
|
1655 |
+
#: core/admin/page-ics-import.php:495
|
1656 |
+
msgid "What does .ics feeds import/export mean?"
|
1657 |
+
msgstr ""
|
1658 |
+
|
1659 |
+
#: core/admin/page-ics-import.php:503
|
1660 |
+
#, php-format
|
1661 |
+
msgid "Its useful, if you need to import/export bookings from/to external websites, like %s"
|
1662 |
+
msgstr ""
|
1663 |
+
|
1664 |
+
#: core/admin/page-ics-import.php:511
|
1665 |
+
msgid "and any other calendar that uses .ics format"
|
1666 |
+
msgstr ""
|
1667 |
+
|
1668 |
+
#: core/admin/page-ics-import.php:525 core/class/wpbc-class-welcome.php:397
|
1669 |
+
#, php-format
|
1670 |
+
msgid ""
|
1671 |
+
".ics - is a file format of iCalendar standard for exchanging calendar and scheduling information "
|
1672 |
+
"between different sources %s Using a common calendar format (.ics), you can keep all your "
|
1673 |
+
"calendars updated and synchronized."
|
1674 |
+
msgstr ""
|
1675 |
+
|
1676 |
+
#: core/admin/page-ics-import.php:546
|
1677 |
+
msgid "How to start import of .ics feeds (files)?"
|
1678 |
+
msgstr ""
|
1679 |
+
|
1680 |
+
#: core/admin/page-ics-import.php:553 core/admin/page-ics-import.php:600
|
1681 |
+
#, php-format
|
1682 |
+
msgid "Install %s plugin."
|
1683 |
+
msgstr ""
|
1684 |
+
|
1685 |
+
#: core/admin/page-ics-import.php:557
|
1686 |
+
#, php-format
|
1687 |
+
msgid ""
|
1688 |
+
"Insert %s shortcode into some post(s) or page(s). Check more info about this %sshortcode "
|
1689 |
+
"configuration%s"
|
1690 |
+
msgstr ""
|
1691 |
+
|
1692 |
+
#: core/admin/page-ics-import.php:566
|
1693 |
+
#, php-format
|
1694 |
+
msgid ""
|
1695 |
+
"Using such shortcodes in pages give a great flexibility to import from different .ics feeds "
|
1696 |
+
"(sources) into the same resource.%sAlso its possible to define different CRON parameters for "
|
1697 |
+
"accessing such different pages with different time intervals."
|
1698 |
+
msgstr ""
|
1699 |
+
|
1700 |
+
#: core/admin/page-ics-import.php:575
|
1701 |
+
msgid "Or you can import .ics feed or file directly at current page."
|
1702 |
+
msgstr ""
|
1703 |
+
|
1704 |
+
#: core/admin/page-ics-import.php:582
|
1705 |
+
#, php-format
|
1706 |
+
msgid ""
|
1707 |
+
"If you have inserted import shortcodes from %s, then you can configure your CRON for "
|
1708 |
+
"periodically access these pages and import .ics feeds."
|
1709 |
+
msgstr ""
|
1710 |
+
|
1711 |
+
#: core/admin/page-ics-import.php:593
|
1712 |
+
msgid "How to start export of .ics feeds (files)?"
|
1713 |
+
msgstr ""
|
1714 |
+
|
1715 |
+
#: core/admin/page-ics-import.php:604
|
1716 |
+
msgid "Confgure ULR feed(s) at this settings page."
|
1717 |
+
msgstr ""
|
1718 |
+
|
1719 |
+
#: core/admin/page-ics-import.php:609
|
1720 |
+
#, php-format
|
1721 |
+
msgid ""
|
1722 |
+
"Using such URL(s) you can import .ics feeds, from interface of other websites. %sCheck more "
|
1723 |
+
"info about how to import .ics feeds into other websites at the support pages of sepcific "
|
1724 |
+
"website."
|
1725 |
+
msgstr ""
|
1726 |
+
|
1727 |
+
#: core/admin/page-ics-import.php:618
|
1728 |
+
msgid "Visit these (previosly configured URL feeds) pages for downloading .ics files."
|
1729 |
+
msgstr ""
|
1730 |
+
|
1731 |
+
#: core/admin/page-ics-import.php:673 core/lib/wpbc_all_translations.php:573
|
1732 |
+
#: core/sync/wpbc-gcal-class.php:457 core/sync/wpbc-gcal.php:102 inc/_ps/personal.php:418
|
1733 |
+
msgid "Done"
|
1734 |
+
msgstr ""
|
1735 |
+
|
1736 |
#: core/admin/page-import-gcal.php:64 core/admin/wpbc-toolbar-tiny.php:868
|
1737 |
#: core/admin/wpbc-toolbar-tiny.php:1083 core/admin/wpbc-toolbar-tiny.php:1164
|
1738 |
#: core/lib/wpbc_all_translations.php:248 inc/_bm/admin/api-settings-m.php:58
|
1769 |
|
1770 |
#: core/admin/page-import-gcal.php:140 core/lib/wpbc_all_translations.php:255
|
1771 |
#: inc/_bm/admin/api-settings-m.php:96 inc/_bm/admin/api-settings-m.php:98
|
1772 |
+
#: inc/_bs/admin/api-settings-s.php:479 inc/_bs/admin/api-settings-s.php:845
|
1773 |
msgid "hour"
|
1774 |
msgstr ""
|
1775 |
|
1777 |
#: core/admin/page-import-gcal.php:386 core/admin/wpbc-toolbar-tiny.php:627
|
1778 |
#: core/lib/wpbc_all_translations.php:256 core/sync/wpbc-gcal.php:207 core/sync/wpbc-gcal.php:271
|
1779 |
#: inc/_bm/admin/api-settings-m.php:65 inc/_bm/admin/api-settings-m.php:102
|
1780 |
+
#: inc/_bs/admin/api-settings-s.php:483
|
1781 |
msgid "hours"
|
1782 |
msgstr ""
|
1783 |
|
1784 |
#: core/admin/page-import-gcal.php:144 core/admin/wpbc-toolbars.php:556
|
1785 |
#: core/admin/wpbc-toolbars.php:790 core/lib/wpbc_all_translations.php:257 core/wpbc-emails.php:204
|
1786 |
#: inc/_bm/admin/page-cost-advanced.php:439 inc/_bm/admin/page-cost-deposit.php:222
|
1787 |
+
#: inc/_bm/admin/page-cost-valuation.php:344 inc/_bs/admin/api-settings-s.php:485
|
1788 |
+
#: inc/_bs/admin/api-settings-s.php:839
|
1789 |
msgid "day"
|
1790 |
msgstr ""
|
1791 |
|
1799 |
#: core/sync/wpbc-gcal.php:208 core/sync/wpbc-gcal.php:272 inc/_bl/admin/page-search.php:81
|
1800 |
#: inc/_bm/admin/page-cost-deposit.php:224 inc/_bm/admin/page-cost-valuation.php:188
|
1801 |
#: inc/_bm/admin/page-cost-valuation.php:346 inc/_bm/admin/page-cost-valuation.php:478
|
1802 |
+
#: inc/_bm/admin/page-seasons.php:1035 inc/_bs/admin/api-settings-s.php:487
|
1803 |
#: inc/_ps/wpbc-form-templates.php:241
|
1804 |
msgid "days"
|
1805 |
msgstr ""
|
1842 |
|
1843 |
#: core/admin/page-import-gcal.php:205 core/admin/wpbc-class-listing.php:203
|
1844 |
#: core/lib/wpbc_all_translations.php:266 core/sync/wpbc-gcal.php:314
|
1845 |
+
#: inc/_bl/admin/activation-l.php:117 inc/_mu/multiuser.php:595 inc/_ps/admin/activation-p.php:45
|
1846 |
msgid "Default"
|
1847 |
msgstr ""
|
1848 |
|
1924 |
#: core/admin/page-import-gcal.php:303 core/admin/page-import-gcal.php:385
|
1925 |
#: core/lib/wpbc_all_translations.php:282 core/sync/wpbc-gcal.php:206 core/sync/wpbc-gcal.php:270
|
1926 |
#: inc/_bm/admin/api-settings-m.php:65 inc/_bm/admin/api-settings-m.php:94
|
1927 |
+
#: inc/_bm/admin/api-settings-m.php:98 inc/_bs/admin/api-settings-s.php:476
|
1928 |
+
#: inc/_bs/admin/api-settings-s.php:477 inc/_bs/admin/api-settings-s.php:478
|
1929 |
+
#: inc/_ps/admin/page-settings-form.php:360 inc/_ps/admin/page-settings-form.php:370
|
1930 |
msgid "minutes"
|
1931 |
msgstr ""
|
1932 |
|
2030 |
"%suse the Calendar ID only, not the entire XML feed URL%s."
|
2031 |
msgstr ""
|
2032 |
|
2033 |
+
#: core/admin/page-import-gcal.php:513 core/admin/page-import-gcal.php:514
|
2034 |
+
#: core/admin/page-import-gcal.php:515 core/lib/wpbc_all_translations.php:583
|
2035 |
+
#: core/sync/wpbc-gcal.php:443 core/sync/wpbc-gcal.php:466
|
2036 |
+
msgid "Import Google Calendar Events"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2037 |
msgstr ""
|
2038 |
|
2039 |
#: core/admin/page-import-gcal.php:609 core/admin/page-settings.php:73
|
2072 |
msgstr ""
|
2073 |
|
2074 |
#: core/admin/page-settings.php:91 core/admin/page-settings.php:202
|
2075 |
+
#: core/lib/wpbc_all_translations.php:316 core/wpbc-functions.php:1680
|
2076 |
#: inc/_bm/admin/page-availability.php:46 inc/_bm/admin/page-availability.php:497
|
2077 |
#: inc/_bm/admin/page-availability.php:588 inc/_bm/admin/page-availability.php:589
|
2078 |
#: inc/_ps/wpbc-form-templates.php:275 inc/_ps/wpbc-form-templates.php:292
|
2086 |
#: core/admin/page-settings.php:113 core/admin/page-settings.php:235
|
2087 |
#: core/lib/wpbc_all_translations.php:318 inc/_bl/admin/page-search.php:589
|
2088 |
#: inc/_bl/admin/page-search.php:623 inc/_bl/wpbc-search-availability.php:167
|
2089 |
+
#: inc/_bl/wpbc-search-availability.php:615 inc/gateways/authorizenet/wpbc-gw-authorizenet.php:846
|
2090 |
#: inc/gateways/ideal/wpbc-gw-ideal.php:904 inc/gateways/ipay88/wpbc-gw-ipay88.php:765
|
2091 |
#: inc/gateways/paypal/wpbc-gw-paypal.php:1045 inc/gateways/sage/wpbc-gw-sage.php:894
|
2092 |
msgid "Advanced"
|
2115 |
|
2116 |
#: core/admin/wpbc-class-listing.php:102 core/admin/wpbc-toolbar-tiny.php:1513
|
2117 |
#: core/admin/wpbc-toolbar-tiny.php:1522 core/lib/wpbc_all_translations.php:324
|
2118 |
+
#: inc/_bl/admin/page-coupons.php:990 inc/_bl/admin/page-coupons.php:992
|
2119 |
+
#: inc/_bl/wpbc-search-availability.php:625 inc/_bl/wpdev-booking-search-widget.php:75
|
2120 |
#: inc/_bm/admin/page-availability.php:805 inc/_bm/admin/page-cost-deposit.php:81
|
2121 |
#: inc/_bm/admin/page-cost-rate.php:77 inc/_bm/admin/page-cost-valuation.php:102
|
2122 |
#: inc/_bm/admin/page-seasons.php:815 inc/_bm/admin/page-seasons.php:817
|
2231 |
msgid "Sun"
|
2232 |
msgstr ""
|
2233 |
|
2234 |
+
#: core/admin/wpbc-class-timeline.php:1125 core/admin/wpbc-class-timeline.php:1358
|
2235 |
#: core/lib/wpbc_all_translations.php:348 inc/_ps/wpbc-form-templates.php:153
|
2236 |
msgid "Times"
|
2237 |
msgstr ""
|
2238 |
|
2239 |
+
#: core/admin/wpbc-class-timeline.php:2165 core/admin/wpbc-class-timeline.php:2167
|
2240 |
+
#: core/lib/wpbc_all_translations.php:349 core/wpbc-functions.php:1725 inc/_bs/lib_s.php:42
|
2241 |
+
#: inc/_bs/lib_s.php:267 inc/_bs/lib_s.php:269 inc/_ps/admin/page-settings-form.php:340
|
2242 |
msgid "Payment"
|
2243 |
msgstr ""
|
2244 |
|
2245 |
#: core/admin/wpbc-dashboard.php:35 core/admin/wpbc-toolbar-tiny.php:224
|
2246 |
#: core/lib/wpbc_all_translations.php:350 core/lib/wpdev-booking-widget.php:14
|
2247 |
+
#: core/wpbc-functions.php:1576 core/wpbc.php:138 core/wpbc.php:167 core/wpbc.php:178
|
2248 |
#: core/wpbc.php:189
|
2249 |
msgid "Booking Calendar"
|
2250 |
msgstr ""
|
2274 |
msgid "Rate plugin (thanks:)"
|
2275 |
msgstr ""
|
2276 |
|
2277 |
+
#: core/admin/wpbc-dashboard.php:370 core/class/wpbc-class-welcome.php:1337
|
2278 |
+
#: core/class/wpbc-class-welcome.php:1786 core/lib/wpbc_all_translations.php:357
|
2279 |
#: inc/_ps/admin/page-settings-up.php:142
|
2280 |
msgid "Purchase"
|
2281 |
msgstr ""
|
2282 |
|
2283 |
#: core/admin/wpbc-dashboard.php:370 core/admin/wpbc-toolbars.php:435
|
2284 |
+
#: core/class/wpbc-class-welcome.php:1337 core/class/wpbc-class-welcome.php:1786
|
2285 |
#: core/lib/wpbc_all_translations.php:358 inc/_ps/admin/page-settings-up.php:142
|
2286 |
msgid "Upgrade Now"
|
2287 |
msgstr ""
|
2359 |
|
2360 |
#: core/admin/wpbc-toolbar-tiny.php:237 core/admin/wpbc-toolbar-tiny.php:691
|
2361 |
#: core/admin/wpbc-toolbar-tiny.php:1192 core/admin/wpbc-toolbar-tiny.php:1608
|
2362 |
+
#: core/lib/wpbc_all_translations.php:376 inc/_bm/m-toolbar.php:29 inc/_bm/m-toolbar.php:113
|
2363 |
+
#: inc/_bm/m-toolbar.php:391
|
2364 |
msgid "Booking Form"
|
2365 |
msgstr ""
|
2366 |
|
2373 |
msgstr ""
|
2374 |
|
2375 |
#: core/admin/wpbc-toolbar-tiny.php:243 core/lib/wpbc_all_translations.php:379
|
2376 |
+
#: core/wpbc-functions.php:1743 inc/_bl/admin/page-search.php:247 inc/_bl/biz_l.php:748
|
2377 |
+
#: inc/_bl/biz_l.php:761
|
2378 |
msgid "Search"
|
2379 |
msgstr ""
|
2380 |
|
2391 |
msgid "Insert into page"
|
2392 |
msgstr ""
|
2393 |
|
|
|
|
|
|
|
|
|
|
|
2394 |
#: core/admin/wpbc-toolbar-tiny.php:364 core/admin/wpbc-toolbar-tiny.php:1144
|
2395 |
#: core/lib/wpbc_all_translations.php:384 core/wpbc.php:177 inc/_ps/admin/page-resources.php:39
|
2396 |
+
#: inc/_ps/p-toolbar.php:684
|
2397 |
msgid "Booking resources"
|
2398 |
msgstr ""
|
2399 |
|
2448 |
#: core/admin/wpbc-toolbar-tiny.php:667 core/admin/wpbc-toolbar-tiny.php:910
|
2449 |
#: core/admin/wpbc-toolbar-tiny.php:1584 core/admin/wpbc-toolbar-tiny.php:1756
|
2450 |
#: core/lib/wpbc_all_translations.php:396 core/lib/wpdev-booking-widget.php:116
|
2451 |
+
#: inc/_ps/admin/br-table-import-gcal-p.php:169 inc/_ps/p-toolbar.php:884
|
2452 |
#: inc/_ps/wpbc-booking-select-widget.php:153
|
2453 |
msgid "Booking resource"
|
2454 |
msgstr ""
|
2622 |
msgstr ""
|
2623 |
|
2624 |
#: core/admin/wpbc-toolbar-tiny.php:1197 core/lib/wpbc_all_translations.php:424
|
2625 |
+
#: inc/_bm/admin/api-settings-m.php:411 inc/_ps/p-toolbar.php:1167
|
2626 |
msgid "Default Form"
|
2627 |
msgstr ""
|
2628 |
|
2641 |
msgstr ""
|
2642 |
|
2643 |
#: core/admin/wpbc-toolbar-tiny.php:1232 core/lib/wpbc_all_translations.php:428
|
2644 |
+
#: inc/_ps/personal.php:520
|
2645 |
msgid "Please Select"
|
2646 |
msgstr ""
|
2647 |
|
2665 |
msgstr ""
|
2666 |
|
2667 |
#: core/admin/wpbc-toolbar-tiny.php:1438 core/lib/wpbc_all_translations.php:433
|
2668 |
+
#: inc/_bl/wpbc-search-availability.php:167 inc/_bl/wpbc-search-availability.php:615
|
2669 |
+
#: inc/_bl/wpbc-search-availability.php:630
|
2670 |
msgid "Search results"
|
2671 |
msgstr ""
|
2672 |
|
2761 |
msgstr ""
|
2762 |
|
2763 |
#: core/admin/wpbc-toolbar-tiny.php:1778 core/lib/wpbc_all_translations.php:453
|
2764 |
+
#: inc/_bl/admin/api-settings-l.php:457 inc/_ps/admin/br-table-export-feeds.php:72
|
2765 |
+
#: inc/_ps/admin/br-table-import-gcal-p.php:62
|
2766 |
msgid "Capacity"
|
2767 |
msgstr ""
|
2768 |
|
2884 |
msgstr ""
|
2885 |
|
2886 |
#: core/admin/wpbc-toolbars.php:591 core/lib/wpbc_all_translations.php:480
|
2887 |
+
#: core/wpbc-functions.php:2245
|
2888 |
msgid "Next"
|
2889 |
msgstr ""
|
2890 |
|
2944 |
#: inc/_bm/admin/page-availability.php:234 inc/_bm/admin/page-availability.php:240
|
2945 |
#: inc/_bm/admin/page-cost-valuation.php:564 inc/_bm/admin/page-cost.php:212
|
2946 |
#: inc/_bm/admin/page-cost.php:221 inc/_bm/admin/page-seasons.php:193
|
2947 |
+
#: inc/_bm/admin/page-seasons.php:199 inc/_bm/m-toolbar.php:286
|
2948 |
#: inc/_ps/admin/page-resources.php:184 inc/_ps/admin/page-resources.php:190
|
2949 |
msgid "Delete"
|
2950 |
msgstr ""
|
3117 |
msgstr ""
|
3118 |
|
3119 |
#: core/class/wpbc-class-dismiss.php:22 core/lib/wpbc_all_translations.php:532
|
3120 |
+
#: core/wpbc-functions.php:2493
|
3121 |
msgid "Dismiss"
|
3122 |
msgstr ""
|
3123 |
|
3124 |
#: core/class/wpbc-class-notices.php:25 core/lib/wpbc_all_translations.php:533
|
3125 |
+
#: core/sync/wpbc-gcal.php:398 inc/_bm/admin/page-cost-valuation.php:288 inc/_mu/multiuser.php:728
|
3126 |
msgid "Warning!"
|
3127 |
msgstr ""
|
3128 |
|
3134 |
msgstr ""
|
3135 |
|
3136 |
#: core/class/wpbc-class-notices.php:104 core/lib/wpbc_all_translations.php:535
|
3137 |
+
#: core/sync/wpbc-gcal-class.php:668 core/wpbc-functions.php:2097
|
3138 |
msgid "Hide"
|
3139 |
msgstr ""
|
3140 |
|
3141 |
+
#: core/lib/wpbc-ajax.php:32 core/lib/wpbc-ajax.php:83 core/lib/wpbc_all_translations.php:536
|
3142 |
+
#: inc/gateways/ideal/wpbc-gw-ideal.php:1100
|
3143 |
#, php-format
|
3144 |
msgid ""
|
3145 |
"%sError!%s Request do not pass security check! Please refresh the page and try one more time."
|
3146 |
msgstr ""
|
3147 |
|
3148 |
+
#: core/lib/wpbc-ajax.php:132 core/lib/wpbc_all_translations.php:537
|
3149 |
msgid "Set as Unread"
|
3150 |
msgstr ""
|
3151 |
|
3152 |
+
#: core/lib/wpbc-ajax.php:134 core/lib/wpbc_all_translations.php:538
|
3153 |
msgid "Set as Read"
|
3154 |
msgstr ""
|
3155 |
|
3156 |
+
#: core/lib/wpbc-ajax.php:200 core/lib/wpbc_all_translations.php:539
|
3157 |
msgid "Set as Approved"
|
3158 |
msgstr ""
|
3159 |
|
3160 |
+
#: core/lib/wpbc-ajax.php:202 core/lib/wpbc_all_translations.php:540
|
3161 |
msgid "Set as Pending"
|
3162 |
msgstr ""
|
3163 |
|
3164 |
+
#: core/lib/wpbc-ajax.php:222 core/lib/wpbc-ajax.php:293 core/lib/wpbc_all_translations.php:541
|
3165 |
msgid "Reason for cancellation here"
|
3166 |
msgstr ""
|
3167 |
|
3168 |
+
#: core/lib/wpbc-ajax.php:223 core/lib/wpbc-ajax.php:294 core/lib/wpbc_all_translations.php:542
|
3169 |
msgid "Reason of cancellation here"
|
3170 |
msgstr ""
|
3171 |
|
3172 |
+
#: core/lib/wpbc-ajax.php:262 core/lib/wpbc_all_translations.php:543
|
3173 |
msgid "Moved to trash"
|
3174 |
msgstr ""
|
3175 |
|
3176 |
+
#: core/lib/wpbc-ajax.php:270 core/lib/wpbc_all_translations.php:544
|
3177 |
msgid "Restored"
|
3178 |
msgstr ""
|
3179 |
|
3180 |
+
#: core/lib/wpbc-ajax.php:441 core/lib/wpbc_all_translations.php:545 inc/_ps/personal.php:152
|
3181 |
msgid "Saved"
|
3182 |
msgstr ""
|
3183 |
|
3190 |
msgstr ""
|
3191 |
|
3192 |
#: core/lib/wpbc-booking-new.php:163 core/lib/wpbc_all_translations.php:548
|
3193 |
+
#: inc/_ps/personal.php:2246 inc/_ps/personal.php:2437
|
3194 |
msgid "Updated successfully"
|
3195 |
msgstr ""
|
3196 |
|
3197 |
+
#: core/lib/wpbc-booking-new.php:701 core/lib/wpbc_all_translations.php:549
|
3198 |
msgid "Error!"
|
3199 |
msgstr ""
|
3200 |
|
3201 |
+
#: core/lib/wpbc-booking-new.php:702 core/lib/wpbc_all_translations.php:550
|
3202 |
msgid ""
|
3203 |
"Probably these date(s) just was booking by other visitor. Please reload this page and make "
|
3204 |
"booking again."
|
3205 |
msgstr ""
|
3206 |
|
3207 |
+
#: core/lib/wpbc_all_translations.php:305
|
3208 |
+
msgid "Google Calendar"
|
3209 |
+
msgstr ""
|
3210 |
+
|
3211 |
+
#: core/lib/wpbc_all_translations.php:306
|
3212 |
+
msgid "Events Import"
|
3213 |
+
msgstr ""
|
3214 |
+
|
3215 |
+
#: core/lib/wpbc_all_translations.php:307
|
3216 |
+
msgid "Import Settings"
|
3217 |
+
msgstr ""
|
3218 |
+
|
3219 |
+
#: core/lib/wpbc_all_translations.php:308
|
3220 |
+
msgid "Customization of synchronization with Google Calendar"
|
3221 |
+
msgstr ""
|
3222 |
+
|
3223 |
#: core/lib/wpbc_all_translations.php:551 core/wpbc-debug.php:122 core/wpbc-emails.php:418
|
3224 |
+
#: core/wpbc.php:322 core/wpbc.php:363 inc/_bl/admin/page-coupons.php:990
|
3225 |
+
#: inc/_bl/admin/page-coupons.php:992 inc/_bm/admin/page-availability.php:805
|
3226 |
#: inc/_bm/admin/page-cost-deposit.php:81 inc/_bm/admin/page-cost-rate.php:77
|
3227 |
#: inc/_bm/admin/page-cost-valuation.php:102 inc/_bm/admin/page-seasons.php:815
|
3228 |
#: inc/_bm/admin/page-seasons.php:817 inc/_bs/lib_s.php:340
|
3238 |
msgstr ""
|
3239 |
|
3240 |
#: core/lib/wpbc_all_translations.php:554 core/lib/wpdev-booking-class.php:675
|
3241 |
+
#: core/lib/wpdev-booking-class.php:736 inc/_ps/personal.php:822 inc/_ps/personal.php:833
|
3242 |
msgid "Wrong booking hash in URL (probably expired)"
|
3243 |
msgstr ""
|
3244 |
|
3332 |
"The feed data could not be retrieved. Error code: %s. Please ensure your feed URL is correct."
|
3333 |
msgstr ""
|
3334 |
|
|
|
|
|
|
|
|
|
|
|
3335 |
#: core/lib/wpbc_all_translations.php:574 core/sync/wpbc-gcal-class.php:608
|
3336 |
#: core/sync/wpbc-gcal-class.php:658
|
3337 |
msgid "GID"
|
3369 |
msgid "Configure"
|
3370 |
msgstr ""
|
3371 |
|
|
|
|
|
|
|
|
|
3372 |
#: core/lib/wpbc_all_translations.php:584 core/wpbc-activation.php:564
|
3373 |
#, php-format
|
3374 |
msgid "%s Found %s not indexed bookings %s"
|
3384 |
msgid "Updated booking: %s"
|
3385 |
msgstr ""
|
3386 |
|
3387 |
+
#: core/lib/wpbc_all_translations.php:587 core/wpbc-activation.php:996
|
3388 |
msgid "Booking form"
|
3389 |
msgstr ""
|
3390 |
|
3391 |
+
#: core/lib/wpbc_all_translations.php:588 core/wpbc-activation.php:1074
|
3392 |
#: inc/_ps/admin/page-email-edit.php:253
|
3393 |
msgid "The reservation has been modified"
|
3394 |
msgstr ""
|
3395 |
|
3396 |
+
#: core/lib/wpbc_all_translations.php:589 core/wpbc-activation.php:1075
|
3397 |
#: inc/_ps/admin/page-email-edit.php:267
|
3398 |
#, php-format
|
3399 |
msgid ""
|
3401 |
"Thank you, %s"
|
3402 |
msgstr ""
|
3403 |
|
3404 |
+
#: core/lib/wpbc_all_translations.php:590 core/wpbc-activation.php:1100
|
3405 |
+
#: inc/_bs/admin/api-settings-s.php:360
|
3406 |
msgid "Booked Times:"
|
3407 |
msgstr ""
|
3408 |
|
3409 |
+
#: core/lib/wpbc_all_translations.php:591 core/wpbc-activation.php:1110
|
3410 |
msgid ""
|
3411 |
"This booking canceled because we did not receive payment and the administrator did not approve "
|
3412 |
"it."
|
3413 |
msgstr ""
|
3414 |
|
3415 |
+
#: core/lib/wpbc_all_translations.php:592 core/wpbc-activation.php:1137
|
3416 |
#: inc/_bs/admin/page-email-payment.php:257
|
3417 |
msgid "You need to make payment for this reservation"
|
3418 |
msgstr ""
|
3419 |
|
3420 |
+
#: core/lib/wpbc_all_translations.php:593 core/wpbc-activation.php:1138
|
3421 |
#: inc/_bs/admin/page-email-payment.php:271
|
3422 |
#, php-format
|
3423 |
msgid ""
|
3425 |
"Thank you, %s"
|
3426 |
msgstr ""
|
3427 |
|
3428 |
+
#: core/lib/wpbc_all_translations.php:594 core/wpbc-activation.php:1169
|
3429 |
#: inc/_bm/admin/api-settings-m.php:244
|
3430 |
msgid "Cost: "
|
3431 |
msgstr ""
|
3432 |
|
3433 |
+
#: core/lib/wpbc_all_translations.php:595 core/wpbc-activation.php:1200
|
3434 |
#: inc/_bl/admin/api-settings-l.php:73
|
3435 |
msgid "Available: "
|
3436 |
msgstr ""
|
3586 |
msgid "Example #2: \"%s\" - English and French translation of some message"
|
3587 |
msgstr ""
|
3588 |
|
3589 |
+
#: core/lib/wpbc_all_translations.php:624 core/wpbc-functions.php:756 inc/_bm/biz_m.php:1901
|
3590 |
msgid "yes"
|
3591 |
msgstr ""
|
3592 |
|
3594 |
msgid "no"
|
3595 |
msgstr ""
|
3596 |
|
3597 |
+
#: core/lib/wpbc_all_translations.php:626 core/wpbc-functions.php:1653
|
3598 |
#: inc/_bm/admin/page-cost.php:47 inc/_bm/admin/page-cost.php:556
|
3599 |
msgid "Costs and Rates"
|
3600 |
msgstr ""
|
3601 |
|
3602 |
+
#: core/lib/wpbc_all_translations.php:627 core/wpbc-functions.php:1662
|
3603 |
#: inc/_bm/admin/page-cost-advanced.php:42 inc/_bm/admin/page-cost-advanced.php:147
|
3604 |
#: inc/gateways/page-gateways.php:90
|
3605 |
msgid "Advanced Cost"
|
3606 |
msgstr ""
|
3607 |
|
3608 |
+
#: core/lib/wpbc_all_translations.php:628 core/wpbc-functions.php:1671
|
3609 |
#: inc/_bl/admin/page-coupons.php:44 inc/_bl/admin/page-coupons.php:46
|
3610 |
msgid "Coupons"
|
3611 |
msgstr ""
|
3612 |
|
3613 |
+
#: core/lib/wpbc_all_translations.php:629 core/wpbc-functions.php:1689
|
3614 |
#: inc/_bm/admin/page-seasons.php:45 inc/_bm/admin/page-seasons.php:47
|
3615 |
msgid "Season Filters"
|
3616 |
msgstr ""
|
3617 |
|
3618 |
+
#: core/lib/wpbc_all_translations.php:630 core/wpbc-functions.php:1851
|
3619 |
msgid "Warning! Some error occur, during sending registration request."
|
3620 |
msgstr ""
|
3621 |
|
3622 |
+
#: core/lib/wpbc_all_translations.php:631 core/wpbc-functions.php:1856
|
3623 |
msgid ""
|
3624 |
"Please refresh this page and if the same error appear again contact support by email (with info "
|
3625 |
"about order number and website) for finishing the registrations"
|
3626 |
msgstr ""
|
3627 |
|
3628 |
+
#: core/lib/wpbc_all_translations.php:632 core/wpbc-functions.php:1884
|
3629 |
#, php-format
|
3630 |
msgid "If you like %s please leave us a %s rating. A huge thank you in advance!"
|
3631 |
msgstr ""
|
3632 |
|
3633 |
+
#: core/lib/wpbc_all_translations.php:633 core/wpbc-functions.php:2048
|
3634 |
msgid "Changes saved."
|
3635 |
msgstr ""
|
3636 |
|
3637 |
+
#: core/lib/wpbc_all_translations.php:634 core/wpbc-functions.php:2151
|
3638 |
msgid "Click to toggle"
|
3639 |
msgstr ""
|
3640 |
|
3641 |
+
#: core/lib/wpbc_all_translations.php:635 core/wpbc-functions.php:2212
|
3642 |
msgid "Prev"
|
3643 |
msgstr ""
|
3644 |
|
3645 |
+
#: core/lib/wpbc_all_translations.php:636 core/wpbc-functions.php:2512
|
3646 |
msgid "We’ve assembled some links to get you started:"
|
3647 |
msgstr ""
|
3648 |
|
3649 |
+
#: core/lib/wpbc_all_translations.php:637 core/wpbc-functions.php:2515
|
3650 |
msgid "Get Started"
|
3651 |
msgstr ""
|
3652 |
|
3653 |
+
#: core/lib/wpbc_all_translations.php:638 core/wpbc-functions.php:2518
|
3654 |
#, php-format
|
3655 |
msgid "Insert booking form %sshortcode%s into your %sPost%s or %sPage%s"
|
3656 |
msgstr ""
|
3657 |
|
3658 |
+
#: core/lib/wpbc_all_translations.php:639 core/wpbc-functions.php:2527
|
3659 |
#, php-format
|
3660 |
msgid "or add booking calendar %sWidget%s to your sidebar."
|
3661 |
msgstr ""
|
3662 |
|
3663 |
+
#: core/lib/wpbc_all_translations.php:640 core/wpbc-functions.php:2533
|
3664 |
#, php-format
|
3665 |
msgid "Check %show todo%s that and what %sshortcodes%s are available."
|
3666 |
msgstr ""
|
3667 |
|
3668 |
+
#: core/lib/wpbc_all_translations.php:641 core/wpbc-functions.php:2540
|
3669 |
#, php-format
|
3670 |
msgid "Add new booking from your post/page or from %sAdmin Panel%s."
|
3671 |
msgstr ""
|
3672 |
|
3673 |
+
#: core/lib/wpbc_all_translations.php:642 core/wpbc-functions.php:2546
|
3674 |
msgid "Next Steps"
|
3675 |
msgstr ""
|
3676 |
|
3677 |
+
#: core/lib/wpbc_all_translations.php:643 core/wpbc-functions.php:2549
|
3678 |
#, php-format
|
3679 |
msgid "Check %sBooking Listing%s page for new bookings."
|
3680 |
msgstr ""
|
3681 |
|
3682 |
+
#: core/lib/wpbc_all_translations.php:644 core/wpbc-functions.php:2554
|
3683 |
#, php-format
|
3684 |
msgid "Configure booking %sSettings%s."
|
3685 |
msgstr ""
|
3686 |
|
3687 |
+
#: core/lib/wpbc_all_translations.php:645 core/wpbc-functions.php:2558
|
3688 |
#, php-format
|
3689 |
msgid "Configure predefined set of your %sForm Fields%s."
|
3690 |
msgstr ""
|
3691 |
|
3692 |
+
#: core/lib/wpbc_all_translations.php:646 core/wpbc-functions.php:2562
|
3693 |
#, php-format
|
3694 |
msgid "Configure your predefined %sEmail Templates%s."
|
3695 |
msgstr ""
|
3696 |
|
3697 |
+
#: core/lib/wpbc_all_translations.php:647 core/wpbc-functions.php:2568
|
3698 |
msgid "Have a questions?"
|
3699 |
msgstr ""
|
3700 |
|
3701 |
+
#: core/lib/wpbc_all_translations.php:648 core/wpbc-functions.php:2571
|
3702 |
#, php-format
|
3703 |
msgid "Check out our %sHelp%s"
|
3704 |
msgstr ""
|
3705 |
|
3706 |
+
#: core/lib/wpbc_all_translations.php:649 core/wpbc-functions.php:2576
|
3707 |
#, php-format
|
3708 |
msgid "See %sFAQ%s."
|
3709 |
msgstr ""
|
3710 |
|
3711 |
+
#: core/lib/wpbc_all_translations.php:650 core/wpbc-functions.php:2581
|
3712 |
#, php-format
|
3713 |
msgid "Still having questions? Contact %sSupport%s."
|
3714 |
msgstr ""
|
3715 |
|
3716 |
+
#: core/lib/wpbc_all_translations.php:651 core/wpbc-functions.php:2589
|
3717 |
#, php-format
|
3718 |
msgid "Need even more functionality? Check %s higher versions %s"
|
3719 |
msgstr ""
|
3742 |
msgid "Please, select booking date(s) at Calendar."
|
3743 |
msgstr ""
|
3744 |
|
3745 |
+
#: core/lib/wpbc_all_translations.php:658 core/wpbc-js.php:123 inc/_ps/personal.php:260
|
3746 |
msgid "Processing"
|
3747 |
msgstr ""
|
3748 |
|
3768 |
|
3769 |
#: core/lib/wpbc_all_translations.php:664 inc/_bl/admin/activation-l.php:117
|
3770 |
#: inc/_bl/admin/activation-l.php:121 inc/_bl/admin/activation-l.php:157
|
3771 |
+
#: inc/_bl/admin/page-search.php:613 inc/_bm/admin/api-settings-m.php:457 inc/_bm/m-toolbar.php:62
|
3772 |
+
#: inc/_bm/m-toolbar.php:403 inc/_ps/admin/page-settings-form.php:316
|
3773 |
#: inc/_ps/wpbc-booking-select-widget.php:230
|
3774 |
msgid "Standard"
|
3775 |
msgstr ""
|
3845 |
msgstr ""
|
3846 |
|
3847 |
#: core/lib/wpbc_all_translations.php:679 inc/_bl/admin/api-settings-l.php:107
|
3848 |
+
#: inc/_bs/admin/api-settings-s.php:467
|
3849 |
msgid "Auto-cancel bookings"
|
3850 |
msgstr ""
|
3851 |
|
3874 |
"selected visitors."
|
3875 |
msgstr ""
|
3876 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3877 |
#: core/lib/wpbc_all_translations.php:685 inc/_bl/admin/api-settings-l.php:158
|
3878 |
#: inc/_ps/admin/api-settings-p.php:167
|
3879 |
#, php-format
|
3922 |
msgstr ""
|
3923 |
|
3924 |
#: core/lib/wpbc_all_translations.php:693 inc/_bl/admin/api-settings-l.php:331
|
3925 |
+
#: inc/_ps/p-toolbar.php:1158
|
3926 |
msgid "Parent"
|
3927 |
msgstr ""
|
3928 |
|
3929 |
#: core/lib/wpbc_all_translations.php:694 inc/_bl/admin/api-settings-l.php:337
|
3930 |
+
#: inc/_ps/p-toolbar.php:1176
|
3931 |
msgid "Priority"
|
3932 |
msgstr ""
|
3933 |
|
3948 |
msgstr ""
|
3949 |
|
3950 |
#: core/lib/wpbc_all_translations.php:699 inc/_bl/admin/page-coupons.php:121
|
3951 |
+
#: inc/_bm/m-toolbar.php:589 inc/_bm/m-toolbar.php:591
|
3952 |
msgid "Create dates filter"
|
3953 |
msgstr ""
|
3954 |
|
3964 |
msgstr ""
|
3965 |
|
3966 |
#: core/lib/wpbc_all_translations.php:702 inc/_bl/admin/page-coupons.php:494
|
3967 |
+
#: inc/_bl/admin/page-coupons.php:1154
|
3968 |
msgid "Coupon Code"
|
3969 |
msgstr ""
|
3970 |
|
3971 |
#: core/lib/wpbc_all_translations.php:703 inc/_bl/admin/page-coupons.php:500
|
3972 |
+
#: inc/_bl/admin/page-coupons.php:1169 inc/_bl/admin/page-coupons.php:1176
|
3973 |
msgid "Savings"
|
3974 |
msgstr ""
|
3975 |
|
3989 |
#: inc/_bm/admin/page-availability.php:563 inc/_bm/admin/page-availability.php:1045
|
3990 |
#: inc/_bm/admin/page-cost-rate.php:254 inc/_bm/admin/page-cost-valuation.php:413
|
3991 |
#: inc/_bm/admin/page-cost.php:617 inc/_bm/admin/page-seasons.php:555
|
3992 |
+
#: inc/_mu/admin/page-users.php:492 inc/_ps/admin/br-table-export-feeds.php:31
|
3993 |
+
#: inc/_ps/admin/br-table-import-gcal-p.php:29 inc/_ps/admin/page-resources.php:506
|
3994 |
msgid "Select Booking Resource"
|
3995 |
msgstr ""
|
3996 |
|
3997 |
#: core/lib/wpbc_all_translations.php:708 inc/_bl/admin/page-coupons.php:764
|
3998 |
+
#: inc/_bl/admin/page-coupons.php:1380 inc/_ps/admin/api-settings-p.php:28
|
3999 |
+
#: inc/_ps/p-toolbar.php:670
|
4000 |
msgid "All resources"
|
4001 |
msgstr ""
|
4002 |
|
4003 |
+
#: core/lib/wpbc_all_translations.php:709 inc/_bl/admin/page-coupons.php:980
|
4004 |
#: inc/_ps/wpbc-form-templates.php:123 inc/_ps/wpbc-form-templates.php:194
|
4005 |
msgid "Coupon"
|
4006 |
msgstr ""
|
4007 |
|
4008 |
+
#: core/lib/wpbc_all_translations.php:710 inc/_bl/admin/page-coupons.php:1155
|
4009 |
msgid "Enter coupon code."
|
4010 |
msgstr ""
|
4011 |
|
4012 |
+
#: core/lib/wpbc_all_translations.php:711 inc/_bl/admin/page-coupons.php:1216
|
4013 |
msgid "Enter number of fixed or percentage savings."
|
4014 |
msgstr ""
|
4015 |
|
4016 |
+
#: core/lib/wpbc_all_translations.php:712 inc/_bl/admin/page-coupons.php:1219
|
4017 |
msgid "Expiration Date"
|
4018 |
msgstr ""
|
4019 |
|
4020 |
+
#: core/lib/wpbc_all_translations.php:713 inc/_bl/admin/page-coupons.php:1295
|
4021 |
msgid "Select Expiration Date of the coupon."
|
4022 |
msgstr ""
|
4023 |
|
4024 |
+
#: core/lib/wpbc_all_translations.php:714 inc/_bl/admin/page-coupons.php:1302
|
4025 |
msgid "Minimum Booking Cost"
|
4026 |
msgstr ""
|
4027 |
|
4028 |
+
#: core/lib/wpbc_all_translations.php:715 inc/_bl/admin/page-coupons.php:1303
|
4029 |
msgid "Enter minimum booking cost, when coupon is applicable."
|
4030 |
msgstr ""
|
4031 |
|
4032 |
+
#: core/lib/wpbc_all_translations.php:716 inc/_bl/admin/page-coupons.php:1320
|
4033 |
msgid "Maximum number of usage"
|
4034 |
msgstr ""
|
4035 |
|
4036 |
+
#: core/lib/wpbc_all_translations.php:717 inc/_bl/admin/page-coupons.php:1321
|
4037 |
msgid "Enter maximum number of times, when coupon is applicable."
|
4038 |
msgstr ""
|
4039 |
|
4040 |
+
#: core/lib/wpbc_all_translations.php:718 inc/_bl/admin/page-coupons.php:1344
|
4041 |
msgid "Select booking resources, where is possible to apply this coupon code."
|
4042 |
msgstr ""
|
4043 |
|
4044 |
+
#: core/lib/wpbc_all_translations.php:719 inc/_bl/admin/page-coupons.php:1362
|
4045 |
#: inc/_bm/admin/page-seasons.php:1206 inc/_bm/admin/page-seasons.php:1422
|
4046 |
+
#: inc/_ps/p-toolbar.php:1103
|
4047 |
msgid "Add New"
|
4048 |
msgstr ""
|
4049 |
|
4050 |
#: core/lib/wpbc_all_translations.php:720 inc/_bl/admin/page-search.php:74
|
4051 |
+
#: inc/_bl/admin/page-search.php:113 inc/_ps/admin/page-settings-form.php:582
|
4052 |
#: inc/gateways/page-gateways.php:923
|
4053 |
msgid "Use these shortcodes for customization: "
|
4054 |
msgstr ""
|
4227 |
|
4228 |
#: core/lib/wpbc_all_translations.php:756 inc/_bl/admin/page-search.php:680
|
4229 |
#: inc/_bm/admin/page-seasons.php:1209 inc/_bm/admin/page-seasons.php:1425
|
4230 |
+
#: inc/_ps/admin/page-settings-form.php:473
|
4231 |
msgid "Reset"
|
4232 |
msgstr ""
|
4233 |
|
4234 |
#: core/lib/wpbc_all_translations.php:757 inc/_bl/admin/page-search.php:681
|
4235 |
+
#: inc/_ps/admin/page-settings-form.php:474
|
4236 |
msgid "Reset current Form"
|
4237 |
msgstr ""
|
4238 |
|
4259 |
"units on selected day(s)!"
|
4260 |
msgstr ""
|
4261 |
|
4262 |
+
#: core/lib/wpbc_all_translations.php:763 inc/_bl/biz_l.php:332
|
4263 |
msgid "coupon"
|
4264 |
msgstr ""
|
4265 |
|
4266 |
+
#: core/lib/wpbc_all_translations.php:764 inc/_bl/biz_l.php:334
|
4267 |
msgid "discount"
|
4268 |
msgstr ""
|
4269 |
|
4270 |
+
#: core/lib/wpbc_all_translations.php:765 inc/_bl/biz_l.php:492
|
4271 |
msgid "Please select check-in and check-out days!"
|
4272 |
msgstr ""
|
4273 |
|
4274 |
+
#: core/lib/wpbc_all_translations.php:766 inc/_bl/biz_l.php:1678 inc/_bl/biz_l.php:1697
|
4275 |
+
#: inc/_bl/biz_l.php:1702
|
4276 |
#, php-format
|
4277 |
msgid ""
|
4278 |
"Sorry, the reservation was not made because these days are already booked!!! %s (Its not "
|
4280 |
"page and try other days."
|
4281 |
msgstr ""
|
4282 |
|
4283 |
+
#: core/lib/wpbc_all_translations.php:767 inc/_bl/biz_l.php:2215
|
4284 |
#, php-format
|
4285 |
msgid "The folowing pending booking(s): %s deleted."
|
4286 |
msgstr ""
|
4287 |
|
4288 |
+
#: core/lib/wpbc_all_translations.php:768 inc/_bl/wpbc-search-availability.php:763
|
4289 |
msgid "Book now"
|
4290 |
msgstr ""
|
4291 |
|
4336 |
msgstr ""
|
4337 |
|
4338 |
#: core/lib/wpbc_all_translations.php:779 inc/_bm/admin/activation-m.php:48
|
4339 |
+
#: inc/_mu/multiuser.php:601
|
4340 |
msgid "Weekend"
|
4341 |
msgstr ""
|
4342 |
|
4343 |
#: core/lib/wpbc_all_translations.php:780 inc/_bm/admin/activation-m.php:92
|
4344 |
+
#: inc/_mu/multiuser.php:603
|
4345 |
msgid "High season"
|
4346 |
msgstr ""
|
4347 |
|
4419 |
msgstr ""
|
4420 |
|
4421 |
#: core/lib/wpbc_all_translations.php:796 inc/_bm/admin/api-settings-m.php:459
|
4422 |
+
#: inc/_bm/m-toolbar.php:67 inc/_bm/m-toolbar.php:413
|
4423 |
msgid "Custom Forms"
|
4424 |
msgstr ""
|
4425 |
|
4432 |
msgstr ""
|
4433 |
|
4434 |
#: core/lib/wpbc_all_translations.php:799 inc/_bm/admin/page-availability.php:142
|
4435 |
+
#: inc/_bm/admin/page-cost.php:118 inc/_ps/p-toolbar.php:1132
|
4436 |
msgid "Show Children Resources"
|
4437 |
msgstr ""
|
4438 |
|
4439 |
#: core/lib/wpbc_all_translations.php:800 inc/_bm/admin/page-availability.php:144
|
4440 |
+
#: inc/_bm/admin/page-cost.php:120 inc/_ps/p-toolbar.php:1134
|
4441 |
msgid "Hide Children Resources"
|
4442 |
msgstr ""
|
4443 |
|
4534 |
msgstr ""
|
4535 |
|
4536 |
#: core/lib/wpbc_all_translations.php:818 inc/_bm/admin/page-cost-advanced.php:440
|
4537 |
+
#: inc/_bs/admin/api-settings-s.php:842
|
4538 |
msgid "night"
|
4539 |
msgstr ""
|
4540 |
|
5007 |
msgid "Total booking resource cost"
|
5008 |
msgstr ""
|
5009 |
|
5010 |
+
#: core/lib/wpbc_all_translations.php:918 inc/_bm/m-toolbar.php:287
|
5011 |
msgid "Delete selected booking form"
|
5012 |
msgstr ""
|
5013 |
|
5014 |
+
#: core/lib/wpbc_all_translations.php:919 inc/_bm/m-toolbar.php:291
|
5015 |
msgid "Do you really want to delete selected booking form ?"
|
5016 |
msgstr ""
|
5017 |
|
5018 |
+
#: core/lib/wpbc_all_translations.php:920 inc/_bm/m-toolbar.php:316 inc/_bm/m-toolbar.php:317
|
5019 |
msgid "Add New Custom Form"
|
5020 |
msgstr ""
|
5021 |
|
5022 |
+
#: core/lib/wpbc_all_translations.php:921 inc/_bm/m-toolbar.php:350
|
5023 |
msgid "Type the name of booking form"
|
5024 |
msgstr ""
|
5025 |
|
5026 |
+
#: core/lib/wpbc_all_translations.php:922 inc/_bm/m-toolbar.php:357
|
5027 |
msgid "Create"
|
5028 |
msgstr ""
|
5029 |
|
5030 |
+
#: core/lib/wpbc_all_translations.php:923 inc/_bm/m-toolbar.php:358
|
5031 |
msgid "Create new form"
|
5032 |
msgstr ""
|
5033 |
|
5034 |
+
#: core/lib/wpbc_all_translations.php:924 inc/_bm/m-toolbar.php:553
|
5035 |
msgid "There are no extended booking forms"
|
5036 |
msgstr ""
|
5037 |
|
5038 |
+
#: core/lib/wpbc_all_translations.php:925 inc/_bm/m-toolbar.php:597 inc/_bm/m-toolbar.php:599
|
5039 |
msgid "Create conditional days filter"
|
5040 |
msgstr ""
|
5041 |
|
5175 |
msgid "Check this option, to show change over days as triangles. "
|
5176 |
msgstr ""
|
5177 |
|
5178 |
+
#: core/lib/wpbc_all_translations.php:954 inc/_bs/admin/api-settings-s.php:361
|
5179 |
msgid "Title of booked timeslot(s)"
|
5180 |
msgstr ""
|
5181 |
|
5182 |
+
#: core/lib/wpbc_all_translations.php:955 inc/_bs/admin/api-settings-s.php:362
|
5183 |
#, php-format
|
5184 |
msgid "Type your %stitle%s, what will show in mouseover tooltip near booked timeslot(s)"
|
5185 |
msgstr ""
|
5186 |
|
5187 |
+
#: core/lib/wpbc_all_translations.php:956 inc/_bs/admin/api-settings-s.php:399
|
5188 |
msgid "Time Format"
|
5189 |
msgstr ""
|
5190 |
|
5191 |
+
#: core/lib/wpbc_all_translations.php:957 inc/_bs/admin/api-settings-s.php:433
|
5192 |
#, php-format
|
5193 |
msgid ""
|
5194 |
"Type your time format for emails and the booking table. %sDocumentation on time formatting%s"
|
5195 |
msgstr ""
|
5196 |
|
5197 |
+
#: core/lib/wpbc_all_translations.php:958 inc/_bs/admin/api-settings-s.php:458
|
5198 |
msgid "Auto approve all new bookings"
|
5199 |
msgstr ""
|
5200 |
|
5201 |
+
#: core/lib/wpbc_all_translations.php:959 inc/_bs/admin/api-settings-s.php:459
|
5202 |
#, php-format
|
5203 |
msgid "Check this checkbox to %sactivate%s auto approve of all new pending bookings."
|
5204 |
msgstr ""
|
5205 |
|
5206 |
+
#: core/lib/wpbc_all_translations.php:960 inc/_bs/admin/api-settings-s.php:468
|
5207 |
#, php-format
|
5208 |
msgid "Check this box to %sactivate%s auto-cancellation for pending, unpaid bookings."
|
5209 |
msgstr ""
|
5210 |
|
5211 |
+
#: core/lib/wpbc_all_translations.php:961 inc/_bs/admin/api-settings-s.php:492
|
5212 |
msgid "Cancel bookings older"
|
5213 |
msgstr ""
|
5214 |
|
5215 |
+
#: core/lib/wpbc_all_translations.php:962 inc/_bs/admin/api-settings-s.php:493
|
5216 |
msgid "Cancel only pending, unpaid bookings, which are older than this selection."
|
5217 |
msgstr ""
|
5218 |
|
5219 |
+
#: core/lib/wpbc_all_translations.php:963 inc/_bs/admin/api-settings-s.php:501
|
5220 |
msgid "Cancellation email sent"
|
5221 |
msgstr ""
|
5222 |
|
5223 |
+
#: core/lib/wpbc_all_translations.php:964 inc/_bs/admin/api-settings-s.php:502
|
5224 |
#, php-format
|
5225 |
msgid "Check this box to %ssend%s cancellation email for this resource."
|
5226 |
msgstr ""
|
5227 |
|
5228 |
+
#: core/lib/wpbc_all_translations.php:965 inc/_bs/admin/api-settings-s.php:510
|
5229 |
+
#: inc/_bs/admin/api-settings-s.php:511
|
5230 |
msgid "Reason for cancellation"
|
5231 |
msgstr ""
|
5232 |
|
5233 |
+
#: core/lib/wpbc_all_translations.php:966 inc/_bs/admin/api-settings-s.php:512
|
5234 |
#, php-format
|
5235 |
msgid "Type the reason for %scancellation%s for the email template."
|
5236 |
msgstr ""
|
5457 |
msgstr ""
|
5458 |
|
5459 |
#: core/lib/wpbc_all_translations.php:1020 inc/_mu/admin/api-settings-u.php:62
|
5460 |
+
#: inc/_ps/admin/br-table-export-feeds.php:82 inc/_ps/admin/br-table-import-gcal-p.php:72
|
5461 |
msgid "User"
|
5462 |
msgstr ""
|
5463 |
|
5491 |
msgstr ""
|
5492 |
|
5493 |
#: core/lib/wpbc_all_translations.php:1027 inc/_mu/admin/page-users.php:204
|
5494 |
+
#: inc/_mu/multiuser.php:616
|
5495 |
msgid "User is Activated"
|
5496 |
msgstr ""
|
5497 |
|
5498 |
#: core/lib/wpbc_all_translations.php:1028 inc/_mu/admin/page-users.php:232
|
5499 |
+
#: inc/_mu/multiuser.php:666
|
5500 |
msgid "User is Deactivated"
|
5501 |
msgstr ""
|
5502 |
|
5552 |
msgid "Delete data"
|
5553 |
msgstr ""
|
5554 |
|
5555 |
+
#: core/lib/wpbc_all_translations.php:1041 inc/_mu/multiuser.php:602
|
5556 |
msgid "Work days"
|
5557 |
msgstr ""
|
5558 |
|
5559 |
+
#: core/lib/wpbc_all_translations.php:1042 inc/_mu/multiuser.php:729
|
5560 |
#, php-format
|
5561 |
msgid ""
|
5562 |
"%sYou do not have permissions for this page.%s Your account is not active, please contact "
|
5563 |
"administrator.%s"
|
5564 |
msgstr ""
|
5565 |
|
5566 |
+
#: core/lib/wpbc_all_translations.php:1043 inc/_mu/multiuser.php:768
|
5567 |
#, php-format
|
5568 |
msgid "%sYou do not have permissions for this booking resources.%s"
|
5569 |
msgstr ""
|
5570 |
|
5571 |
+
#: core/lib/wpbc_all_translations.php:1044 inc/_mu/multiuser.php:774
|
5572 |
#, php-format
|
5573 |
msgid "%sNo this booking resources.%s"
|
5574 |
msgstr ""
|
5682 |
msgid "Customizaton of booking resources"
|
5683 |
msgstr ""
|
5684 |
|
5685 |
+
#: core/lib/wpbc_all_translations.php:1069 inc/_ps/admin/page-settings-form.php:125
|
5686 |
+
#: inc/_ps/admin/page-settings-form.php:145
|
5687 |
msgid "Form fields"
|
5688 |
msgstr ""
|
5689 |
|
5690 |
+
#: core/lib/wpbc_all_translations.php:1070 inc/_ps/admin/page-settings-form.php:126
|
5691 |
msgid "Content of Booking Fields"
|
5692 |
msgstr ""
|
5693 |
|
5694 |
+
#: core/lib/wpbc_all_translations.php:1071 inc/_ps/admin/page-settings-form.php:152
|
5695 |
msgid "Generate tag"
|
5696 |
msgstr ""
|
5697 |
|
5698 |
+
#: core/lib/wpbc_all_translations.php:1072 inc/_ps/admin/page-settings-form.php:161
|
5699 |
#, php-format
|
5700 |
msgid "Content of booking fields data for email templates (%s-shortcode) and booking listing page"
|
5701 |
msgstr ""
|
5702 |
|
5703 |
+
#: core/lib/wpbc_all_translations.php:1073 inc/_ps/admin/page-settings-form.php:300
|
5704 |
msgid "Form Template"
|
5705 |
msgstr ""
|
5706 |
|
5707 |
+
#: core/lib/wpbc_all_translations.php:1074 inc/_ps/admin/page-settings-form.php:313
|
5708 |
msgid "Standard Templates"
|
5709 |
msgstr ""
|
5710 |
|
5711 |
+
#: core/lib/wpbc_all_translations.php:1075 inc/_ps/admin/page-settings-form.php:326
|
5712 |
#: inc/_ps/form/class-wpbc-field-help-textarea.php:111
|
5713 |
msgid "Columns"
|
5714 |
msgstr ""
|
5715 |
|
5716 |
+
#: core/lib/wpbc_all_translations.php:1076 inc/_ps/admin/page-settings-form.php:350
|
5717 |
+
#: inc/_ps/admin/page-settings-form.php:360 inc/_ps/admin/page-settings-form.php:370
|
5718 |
msgid "Time Slots"
|
5719 |
msgstr ""
|
5720 |
|
5721 |
+
#: core/lib/wpbc_all_translations.php:1077 inc/_ps/admin/page-settings-form.php:387
|
5722 |
msgid "Advanced Templates"
|
5723 |
msgstr ""
|
5724 |
|
5725 |
+
#: core/lib/wpbc_all_translations.php:1078 inc/_ps/admin/page-settings-form.php:390
|
5726 |
msgid "Wizard (several steps)"
|
5727 |
msgstr ""
|
5728 |
|
5729 |
+
#: core/lib/wpbc_all_translations.php:1079 inc/_ps/admin/page-settings-form.php:403
|
5730 |
msgid "Time slots for different weekdays"
|
5731 |
msgstr ""
|
5732 |
|
5733 |
+
#: core/lib/wpbc_all_translations.php:1080 inc/_ps/admin/page-settings-form.php:413
|
5734 |
msgid "Hints"
|
5735 |
msgstr ""
|
5736 |
|
5737 |
+
#: core/lib/wpbc_all_translations.php:1081 inc/_ps/admin/page-settings-form.php:435
|
5738 |
msgid "Reset Form"
|
5739 |
msgstr ""
|
5740 |
|
5741 |
+
#: core/lib/wpbc_all_translations.php:1082 inc/_ps/admin/page-settings-form.php:488
|
5742 |
msgid "Both"
|
5743 |
msgstr ""
|
5744 |
|
5745 |
+
#: core/lib/wpbc_all_translations.php:1083 inc/_ps/admin/page-settings-form.php:489
|
5746 |
msgid "Reset Booking Form and Content of Booking Fields Form"
|
5747 |
msgstr ""
|
5748 |
|
5749 |
+
#: core/lib/wpbc_all_translations.php:1084 inc/_ps/admin/page-settings-form.php:583
|
5750 |
#: inc/gateways/page-gateways.php:925
|
5751 |
#, php-format
|
5752 |
msgid "%s - inserting data from fields of booking form"
|
5753 |
msgstr ""
|
5754 |
|
5755 |
+
#: core/lib/wpbc_all_translations.php:1085 inc/_ps/admin/page-settings-form.php:584
|
5756 |
#, php-format
|
5757 |
msgid "%s - inserting new line"
|
5758 |
msgstr ""
|
5759 |
|
5760 |
+
#: core/lib/wpbc_all_translations.php:1086 inc/_ps/admin/page-settings-form.php:588
|
5761 |
#: inc/_ps/form/class-wpbc-form-help.php:93 inc/gateways/page-gateways.php:980
|
5762 |
#, php-format
|
5763 |
msgid ""
|
6506 |
msgid "Print bookings listing"
|
6507 |
msgstr ""
|
6508 |
|
|
|
|
|
|
|
|
|
6509 |
#: core/lib/wpbc_all_translations.php:1234 inc/_ps/p-toolbar.php:143
|
6510 |
msgid "Export only current page of bookings to CSV format"
|
6511 |
msgstr ""
|
6562 |
msgid "Download"
|
6563 |
msgstr ""
|
6564 |
|
6565 |
+
#: core/lib/wpbc_all_translations.php:1248 inc/_ps/p-toolbar.php:735
|
6566 |
msgid "Clear booking resources selection"
|
6567 |
msgstr ""
|
6568 |
|
6569 |
+
#: core/lib/wpbc_all_translations.php:1249 inc/_ps/p-toolbar.php:739
|
6570 |
msgid "Apply booking resources selection"
|
6571 |
msgstr ""
|
6572 |
|
6573 |
+
#: core/lib/wpbc_all_translations.php:1250 inc/_ps/p-toolbar.php:769
|
6574 |
msgid ""
|
6575 |
"Please note, its not possible to add new resources, if \"All resources\" option is selected. "
|
6576 |
"Please clear the selection, then add new resources."
|
6577 |
msgstr ""
|
6578 |
|
6579 |
+
#: core/lib/wpbc_all_translations.php:1251 inc/_ps/p-toolbar.php:1056 inc/_ps/p-toolbar.php:1104
|
6580 |
msgid "Add New Booking Resource(s)"
|
6581 |
msgstr ""
|
6582 |
|
6583 |
+
#: core/lib/wpbc_all_translations.php:1252 inc/_ps/p-toolbar.php:1096
|
6584 |
msgid "Enter name of booking resource"
|
6585 |
msgstr ""
|
6586 |
|
6587 |
+
#: core/lib/wpbc_all_translations.php:1253 inc/_ps/p-toolbar.php:1120
|
6588 |
msgid "Resources count"
|
6589 |
msgstr ""
|
6590 |
|
6591 |
+
#: core/lib/wpbc_all_translations.php:1254 inc/_ps/personal.php:241
|
6592 |
msgid "This booking resources does not exist"
|
6593 |
msgstr ""
|
6594 |
|
6595 |
+
#: core/lib/wpbc_all_translations.php:1255 inc/_ps/personal.php:286
|
6596 |
msgid "Generating columns"
|
6597 |
msgstr ""
|
6598 |
|
6599 |
+
#: core/lib/wpbc_all_translations.php:1256 inc/_ps/personal.php:327
|
6600 |
msgid "Exporting booking data"
|
6601 |
msgstr ""
|
6602 |
|
6603 |
+
#: core/lib/wpbc_all_translations.php:1257 inc/_ps/personal.php:366
|
6604 |
msgid "Generating content of file"
|
6605 |
msgstr ""
|
6606 |
|
6607 |
+
#: core/lib/wpbc_all_translations.php:1258 inc/_ps/personal.php:408
|
6608 |
msgid "Saving to file"
|
6609 |
msgstr ""
|
6610 |
|
6611 |
+
#: core/lib/wpbc_all_translations.php:1259 inc/_ps/personal.php:808
|
6612 |
msgid "The booking was canceled by the visitor."
|
6613 |
msgstr ""
|
6614 |
|
6615 |
+
#: core/lib/wpbc_all_translations.php:1260 inc/_ps/personal.php:867
|
6616 |
msgid "The booking has been canceled successfully"
|
6617 |
msgstr ""
|
6618 |
|
6619 |
+
#: core/lib/wpbc_all_translations.php:1261 inc/_ps/personal.php:887
|
6620 |
msgid "Incorrect date format"
|
6621 |
msgstr ""
|
6622 |
|
6623 |
+
#: core/lib/wpbc_all_translations.php:1262 inc/_ps/personal.php:1997
|
6624 |
msgid "Change your Booking"
|
6625 |
msgstr ""
|
6626 |
|
6627 |
+
#: core/lib/wpbc_all_translations.php:1263 inc/_ps/personal.php:1999
|
6628 |
msgid "Cancel Booking"
|
6629 |
msgstr ""
|
6630 |
|
6631 |
+
#: core/lib/wpbc_all_translations.php:1264 inc/_ps/personal.php:2253
|
6632 |
msgid "Warning! The resource was not changed. Current dates are already booked there."
|
6633 |
msgstr ""
|
6634 |
|
6635 |
+
#: core/lib/wpbc_all_translations.php:1265 inc/_ps/personal.php:2390
|
6636 |
msgid "The booking has been duplicated successfully"
|
6637 |
msgstr ""
|
6638 |
|
6639 |
+
#: core/lib/wpbc_all_translations.php:1266 inc/_ps/personal.php:2399
|
6640 |
msgid "Warning! Operation failed. Current dates are already booked there."
|
6641 |
msgstr ""
|
6642 |
|
6643 |
+
#: core/lib/wpbc_all_translations.php:1267 inc/_ps/personal.php:2486
|
6644 |
msgid "Sending request..."
|
6645 |
msgstr ""
|
6646 |
|
6647 |
+
#: core/lib/wpbc_all_translations.php:1268 inc/_ps/personal.php:2515
|
6648 |
msgid "Order number"
|
6649 |
msgstr ""
|
6650 |
|
6651 |
+
#: core/lib/wpbc_all_translations.php:1269 inc/_ps/personal.php:2517
|
6652 |
msgid "Register"
|
6653 |
msgstr ""
|
6654 |
|
6655 |
+
#: core/lib/wpbc_all_translations.php:1270 inc/_ps/personal.php:2519
|
6656 |
msgid ""
|
6657 |
"Please, enter order number of your purchased version, which you received to your billing email."
|
6658 |
msgstr ""
|
6659 |
|
6660 |
+
#: core/lib/wpbc_all_translations.php:1271 inc/_ps/personal.php:2521
|
6661 |
#, php-format
|
6662 |
msgid "If you will get any difficulties or have a questions, please contact by email %s"
|
6663 |
msgstr ""
|
8159 |
#, php-format
|
8160 |
msgid "%s - inserting link for export booking to"
|
8161 |
msgstr ""
|
8162 |
+
|
8163 |
+
#: inc/_ps/admin/br-table-export-feeds.php:167
|
8164 |
+
msgid ".ics Feed URL"
|
8165 |
+
msgstr ""
|
readme.txt
CHANGED
@@ -1,10 +1,11 @@
|
|
1 |
-
=== Booking Calendar ===
|
2 |
Contributors: wpdevelop
|
3 |
Donate link: http://wpbookingcalendar.com/buy/
|
4 |
-
Tags: booking calendar, availability calendar,
|
5 |
Requires at least: 4.0
|
|
|
6 |
Tested up to: 4.8
|
7 |
-
Stable tag:
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -17,13 +18,13 @@ Booking Calendar plugin will enable **online booking services** for your site. I
|
|
17 |
Your website visitors can **check availability** of **property** *(like apartment, house, hotel room, etc.)* or any **service** you offer and **make a booking** in a minute.
|
18 |
|
19 |
|
20 |
-
Your Customers will be able to
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
(with possibility to **see all bookings** in day/week/month view of Calendar Overview mode - **Timeline** or just in Booking **Listing Table**).
|
27 |
|
28 |
|
29 |
= KEY BENEFITS: =
|
@@ -61,7 +62,15 @@ Booking Calendar is built to work out of the box. Just activate it and insert bo
|
|
61 |
- Administrator can **Approve** or **Decline** specific bookings.
|
62 |
- View the number of new bookings on the **booking dashboard section**.
|
63 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
**Google Calendar Events**
|
|
|
65 |
- **Import your Google Calendar** events to your booking admin panel.
|
66 |
- Fast manual **adding booking to Google Calendar** by clicking on export button near each booking(s) at Booking Listing page.
|
67 |
|
@@ -136,7 +145,6 @@ If you're unclear about the installation process, check out our [HELP](http://wp
|
|
136 |
- jQuery 1.9.1 or newer
|
137 |
|
138 |
|
139 |
-
|
140 |
== Frequently Asked Questions ==
|
141 |
|
142 |
Please see [FAQ](http://wpbookingcalendar.com/faq/).
|
@@ -146,31 +154,32 @@ If you have any further questions, please fill free to <a href="mailto:support@w
|
|
146 |
= Support Languages =
|
147 |
|
148 |
- English
|
149 |
-
-
|
150 |
-
-
|
151 |
-
-
|
152 |
-
-
|
153 |
-
-
|
154 |
-
-
|
155 |
-
-
|
156 |
-
-
|
157 |
-
-
|
158 |
-
-
|
159 |
-
-
|
160 |
-
-
|
161 |
-
-
|
162 |
-
-
|
163 |
-
-
|
164 |
-
-
|
165 |
-
-
|
166 |
-
-
|
167 |
-
-
|
168 |
-
-
|
169 |
-
-
|
170 |
-
-
|
171 |
-
-
|
172 |
-
-
|
173 |
-
-
|
|
|
174 |
- Belarussian [10% Completed]
|
175 |
|
176 |
Please recheck the status of each translation, before using plugin.
|
@@ -198,6 +207,39 @@ Please, fill free for suggesting [new ideas](http://wpbookingcalendar.com/ideas/
|
|
198 |
12. **Timeline**. Glance booking checking for a year (3 months or month), at front-end side of your website.
|
199 |
|
200 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
201 |
= 7.2 =
|
202 |
- Changes in **all** versions:
|
203 |
* **New** New buttons in Booking Listing page for fast manual **export** (adding) of specific **booking to Google Calendar** (7.1.2.5)
|
@@ -501,5 +543,5 @@ Please, fill free for suggesting [new ideas](http://wpbookingcalendar.com/ideas/
|
|
501 |
For more information, see the [full release notes](http://wpbookingcalendar.com/changelog/).
|
502 |
|
503 |
== Upgrade Notice ==
|
504 |
-
=
|
505 |
-
|
1 |
+
=== Booking Calendar ===
|
2 |
Contributors: wpdevelop
|
3 |
Donate link: http://wpbookingcalendar.com/buy/
|
4 |
+
Tags: booking calendar, availability calendar, ical, booking system, booking form, reservation, events, appointment, availability, schedule, calendar, contact form
|
5 |
Requires at least: 4.0
|
6 |
+
Requires PHP: 5.2.4
|
7 |
Tested up to: 4.8
|
8 |
+
Stable tag: 8.0
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
18 |
Your website visitors can **check availability** of **property** *(like apartment, house, hotel room, etc.)* or any **service** you offer and **make a booking** in a minute.
|
19 |
|
20 |
|
21 |
+
**Your Customers will be able to:**
|
22 |
+
|
23 |
+
1. Select day(s) in calendar *(which is possible to customize for fitting to your site design)*
|
24 |
+
1. Fill booking form fields *(which is possible to configure - change fields labels, activate/deactivate or set as required)*
|
25 |
+
1. Submit a booking
|
26 |
+
|
27 |
+
Administrator *(and also your visitors)* will **receive notification email(s)** about the new booking, and be able to **Approve** or **Decline** this reservation in Easy to Understand, sleek Admin Booking Panel (with possibility to **see all bookings** in day/week/month view of Calendar Overview mode - **Timeline** or just in Booking **Listing Table**).
|
28 |
|
29 |
|
30 |
= KEY BENEFITS: =
|
62 |
- Administrator can **Approve** or **Decline** specific bookings.
|
63 |
- View the number of new bookings on the **booking dashboard section**.
|
64 |
|
65 |
+
**Sync bookings**
|
66 |
+
|
67 |
+
- Native integration with our **Booking Manager** plugin for ability to **import/export .ics feeds** or files
|
68 |
+
- **Import .ics feeds** via shortcodes at pages. It gives a great flexibility to import .ics feeds from different sources (like **Airbnb, Booking.com, HomeAway, TripAdvisor, VRBO, FlipKey** or any other calendar that uses .ics format, including iCal (iCalendar)) into same booking resource.
|
69 |
+
- Define different parameters in import shortcode, for example, you can set "start from" and "finish to" date condition or maximum number of items to import or import only events for available dates in exist calendar, etc...
|
70 |
+
- Confgure custom ULRs at setting page for **export bookings to .ics feeds/files**, which possible to import in Google Calendar (or Airbnb, Booking.com, HomeAway, TripAdvisor, VRBO, FlipKey and any other calendar that uses .ics format, including iCal (iCalendar)).
|
71 |
+
|
72 |
**Google Calendar Events**
|
73 |
+
|
74 |
- **Import your Google Calendar** events to your booking admin panel.
|
75 |
- Fast manual **adding booking to Google Calendar** by clicking on export button near each booking(s) at Booking Listing page.
|
76 |
|
145 |
- jQuery 1.9.1 or newer
|
146 |
|
147 |
|
|
|
148 |
== Frequently Asked Questions ==
|
149 |
|
150 |
Please see [FAQ](http://wpbookingcalendar.com/faq/).
|
154 |
= Support Languages =
|
155 |
|
156 |
- English
|
157 |
+
- Dutch [100% Completed]
|
158 |
+
- German [98% Completed]
|
159 |
+
- Italian [98% Completed]
|
160 |
+
- Danish [98% Completed]
|
161 |
+
- Finnish [98% Completed]
|
162 |
+
- Swedish [98% Completed]
|
163 |
+
- Hebrew [98% Completed]
|
164 |
+
- Chinese (Taiwan) [98% Completed]
|
165 |
+
- Norwegian [98% Completed]
|
166 |
+
- Brazilian Portuguese [98% Completed]
|
167 |
+
- Hungarian [97% Completed]
|
168 |
+
- Ukrainian [97% Completed]
|
169 |
+
- Russian [97% Completed]
|
170 |
+
- Chinese [97% Completed]
|
171 |
+
- French [97% Completed]
|
172 |
+
- Polish [95% Completed]
|
173 |
+
- Portugal [83% Completed]
|
174 |
+
- Spanish [83% Completed]
|
175 |
+
- Greece [83% Completed]
|
176 |
+
- Czech [83% Completed]
|
177 |
+
- Slovak [83% Completed]
|
178 |
+
- Croatian [83% Completed]
|
179 |
+
- Turkish [83% Completed]
|
180 |
+
- Catalan [82% Completed]
|
181 |
+
- Bulgarian [82% Completed]
|
182 |
+
- Arabic [82% Completed]
|
183 |
- Belarussian [10% Completed]
|
184 |
|
185 |
Please recheck the status of each translation, before using plugin.
|
207 |
12. **Timeline**. Glance booking checking for a year (3 months or month), at front-end side of your website.
|
208 |
|
209 |
== Changelog ==
|
210 |
+
= 8.0 =
|
211 |
+
- Changes in **all** versions:
|
212 |
+
* **New** **Sync bookings** between different sources easily via .ics feeds
|
213 |
+
* **New** Native integration with our **Booking Manager** plugin for ability to **import/export .ics feeds** or files
|
214 |
+
* **New** **Import .ics feeds** via shortcodes at pages. It gives a great flexibility to import .ics feeds from different sources (like **Airbnb, Booking.com, HomeAway, TripAdvisor, VRBO, FlipKey** or any other calendar that uses .ics format) into same booking resource.
|
215 |
+
* **New** Define different parameters in import shortcode, for example, you can set "start from" and "finish to" date condition or maximum number of items to import or import only events for available dates in exist calendar, etc...
|
216 |
+
* **New** Confgure custom ULRs at setting page for **export bookings to .ics feeds/files**
|
217 |
+
* **Translation** Finnish translation [98% completed] by Teemu Valkeapää
|
218 |
+
* **Translation** Chinese (Taiwan) translation [98% completed] by Howdy Lee
|
219 |
+
* **Translation** Dutch translation [98% completed] by Alex Rabayev and Iris Schuster
|
220 |
+
* **Translation** Norwegian translation [98% completed] by Bjørn Kåre Løland
|
221 |
+
* **Translation** Brazilian Portuguese translation [98% completed] by Rafael Rocha
|
222 |
+
* **Improvement** New setting option for activation showing system debug log, for Beta features. Useful in case, if need to find reason, if something was going wrong. You can activate it at the Booking > Settings General page in Advanced section after clicking on "Show advanced settings of JavaScript loading." ( 7.2.1.15 )
|
223 |
+
* **Improvement** Showing system messages one under other instead of replacing each other in admin panel. Its possible to hide top one and see previous notices (7.2.1.16)
|
224 |
+
* **Improvement** Show in "New (visitor)" email (that is sending to the visitor after new booking) the date that is one day previous to the last selected day, by using this shortcode: [check_out_minus1day] (7.2.1.6)
|
225 |
+
* *Fix* Correctly load custom jQuery via https (in some servers), if website is using SSL ( 7.2.1.4 )
|
226 |
+
* *Fix* Compatibility issue with other plugins, during expand/collapsing sections at settings pages (7.2.1.10)
|
227 |
+
* *Fix* Additional checking about $_SERVER variables, for preventing of showing "Warning Notices" at some servers ( 7.2.1.17 )
|
228 |
+
* *Fix* Loading correct language, if language was set to English in user profile but in WordPress > General > Settings page was set some other default language ( 7.2.1.21 )
|
229 |
+
* *Under Hood* New API File /{Booking Calendar Folder}/core/wpbc-dev-api.php - well documented list of functions and hooks that possible to use for third-party integrations.
|
230 |
+
- Changes in **Personal / Business Small / Business Medium / Business Large / MultiUser** versions:
|
231 |
+
* **New** shortcode for showing coupon discount value of the booking: [coupon_discount_hint] at Booking > Settings > Form page *(Business Large, MultiUser)*
|
232 |
+
* *Improvement* Discount coupon codes will not depend from symbols lowercase or uppercase. Prevent of saving coupon codes with specific symbols, which can generate issue of not showing discount at payment form. (7.2.1.3) *(Business Large, MultiUser)*
|
233 |
+
* *Improvement* Show "blank" bookings with different border color at Calendar Overview page. (7.2.1.8) *(Personal Business Small/Medium/Large, MultiUser)*
|
234 |
+
* *Improvement* Apply "Valuation days" cost settings "For = LAST", even if previous TOGATHER = X% settings was applied. (7.2.1.20) *(Business Medium/Large, MultiUser)*
|
235 |
+
* *Under Hood* New column in booking resources table for saving export info (7.2.1.13) *(Personal Business Small/Medium/Large, MultiUser)*
|
236 |
+
* *Fix* Issue of not showing search results (during searching in same page - ajax request), when using custom fields parameters and selected - "" (which is means "any value") ( 7.2.1.5 ) *(Business Large, MultiUser)*
|
237 |
+
* *Fix* Issue of showing correct number of decimal digits depend from cost format, in calendar days cells and mouseover tooltips ( 7.2.1.11) *(Business Medium/Large, MultiUser)*
|
238 |
+
* *Fix* Do not check about required fields, if the fields are hidded (7.2.1.12) *(Personal Business Small/Medium/Large, MultiUser)*
|
239 |
+
* *Fix* Issue of not showing links for booking resources in timeline after scrolling, if using (resource_link) parameter with links in timeline shortcode. (7.2.1.14) *(Personal Business Small/Medium/Large, MultiUser)*
|
240 |
+
* *Fix* "Request-URI Too Long" fatal error at "Calendar Overview" page, when visitor have too many booking resources (7.2.1.18) *(Personal Business Small/Medium/Large, MultiUser)*
|
241 |
+
* *Fix* Issue of not showing correctly booking resources titles in TimeLine during months scrolling (7.2.1.22) *(MultiUser)*
|
242 |
+
|
243 |
= 7.2 =
|
244 |
- Changes in **all** versions:
|
245 |
* **New** New buttons in Booking Listing page for fast manual **export** (adding) of specific **booking to Google Calendar** (7.1.2.5)
|
543 |
For more information, see the [full release notes](http://wpbookingcalendar.com/changelog/).
|
544 |
|
545 |
== Upgrade Notice ==
|
546 |
+
= 8.0 =
|
547 |
+
Sync bookings (via import/export .ics feeds) between different sources, like Airbnb, Booking.com, HomeAway, TripAdvisor, VRBO, FlipKey or any other calendar that uses .ics format. (Require Booking Manager plugin).
|
wpdev-booking.php
CHANGED
@@ -7,7 +7,7 @@ Author: wpdevelop
|
|
7 |
Author URI: http://wpbookingcalendar.com/
|
8 |
Text Domain: booking
|
9 |
Domain Path: /languages/
|
10 |
-
Version:
|
11 |
*/
|
12 |
|
13 |
/* Copyright 2009 - 2016 www.wpbookingcalendar.com (email: info@wpbookingcalendar.com),
|
7 |
Author URI: http://wpbookingcalendar.com/
|
8 |
Text Domain: booking
|
9 |
Domain Path: /languages/
|
10 |
+
Version: 8.0
|
11 |
*/
|
12 |
|
13 |
/* Copyright 2009 - 2016 www.wpbookingcalendar.com (email: info@wpbookingcalendar.com),
|