PluginProbe
Booking Calendar / 11.9
Booking Calendar v11.9
11.9 11.8.4 11.8.3 11.8.2 11.8.1 11.8 11.7 11.6.1 11.6 11.5 11.4.3 11.4.2 11.4.1 11.4 11.3 11.2.1 11.2 11.1 11.0 10.15.7 10.15.6 10.1.3 10.10 10.10.1 10.10.2 All 205 releases
← All changes | includes/page-form-builder/bfb-include.php +42 -33 10.15.6 → 11.9 View file →
@@ -1,4 +1,4 @@
1 1 <?php
2 2 /**
3 3 * Include all nessacery files for the Booking From Builder (BFB)
4 4 *
@@ -19,30 +19,30 @@
19 19 exit; // Exit if accessed directly.
20 20 }
21 21
22 22 // Slug of the Builder page passed by footer hook / bootstrap.
23 -if ( ! defined( 'WPBC_BFB_BUILDER_PAGE_SLUG' ) ) {
24 - define( 'WPBC_BFB_BUILDER_PAGE_SLUG', 'wpbc-ajx_booking_builder_booking_form' );
25 -}
23 +if ( ! defined( 'WPBC_BFB_BUILDER_PAGE_SLUG' ) ) {
24 + define( 'WPBC_BFB_BUILDER_PAGE_SLUG', 'wpbc-ajx_booking_builder_booking_form' );
25 +}
26 +
27 +require_once WPBC_PLUGIN_DIR . '/includes/_front_end/form-style-presets.php'; // Shared global form style presets.
28 +
29 +// =====================================================================================================================
30 +// == Ajax ==
31 +// =====================================================================================================================
32 +require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/ajax/bfb-ajax.php'; // AJAX controller for saving / loading / listing ...
26 33
27 -// Slug of the Builder page passed by footer hook / bootstrap.
28 -if ( ! defined( 'WPBC_BFB_DEBUG' ) ) {
29 - define( 'WPBC_BFB_DEBUG', !false );
30 -}
31 -
32 34 // =====================================================================================================================
33 -// == Ajax ==
34 -// =====================================================================================================================
35 -require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/ajax/bfb-ajax.php'; // AJAX controller for saving / loading / listing ...
36 -
37 -// =====================================================================================================================
38 35 // == Save / Load ==
39 36 // =====================================================================================================================
40 -require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/save-load/bfb-form-manager.php'; // Bridge between legacy booking form options and the new booking_form_structures table. Provides wpbc_form_config_load() / wpbc_form_config_save().
41 37 require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/save-load/bfb-form-storage.php'; // Low-level storage for BFB form structures. Handles DB.
38 +require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/save-load/bfb-form-manager.php'; // Booking Form Builder storage manager.
39 +require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/legacy-import/form_templates.php'; // Import-only legacy form templates.
40 +require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/legacy-import/form_simple__default.php'; // Import-only Simple form defaults.
41 +require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/legacy-import/form_simple__get_data.php'; // Import-only Simple form shortcode conversion helpers.
42 42 require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/save-load/bfb-activate.php'; // Activate / Deactivate.
43 -require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/save-load/bfb-import-simple-form.php'; // Import - Simple form - migration loader.
44 -require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/save-load/bfb-import-legacy-forms.php'; // Import - all legacy forms - migration loader.
43 +require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/legacy-import/bfb-import-simple-form.php'; // Import - Simple form - migration loader.
44 +require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/legacy-import/bfb-import-legacy-forms.php'; // Import - all legacy forms - migration loader.
45 45 require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/save-load/bfb-form-loader.php'; // Loader.
46 46
47 47 require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/assets/template-records/bfb-activate-templates.php'; // Update Templaets on Activation.
48 48 // =====================================================================================================================
@@ -66,14 +66,14 @@
66 66 // =====================================================================================================================
67 67 require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/publish/class-wpbc-bfb-publish-ajax.php'; // Ajax Endpoint.
68 68 require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/publish/tpl-modal__publish.php'; // "Publish" tpl.
69 69
70 +// =====================================================================================================================
71 +// == Settings Options ==
72 +// =====================================================================================================================
73 +require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/form-settings/options-render.php'; // Save and Load different form settings - right sidebar "Settings".
74 +require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/form-settings/options-defs.php'; // Listing of all Settings options.
70 75 // =====================================================================================================================
71 -// == Settings Options ==
72 -// =====================================================================================================================
73 -require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/form-settings/options-render.php'; // Save and Load different form settings - right sidebar "Settings".
74 -require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/form-settings/options-defs.php'; // Listing of all Settings options.
75 -// =====================================================================================================================
76 76 // == Current Form Details ==
77 77 // =====================================================================================================================
78 78 require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/form-details/current-form-details.php'; // Current Form Details.
79 79
@@ -113,28 +113,35 @@
113 113 // require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/text/field-text-wptpl.php'; // -- Text -- // Reference Pack: WP Template.
114 114 require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/textarea/textarea.php'; // -- Textara --.
115 115 require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/select/field-select-wptpl.php'; // -- Selectbox -- // Reference Pack: WP Template.
116 116 require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/radio/field-radio-wptpl.php'; // -- Radio --.
117 -require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/checkbox/field-checkbox-wptpl.php'; // -- Checkbox --
117 +require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/checkbox/field-checkbox-wptpl.php'; // -- Checkbox --
118 +
119 +require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/accept-terms/field-accept-terms-wptpl.php'; // -- Terms --
120 +require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/country/field-country.php'; // -- Country List --.
121 +require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/coupon/field-coupon.php'; // -- Discount Coupon --.
118 122
119 -require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/accept-terms/field-accept-terms-wptpl.php'; // -- Terms --
120 -
121 123 // =====================================================================================================================
122 -// == Times Packs ==
123 -// =====================================================================================================================
124 -// require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/time-range/time-range.php'; // -- Time Range --
124 +// == Times Packs ==
125 +// =====================================================================================================================
126 +require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/time-picker-appearance.php'; // -- Shared Time Picker Appearance --.
127 +// require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/time-range/time-range.php'; // -- Time Range --
125 128 require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/time-range/field-rangetime-wptpl.php'; // -- Time Range 2 --
126 129 require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/time-start/field-starttime-wptpl.php';
127 130 require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/time-end/field-endtime-wptpl.php';
128 131 require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/time-duration/field-durationtime-wptpl.php';
129 132 require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/time-duration-service/field-durationtime-service-preset.php';
133 +require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/weekday-rangetime/field-weekday-rangetime-wptpl.php';
134 +require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/weekday-starttime/field-weekday-starttime-wptpl.php';
135 +require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/season-rangetime/field-season-rangetime-wptpl.php';
130 136 // require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/time-grid/time-grid.php'; // -- TODO: Time Grid --.
131 137
132 138
133 139 // =====================================================================================================================
134 -// == Hints Packs ==
135 -// =====================================================================================================================
136 -require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/hint-cost_hint/field-cost-hint-wptpl.php';
140 +// == Hints Packs ==
141 +// =====================================================================================================================
142 +require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/custom-shortcode/field-custom-shortcode.php';
143 +require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/hint-cost_hint/field-cost-hint-wptpl.php';
137 144 require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/hint-selected_short_timedates_hint/field-selected-short-timedates-hint-wptpl.php';
138 145 require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/hint-capacity_hint/field-capacity-hint-wptpl.php';
139 146 require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/hint-bookingresource_info/field-bookingresource-info-wptpl.php';
140 147
@@ -159,16 +166,18 @@
159 166 require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/hint-deposit_hint/field-deposit-hint-wptpl.php';
160 167 require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/hint-balance_hint/field-balance-hint-wptpl.php';
161 168 require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/hint-coupon_discount_hint/field-coupon-discount-hint-wptpl.php';
162 169
163 -require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/hint-resource_title_hint/field-resource-title-hint-wptpl.php';
170 +require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/hint-resource_title_hint/field-resource-title-hint-wptpl.php';
171 +require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/hint-service_title_hint/field-service-title-hint-wptpl.php';
164 172
165 173
166 174 // =====================================================================================================================
167 175 // == Structure Packs ==
168 176 // =====================================================================================================================
169 -require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/wizard-nav/wizard-nav.php'; // -- Wizard Nav. --
170 -require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/divider/divider.php'; // -- Divider --
177 +require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/wizard-nav/wizard-nav.php'; // -- Wizard Nav. --
178 +require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/appointment-start-over/appointment-start-over.php'; // -- Appointment Start Over. --
179 +require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/divider/divider.php'; // -- Divider --
171 180 require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/steps-timeline/field-steps-timeline.php'; // -- Steps Timeline in Wizards --
172 181
173 182 // =====================================================================================================================
174 183 // == Page ==