PluginProbe
Booking Calendar / 11.8.4
Booking Calendar v11.8.4
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 10.11 All 204 releases
← All changes | includes/page-form-builder/bfb-include.php +37 -30 10.15.611.8.4 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
@@ -118,23 +118,28 @@
118 118
119 119 require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/accept-terms/field-accept-terms-wptpl.php'; // -- Terms --
120 120
121 121 // =====================================================================================================================
122 -// == Times Packs ==
123 -// =====================================================================================================================
124 -// require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/time-range/time-range.php'; // -- Time Range --
122 +// == Times Packs ==
123 +// =====================================================================================================================
124 +require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/time-picker-appearance.php'; // -- Shared Time Picker Appearance --.
125 +// require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/time-range/time-range.php'; // -- Time Range --
125 126 require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/time-range/field-rangetime-wptpl.php'; // -- Time Range 2 --
126 127 require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/time-start/field-starttime-wptpl.php';
127 128 require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/time-end/field-endtime-wptpl.php';
128 129 require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/time-duration/field-durationtime-wptpl.php';
129 130 require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/time-duration-service/field-durationtime-service-preset.php';
131 +require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/weekday-rangetime/field-weekday-rangetime-wptpl.php';
132 +require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/weekday-starttime/field-weekday-starttime-wptpl.php';
133 +require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/season-rangetime/field-season-rangetime-wptpl.php';
130 134 // require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/time-grid/time-grid.php'; // -- TODO: Time Grid --.
131 135
132 136
133 137 // =====================================================================================================================
134 -// == Hints Packs ==
135 -// =====================================================================================================================
136 -require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/hint-cost_hint/field-cost-hint-wptpl.php';
138 +// == Hints Packs ==
139 +// =====================================================================================================================
140 +require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/custom-shortcode/field-custom-shortcode.php';
141 +require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/hint-cost_hint/field-cost-hint-wptpl.php';
137 142 require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/hint-selected_short_timedates_hint/field-selected-short-timedates-hint-wptpl.php';
138 143 require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/hint-capacity_hint/field-capacity-hint-wptpl.php';
139 144 require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/hint-bookingresource_info/field-bookingresource-info-wptpl.php';
140 145
@@ -159,16 +164,18 @@
159 164 require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/hint-deposit_hint/field-deposit-hint-wptpl.php';
160 165 require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/hint-balance_hint/field-balance-hint-wptpl.php';
161 166 require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/hint-coupon_discount_hint/field-coupon-discount-hint-wptpl.php';
162 167
163 -require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/hint-resource_title_hint/field-resource-title-hint-wptpl.php';
168 +require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/hint-resource_title_hint/field-resource-title-hint-wptpl.php';
169 +require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/hint-service_title_hint/field-service-title-hint-wptpl.php';
164 170
165 171
166 172 // =====================================================================================================================
167 173 // == Structure Packs ==
168 174 // =====================================================================================================================
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 --
175 +require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/wizard-nav/wizard-nav.php'; // -- Wizard Nav. --
176 +require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/appointment-start-over/appointment-start-over.php'; // -- Appointment Start Over. --
177 +require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/divider/divider.php'; // -- Divider --
171 178 require_once WPBC_PLUGIN_DIR . '/includes/page-form-builder/field-packs/steps-timeline/field-steps-timeline.php'; // -- Steps Timeline in Wizards --
172 179
173 180 // =====================================================================================================================
174 181 // == Page ==