PluginProbe
Booking Calendar / 11.7
Booking Calendar v11.7
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 10.11.2 10.11.3 10.11.4 All 201 releases
booking / core / class / welcome_current.php

welcome_current.php in Booking Calendar 11.7, at core/class/welcome_current.php

1,224 lines 87.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 // Exit if accessed directly
4 if ( !defined( 'ABSPATH' ) ) exit;
5
6 /**
7 * What's New section for Booking Calendar 11.7.
8 *
9 * @param object $obj Welcome-page renderer.
10 *
11 * @return void
12 */
13 function wpbc_welcome_section_11_7( $obj ) {
14
15 $section_param_arr = array( 'version_num' => '11.7', 'show_expand' => false );
16 // $obj->asset_path = 'http://beta/assets/'; // TODO: comment this in production.
17 $prices_inspector_sections = array(
18 array(
19 'title' => 'Base Cost',
20 'image' => '11.7/wp_booking_calendar__prices_catalog_base_cost_placeholder.png',
21 'alt' => 'Prices inspector showing the Base Cost editor with a decimal amount and synchronized slider',
22 'minimum_edition' => 'Booking Calendar Business Medium or higher.',
23 'purpose' => 'Use Base Cost to define the normal starting price for this Resource before date, duration, deposit, and booking-time adjustments are applied.',
24 'description' => 'Enter an exact Resource price, including decimals, or use the synchronized slider. The inspector also shows the owner currency and charging period that control how the value is understood.',
25 ),
26 array(
27 'title' => 'Seasonal Rates',
28 'image' => '11.7/wp_booking_calendar__prices_catalog_seasonal_rates_placeholder.png',
29 'alt' => 'Prices inspector showing ordered Seasonal Rates with On and Off controls',
30 'minimum_edition' => 'Booking Calendar Business Medium or higher.',
31 'purpose' => 'Use Seasonal Rates when the same Resource should cost more or less on holidays, weekends, high seasons, or other reusable date periods.',
32 'description' => 'Add fixed or percentage Seasonal Rates, switch saved rates On or Off without losing their settings, search authorized Seasons, and control evaluation order with drag or keyboard actions.',
33 ),
34 array(
35 'title' => 'Duration-Based Costs',
36 'image' => '11.7/wp_booking_calendar__prices_catalog_duration_costs_placeholder.png',
37 'alt' => 'Prices inspector showing ordered Duration-Based Cost rules and a separate LAST-day value',
38 'minimum_edition' => 'Booking Calendar Business Medium or higher.',
39 'purpose' => 'Use Duration-Based Costs when the price should change according to how many days a customer books.',
40 'description' => 'Build ordered From, For, Together, and LAST rules with fixed, percentage, or added amounts. Optional Season conditions, synchronized controls, and separate LAST-day previews make each rule easier to understand.',
41 ),
42 array(
43 'title' => 'Partial Payment',
44 'image' => '11.7/wp_booking_calendar__prices_catalog_partial_payment_placeholder.png',
45 'alt' => 'Prices inspector showing a Partial Payment preview with due-now and balance amounts',
46 'minimum_edition' => 'Booking Calendar Business Medium or higher.',
47 'purpose' => 'Use Partial Payment when customers should pay a deposit at booking and the remaining balance later instead of paying the full total immediately.',
48 'description' => 'Configure a percentage or fixed deposit with optional lead-time and Season conditions. The live preview separates the configured value from the amount currently due and shows the remaining balance and calculation basis.',
49 ),
50 array(
51 'title' => 'Early Booking Adjustment',
52 'image' => '11.7/wp_booking_calendar__prices_catalog_early_booking_placeholder.png',
53 'alt' => 'Prices inspector showing an Early Booking discount preview and qualifying date range',
54 'minimum_edition' => 'Booking Calendar Business Medium or higher.',
55 'purpose' => 'Use Early Booking Adjustment to encourage advance reservations by reducing the price when check-in is sufficiently far away.',
56 'description' => 'Offer fixed or percentage reductions for sufficiently early check-ins. The date ruler shows site today, the inclusive threshold, the selected check-in, and whether the authorized Season condition applies.',
57 ),
58 array(
59 'title' => 'Late Booking Adjustment',
60 'image' => '11.7/wp_booking_calendar__prices_catalog_last_minute_placeholder.png',
61 'alt' => 'Prices inspector showing a Last-Minute discount preview and near-term qualifying date range',
62 'minimum_edition' => 'Booking Calendar Business Medium or higher.',
63 'purpose' => 'Use Late Booking Adjustment to help fill near-term availability by reducing the price for check-ins inside a short booking window.',
64 'description' => 'Offer fixed or percentage reductions for near-term check-ins. The preview clearly shows the inverse date range and exclusive boundary, while saving this section leaves Early Booking settings unchanged.',
65 ),
66 );
67
68 $obj->expand_section_start( $section_param_arr );
69 ?>
70 <div class="wpbc_wn_container">
71 <div class="wpbc_wn_section">
72 <h2><?php echo 'A New Prices Catalog'; ?></h2>
73 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
74 <?php // Replace this placeholder with the final 11.7 Prices Catalog screenshot before release. ?>
75 <img
76 src="<?php echo esc_attr( $obj->section_img_url( '11.7/wp_booking_calendar__prices_catalog_overview_placeholder.png' ) ); ?>"
77 alt="<?php echo 'Prices Catalog showing Resource pricing summaries, previews, filters, layouts, and the right-side inspector'; ?>"
78 style="margin:10px 0;width:98%;"
79 />
80 </div>
81 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
82 <p><strong><?php echo 'Minimum edition:'; ?></strong> <?php echo 'Booking Calendar Business Medium or higher.'; ?></p>
83 <p><strong><?php echo 'Why use it:'; ?></strong> <?php echo 'Use the Prices Catalog to review and manage all Resource-owned pricing rules from one page instead of opening several separate pricing screens.'; ?></p>
84 <ul>
85 <li><?php echo 'Manage Resource pricing from the familiar Booking Calendar > Prices page with search, filtering, sorting, paging, layouts, customizable columns, and clear pricing previews.'; ?></li>
86 <li><?php echo 'Expand a Resource to open direct links for Base Cost, Seasonal Rates, Duration-Based Costs, Partial Payment, Early Booking, and Last-Minute adjustments, together with owner Pricing context and authorized external settings.'; ?></li>
87 <li><?php echo 'The right-side inspector keeps each pricing area focused, validates current authorized values before saving, and protects changes made by another request.'; ?></li>
88 <li><?php echo 'Need more time before switching? Enable Use legacy catalog pages to temporarily restore the previous Prices listing without migrating or resetting pricing data.'; ?></li>
89 <li><?php echo 'Catalog previews cover Resource-owned pricing. Booking Form option costs, coupons, taxes, payment fees, additional Resources, and other later adjustments can still change the final booking total.'; ?></li>
90 </ul>
91 </div>
92 </div>
93
94 <?php foreach ( $prices_inspector_sections as $prices_inspector_section ) { ?>
95 <div class="wpbc_wn_section">
96 <h2><?php echo esc_html( $prices_inspector_section['title'] ); ?></h2>
97 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
98 <?php // Replace this placeholder with the final 11.7 inspector screenshot before release. ?>
99 <img
100 src="<?php echo esc_attr( $obj->section_img_url( $prices_inspector_section['image'] ) ); ?>"
101 alt="<?php echo esc_attr( $prices_inspector_section['alt'] ); ?>"
102 style="margin:10px 0;width:98%;"
103 />
104 </div>
105 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
106 <p><strong><?php echo 'Minimum edition:'; ?></strong> <?php echo esc_html( $prices_inspector_section['minimum_edition'] ); ?></p>
107 <p><strong><?php echo 'Why use it:'; ?></strong> <?php echo esc_html( $prices_inspector_section['purpose'] ); ?></p>
108 <p><?php echo esc_html( $prices_inspector_section['description'] ); ?></p>
109 </div>
110 </div>
111 <?php } ?>
112
113 <div class="wpbc_wn_section">
114 <h2><?php echo 'Clearer Left Sidebar Navigation'; ?></h2>
115 <div class="wpbc_wn_col" style="flex: 1 1 40%;margin: 10px 0;">
116 <p><strong><?php echo 'Minimum edition:'; ?></strong> <?php echo 'Booking Calendar Free. This improvement is available in every edition.'; ?></p>
117 <p><strong><?php echo 'Why use it:'; ?></strong> <?php echo 'Use the grouped navigation to find administration pages faster and keep the current page visible in long menus.'; ?></p>
118 <ul>
119 <li><?php echo 'The grouped left menu keeps Appointments, Services, Providers, Availability, Pricing, and Settings easier to scan while preserving the familiar WordPress administration area.'; ?></li>
120 <li><?php echo 'Long menus automatically bring the exact current page into view, and the Minimize control now remembers and restores the visible sidebar state reliably.'; ?></li>
121 </ul>
122 </div>
123 <div class="wpbc_wn_col" style="flex: 1 1 50%;margin: 10px 0;">
124 <?php // Replace this placeholder with the final 11.7 navigation screenshot before release. ?>
125 <img
126 src="<?php echo esc_attr( $obj->section_img_url( '11.7/wp_booking_calendar__left_sidebar_navigation_placeholder.png' ) ); ?>"
127 alt="<?php echo 'Booking Calendar administration showing the grouped left sidebar navigation and selected page'; ?>"
128 style="margin:10px 0;width:98%;"
129 />
130 </div>
131 </div>
132
133 <div class="wpbc_wn_section">
134 <h2><?php echo 'More Improvements in 11.7'; ?></h2>
135 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
136 <?php // Replace these placeholders with the final 11.7 Cost correction screenshots before release. ?>
137 <img
138 src="<?php echo esc_attr( $obj->section_img_url( '11.7/wp_booking_calendar__add_booking_cost_correction_placeholder.png' ) ); ?>"
139 alt="<?php echo 'Add Booking inspector showing the Cost correction number and slider controls'; ?>"
140 style="margin:10px 0;width:98%;"
141 />
142 </div>
143 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
144 <p><strong><?php echo 'Minimum edition for Cost correction:'; ?></strong> <?php echo 'Booking Calendar Business Small or higher.'; ?></p>
145 <p><strong><?php echo 'Why use it:'; ?></strong> <?php echo 'Use Cost correction when an administrator needs to replace the automatically calculated total for one manually created Booking or Appointment.'; ?></p>
146 <ul>
147 <li><?php echo 'Optionally set an exact final total while adding a Booking or Appointment. Leave the field empty to keep normal automatic pricing.'; ?></li>
148 <li><?php echo 'Applied Cost corrections continue through the established deposit, balance, notification, and cost-note workflow.'; ?></li>
149 <li><?php echo 'All editions: Full Screen preferences now remain consistent between Booking Calendar pages, including WordPress installations in subdirectories.'; ?></li>
150 <li><?php echo 'All editions: Form Builder Select fields now keep Value different from label turned off after saving and continue synchronizing option values with their labels.'; ?></li>
151 <li><?php echo 'Business Medium and higher: Prices Catalog editing keeps Changed indicators compact, and inspector actions retain readable icon spacing in left-to-right and right-to-left layouts.'; ?></li>
152 </ul>
153 </div>
154 </div>
155 </div>
156 <?php
157 $obj->expand_section_end( $section_param_arr );
158 }
159
160 /**
161 * What's New section for Booking Calendar 11.6.
162 *
163 * @param object $obj Welcome-page renderer.
164 *
165 * @return void
166 */
167 function wpbc_welcome_section_11_6( $obj ) {
168 $section_param_arr = array( 'version_num' => '11.6', 'show_expand' => true );
169
170 $obj->expand_section_start( $section_param_arr );
171
172 // $obj->asset_path = 'http://beta/assets/'; // TODO: comment this in production.
173 ?>
174 <div class="wpbc_wn_container">
175
176 <div class="wpbc_wn_section">
177 <h2><?php echo 'A New Booking Resources Catalog'; ?></h2>
178
179 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
180 <?php // Replace this placeholder with the final 11.6 screenshot or GIF before release. ?>
181 <img src="<?php echo esc_attr( $obj->section_img_url( '11.6/wp_booking_calendar__booking_resources_catalog_placeholder.png' ) ); ?>" alt="<?php echo 'New Booking Resources catalog'; ?>" style="margin:10px 0;width:98%;" />
182 <div style="text-align: center;font-style: italic;font-size: 0.9em;">This screenshot demonstrates some features available exclusively in the Pro versions (including price, capacity, ...)</div>
183 </div>
184
185 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
186 <ul>
187 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Find and organize Booking Resources faster with **search, filtering, sorting, pagination, saved views, and customizable columns**.' ) ); ?></li>
188 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Choose the **Default, Compact, or Cards layout** while keeping the same Resource information and management tools.' ) ); ?></li>
189 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Use responsive, keyboard-friendly controls with improved mobile, RTL, wide-table, and shortened-text handling.' ) ); ?></li>
190 </ul>
191 </div>
192 </div>
193
194 <div class="wpbc_wn_section">
195 <h2><?php echo( 'A Native Seasons Catalog' ); ?></h2>
196
197 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
198 <?php // Replace this placeholder with the final 11.6 screenshot or GIF before release. ?>
199 <img
200 src="<?php echo esc_attr( $obj->section_img_url( '11.6/wp_booking_calendar__seasons_02.png' ) ); ?>"
201 alt="<?php echo( 'Seasons catalog showing reusable date rules and their usage' ); ?>"
202 style="margin:10px 0;width:98%;"
203 />
204 </div>
205
206 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
207 <ul>
208 <li><?php echo( 'Business Medium and higher editions can search, filter, sort, and paginate Seasons in Default, Compact, or Cards layouts with customizable columns and site-local preferences.' ); ?></li>
209 <li><?php echo( 'Create and edit Conditional or Specific-date Seasons in a native right-side inspector with guided controls, color selection, a live twelve-month preview, and the standard Booking Calendar datepicker.' ); ?></li>
210 <li><?php echo( 'Select Seasons and review server-approved safe title changes inline or in bulk before applying them.' ); ?></li>
211 <li><?php echo( 'Review single or bulk deletion impact, follow authorized links to affected configuration, and keep referenced Seasons protected without silently rewriting related settings.' ); ?></li>
212 <li><?php echo( 'Open the reusable Seasons catalog from its dedicated Booking Calendar navigation group between Pricing and Settings; Season Availability remains under Availability, while legacy Season editors remain available through the rollback setting.' ); ?></li>
213 </ul>
214 </div>
215 </div>
216
217 <div class="wpbc_wn_section">
218 <h2><?php echo 'Richer Resource Profiles and Publishing'; ?></h2>
219
220 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
221 <?php // Replace this placeholder with the final 11.6 screenshot or GIF before release. ?>
222 <img src="<?php echo esc_attr( $obj->section_img_url( '11.6/wp_booking_calendar__resource_profiles_and_publishing_placeholder.png' ) ); ?>" alt="<?php echo 'Booking Resource profile and publishing tools'; ?>" style="margin:10px 0;width:98%;" />
223 <div style="text-align: center;font-style: italic;font-size: 0.9em;">This screenshot demonstrates some features available exclusively in the Pro versions (including price, ...)</div>
224 </div>
225
226 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
227 <ul>
228 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Add a recognizable **title, photo, and description** to each Booking Resource.' ) ); ?></li>
229 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Review booking, publishing, pricing, structure, ownership, and availability information without leaving the catalog.' ) ); ?></li>
230 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Free version users can edit and publish the included Booking Resource directly from the catalog.' ) ); ?></li>
231 </ul>
232 </div>
233 </div>
234
235 <div class="wpbc_wn_section">
236 <h2><?php echo 'New Resource Catalog Layouts for Booking Pages'; ?></h2>
237
238 <div class="wpbc_wn_col" style="flex: 1 1 48%;">
239 <?php // Replace this placeholder with the final 11.6 screenshot or GIF before release. ?>
240 <img src="<?php echo esc_attr( $obj->section_img_url( '11.6/wp_booking_calendar__frontend_resource_catalog_placeholder_01.png' ) ); ?>" alt="<?php echo 'Responsive Booking Resource Catalog layouts'; ?>" style="margin:10px 0;width:98%;" />
241 </div>
242 <div class="wpbc_wn_col" style="flex: 1 1 48%;">
243 <?php // Replace this placeholder with the final 11.6 screenshot or GIF before release. ?>
244 <img src="<?php echo esc_attr( $obj->section_img_url( '11.6/wp_booking_calendar__frontend_resource_catalog_placeholder_02.png' ) ); ?>" alt="<?php echo 'Responsive Booking Resource Catalog layouts'; ?>" style="margin:10px 0;width:98%;" />
245 </div>
246 <div style="text-align: center;font-style: italic;font-size: 0.9em; margin: 0 auto;">These screenshots demonstrates some features available exclusively in the Pro versions.</div>
247 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
248 <ul>
249 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Transform the **[booking_resource_selector]** shortcode into a visual, searchable **Resource Catalog** for your booking pages.' ) ); ?></li>
250 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Choose a responsive **Grid or List layout** that adapts to desktop, tablet, and mobile screens.' ) ); ?></li>
251 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Configure Resource images, descriptions, hierarchy, availability, and price summaries to help customers compare their options.' ) ); ?></li>
252 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Customers can search the catalog and select the right Resource before its native booking calendar and form open on the same page.' ) ); ?></li>
253 </ul>
254 </div>
255 </div>
256
257 <div class="wpbc_wn_section">
258 <h2><?php echo 'A More Flexible Services Catalog'; ?></h2>
259
260 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
261 <?php // Replace this placeholder with the final 11.6 screenshot or GIF before release. ?>
262 <img src="<?php echo esc_attr( $obj->section_img_url( '11.6/wp_booking_calendar__services_catalog_placeholder.png' ) ); ?>" alt="<?php echo 'Services catalog layouts and editing tools'; ?>" style="margin:10px 0;width:98%;" />
263 <div style="text-align: center;font-style: italic;font-size: 0.9em;">This screenshot demonstrates some features available exclusively in the Pro versions (including price, ...)</div>
264 </div>
265
266 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
267 <ul>
268 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Manage Services in responsive **Default, Compact, or Cards layouts**, with search, Provider filtering, sorting, and customizable columns.' ) ); ?></li>
269 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Select Services, edit current server-approved fields inline or in reviewed bulk changes, or use the **right-side Service editor** without leaving the catalog.' ) ); ?></li>
270 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Review changes in the same clear **before-and-after cards** used by Booking Resources and Seasons before applying them.' ) ); ?></li>
271 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Permanently delete unreferenced Services through a reviewed impact and confirmation step; protected Services provide authorized links to affected Appointments or saved Appointment pages.' ) ); ?></li>
272 </ul>
273 </div>
274 </div>
275
276 <div class="wpbc_wn_section">
277 <h2><?php echo 'Faster and Safer Resource Management'; ?></h2>
278
279 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
280 <?php // Replace this placeholder with the final 11.6 screenshot or GIF before release. ?>
281 <img src="<?php echo esc_attr( $obj->section_img_url( '11.6/wp_booking_calendar__resource_management_placeholder.png' ) ); ?>" alt="<?php echo 'Booking Resource editing and review workflow'; ?>" style="margin:10px 0;width:98%;" />
282 <div style="text-align: center;font-style: italic;font-size: 0.9em;">This screenshot demonstrates some features available exclusively in the Pro versions (including price, ...)</div>
283 </div>
284
285 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
286 <ul>
287 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Select rows, edit safe fields inline, or use the **right-side Resource editor** while staying in the catalog.' ) ); ?></li>
288 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Paid versions add guided single or batch creation and reviewed bulk changes for the fields available in each edition.' ) ); ?></li>
289 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Preview important changes in consistent **before-and-after cards** before applying them, with server-side permission, ownership, edition, and stale-review checks.' ) ); ?></li>
290 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Reviewed deletion warns about existing bookings, links authorized users to the affected records, and protects parent and child Resource relationships.' ) ); ?></li>
291 </ul>
292 </div>
293 </div>
294
295 <div class="wpbc_wn_section">
296 <h2><?php echo 'Hierarchy and Capacity Tools (Business Large and Higher Editions)'; ?></h2>
297
298 <div class="wpbc_wn_col" style="flex: 1 1 48%;">
299 <?php // Replace this placeholder with the final 11.6 screenshot or GIF before release. ?>
300 <img src="<?php echo esc_attr( $obj->section_img_url( '11.6/wp_booking_calendar__hierarchy_and_capacity_placeholder_02.png' ) ); ?>" alt="<?php echo 'Booking Resource hierarchy and capacity tools'; ?>" style="margin:10px 0;width:98%;" />
301 </div>
302 <div class="wpbc_wn_col" style="flex: 1 1 48%;">
303 <?php // Replace this placeholder with the final 11.6 screenshot or GIF before release. ?>
304 <img src="<?php echo esc_attr( $obj->section_img_url( '11.6/wp_booking_calendar__hierarchy_and_capacity_placeholder_03.png' ) ); ?>" alt="<?php echo 'Booking Resource hierarchy and capacity tools'; ?>" style="margin:10px 0;width:98%;" />
305 </div>
306
307 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
308 <ul>
309 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Manage parent and child Booking Resources in expandable groups that stay together while searching, sorting, and changing pages.' ) ); ?></li>
310 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Adjust capacity** by creating inherited child Resources or by reviewing which children become independent or are permanently deleted.' ) ); ?></li>
311 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Capacity now represents the parent calendar and its child Resource calendars instead of the Maximum visitors setting.' ) ); ?></li>
312 </ul>
313 </div>
314 </div>
315 </div>
316 <?php
317 $obj->expand_section_end( $section_param_arr );
318 }
319
320 /**
321 * What's New section for Booking Calendar 11.5.
322 *
323 * @param object $obj Welcome-page renderer.
324 *
325 * @return void
326 */
327 function wpbc_welcome_section_11_5( $obj ) {
328 $section_param_arr = array( 'version_num' => '11.5', 'show_expand' => !false );
329 // Keep empty image slots out of the markup until final 11.5 screenshots are available.
330 $image_urls = array(
331 'appointment_booking' => '',
332 'appointment_admin' => '',
333 'add_booking' => '',
334 'form_appearance' => '',
335 'compatibility' => '',
336 );
337
338 $obj->expand_section_start( $section_param_arr );
339
340 // $obj->asset_path = 'http://beta/assets/'; // TODO: comment this in production.
341 ?>
342 <div class="wpbc_wn_container">
343
344 <div class="wpbc_wn_section">
345 <h2><?php echo 'Services and the New Appointment Booking Flow'; ?></h2>
346
347 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
348 <img src="<?php echo esc_attr( $obj->section_img_url( '11.5/wp_booking_calendar__services_and_appointments_2.png' ) ); ?>" style="margin:10px 0;width:98%;" />
349 </div>
350 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
351 <ul>
352 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **NEW Services catalogue**: Create Services with a picture, description, duration, buffers, price, status, Booking Form, and compatible Providers.' ) ); ?></li>
353 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Clear Provider overview**: Search and sort Services, review assigned Providers and weekly availability, and open the relevant availability settings directly.' ) ); ?></li>
354 </ul>
355 </div>
356
357 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
358 <img src="<?php echo esc_attr( $obj->section_img_url( '11.5/booking_calendar__appointment_flow_01.gif' ) ); ?>" style="margin:10px 0;width:98%;" />
359 <div style="text-align: center;font-style: italic;font-size: 0.9em;">This video demonstrates features available in the Business Small and higher editions, including multiple providers, payments, and booking costs.</div>
360 </div>
361
362 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
363 <ul>
364 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **NEW [booking_appointment] shortcode**: Customers choose a Service and compatible Provider before the native calendar and Booking Form load on the same page with AJAX.' ) ); ?></li>
365 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; A new **Start Over** field in the Booking Form Builder lets customers restart the Appointment flow without reloading the page.' ) ); ?></li>
366 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; A new **Appointments and Services Flow** template and **Weekday Start Time** field provide an Appointment-ready Form Builder starting point.' ) ); ?></li>
367 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Reliable scheduling**: Service duration, buffers, and Provider-specific overrides are checked on the server before an Appointment is saved.' ) ); ?></li>
368 </ul>
369 </div>
370 </div>
371
372 <div class="wpbc_wn_section">
373 <h2><?php echo 'Administration Modes and QuickStart'; ?></h2>
374
375 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
376 <img src="<?php echo esc_attr( $obj->section_img_url( '11.5/wp_booking_calendar__booking_modes_01.gif' ) ); ?>" style="margin:10px 0;width:98%;" />
377 </div>
378
379 <div class="wpbc_wn_col" style="flex: 1 1 100%;">
380
381 <ul>
382 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Choose **Classic**, **Appointments**, or **Rentals** to use familiar terminology and focused navigation without changing existing bookings, resources, availability, or page URLs.' ) ); ?></li>
383 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Mode selection is stored for the active Booking Calendar owner, including supported MultiUser owner contexts.' ) ); ?></li>
384 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Explicit **Appointment QuickStart** and **Rental QuickStart** actions can reuse or prepare the minimum booking page setup and remain safe to run again.' ) ); ?></li>
385 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; The **mode-aware Setup Wizard** follows the selected booking profile through the relevant Service, Provider, form, availability, appearance, publish, and test-page steps.' ) ); ?></li>
386 </ul>
387 </div>
388 </div>
389
390 <div class="wpbc_wn_section">
391 <h2><?php echo 'Resource-first Booking Flow'; ?> ( Pro Versions)</h2>
392
393 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
394 <img src="<?php echo esc_attr( $obj->section_img_url( '11.5/wp_booking_calendar__resources_selector_01.gif' ) ); ?>" style="margin:10px 0;width:98%;" />
395 <div style="text-align: center;font-style: italic;font-size: 0.9em;">This video demonstrates features available in the Pro versions, including payments, and booking costs in BS+ versions.</div>
396 </div>
397
398 <div class="wpbc_wn_col" style="flex: 1 1 100%;">
399 <ul>
400 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; The new **[booking_resource_selector] shortcode** lets visitors choose a permitted Booking Resource before its native calendar and Booking Form load on the same page.' ) ); ?></li>
401 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Restrict, preselect, or optionally auto-open Resources from the shortcode popup or WordPress block, while retaining Start Over and the established availability, pricing, payment, and booking engines.' ) ); ?></li>
402 </ul>
403 </div>
404 </div>
405
406 <div class="wpbc_wn_section" style="gap:1%">
407 <div class="wpbc_wn_col" style="flex: 1 1 48%;">
408 <h3><?php echo 'Appointment Administration'; ?></h3>
409
410 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;padding:5px;">
411 <img src="<?php echo esc_attr( $obj->section_img_url( '11.5/wp_booking_calendar__appointment_administration_3.png' ) ); ?>" style="margin:10px 0;width:98%;" />
412 </div>
413
414 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
415 <?php if ( ! empty( $image_urls['appointment_admin'] ) ) { ?>
416 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
417 <img src="<?php echo esc_url( $image_urls['appointment_admin'] ); ?>" alt="<?php echo 'Appointment administration'; ?>" style="margin:10px 0;width:98%;" />
418 <?php } ?>
419 </div>
420
421 <ul>
422 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **NEW Add Appointment page**: Create an Appointment through the same Service-first flow from a focused admin canvas with contextual inspector panels.' ) ); ?></li>
423 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Filter the Booking Listing by **Services and Providers** using reusable searchable multi-select controls.' ) ); ?></li>
424 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Appointment details, Service and Provider snapshots, duration, buffers, and blocked time are available in administration details and supported outputs.' ) ); ?></li>
425 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Providers remain existing **Booking Resources**, preserving established availability, permissions, and ownership behavior.' ) ); ?></li>
426 </ul>
427 </div>
428
429 <div class="wpbc_wn_col" style="flex: 1 1 48%;">
430 <h3><?php echo 'Redesigned Add Booking Page'; ?></h3>
431
432 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;padding:5px;">
433 <img src="<?php echo esc_attr( $obj->section_img_url( '11.5/wp_booking_calendar__add_booking_page_3.png' ) ); ?>" style="margin:10px 0;width:98%;" />
434 </div>
435
436 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
437 <?php if ( ! empty( $image_urls['add_booking'] ) ) { ?>
438 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
439 <img src="<?php echo esc_url( $image_urls['add_booking'] ); ?>" alt="<?php echo 'Redesigned Add Booking administration page'; ?>" style="margin:10px 0;width:98%;" />
440 <?php } ?>
441 </div>
442
443 <ul>
444 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Focused booking canvas**: The standard Booking Form remains in the main workspace while setup and actions move into a consistent right-side inspector.' ) ); ?></li>
445 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Important actions stay visible**: Add Booking and Auto-fill Form are placed together with a concise summary of the selected Booking Resource, Booking Form, email notifications, and past-date behavior.' ) ); ?></li>
446 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Temporary Date selection override**: Administrators can switch between Single day, Multiple days, and Range days immediately without reloading the page or changing saved front-end settings.' ) ); ?></li>
447 </ul>
448
449 </div>
450 </div>
451
452 <div class="wpbc_wn_section">
453
454 <h2><?php echo 'Consistent Form Styles and Accent Colors'; ?></h2>
455
456 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
457 <img src="<?php echo esc_attr( $obj->section_img_url( '11.5/wp_booking_calendar__theme_and_accent_colors_01.gif' ) ); ?>" style="margin:10px 0;width:98%;" />
458 </div>
459
460 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
461 <?php if ( ! empty( $image_urls['form_appearance'] ) ) { ?>
462 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
463 <img src="<?php echo esc_url( $image_urls['form_appearance'] ); ?>" alt="<?php echo 'Form Styles and accent colors'; ?>" style="margin:10px 0;width:98%;" />
464 <?php } ?>
465 </div>
466 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
467 <ul>
468 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Choose an optional **Custom accent color** for primary buttons, secondary-button hover borders, focused fields, selected choices, navigation, and compatible time slots.' ) ); ?></li>
469 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Use **Apply accent to form elements** to copy the accent into supported editable components, with global time-picker display and style controls available in Time field inspectors.' ) ); ?></li>
470 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; The new **Automatic - Match Booking Form** time-slot style follows the selected Form Style while existing time-picker skins keep their own colors.' ) ); ?></li>
471 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Custom button controls and unified primary, secondary, submit, and wizard styles provide consistent dimensions, borders, hover behavior, dark-theme colors, and accessible keyboard focus.' ) ); ?></li>
472 </ul>
473 </div>
474
475 </div>
476
477 <div class="wpbc_wn_section">
478 <div class="wpbc_wn_col" style="flex: 1 1 100%;">
479 <h3><?php echo 'Compatibility and Extensibility'; ?></h3>
480
481 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
482 <?php if ( ! empty( $image_urls['compatibility'] ) ) { ?>
483 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
484 <img src="<?php echo esc_url( $image_urls['compatibility'] ); ?>" alt="<?php echo 'Booking Calendar compatibility and extensibility'; ?>" style="margin:10px 0;width:98%;" />
485 <?php } ?>
486 </div>
487
488 <ul>
489 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Existing **Booking Resources, availability, Booking Forms, pricing, payments, and bookings remain authoritative**; the Appointment experience builds on them instead of replacing them.' ) ); ?></li>
490 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Appointment information is included in supported confirmations, emails, Booking Listing details, print views, and CSV exports.' ) ); ?></li>
491 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Safer customer access**: Public Timeline links are scoped to the exact authorized booking and Resource; Personal and higher editions use one-time email verification for customer booking lists.' ) ); ?></li>
492 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; New filters and hooks allow commercial editions and extensions to adapt capabilities, Service and Provider catalogues, and Appointment form routing.' ) ); ?></li>
493 </ul>
494 </div>
495 </div>
496 </div>
497 <?php
498 $obj->expand_section_end( $section_param_arr );
499 }
500
501 /**
502 * What's New section for Booking Calendar 11.4
503 *
504 * @param object $obj
505 *
506 * @return void
507 */
508 function wpbc_welcome_section_11_4( $obj ) {
509
510 $section_param_arr = array( 'version_num' => '11.4', 'show_expand' => true );
511
512 $obj->expand_section_start( $section_param_arr );
513 // $obj->asset_path = 'http://beta/assets/'; // TODO: comment this in production.
514 ?>
515 <div class="wpbc_wn_container">
516
517 <div class="wpbc_wn_section">
518 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'New Global Booking Form Styles' ) ); ?></h2>
519
520 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
521 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
522 <img src="<?php echo esc_attr( $obj->section_img_url( '11.4/booking_calendar__booking_form_styles.gif' ) ); ?>" style="margin:10px 0;width:98%;" />
523 </div>
524
525 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
526 <ul>
527 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **NEW**: Added global **Booking Form Styles** with Light and Dark bordered, borderless, and soft-background presets, plus a fully configurable Custom style.' ) ); ?></li>
528 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Complete appearance controls**: Customize form backgrounds, borders, spacing, text, fields, focus states, checkbox and radio controls, and buttons.' ) ); ?></li>
529 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Consistent live previews**: Select and preview the same global Form Style in **Settings > Appearance / Theme** and the **Booking Form Builder**.' ) ); ?></li>
530 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Unified front-end design**: Form styles now apply consistently across booking forms and supported payment buttons while preserving PayPal branding.' ) ); ?></li>
531 </ul>
532 </div>
533 </div>
534
535 <div class="wpbc_wn_section">
536 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Two-Click Date Range Selection' ) ); ?></h2>
537
538 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
539 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
540 <img src="<?php echo esc_attr( $obj->section_img_url( '11.4/booking_calendar__date_range_selection.gif' ) ); ?>" style="margin:10px 0;width:98%;" />
541 </div>
542 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
543 <ul>
544 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **NEW**: Added two-click date-range selection in **Booking Calendar Free and higher editions**, allowing visitors to select the first and last booking dates.' ) ); ?></li>
545 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Clear visual selection**: Available dates and the prospective date range are highlighted while visitors move through the calendar.' ) ); ?></li>
546 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Better visitor guidance**: Added clearer instructions for completing a range and more useful feedback when it contains unavailable dates.' ) ); ?></li>
547 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Faster full-day setup**: Two-click range selection is now the default when Full Day Booking mode is activated in the Setup Wizard.' ) ); ?></li>
548 </ul>
549 </div>
550 </div>
551
552 <div class="wpbc_wn_section" style="gap:1%">
553
554 <div class="wpbc_wn_col" style="flex: 1 1 48%;">
555 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Centralized Form Messages' ) ); ?></h2>
556
557 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
558 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
559 <img src="<?php echo esc_attr( $obj->section_img_url( '11.4/booking_calendar__form_messages.png' ) ); ?>" style="margin:10px 0;width:98%;" />
560 </div>
561 <ul>
562 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **NEW**: Added a dedicated **Form Messages** settings page for date selection notices, validation errors, submission messages, and other visitor-facing text.' ) ); ?></li>
563 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Multilingual messages**: Customize messages with **[lang=LOCALE]** language shortcodes while keeping translated plugin defaults.' ) ); ?></li>
564 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Simpler settings workflow**: Edit all message groups on one page, use quick section navigation, restore defaults, and save with AJAX notifications.' ) ); ?></li>
565 </ul>
566 </div>
567
568 <div class="wpbc_wn_col" style="flex: 1 1 48%;">
569 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Streamlined Form Builder Workflow' ) ); ?></h2>
570
571 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
572 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
573 <img src="<?php echo esc_attr( $obj->section_img_url( '11.4/booking_calendar__form_builder_workflow.png' ) ); ?>" style="margin:10px 0;width:98%;" />
574 </div>
575 <ul>
576 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Modernized form configuration**: Removed legacy Booking Form settings pages and routed form configuration to the **Booking Form Builder**.' ) ); ?></li>
577 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Safe legacy migration**: Existing Simple and Advanced legacy forms are imported into the Booking Form Builder during updates.' ) ); ?></li>
578 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Setup Wizard improvement**: Added **Save and Continue** and limited visual highlighting to the settings relevant to the current setup step.' ) ); ?></li>
579 </ul>
580 </div>
581 </div>
582
583 </div>
584 <?php
585
586 $obj->expand_section_end( $section_param_arr );
587 }
588
589 /**
590 * What's New section for Booking Calendar 11.3
591 *
592 * @param object $obj
593 *
594 * @return void
595 */
596 function wpbc_welcome_section_11_3( $obj ) {
597
598 $section_param_arr = array( 'version_num' => '11.3', 'show_expand' => true );
599
600 $obj->expand_section_start( $section_param_arr );
601 // $obj->asset_path = 'http://beta/assets/'; // TODO: comment this in production.
602 ?>
603 <div class="wpbc_wn_container">
604
605 <div class="wpbc_wn_section">
606 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'New Calendar Settings Page' ) ); ?></h2>
607
608 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
609 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
610 <img src="<?php echo esc_attr( $obj->section_img_url( '11.3/booking_calendar__settings_calendar_live_preview.png' ) ); ?>" style="margin:10px 0;width:98%;" />
611 </div>
612
613 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
614 <ul>
615 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **NEW**: Added a dedicated **Settings > Calendar** page with a live calendar preview and right-side configuration panels.' ) ); ?></li>
616 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Days selection preview**: Configure single day, multiple days, range selection, start weekdays, and related selection rules while immediately seeing how the calendar behaves.' ) ); ?></li>
617 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Changeover settings**: Configure check-in/check-out changeover days, diagonal or vertical markings, recurrent times, and changeover exceptions from the same visual interface.' ) ); ?></li>
618 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Calendar legend and tooltips**: Show or hide the legend, edit legend item titles, and configure date tooltip content with instant preview updates.' ) ); ?></li>
619 </ul>
620 </div>
621 </div>
622
623 <div class="wpbc_wn_section">
624 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'New Appearance / Theme Settings Page' ) ); ?></h2>
625
626 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
627 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
628 <img src="<?php echo esc_attr( $obj->section_img_url( '11.3/booking_calendar__settings_theme_live_preview.png' ) ); ?>" style="margin:10px 0;width:98%;" />
629 </div>
630
631 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
632 <ul>
633 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **NEW**: Added a dedicated **Settings > Appearance / Theme** page for configuring the calendar skin and booking form visual style.' ) ); ?></li>
634 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Real booking form preview**: Preview the real calendar and booking form using selected resources, month count, custom forms, and preview modes.' ) ); ?></li>
635 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Theme controls**: Switch between light and dark booking form themes, choose calendar skins, configure time picker appearance, and review the result before saving.' ) ); ?></li>
636 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Cleaner settings experience**: Legacy Appearance / Color Theme settings were replaced with a clearer visual workflow.' ) ); ?></li>
637 </ul>
638 </div>
639 </div>
640
641 <div class="wpbc_wn_section" style="gap:1%">
642
643 <div class="wpbc_wn_col" style="flex: 1 1 48%;">
644 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Setup Wizard Improvements' ) ); ?></h2>
645
646 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
647 <!-- <img src="--><?php //echo esc_attr( $obj->section_img_url( '11.3/booking_calendar__setup_wizard_calendar_flow.png' ) ); ?><!--" style="margin:10px 0;width:98%;" />-->
648
649 <ul>
650 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Improvement**: Setup Wizard steps now open the new Calendar and Appearance / Theme settings pages instead of older settings screens.' ) ); ?></li>
651 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Smarter changeover setup**: Changeover workflows now include a dedicated Changeover Days step and continue through Date Availability, Color Theme, Publish, and Booking Listing.' ) ); ?></li>
652 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Better Setup Bar positioning**: The floating Setup Bar moves to a better default top position on visual settings pages, while preserving any user-dragged position.' ) ); ?></li>
653 </ul>
654 </div>
655
656 <div class="wpbc_wn_col" style="flex: 1 1 48%;">
657 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Resources and Admin Workflow' ) ); ?></h2>
658
659 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
660 <!-- <img src="--><?php //echo esc_attr( $obj->section_img_url( '11.3/booking_calendar__resources_capacity_rules.png' ) ); ?><!--" style="margin:10px 0;width:98%;" />-->
661
662 <ul>
663 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **NEW**: Moved capacity-related settings to **Resources > Capacity Rules**, keeping booking quantity and pending-day rules closer to resource configuration.' ) ); ?></li>
664 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Improvement**: Added a shared top path/status line across Booking Calendar admin pages for clearer navigation.' ) ); ?></li>
665 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Improvement**: Admin left sidebar and full-screen mode preferences are now saved per user, while special setup and builder workflows can still enforce their required layout.' ) ); ?></li>
666 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Fixes**: Improved Calendar preview saving, changeover rendering, legend refresh, tooltip settings, Setup Wizard routing, and Booking Listing email toggle persistence.' ) ); ?></li>
667 </ul>
668 </div>
669 </div>
670
671 </div>
672
673 <?php
674
675 $obj->expand_section_end( $section_param_arr );
676 }
677
678 /**
679 * What's New section for Booking Calendar 11.2
680 *
681 * @param object $obj
682 *
683 * @return void
684 */
685 function wpbc_welcome_section_11_2( $obj ) {
686
687
688 $section_param_arr = array( 'version_num' => '11.2', 'show_expand' => true );
689
690 $obj->expand_section_start( $section_param_arr );
691 // $obj->asset_path = 'http://beta/assets/'; // TODO: comment this in production.
692 ?>
693 <div class="wpbc_wn_container">
694
695 <div class="wpbc_wn_section">
696 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Redesigned Setup Wizard' ) ); ?></h2>
697
698 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
699 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
700 <img src="<?php echo esc_attr( $obj->section_img_url( '11.2/booking_calendar__setup_wizard__floating_setup_bar.png' ) ); ?>" style="margin:10px 0;width:98%;" />
701 </div>
702
703 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
704 <ul>
705 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **NEW**: Redesigned the initial **Setup Wizard** with a floating **Setup Bar** that guides users through configuration directly on the relevant Booking Calendar admin pages.' ) ); ?></li>
706 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Step-by-step setup flow**: After choosing the booking type, the wizard opens the exact settings pages needed for form setup, date selection, availability, working time, color theme, and publishing.' ) ); ?></li>
707 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Context-aware guidance**: The Setup Bar shows the current step, progress, Back / Continue / Finish controls, and clear instructions for what should be configured on each page.' ) ); ?></li>
708 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Smarter page assistance**: Setup steps can automatically open, scroll to, and highlight the related settings section.' ) ); ?></li>
709 </ul>
710 </div>
711 </div>
712
713
714 <div class="wpbc_wn_section">
715 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Floating Setup Bar' ) ); ?></h2>
716
717 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
718 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
719 <img src="<?php echo esc_attr( $obj->section_img_url( '11.2/booking_calendar__setup_wizard__move_setup_bar.png' ) ); ?>" style="margin:10px 0;width:98%;" />
720 </div>
721
722 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
723 <ul>
724 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **NEW**: Added a floating **Setup Bar** available across Booking Calendar admin pages during setup.' ) ); ?></li>
725 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Save-aware workflow**: Steps that require saving now keep the Continue button disabled until changes are saved.' ) ); ?></li>
726 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Flexible positioning**: The bar can be collapsed, moved by drag and drop, reset to its default position, and automatically shifted away from right-side settings panels.' ) ); ?></li>
727 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Reliable completion**: Finishing or skipping setup now correctly hides the Setup Bar across all Booking Calendar admin pages.' ) ); ?></li>
728 </ul>
729 </div>
730 </div>
731
732
733 <div class="wpbc_wn_section">
734 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Front-End Booking Form Popup' ) ); ?></h2>
735
736 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
737 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
738 <img src="<?php echo esc_attr( $obj->section_img_url( '11.2/booking_calendar__open_popup.png' ) ); ?>" style="margin:10px 0;width:98%;" />
739 </div>
740
741 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
742 <ul>
743 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **NEW**: Added front-end popup support for booking forms using shortcode parameters.' ) ); ?></li>
744 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Popup booking form shortcode**: Use **[booking resource_id=1 popup=1]** to show a button that opens the booking form in a modal window.' ) ); ?></li>
745 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Dedicated alias shortcode**: Added **[booking_popup]** as a shortcut for popup booking forms.' ) ); ?></li>
746 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Customizable popup display**: Configure popup button text, popup title, custom CSS classes, modal class, and popup size.' ) ); ?></li>
747 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Automatic assets loading**: Required popup JavaScript and CSS are loaded automatically on front-end pages.' ) ); ?></li>
748 </ul>
749 </div>
750 </div>
751
752 <div class="wpbc_wn_section" style="gap:1%">
753
754 <div class="wpbc_wn_col" style="flex: 1 1 48%;">
755 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Time Slots Availability Improvements' ) ); ?></h2>
756
757 <ul>
758 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Improvement**: Improved the **Create Booking for Selection** workflow in the Time Slots Availability popup.' ) ); ?></li>
759 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **More reliable popup handoff**: The Add Booking popup is now validated before the Time Slots popup closes, preventing cases where no booking form appeared.' ) ); ?></li>
760 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Better multi-date selections**: Dragged multi-date time intervals are now handled as explicit admin-selected time overrides during availability validation.' ) ); ?></li>
761 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Cleaner JavaScript**: Fixed deprecated jQuery warnings in the Time Slots Availability popup.' ) ); ?></li>
762 </ul>
763 </div>
764
765 <div class="wpbc_wn_col" style="flex: 1 1 48%;">
766 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Reliability and Sync Improvements' ) ); ?></h2>
767
768 <ul>
769 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Fix**: Fixed a PHP 8+ fatal error on the Form Builder page when malformed legacy custom form data was stored incorrectly.' ) ); ?></li>
770 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Fix**: Improved Form Options Costs parsing for selectbox fields with quoted defaults. Available in Business Medium or higher.' ) ); ?></li>
771 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Fix**: Add Booking now correctly loads the default custom booking form assigned to the selected booking resource. Available in Business Medium or higher.' ) ); ?></li>
772 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Fix**: Fixed Early / Late Booking discount calculation so fixed form option costs are not incorrectly reduced to zero.' ) ); ?></li>
773 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **NEW**: Added the **Append extra day after imported checkout day** option for **.ics** import sync rules.' ) ); ?></li>
774 </ul>
775 </div>
776 </div>
777
778 </div>
779
780 <?php
781
782 $obj->expand_section_end( $section_param_arr );
783 }
784
785 /**
786 * What's New section for Booking Calendar 11.1
787 *
788 * @param object $obj
789 *
790 * @return void
791 */
792 function wpbc_welcome_section_11_1( $obj ) {
793
794
795 $section_param_arr = array( 'version_num' => '11.1', 'show_expand' => true );
796
797 $obj->expand_section_start( $section_param_arr );
798 // $obj->asset_path = 'http://beta/assets/'; // TODO: comment this in production.
799 ?>
800
801 <div class="wpbc_wn_container">
802
803 <div class="wpbc_wn_section">
804 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Working Time' ) ); ?></h2>
805
806 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
807 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
808 <img src="<?php echo esc_attr( $obj->section_img_url( '11.1/wp_booking_calendar_11_1_working_time_01.png' ) ); ?>" style="margin:10px 0;width:98%;" />
809 </div>
810
811 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
812 <ul>
813 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **NEW**: Added **Working Time** settings to **Booking Calendar > Availability > General Availability**, allowing administrators to restrict time-based bookings to specific working hours.' ) ); ?></li>
814 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Designed for time-based booking forms**: Working Time applies to booking forms that use **rangetime**, **start/end time**, or **start/duration time** fields.' ) ); ?></li>
815 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Flexible schedule control**: Define default working hours for each weekday, then optionally set custom working time rules for specific booking resources.' ) ); ?></li>
816 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Clear availability timeline**: Time outside working hours is shown in **Time Slots Availability** as read-only unavailable time, with links back to the related Working Time settings.' ) ); ?></li>
817 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Cleaner front-end calendar display**: Dates limited only by Working Time keep their tooltip information, while the calendar avoids showing partial-booking dots when there are no real bookings or manually blocked time slots.' ) ); ?></li>
818 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Better editing workflow**: When opening Working Time settings from the Time Slots Availability timeline, the General Availability page automatically expands and scrolls to the Working Time section.' ) ); ?></li>
819 </ul>
820 </div>
821 </div>
822
823 </div>
824 <?php
825
826 $obj->expand_section_end( $section_param_arr );
827 }
828
829 /**
830 * What's New section for Booking Calendar 11.0
831 *
832 * @param object $obj
833 *
834 * @return void
835 */
836 function wpbc_welcome_section_11_0( $obj ) {
837
838
839 $section_param_arr = array( 'version_num' => '11.0', 'show_expand' => true );
840
841 $obj->expand_section_start( $section_param_arr );
842 // $obj->asset_path = 'http://beta/assets/'; // TODO: comment this in production.
843 ?>
844 <div class="wpbc_wn_container">
845
846 <div class="wpbc_wn_section">
847 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Time Slots Availability' ) ); ?></h2>
848
849 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
850 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
851 <img src="<?php echo esc_attr( $obj->section_img_url( '11.0/wp_booking_calendar__availability__time_slots_01.gif' ) ); ?>" style="margin:10px 0;width:98%;" />
852 <!-- <img src="--><?php //echo esc_attr( $obj->section_img_url( '11.0/wp_booking_calendar__availability__time_slots_02.png' ) ); ?><!--" style="margin:10px 0;width:98%;" />-->
853 </div>
854
855 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
856 <ul>
857 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **NEW**: Added the **Time Slots Availability** page under **Booking Calendar > Availability**, allowing administrators to define unavailable time intervals for specific booking resources and date ranges.' ) ); ?></li>
858 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Interactive timeline selection**: Select one or many days directly in the timeline, adjust start and end time, then block or unblock the selected interval.' ) ); ?></li>
859 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Clear availability states**: The timeline now shows available, booked, unavailable, and full-day unavailable states in one place.' ) ); ?></li>
860 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Finer control**: Work with visible time range controls, date range navigation arrows, and slot steps down to **5 minutes**.' ) ); ?></li>
861 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Better long-range editing**: Sticky timeline headers and progress indicators make loading, blocking, unblocking, and saving easier to follow.' ) ); ?></li>
862 </ul>
863 </div>
864 </div>
865
866
867 <div class="wpbc_wn_section">
868 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Set Times Availability Popup' ) ); ?></h2>
869
870 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
871 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
872 <img src="<?php echo esc_attr( $obj->section_img_url( '11.0/wp_booking_calendar_11_0_set_times_availability_popup.png' ) ); ?>" style="margin:10px 0;width:98%;" />
873
874 </div>
875
876 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
877 <ul>
878 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **NEW**: Added a reusable **Set Times Availability** popup to the Booking Listing page, so unavailable time intervals can be managed without leaving the bookings workflow.' ) ); ?></li>
879 <li><img src="<?php echo esc_attr( $obj->section_img_url( '11.0/wp_booking_calendar__add_booking _from__timeslots__availability_01.gif' ) ); ?>" style="margin:10px 0;width:98%;" />
880 <?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Create bookings from selected intervals**: Start a new booking directly from the selected time interval inside the Time Slots Availability popup.' ) ); ?></li>
881 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Works across multiple days**: Select, block, unblock, and review unavailable intervals across a date range with booked and unavailable states visible.' ) ); ?></li>
882 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Unavailable full-day reasons**: The popup can show days blocked by Days Availability, Season Availability, unavailable weekdays, unavailable time from current time, and limit available days from today settings.' ) ); ?></li>
883 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Quick rule links**: Full-day unavailable timeline bars can link to the related availability settings page, helping administrators identify and adjust the rule that made a date unavailable.' ) ); ?></li>
884 </ul>
885 </div>
886 </div>
887
888
889 <div class="wpbc_wn_section">
890 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Faster Add Booking Popup' ) ); ?></h2>
891
892 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
893 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
894 <img src="<?php echo esc_attr( $obj->section_img_url( '11.0/wp_booking_calendar_11_0_add_booking_popup.png' ) ); ?>" style="margin:10px 0;width:98%;" />
895 </div>
896
897 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
898 <ul>
899 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **NEW**: Added a faster **Add Booking** popup to the Booking Listing and Timeline pages, so users can create bookings without leaving the current view.' ) ); ?></li>
900 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Prefilled from the timeline**: Selected booking resource, date, start time, and end time are passed into the popup when creating a booking from a selected interval.' ) ); ?></li>
901 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Choose the right form in place**: Select the booking resource and custom booking form directly inside the popup.' ) ); ?></li>
902 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Edit in the same workflow**: Existing bookings can be opened in the popup, with a direct link to edit the selected booking form when needed.' ) ); ?></li>
903 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Improved navigation**: The Add Booking page is now available under the Bookings section, and Booking Listing and Timeline include a clearer **New booking** quick-action button.' ) ); ?></li>
904 </ul>
905 </div>
906 </div>
907
908
909 <div class="wpbc_wn_section">
910 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'General Availability Settings' ) ); ?></h2>
911
912 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
913 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
914 <img src="<?php echo esc_attr( $obj->section_img_url( '11.0/wp_booking_calendar_11_0_general_availability_settings_01.gif' ) ); ?>" style="margin:10px 0;width:98%;" />
915 </div>
916
917 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
918 <ul>
919 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **NEW**: Added a **General Availability** settings page for defining global front-end availability rules across all calendars and booking resources.' ) ); ?></li>
920 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Live calendar preview**: Review unavailable weekdays, availability limits from the current date, unavailable time from current time, and booking buffer effects before saving.' ) ); ?></li>
921 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Fast settings workflow**: Save changes with AJAX, reset preview controls to defaults, and continue working in the same page layout.' ) ); ?></li>
922 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Consistent admin design**: Uses the shared right-side palette layout from the Availability pages and setup wizard interfaces.' ) ); ?></li>
923 </ul>
924 </div>
925 </div>
926
927
928 <div class="wpbc_wn_section">
929 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Availability Accuracy and Reliability Fixes' ) ); ?></h2>
930
931 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
932 <ul>
933 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Fix**: Fixed calendar booking status detection, improving how the front-end calendar reads approved and pending booking statuses for capacity-based resources, including parent/child resources and change-over dates.' ) ); ?></li>
934 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Fix**: Fixed availability calculation for Booking Form Builder forms with time-slot fields, so dates are marked as fully unavailable when all booking form time slots are already booked. (10.15.8.2)' ) ); ?></li>
935 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Fix**: Fixed a fatal error on some hosts by reading the local PRO **meta.json** file directly instead of using WordPress FTP filesystem access.' ) ); ?></li>
936 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Improvement**: Front-end booking form calendars should now reflect real availability more clearly across booked, pending, blocked, and change-over dates.' ) ); ?></li>
937 </ul>
938 </div>
939 </div>
940
941 </div>
942 <?php
943
944 $obj->expand_section_end( $section_param_arr );
945 }
946
947 function wpbc_welcome_section_10_15( $obj ) {
948
949
950 $section_param_arr = array( 'version_num' => '10.15', 'show_expand' => true );
951
952 $obj->expand_section_start( $section_param_arr );
953
954 // $obj->asset_path = 'http://beta/assets/'; // TODO: comment this in production.
955 ?>
956 <div class="wpbc_wn_container">
957
958 <div class="wpbc_wn_section">
959 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'New Drag & Drop Booking Form Builder' ) ); ?></h2>
960
961 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
962 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
963 <img src="<?php echo esc_attr( $obj->section_img_url( '10.15/wp_booking_calendar__form_builder_overview_02.png' ) ); ?>" style="margin:10px 0;width:98%;" />
964 </div>
965
966 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
967 <ul>
968 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **NEW**: Introduced the new **Drag & Drop Booking Form Builder** for visually creating booking forms without manually editing form code.' ) ); ?></li>
969 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Build forms visually**: Drag fields into the canvas, arrange the layout, and see the result instantly in the live preview.' ) ); ?></li>
970 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Faster and easier workflow**: Create modern booking forms without working with complex manual shortcodes.' ) ); ?></li>
971 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Available in all versions**: Booking Calendar now supports **multiple custom booking form configurations** in all versions, including the Free version.' ) ); ?></li>
972 </ul>
973 </div>
974 </div>
975
976
977 <div class="wpbc_wn_section">
978 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Create Booking Forms, Contact Forms, and Inquiry Forms' ) ); ?></h2>
979
980 <div class="wpbc_wn_col" style="flex: 1 1 48%;margin: 0 1% 0 0;">
981 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
982 <img src="<?php echo esc_attr( $obj->section_img_url( '10.15/wp_booking_calendar_10_15_contact_inquiry_forms_05.png' ) ); ?>" style="margin:10px 0;width:98%;" />
983 </div>
984
985 <div class="wpbc_wn_col" style="flex: 1 1 48%;margin: 0 0 0 1%;">
986 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
987 <img src="<?php echo esc_attr( $obj->section_img_url( '10.15/wp_booking_calendar_10_15_contact_form_preview_01.png' ) ); ?>" style="margin:10px 0;width:98%;" />
988 </div>
989
990 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
991 <ul>
992 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **NEW**: Added support for **Contact Forms / Inquiry Forms / Request Forms** — the calendar is now optional.' ) ); ?></li>
993 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Use Booking Calendar as a contact form alternative**: Create forms without booking dates and manage all submissions inside Booking Calendar.' ) ); ?></li>
994 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Ready-to-use templates**: Start faster with predefined templates for booking, contact, and inquiry forms.' ) ); ?></li>
995 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Flexible start**: Create a form from a template or begin with a blank canvas for full control.' ) ); ?></li>
996 </ul>
997 </div>
998 </div>
999
1000
1001 <div class="wpbc_wn_section">
1002 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Powerful Visual Layout Builder' ) ); ?></h2>
1003
1004 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1005 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1006 <img src="<?php echo esc_attr( $obj->section_img_url( '10.15/wp_booking_calendar__form_builder_02.gif' ) ); ?>" style="margin:10px 0;width:98%;" />
1007 </div>
1008
1009 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1010 <ul>
1011 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Drag & drop fields** from the Fields palette directly into the form canvas.' ) ); ?></li>
1012 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Live visual preview** while building and editing the form.' ) ); ?></li>
1013 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Rows and columns layout** for clean and structured form designs.' ) ); ?></li>
1014 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Nested sections** (up to 5 levels) for advanced multi-row and multi-column layouts.' ) ); ?></li>
1015 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Ready section layouts** with 1, 2, 3, or 4 columns.' ) ); ?></li>
1016 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Column resizing with visual resizers** for precise control of layout widths.' ) ); ?></li>
1017 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Multi-page forms** for creating step-by-step wizard-style booking forms.' ) ); ?></li>
1018 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Drag & drop sorting of sections** plus **Move Up / Move Down controls** for faster layout management.' ) ); ?></li>
1019 </ul>
1020 </div>
1021 </div>
1022
1023
1024 <div class="wpbc_wn_section">
1025 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Smart Editing and Form Controls' ) ); ?></h2>
1026
1027 <div class="wpbc_wn_col" style="flex: 1 1 48%;margin: 0 1% 0 0;">
1028 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1029 <img src="<?php echo esc_attr( $obj->section_img_url( '10.15/wp_booking_calendar_10_15_sidebar_inspector_02.png' ) ); ?>" style="margin:10px 0;width:98%;" />
1030 </div>
1031
1032 <div class="wpbc_wn_col" style="flex: 1 1 48%;margin: 0 0 0 1%;">
1033 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1034 <img src="<?php echo esc_attr( $obj->section_img_url( '10.15/wp_booking_calendar_10_15_field_limits_02.png' ) ); ?>" style="margin:10px 0;width:98%;" />
1035 </div>
1036
1037 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1038 <ul>
1039 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Right sidebar inspector**: Easily edit field and section settings in a clear visual interface.' ) ); ?></li>
1040 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Field usage limits**: The Builder automatically prevents adding one-time fields, such as the Calendar field, more than once.' ) ); ?></li>
1041 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Responsive-friendly column width control** with layout protection for more stable form structure.' ) ); ?></li>
1042 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Improved visual editing controls** for easier field, section, and layout management directly inside the canvas.' ) ); ?></li>
1043 </ul>
1044 </div>
1045 </div>
1046
1047
1048 <div class="wpbc_wn_section">
1049 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Better Form Management and Reuse' ) ); ?></h2>
1050
1051 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1052 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1053 <img src="<?php echo esc_attr( $obj->section_img_url( '10.15/wpbc_11_0_form_management_01.png' ) ); ?>" style="margin:10px 0;width:98%;" />
1054 </div>
1055
1056 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1057 <ul>
1058 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Predefined templates:** Start building your new booking form with ready-made templates.' ) ); ?></li>
1059 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Save and restore complete form layouts** including pages, sections, columns, and fields.' ) ); ?></li>
1060 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Duplicate existing form configurations** to create similar forms much faster.' ) ); ?></li>
1061 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Save As workflow**: Create a new form based on an existing layout and settings.' ) ); ?></li>
1062 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Flexible form configuration management** for creating, saving, loading, organizing, and previewing custom forms.' ) ); ?></li>
1063 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Form details management**: Set a custom form title, slug, description, and image.' ) ); ?></li>
1064 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Media library integration** for selecting a custom image for each form configuration.' ) ); ?></li>
1065 </ul>
1066 </div>
1067 </div>
1068
1069
1070 <div class="wpbc_wn_section">
1071 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Preview, Import, and Flexible Workflow' ) ); ?></h2>
1072
1073 <div class="wpbc_wn_col" style="flex: 1 1 48%;margin: 0 1% 0 0;">
1074 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1075 <img src="<?php echo esc_attr( $obj->section_img_url( '10.15/wpbc_11_0_preview_page_01.png' ) ); ?>" style="margin:10px 0;width:98%;" />
1076 </div>
1077
1078 <div class="wpbc_wn_col" style="flex: 1 1 48%;margin: 0 0 0 1%;">
1079 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1080 <img src="<?php echo esc_attr( $obj->section_img_url( '10.15/wp_booking_calendar_10_15_advanced_mode.png' ) ); ?>" style="margin:10px 0;width:98%;" />
1081 </div>
1082
1083 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1084 <ul>
1085 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Preview page / live front-end preview**: Test how the form looks and works before publishing it on your website.' ) ); ?></li>
1086 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Import existing legacy booking forms** into the new Builder for easier transition to the visual workflow.' ) ); ?></li>
1087 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Builder mode and Advanced Form mode**: Work visually or keep manual form configuration when needed.' ) ); ?></li>
1088 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Blank form creation in Builder mode** lets you start new forms immediately in the visual editor.' ) ); ?></li>
1089 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Section presets** help you insert commonly used layout structures faster.' ) ); ?></li>
1090 </ul>
1091 </div>
1092 </div>
1093
1094
1095 <div class="wpbc_wn_section">
1096 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Important Note About the Beta Builder' ) ); ?></h2>
1097
1098 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1099 <ul>
1100 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **This feature is currently in Beta** and can still be disabled at any time.' ) ); ?></li>
1101 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; To return to the previous legacy booking form configuration, go to **Form Builder > Settings** in the right sidebar and disable the **"Drag & Drop Form Builder"** option.' ) ); ?></li>
1102 </ul>
1103 </div>
1104 </div>
1105
1106 </div>
1107 <?php
1108
1109 $obj->expand_section_end( $section_param_arr );
1110 }
1111
1112 function wpbc_welcome_section_10_14( $obj ){
1113
1114 $section_param_arr = array( 'version_num' => '10.14', 'show_expand' => true );
1115
1116 $obj->expand_section_start( $section_param_arr );
1117
1118
1119 // $obj->asset_path = 'http://beta/assets/'; // TODO: 2024-06-01 comment this
1120
1121
1122 // <editor-fold defaultstate="collapsed" desc=" = F R E E = " >
1123 // -----------------------------------------------------------------------------------------------------------------
1124 // = F R E E =
1125 // -----------------------------------------------------------------------------------------------------------------
1126 ?>
1127 <div class="wpbc_wn_container">
1128 <div class="wpbc_wn_section">
1129 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Control start and end dates for booking and availability' ) ); ?></h2>
1130 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1131 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1132 <img src="<?php echo esc_attr( $obj->section_img_url( '10.14/wp_booking_calendar_elementor_advanced_01.png' ) ); ?>" style="margin:10px 0;width:98%;" />
1133 <span><span style="font-size: 0.9em;font-style: italic;"><?php //echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Available in the Booking Calendar Business Small or higher versions' ) ); ?></span></span>
1134 </div>
1135 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1136 <ul>
1137 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Control which dates are shown!**: You can now control which dates are shown in the Booking Calendar by using two new shortcode parameters: **[booking resource_id=1 calendar_dates_start=\'2025-01-01\' calendar_dates_end=\'2025-12-31\']**' ) ); ?></li>
1138 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **New**: Ability to **set the start and end dates for the calendar** using shortcode parameters. Example: [booking resource_id=1 calendar_dates_start=\'2025-01-01\' calendar_dates_end=\'2025-12-31\' startmonth=\'2025-3\']' ) ); ?></li>
1139 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **New**: If startmonth is omitted, the calendar will now automatically use the month from calendar_dates_start as the initial display month. Example: [booking resource_id=1 calendar_dates_start=\'2025-01-01\' calendar_dates_end=\'2025-12-31\']' ) ); ?></li>
1140 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **New**: New: You can now **allow users to submit bookings for past dates**, as long as those dates are within the visible range set by calendar_dates_start and calendar_dates_end in the shortcode. Useful for administrative or backdated bookings. Shortcode Example: [booking resource_id=1 calendar_dates_start=\'2025-01-01\' calendar_dates_end=\'2025-12-31\']' ) ); ?></li>
1141 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **New**: Elementor native supports of these parameters calendar_dates_start=\'2025-01-01\' calendar_dates_end=\'2025-12-31\' in Advanced section.' ) ); ?></li>
1142 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Improvement**: When calendar_dates_start and calendar_dates_end are defined in the shortcode, the system skips checking availability from today, and instead starts from the defined calendar_dates_start.' ) ); ?></li>
1143 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Improvement**: To **enable the new Smart Phone Validation** feature introduced in the previous update, go to: WP Booking Calendar > Settings > Booking Form > Form Options and enable the "Smart Phone Validation" option. It is disabled by default.' ) ); ?></li>
1144 </ul>
1145 </div>
1146 </div>
1147 </div>
1148 <?php
1149
1150 $obj->expand_section_end( $section_param_arr );
1151 }
1152
1153 function wpbc_welcome_section_10_13( $obj ){
1154
1155 $section_param_arr = array( 'version_num' => '10.13', 'show_expand' => true );
1156
1157 $obj->expand_section_start( $section_param_arr );
1158
1159
1160 // $obj->asset_path = 'http://beta/assets/'; // TODO: 2024-06-01 comment this
1161
1162
1163 // <editor-fold defaultstate="collapsed" desc=" = F R E E = " >
1164 // -----------------------------------------------------------------------------------------------------------------
1165 // = F R E E =
1166 // -----------------------------------------------------------------------------------------------------------------
1167 ?>
1168 <div class="wpbc_wn_container">
1169 <div class="wpbc_wn_section">
1170 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Smarter Bookings, Elementor Integration and Cleaner Interface' ) ); ?></h2>
1171 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1172 <h3><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '**Booking Calendar meets Elementor!**' ) ); ?></h3>
1173 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1174 <img src="<?php echo esc_attr( $obj->section_img_url( '10.13/wp_booking_calendar_elementor_01.png' ) ); ?>" style="margin:10px 0;width:98%;" />
1175 <span><span style="font-size: 0.9em;font-style: italic;"><?php //echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Available in the Booking Calendar Business Small or higher versions' ) ); ?></span></span>
1176 </div>
1177 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1178 <ul>
1179 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Full Elementor Support!**: Design and customize your booking forms directly inside the Elementor editor—with real-time form previews and a built-in skin selector. No more shortcode guesswork—just drag, configure, and save!' ) ); ?></li>
1180 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Calendar Preloader:** We’ve added a smooth-loading preloader bar that prevents layout jumps on slower connections, ensuring a polished experience for your visitors.' ) ); ?></li>
1181 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **New Booking Form Template – Service Selection Wizard (Pro):** Perfect for appointment-based bookings: this template features a left-side service selector with a streamlined date/time step for faster, easier bookings.' ) ); ?></li>
1182 </ul>
1183 </div>
1184 </div>
1185 <hr class="wpbc_hr_dots"><?php // ---------------------------------------------------------------------- ?>
1186 <div class="wpbc_wn_section">
1187 <div class="wpbc_wn_col" style="flex: 1 1 45%;margin: 10px 0;">
1188 <h3><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '**Cleaner & More Intuitive Interface**' ) ); ?></h3>
1189 <ul>
1190 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Updated Sidebar Navigation:** All plugin menus now live in a single, collapsible sidebar—easier to navigate and quicker to access.' ) ); ?></li>
1191 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Visual Polish & UX Tweaks:** We’ve made subtle design upgrades across the board: improved calendar styling, better visual hierarchy, smarter warnings (e.g., duplicate calendar IDs), and more compact menu visuals in compact mode.' ) ); ?></li>
1192 </ul>
1193 </div>
1194 <div class="wpbc_wn_col" style="flex: 1 1 50%;margin: 0px 0;">
1195 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1196 <img src="<?php echo esc_attr( $obj->section_img_url( '10.13/vertical_menu_01.png' ) ); ?>" style="margin:10px 0;width:98%;" />
1197 <span><span style="font-size: 0.9em;font-style: italic;"><?php //echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Available in the Booking Calendar Business Small or higher versions' ) ); ?></span></span>
1198 </div>
1199 </div>
1200 <hr class="wpbc_hr_dots"><?php // ---------------------------------------------------------------------- ?>
1201 <div class="wpbc_wn_section">
1202 <div class="wpbc_wn_col" style="flex: 1 1 45%;margin: 10px 0;">
1203 <h3><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '**Smart Phone Validation**' ) ); ?></h3>
1204 <ul>
1205 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Auto-Detect & Format Phone Fields:** Phone fields now automatically detect and format numbers based on the user’s input and locale. Start typing +1 and the field instantly formats to +1 000 000 0000 (USA); type +34 for Spain and get +34 000 000 0000.' ) ); ?></li>
1206 </ul>
1207 </div>
1208 <div class="wpbc_wn_col" style="flex: 1 1 50%;margin: 0px 0;">
1209 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1210 <img src="<?php echo esc_attr( $obj->section_img_url( '10.13/phone_validattion_01.png' ) ); ?>" style="margin:10px auto;max-width:600px;" />
1211 </div>
1212 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1213 <ul>
1214 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Built-In Intelligence – No Setup Required** We intelligently detect phone fields by name (e.g., “phone”, “fone”, “tel”, “mobile”, “telefono”, etc.) and apply the right mask and placeholder automatically—no third-party APIs needed. Only valid digits are allowed; unsupported characters are blocked instantly.' ) ); ?></li>
1215 </ul>
1216 </div>
1217 </div>
1218
1219 </div>
1220 <?php
1221
1222 $obj->expand_section_end( $section_param_arr );
1223 }
1224