PluginProbe
Booking Calendar / 11.8.2
Booking Calendar v11.8.2
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 10.11.2 10.11.3 All 202 releases
booking / core / class / welcome_current.php

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

1,404 lines 99.6 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 * Render Booking Calendar 11.8.1 What's New content.
8 *
9 * @param object $obj Welcome-page renderer and image loader.
10 *
11 * @return void
12 */
13 function wpbc_welcome_section_11_8_1( $obj ) {
14
15 $section_parameters = array( 'version_num' => '11.8.1', 'show_expand' => false );
16 $obj->expand_section_start( $section_parameters );
17 // $obj->asset_path = 'http://beta/assets/'; // TODO: comment this in production.
18 ?>
19
20
21 <div class="wpbc_wn_container">
22
23 <div class="wpbc_wn_section" style="gap: 10px 50px;">
24 <div class="wpbc_wn_col" style="flex: 1 1 40%;margin: 0;padding: 0;">
25 <div class="wpbc_wn_section" style="gap: 10px 50px;">
26 <h2><?php echo( 'Clearer First-Run Setup' ); ?></h2>
27 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;padding: 0;">
28 <img
29 src="<?php echo esc_attr( $obj->section_img_url( '11.8.1/wp_booking_calendar__first_run_starter_pages_prompt_placeholder.png' ) ); ?>"
30 alt="<?php echo esc_attr( 'First-run starter booking pages invitation with public-page links' ); ?>"
31 style="margin:10px 0;width:98%;"
32 />
33 </div>
34 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;padding: 0;">
35 <ul>
36 <li><strong><?php echo( 'Choose Setup when you are ready.' ); ?></strong> <?php echo( 'New installations show one focused invitation on Booking Listing. Start guided Setup immediately or postpone it; either choice is remembered.' ); ?></li>
37 <li><strong><?php echo( 'Test the visitor experience immediately.' ); ?></strong> <?php echo( 'A second one-time window shows complete previews and links to valid published starter pages, including the resource-first Resource Selection workflow. After automatic dismissal, new installations can reopen it from the Booking Listing welcome panel. Live demos also show the welcome section without saving a shared dismissal. The top Booking Calendar menu keeps the public links in a predictable workflow order and places the Home page last.' ); ?></li>
38 </ul>
39 </div>
40 </div>
41 </div>
42 <div class="wpbc_wn_col" style="flex: 1 1 40%;margin: 0;padding: 0;">
43 <div class="wpbc_wn_section" style="gap: 10px 50px;">
44 <h2><?php echo( 'Time-Slot Booking Flow' ); ?></h2>
45 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;padding: 0;">
46 <img
47 src="<?php echo esc_attr( $obj->section_img_url( '11.8.1/wp_booking_calendar__time-slots-booking-form-2-columns.png' ) ); ?>"
48 alt="<?php echo esc_attr( 'Two-column time-slot booking form with a calendar and live date and time summary' ); ?>"
49 style="margin:10px 0;width:98%;"
50 />
51 </div>
52 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;padding: 0;">
53 <ul>
54 <li><strong><?php echo( 'Choose date and time together.' ); ?></strong> <?php echo( 'The calendar, time choices, and live Date, Start Time, and End Time summary share one clear first step.' ); ?></li>
55 <li><strong><?php echo( 'Finish details on a focused second step.' ); ?></strong> <?php echo( 'Visitors continue to contact, guest, and Terms fields before sending the booking.' ); ?></li>
56 <li><strong><?php echo( 'Ready to find and reuse.' ); ?></strong> <?php echo( 'When initially added, the Time-Slots template appears first overall and, within Full Days, Two Columns appears before Vertical. Clean installations use the Time-Slots template on their starter page. Updates preserve existing forms, pages, custom URLs, and installed template copies.' ); ?></li>
57 </ul>
58 </div>
59 </div>
60 </div>
61 </div>
62
63
64 </div>
65 <?php
66 $obj->expand_section_end( $section_parameters );
67 }
68
69 /**
70 * Render Booking Calendar 11.8 What's New content.
71 *
72 * Booking Modes and the Full-Day Form Builder template are available in every
73 * edition. Seasonal Availability and the Business Large Searchable Resources
74 * catalog remain protected by their existing feature, edition, and current-user
75 * gates. Image placeholders must be replaced by verified, edition-appropriate
76 * captures before release.
77 *
78 * @param object $obj Welcome-page renderer and image loader.
79 *
80 * @return void
81 */
82 function wpbc_welcome_section_11_8( $obj ) {
83
84 $section_parameters = array( 'version_num' => '11.8', 'show_expand' => false );
85 // $obj->asset_path = 'http://beta/assets/'; // TODO: comment this in production.
86 $obj->expand_section_start( $section_parameters );
87 ?>
88 <div class="wpbc_wn_container">
89 <div class="wpbc_wn_section" style="gap: 10px 50px;">
90 <h2><?php echo( '2 New Full-Day Booking Form Templates' ); ?></h2>
91
92 <div class="wpbc_wn_col" style="flex: 1 1 40%;margin: 0;padding: 0;">
93 <img
94 src="<?php echo esc_attr( $obj->section_img_url( '11.8/wp_booking_calendar__form_2_columns_hints_full_days.png' ) ); ?>"
95 alt="<?php echo esc_attr( 'Two-column full-day booking form with a calendar, date summary, and customer details' ); ?>"
96 style="margin:10px 0;width:98%;"
97 />
98 </div>
99 <div class="wpbc_wn_col" style="flex: 1 1 40%;margin: 0;padding: 0;">
100 <ul>
101 <li><strong><?php echo( 'Start with a clear two-column layout.' ); ?></strong> <?php echo( 'Customers select dates in the calendar, then review their Check-in, Check-out, and Days beside the customer details.' ); ?></li>
102 <li><strong><?php echo( 'Vertical full-day layout.' ); ?></strong> <?php echo( 'Vertical full-day booking form with a ability to use a two-month calendar and date summary' ); ?></li>
103 <li><strong><?php echo( 'Designed for full-day bookings.' ); ?></strong> <?php echo( 'Use the live date summary with your saved full-day or changeover settings to make each selection easier to understand.' ); ?></li>
104 <li><strong><?php echo( 'Apply it when you need it.' ); ?></strong> <?php echo( 'The templates are available in Form Builder without replacing existing forms or changing first-install defaults. Confirm its starter Terms links before publishing.' ); ?></li>
105 </ul>
106 </div>
107 </div>
108
109 <div class="wpbc_wn_section" style="gap: 10px 50px;">
110 <h2><?php echo( 'New Seasonal Availability Catalog' ); ?></h2>
111 <div class="wpbc_wn_col" style="flex: 1 1 40%;margin: 0;padding: 0;">
112 <img src="<?php echo esc_attr( $obj->section_img_url( '11.8/wp_booking_calendar__season_availability_review_placeholder_3.png' ) ); ?>" alt="<?php echo esc_attr( 'Availability listing with Resource names, default-status labels, search and view controls' ); ?>" style="margin:5px 0;width:100%;" />
113 <p style="text-align:center;font-style: italic;font-size:0.8em;"><strong><?php echo 'Minimum edition:'; ?></strong> <?php echo 'Booking Calendar Business Medium or higher.'; ?></p>
114 </div>
115 <div class="wpbc_wn_col" style="flex: 1 1 20%;margin: 0;padding: 0;">
116
117 <ul>
118 <li data-wpbc-availability-feature="overview"><strong><?php echo( 'Availability at a glance.' ); ?></strong> <?php echo( 'Find your Resources in a clear list or Card view. See each Resource’s default availability below its name, search for the one you need, and choose the columns you want to see.' ); ?></li>
119 <li data-wpbc-availability-feature="preview"><strong><?php echo( 'See your seasonal dates clearly.' ); ?></strong> <?php echo( 'Green dates are available and gray dates are unavailable according to your seasonal settings. Hover over a Resource or focus a control in its row to see which Season applies. The preview shows seasonal settings, not existing bookings or remaining capacity.' ); ?></li>
120 </ul>
121 </div>
122 </div>
123 <div class="wpbc_wn_section" style="gap: 10px 50px;">
124 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;padding: 0;">
125 <ul>
126 <li data-wpbc-availability-feature="bulk"><strong><?php echo( 'Update selected Resources together.' ); ?></strong> <?php echo( 'Select Resources and choose Edit selected to set their default availability, add one Season exception, or remove one Season exception. Other assignments are kept. Review every proposed change before applying; updated Resources are highlighted after a successful save.' ); ?></li>
127 </ul>
128 </div>
129 </div>
130 <div class="wpbc_wn_section" style="gap: 10px 50px;">
131 <div class="wpbc_wn_col" style="flex: 1 1 20%;margin: 0;padding: 0;">
132 <ul>
133 <li data-wpbc-availability-feature="inspector"><strong><?php echo( 'Edit availability without leaving the list.' ); ?></strong> <?php echo( 'Open a Resource in the new sidebar editor. Choose its default, add Season exceptions, turn them on or off, and preview their dates. A plain-language overview explains the result before you review and apply your changes.' ); ?></li>
134 <li data-wpbc-availability-feature="inline"><strong><?php echo( 'Change defaults directly in the list.' ); ?></strong> <?php echo( 'Choose Edit rows to change default availability for several Resources without opening each one. Changed rows are marked so you can check your work, then review the effect on existing Seasons before applying.' ); ?></li>
135 </ul>
136 </div>
137 <div class="wpbc_wn_col" style="flex: 1 1 40%;margin: 0;padding: 0;">
138 <img src="<?php echo esc_attr( $obj->section_img_url( '11.8/wp_booking_calendar__season_availability__inspector_edit_season_availability_3.png' ) ); ?>" alt="<?php echo esc_attr( 'Seasonal Availability inspector showing default availability, ordered Season exceptions and a selected Season date preview' ); ?>" style="margin:5px 0;width:100%;" />
139 <p style="text-align:center;font-style: italic;font-size:0.8em;"><strong><?php echo 'Minimum edition:'; ?></strong> <?php echo 'Booking Calendar Business Medium or higher.'; ?></p>
140 </div>
141 </div>
142
143
144 <div class="wpbc_wn_section" style="gap: 10px 50px;">
145 <h2><?php echo( 'New Searchable Resources Catalog' ); ?></h2>
146 <div class="wpbc_wn_col" style="flex: 1 1 40%;margin: 0;padding: 0;">
147 <?php // Replace this placeholder with the final 11.8 Searchable Resources Catalog screenshot before release. ?>
148 <img
149 src="<?php echo esc_attr( $obj->section_img_url( '11.8/wp_booking_calendar__searchable_resources_catalog_placeholder.png' ) ); ?>"
150 alt="<?php echo esc_attr( 'Searchable Resources Catalog with status filters, presentation columns, and Resource editing controls' ); ?>"
151 style="margin:10px 0;width:98%;"
152 />
153 <p style="text-align:center;font-style: italic;font-size:0.8em;"><strong><?php echo 'Minimum edition:'; ?></strong> <?php echo 'Booking Calendar Business Large or higher.'; ?></p>
154 </div>
155 <div class="wpbc_wn_col" style="flex: 1 1 40%;margin: 0;padding: 0;">
156 <ul>
157 <li><strong><?php echo( 'Control each search result in one place.' ); ?></strong> <?php echo( 'Open the direct Search Availability > Searchable Resources link, then edit Search visibility, result title, description, image, landing page, and supported criteria from the Inspector or directly in catalog rows. Search form, results, and options each have their own neighboring link.' ); ?></li>
158 <li><strong><?php echo( 'Find the right Resources quickly.' ); ?></strong> <?php echo( 'Switch between All, Searchable, and Not searchable Resources, then use focused table views, compact rows, or image-led Cards.' ); ?></li>
159 <li><strong><?php echo( 'Review changes before saving.' ); ?></strong> <?php echo( 'Stage direct, inline, and selected-Resource updates, review the affected fields, and apply only the changes you approve.' ); ?></li>
160 </ul>
161 </div>
162 </div>
163
164 <div class="wpbc_wn_section" style="gap: 10px 50px;">
165 <h2><?php echo( 'More Reliable Administration Modes' ); ?></h2>
166
167 <div class="wpbc_wn_col" style="flex: 1 1 40%;margin: 0;padding: 0;">
168 <ul>
169 <li><strong><?php echo( 'Choose the view that fits your work.' ); ?></strong> <?php echo( 'Switch between Classic, Appointments, and Rentals while continuing to use the familiar Booking Calendar pages and saved configuration.' ); ?></li>
170 <li><strong><?php echo( 'See the pages available to you.' ); ?></strong> <?php echo( 'Each mode shows the pages provided by your installed edition and add-ons while safely omitting unavailable features.' ); ?></li>
171 </ul>
172 </div>
173 <div class="wpbc_wn_col" style="flex: 1 1 40%;margin: 0;padding: 0;">
174 <ul>
175 <li><strong><?php echo( 'Continue where you were working.' ); ?></strong> <?php echo( 'When possible, switching modes keeps the current Booking Calendar page and section, with a safe destination used when the equivalent page is unavailable.' ); ?></li>
176 <li><strong><?php echo( 'Complete Setup in five steps.' ); ?></strong> <?php echo( 'The streamlined Setup flow now finishes in Form Builder, and the overlapping floating Setup Bar is disabled by default.' ); ?></li>
177 </ul>
178 </div>
179 </div>
180
181 </div>
182 <?php
183 $obj->expand_section_end( $section_parameters );
184 }
185
186 /**
187 * What's New section for Booking Calendar 11.7.
188 *
189 * @param object $obj Welcome-page renderer.
190 *
191 * @return void
192 */
193 function wpbc_welcome_section_11_7( $obj ) {
194
195 $section_param_arr = array( 'version_num' => '11.7', 'show_expand' => true );
196 // $obj->asset_path = 'http://beta/assets/'; // TODO: comment this in production.
197 $prices_inspector_sections = array(
198 array(
199 'title' => 'Base Cost',
200 'image' => '11.7/wp_booking_calendar__prices_catalog_base_cost_placeholder.png',
201 'alt' => 'Prices inspector showing the Base Cost editor with a decimal amount and synchronized slider',
202 'minimum_edition' => 'Booking Calendar Business Medium or higher.',
203 'purpose' => 'Use Base Cost to define the normal starting price for this Resource before date, duration, deposit, and booking-time adjustments are applied.',
204 '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.',
205 ),
206 array(
207 'title' => 'Seasonal Rates',
208 'image' => '11.7/wp_booking_calendar__prices_catalog_seasonal_rates_placeholder.png',
209 'alt' => 'Prices inspector showing ordered Seasonal Rates with On and Off controls',
210 'minimum_edition' => 'Booking Calendar Business Medium or higher.',
211 'purpose' => 'Use Seasonal Rates when the same Resource should cost more or less on holidays, weekends, high seasons, or other reusable date periods.',
212 '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.',
213 ),
214 array(
215 'title' => 'Duration-Based Costs',
216 'image' => '11.7/wp_booking_calendar__prices_catalog_duration_costs_placeholder.png',
217 'alt' => 'Prices inspector showing ordered Duration-Based Cost rules and a separate LAST-day value',
218 'minimum_edition' => 'Booking Calendar Business Medium or higher.',
219 'purpose' => 'Use Duration-Based Costs when the price should change according to how many days a customer books.',
220 '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.',
221 ),
222 array(
223 'title' => 'Partial Payment',
224 'image' => '11.7/wp_booking_calendar__prices_catalog_partial_payment_placeholder.png',
225 'alt' => 'Prices inspector showing a Partial Payment preview with due-now and balance amounts',
226 'minimum_edition' => 'Booking Calendar Business Medium or higher.',
227 'purpose' => 'Use Partial Payment when customers should pay a deposit at booking and the remaining balance later instead of paying the full total immediately.',
228 '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.',
229 ),
230 array(
231 'title' => 'Early Booking Adjustment',
232 'image' => '11.7/wp_booking_calendar__prices_catalog_early_booking_placeholder.png',
233 'alt' => 'Prices inspector showing an Early Booking discount preview and qualifying date range',
234 'minimum_edition' => 'Booking Calendar Business Medium or higher.',
235 'purpose' => 'Use Early Booking Adjustment to encourage advance reservations by reducing the price when check-in is sufficiently far away.',
236 '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.',
237 ),
238 array(
239 'title' => 'Late Booking Adjustment',
240 'image' => '11.7/wp_booking_calendar__prices_catalog_last_minute_placeholder.png',
241 'alt' => 'Prices inspector showing a Last-Minute discount preview and near-term qualifying date range',
242 'minimum_edition' => 'Booking Calendar Business Medium or higher.',
243 'purpose' => 'Use Late Booking Adjustment to help fill near-term availability by reducing the price for check-ins inside a short booking window.',
244 '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.',
245 ),
246 );
247
248 $obj->expand_section_start( $section_param_arr );
249 ?>
250 <div class="wpbc_wn_container">
251 <div class="wpbc_wn_section">
252 <h2><?php echo 'A New Prices Catalog'; ?></h2>
253 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
254 <?php // Replace this placeholder with the final 11.7 Prices Catalog screenshot before release. ?>
255 <img
256 src="<?php echo esc_attr( $obj->section_img_url( '11.7/wp_booking_calendar__prices_catalog_overview_placeholder.png' ) ); ?>"
257 alt="<?php echo 'Prices Catalog showing Resource pricing summaries, previews, filters, layouts, and the right-side inspector'; ?>"
258 style="margin:10px 0;width:98%;"
259 />
260 </div>
261 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
262 <p><strong><?php echo 'Minimum edition:'; ?></strong> <?php echo 'Booking Calendar Business Medium or higher.'; ?></p>
263 <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>
264 <ul>
265 <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>
266 <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>
267 <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>
268 <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>
269 <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>
270 </ul>
271 </div>
272 </div>
273
274 <?php foreach ( $prices_inspector_sections as $prices_inspector_section ) { ?>
275 <div class="wpbc_wn_section">
276 <h2><?php echo esc_html( $prices_inspector_section['title'] ); ?></h2>
277 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
278 <?php // Replace this placeholder with the final 11.7 inspector screenshot before release. ?>
279 <img
280 src="<?php echo esc_attr( $obj->section_img_url( $prices_inspector_section['image'] ) ); ?>"
281 alt="<?php echo esc_attr( $prices_inspector_section['alt'] ); ?>"
282 style="margin:10px 0;width:98%;"
283 />
284 </div>
285 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
286 <p><strong><?php echo 'Minimum edition:'; ?></strong> <?php echo esc_html( $prices_inspector_section['minimum_edition'] ); ?></p>
287 <p><strong><?php echo 'Why use it:'; ?></strong> <?php echo esc_html( $prices_inspector_section['purpose'] ); ?></p>
288 <p><?php echo esc_html( $prices_inspector_section['description'] ); ?></p>
289 </div>
290 </div>
291 <?php } ?>
292
293 <div class="wpbc_wn_section">
294 <h2><?php echo 'Clearer Left Sidebar Navigation'; ?></h2>
295 <div class="wpbc_wn_col" style="flex: 1 1 40%;margin: 10px 0;">
296 <p><strong><?php echo 'Minimum edition:'; ?></strong> <?php echo 'Booking Calendar Free. This improvement is available in every edition.'; ?></p>
297 <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>
298 <ul>
299 <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>
300 <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>
301 </ul>
302 </div>
303 <div class="wpbc_wn_col" style="flex: 1 1 50%;margin: 10px 0;">
304 <?php // Replace this placeholder with the final 11.7 navigation screenshot before release. ?>
305 <img
306 src="<?php echo esc_attr( $obj->section_img_url( '11.7/wp_booking_calendar__left_sidebar_navigation_placeholder.png' ) ); ?>"
307 alt="<?php echo 'Booking Calendar administration showing the grouped left sidebar navigation and selected page'; ?>"
308 style="margin:10px 0;width:98%;"
309 />
310 </div>
311 </div>
312
313 <div class="wpbc_wn_section">
314 <h2><?php echo 'More Improvements in 11.7'; ?></h2>
315 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
316 <?php // Replace these placeholders with the final 11.7 Cost correction screenshots before release. ?>
317 <img
318 src="<?php echo esc_attr( $obj->section_img_url( '11.7/wp_booking_calendar__add_booking_cost_correction_placeholder.png' ) ); ?>"
319 alt="<?php echo 'Add Booking inspector showing the Cost correction number and slider controls'; ?>"
320 style="margin:10px 0;width:98%;"
321 />
322 </div>
323 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
324 <p><strong><?php echo 'Minimum edition for Cost correction:'; ?></strong> <?php echo 'Booking Calendar Business Small or higher.'; ?></p>
325 <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>
326 <ul>
327 <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>
328 <li><?php echo 'Applied Cost corrections continue through the established deposit, balance, notification, and cost-note workflow.'; ?></li>
329 <li><?php echo 'All editions: Full Screen preferences now remain consistent between Booking Calendar pages, including WordPress installations in subdirectories.'; ?></li>
330 <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>
331 <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>
332 </ul>
333 </div>
334 </div>
335 </div>
336 <?php
337 $obj->expand_section_end( $section_param_arr );
338 }
339
340 /**
341 * What's New section for Booking Calendar 11.6.
342 *
343 * @param object $obj Welcome-page renderer.
344 *
345 * @return void
346 */
347 function wpbc_welcome_section_11_6( $obj ) {
348 $section_param_arr = array( 'version_num' => '11.6', 'show_expand' => true );
349
350 $obj->expand_section_start( $section_param_arr );
351
352 // $obj->asset_path = 'http://beta/assets/'; // TODO: comment this in production.
353 ?>
354 <div class="wpbc_wn_container">
355
356 <div class="wpbc_wn_section">
357 <h2><?php echo 'A New Booking Resources Catalog'; ?></h2>
358
359 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
360 <?php // Replace this placeholder with the final 11.6 screenshot or GIF before release. ?>
361 <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%;" />
362 <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>
363 </div>
364
365 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
366 <ul>
367 <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>
368 <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>
369 <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>
370 </ul>
371 </div>
372 </div>
373
374 <div class="wpbc_wn_section">
375 <h2><?php echo( 'A Native Seasons Catalog' ); ?></h2>
376
377 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
378 <?php // Replace this placeholder with the final 11.6 screenshot or GIF before release. ?>
379 <img
380 src="<?php echo esc_attr( $obj->section_img_url( '11.6/wp_booking_calendar__seasons_02.png' ) ); ?>"
381 alt="<?php echo( 'Seasons catalog showing reusable date rules and their usage' ); ?>"
382 style="margin:10px 0;width:98%;"
383 />
384 </div>
385
386 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
387 <ul>
388 <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>
389 <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>
390 <li><?php echo( 'Select Seasons and review server-approved safe title changes inline or in bulk before applying them.' ); ?></li>
391 <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>
392 <li><?php echo( 'Open the reusable Seasons catalog from its dedicated Booking Calendar navigation group between Availability and Pricing; Season Availability remains under Availability, while legacy Season editors remain available through the rollback setting.' ); ?></li>
393 </ul>
394 </div>
395 </div>
396
397 <div class="wpbc_wn_section">
398 <h2><?php echo 'Richer Resource Profiles and Publishing'; ?></h2>
399
400 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
401 <?php // Replace this placeholder with the final 11.6 screenshot or GIF before release. ?>
402 <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%;" />
403 <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>
404 </div>
405
406 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
407 <ul>
408 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; Add a recognizable **title, photo, and description** to each Booking Resource.' ) ); ?></li>
409 <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>
410 <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>
411 </ul>
412 </div>
413 </div>
414
415 <div class="wpbc_wn_section">
416 <h2><?php echo 'New Resource Catalog Layouts for Booking Pages'; ?></h2>
417
418 <div class="wpbc_wn_col" style="flex: 1 1 48%;">
419 <?php // Replace this placeholder with the final 11.6 screenshot or GIF before release. ?>
420 <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%;" />
421 </div>
422 <div class="wpbc_wn_col" style="flex: 1 1 48%;">
423 <?php // Replace this placeholder with the final 11.6 screenshot or GIF before release. ?>
424 <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%;" />
425 </div>
426 <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>
427 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
428 <ul>
429 <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>
430 <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>
431 <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>
432 <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>
433 </ul>
434 </div>
435 </div>
436
437 <div class="wpbc_wn_section">
438 <h2><?php echo 'A More Flexible Services Catalog'; ?></h2>
439
440 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
441 <?php // Replace this placeholder with the final 11.6 screenshot or GIF before release. ?>
442 <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%;" />
443 <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>
444 </div>
445
446 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
447 <ul>
448 <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>
449 <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>
450 <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>
451 <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>
452 </ul>
453 </div>
454 </div>
455
456 <div class="wpbc_wn_section">
457 <h2><?php echo 'Faster and Safer Resource Management'; ?></h2>
458
459 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
460 <?php // Replace this placeholder with the final 11.6 screenshot or GIF before release. ?>
461 <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%;" />
462 <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>
463 </div>
464
465 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
466 <ul>
467 <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>
468 <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>
469 <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>
470 <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>
471 </ul>
472 </div>
473 </div>
474
475 <div class="wpbc_wn_section">
476 <h2><?php echo 'Hierarchy and Capacity Tools (Business Large and Higher Editions)'; ?></h2>
477
478 <div class="wpbc_wn_col" style="flex: 1 1 48%;">
479 <?php // Replace this placeholder with the final 11.6 screenshot or GIF before release. ?>
480 <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%;" />
481 </div>
482 <div class="wpbc_wn_col" style="flex: 1 1 48%;">
483 <?php // Replace this placeholder with the final 11.6 screenshot or GIF before release. ?>
484 <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%;" />
485 </div>
486
487 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
488 <ul>
489 <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>
490 <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>
491 <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>
492 </ul>
493 </div>
494 </div>
495 </div>
496 <?php
497 $obj->expand_section_end( $section_param_arr );
498 }
499
500 /**
501 * What's New section for Booking Calendar 11.5.
502 *
503 * @param object $obj Welcome-page renderer.
504 *
505 * @return void
506 */
507 function wpbc_welcome_section_11_5( $obj ) {
508 $section_param_arr = array( 'version_num' => '11.5', 'show_expand' => !false );
509 // Keep empty image slots out of the markup until final 11.5 screenshots are available.
510 $image_urls = array(
511 'appointment_booking' => '',
512 'appointment_admin' => '',
513 'add_booking' => '',
514 'form_appearance' => '',
515 'compatibility' => '',
516 );
517
518 $obj->expand_section_start( $section_param_arr );
519
520 // $obj->asset_path = 'http://beta/assets/'; // TODO: comment this in production.
521 ?>
522 <div class="wpbc_wn_container">
523
524 <div class="wpbc_wn_section">
525 <h2><?php echo 'Services and the New Appointment Booking Flow'; ?></h2>
526
527 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
528 <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%;" />
529 </div>
530 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
531 <ul>
532 <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>
533 <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>
534 </ul>
535 </div>
536
537 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
538 <img src="<?php echo esc_attr( $obj->section_img_url( '11.5/booking_calendar__appointment_flow_01.gif' ) ); ?>" style="margin:10px 0;width:98%;" />
539 <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>
540 </div>
541
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 [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>
545 <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>
546 <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>
547 <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>
548 </ul>
549 </div>
550 </div>
551
552 <div class="wpbc_wn_section">
553 <h2><?php echo 'Administration Modes and QuickStart'; ?></h2>
554
555 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
556 <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%;" />
557 </div>
558
559 <div class="wpbc_wn_col" style="flex: 1 1 100%;">
560
561 <ul>
562 <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>
563 <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>
564 <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>
565 <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>
566 </ul>
567 </div>
568 </div>
569
570 <div class="wpbc_wn_section">
571 <h2><?php echo 'Resource-first Booking Flow'; ?> ( Pro Versions)</h2>
572
573 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
574 <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%;" />
575 <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>
576 </div>
577
578 <div class="wpbc_wn_col" style="flex: 1 1 100%;">
579 <ul>
580 <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>
581 <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>
582 </ul>
583 </div>
584 </div>
585
586 <div class="wpbc_wn_section" style="gap:1%">
587 <div class="wpbc_wn_col" style="flex: 1 1 48%;">
588 <h3><?php echo 'Appointment Administration'; ?></h3>
589
590 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;padding:5px;">
591 <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%;" />
592 </div>
593
594 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
595 <?php if ( ! empty( $image_urls['appointment_admin'] ) ) { ?>
596 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
597 <img src="<?php echo esc_url( $image_urls['appointment_admin'] ); ?>" alt="<?php echo 'Appointment administration'; ?>" style="margin:10px 0;width:98%;" />
598 <?php } ?>
599 </div>
600
601 <ul>
602 <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>
603 <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>
604 <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>
605 <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>
606 </ul>
607 </div>
608
609 <div class="wpbc_wn_col" style="flex: 1 1 48%;">
610 <h3><?php echo 'Redesigned Add Booking Page'; ?></h3>
611
612 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;padding:5px;">
613 <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%;" />
614 </div>
615
616 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
617 <?php if ( ! empty( $image_urls['add_booking'] ) ) { ?>
618 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
619 <img src="<?php echo esc_url( $image_urls['add_booking'] ); ?>" alt="<?php echo 'Redesigned Add Booking administration page'; ?>" style="margin:10px 0;width:98%;" />
620 <?php } ?>
621 </div>
622
623 <ul>
624 <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>
625 <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>
626 <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>
627 </ul>
628
629 </div>
630 </div>
631
632 <div class="wpbc_wn_section">
633
634 <h2><?php echo 'Consistent Form Styles and Accent Colors'; ?></h2>
635
636 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
637 <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%;" />
638 </div>
639
640 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
641 <?php if ( ! empty( $image_urls['form_appearance'] ) ) { ?>
642 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
643 <img src="<?php echo esc_url( $image_urls['form_appearance'] ); ?>" alt="<?php echo 'Form Styles and accent colors'; ?>" style="margin:10px 0;width:98%;" />
644 <?php } ?>
645 </div>
646 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
647 <ul>
648 <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>
649 <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>
650 <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>
651 <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>
652 </ul>
653 </div>
654
655 </div>
656
657 <div class="wpbc_wn_section">
658 <div class="wpbc_wn_col" style="flex: 1 1 100%;">
659 <h3><?php echo 'Compatibility and Extensibility'; ?></h3>
660
661 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
662 <?php if ( ! empty( $image_urls['compatibility'] ) ) { ?>
663 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
664 <img src="<?php echo esc_url( $image_urls['compatibility'] ); ?>" alt="<?php echo 'Booking Calendar compatibility and extensibility'; ?>" style="margin:10px 0;width:98%;" />
665 <?php } ?>
666 </div>
667
668 <ul>
669 <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>
670 <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>
671 <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>
672 <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>
673 </ul>
674 </div>
675 </div>
676 </div>
677 <?php
678 $obj->expand_section_end( $section_param_arr );
679 }
680
681 /**
682 * What's New section for Booking Calendar 11.4
683 *
684 * @param object $obj
685 *
686 * @return void
687 */
688 function wpbc_welcome_section_11_4( $obj ) {
689
690 $section_param_arr = array( 'version_num' => '11.4', 'show_expand' => true );
691
692 $obj->expand_section_start( $section_param_arr );
693 // $obj->asset_path = 'http://beta/assets/'; // TODO: comment this in production.
694 ?>
695 <div class="wpbc_wn_container">
696
697 <div class="wpbc_wn_section">
698 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'New Global Booking Form Styles' ) ); ?></h2>
699
700 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
701 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
702 <img src="<?php echo esc_attr( $obj->section_img_url( '11.4/booking_calendar__booking_form_styles.gif' ) ); ?>" style="margin:10px 0;width:98%;" />
703 </div>
704
705 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
706 <ul>
707 <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>
708 <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>
709 <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>
710 <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>
711 </ul>
712 </div>
713 </div>
714
715 <div class="wpbc_wn_section">
716 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Two-Click Date Range Selection' ) ); ?></h2>
717
718 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
719 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
720 <img src="<?php echo esc_attr( $obj->section_img_url( '11.4/booking_calendar__date_range_selection.gif' ) ); ?>" style="margin:10px 0;width:98%;" />
721 </div>
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 two-click date-range selection in **Booking Calendar Free and higher editions**, allowing visitors to select the first and last booking dates.' ) ); ?></li>
725 <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>
726 <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>
727 <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>
728 </ul>
729 </div>
730 </div>
731
732 <div class="wpbc_wn_section" style="gap:1%">
733
734 <div class="wpbc_wn_col" style="flex: 1 1 48%;">
735 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Centralized Form Messages' ) ); ?></h2>
736
737 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
738 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
739 <img src="<?php echo esc_attr( $obj->section_img_url( '11.4/booking_calendar__form_messages.png' ) ); ?>" style="margin:10px 0;width:98%;" />
740 </div>
741 <ul>
742 <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>
743 <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>
744 <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>
745 </ul>
746 </div>
747
748 <div class="wpbc_wn_col" style="flex: 1 1 48%;">
749 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Streamlined Form Builder Workflow' ) ); ?></h2>
750
751 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
752 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
753 <img src="<?php echo esc_attr( $obj->section_img_url( '11.4/booking_calendar__form_builder_workflow.png' ) ); ?>" style="margin:10px 0;width:98%;" />
754 </div>
755 <ul>
756 <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>
757 <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>
758 <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>
759 </ul>
760 </div>
761 </div>
762
763 </div>
764 <?php
765
766 $obj->expand_section_end( $section_param_arr );
767 }
768
769 /**
770 * What's New section for Booking Calendar 11.3
771 *
772 * @param object $obj
773 *
774 * @return void
775 */
776 function wpbc_welcome_section_11_3( $obj ) {
777
778 $section_param_arr = array( 'version_num' => '11.3', 'show_expand' => true );
779
780 $obj->expand_section_start( $section_param_arr );
781 // $obj->asset_path = 'http://beta/assets/'; // TODO: comment this in production.
782 ?>
783 <div class="wpbc_wn_container">
784
785 <div class="wpbc_wn_section">
786 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'New Calendar Settings Page' ) ); ?></h2>
787
788 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
789 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
790 <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%;" />
791 </div>
792
793 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
794 <ul>
795 <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>
796 <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>
797 <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>
798 <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>
799 </ul>
800 </div>
801 </div>
802
803 <div class="wpbc_wn_section">
804 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'New Appearance / Theme Settings Page' ) ); ?></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.3/booking_calendar__settings_theme_live_preview.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 a dedicated **Settings > Appearance / Theme** page for configuring the calendar skin and booking form visual style.' ) ); ?></li>
814 <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>
815 <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>
816 <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>
817 </ul>
818 </div>
819 </div>
820
821 <div class="wpbc_wn_section" style="gap:1%">
822
823 <div class="wpbc_wn_col" style="flex: 1 1 48%;">
824 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Setup Wizard Improvements' ) ); ?></h2>
825
826 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
827 <!-- <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%;" />-->
828
829 <ul>
830 <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>
831 <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>
832 <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>
833 </ul>
834 </div>
835
836 <div class="wpbc_wn_col" style="flex: 1 1 48%;">
837 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Resources and Admin Workflow' ) ); ?></h2>
838
839 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
840 <!-- <img src="--><?php //echo esc_attr( $obj->section_img_url( '11.3/booking_calendar__resources_capacity_rules.png' ) ); ?><!--" style="margin:10px 0;width:98%;" />-->
841
842 <ul>
843 <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>
844 <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>
845 <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>
846 <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>
847 </ul>
848 </div>
849 </div>
850
851 </div>
852
853 <?php
854
855 $obj->expand_section_end( $section_param_arr );
856 }
857
858 /**
859 * What's New section for Booking Calendar 11.2
860 *
861 * @param object $obj
862 *
863 * @return void
864 */
865 function wpbc_welcome_section_11_2( $obj ) {
866
867
868 $section_param_arr = array( 'version_num' => '11.2', 'show_expand' => true );
869
870 $obj->expand_section_start( $section_param_arr );
871 // $obj->asset_path = 'http://beta/assets/'; // TODO: comment this in production.
872 ?>
873 <div class="wpbc_wn_container">
874
875 <div class="wpbc_wn_section">
876 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Redesigned Setup Wizard' ) ); ?></h2>
877
878 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
879 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
880 <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%;" />
881 </div>
882
883 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
884 <ul>
885 <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>
886 <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>
887 <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>
888 <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>
889 </ul>
890 </div>
891 </div>
892
893
894 <div class="wpbc_wn_section">
895 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Floating Setup Bar' ) ); ?></h2>
896
897 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
898 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
899 <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%;" />
900 </div>
901
902 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
903 <ul>
904 <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>
905 <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>
906 <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>
907 <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>
908 </ul>
909 </div>
910 </div>
911
912
913 <div class="wpbc_wn_section">
914 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Front-End Booking Form Popup' ) ); ?></h2>
915
916 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
917 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
918 <img src="<?php echo esc_attr( $obj->section_img_url( '11.2/booking_calendar__open_popup.png' ) ); ?>" style="margin:10px 0;width:98%;" />
919 </div>
920
921 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
922 <ul>
923 <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>
924 <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>
925 <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>
926 <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>
927 <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>
928 </ul>
929 </div>
930 </div>
931
932 <div class="wpbc_wn_section" style="gap:1%">
933
934 <div class="wpbc_wn_col" style="flex: 1 1 48%;">
935 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Time Slots Availability Improvements' ) ); ?></h2>
936
937 <ul>
938 <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>
939 <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>
940 <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>
941 <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>
942 </ul>
943 </div>
944
945 <div class="wpbc_wn_col" style="flex: 1 1 48%;">
946 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Reliability and Sync Improvements' ) ); ?></h2>
947
948 <ul>
949 <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>
950 <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>
951 <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>
952 <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>
953 <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>
954 </ul>
955 </div>
956 </div>
957
958 </div>
959
960 <?php
961
962 $obj->expand_section_end( $section_param_arr );
963 }
964
965 /**
966 * What's New section for Booking Calendar 11.1
967 *
968 * @param object $obj
969 *
970 * @return void
971 */
972 function wpbc_welcome_section_11_1( $obj ) {
973
974
975 $section_param_arr = array( 'version_num' => '11.1', 'show_expand' => true );
976
977 $obj->expand_section_start( $section_param_arr );
978 // $obj->asset_path = 'http://beta/assets/'; // TODO: comment this in production.
979 ?>
980
981 <div class="wpbc_wn_container">
982
983 <div class="wpbc_wn_section">
984 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Working Time' ) ); ?></h2>
985
986 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
987 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
988 <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%;" />
989 </div>
990
991 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
992 <ul>
993 <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>
994 <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>
995 <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>
996 <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>
997 <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>
998 <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>
999 </ul>
1000 </div>
1001 </div>
1002
1003 </div>
1004 <?php
1005
1006 $obj->expand_section_end( $section_param_arr );
1007 }
1008
1009 /**
1010 * What's New section for Booking Calendar 11.0
1011 *
1012 * @param object $obj
1013 *
1014 * @return void
1015 */
1016 function wpbc_welcome_section_11_0( $obj ) {
1017
1018
1019 $section_param_arr = array( 'version_num' => '11.0', 'show_expand' => true );
1020
1021 $obj->expand_section_start( $section_param_arr );
1022 // $obj->asset_path = 'http://beta/assets/'; // TODO: comment this in production.
1023 ?>
1024 <div class="wpbc_wn_container">
1025
1026 <div class="wpbc_wn_section">
1027 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Time Slots Availability' ) ); ?></h2>
1028
1029 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1030 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1031 <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%;" />
1032 <!-- <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%;" />-->
1033 </div>
1034
1035 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1036 <ul>
1037 <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>
1038 <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>
1039 <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>
1040 <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>
1041 <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>
1042 </ul>
1043 </div>
1044 </div>
1045
1046
1047 <div class="wpbc_wn_section">
1048 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Set Times Availability Popup' ) ); ?></h2>
1049
1050 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1051 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1052 <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%;" />
1053
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; **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>
1059 <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%;" />
1060 <?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>
1061 <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>
1062 <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>
1063 <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>
1064 </ul>
1065 </div>
1066 </div>
1067
1068
1069 <div class="wpbc_wn_section">
1070 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Faster Add Booking Popup' ) ); ?></h2>
1071
1072 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1073 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1074 <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%;" />
1075 </div>
1076
1077 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1078 <ul>
1079 <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>
1080 <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>
1081 <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>
1082 <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>
1083 <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>
1084 </ul>
1085 </div>
1086 </div>
1087
1088
1089 <div class="wpbc_wn_section">
1090 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'General Availability Settings' ) ); ?></h2>
1091
1092 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1093 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1094 <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%;" />
1095 </div>
1096
1097 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1098 <ul>
1099 <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>
1100 <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>
1101 <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>
1102 <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>
1103 </ul>
1104 </div>
1105 </div>
1106
1107
1108 <div class="wpbc_wn_section">
1109 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Availability Accuracy and Reliability Fixes' ) ); ?></h2>
1110
1111 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1112 <ul>
1113 <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>
1114 <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>
1115 <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>
1116 <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>
1117 </ul>
1118 </div>
1119 </div>
1120
1121 </div>
1122 <?php
1123
1124 $obj->expand_section_end( $section_param_arr );
1125 }
1126
1127 function wpbc_welcome_section_10_15( $obj ) {
1128
1129
1130 $section_param_arr = array( 'version_num' => '10.15', 'show_expand' => true );
1131
1132 $obj->expand_section_start( $section_param_arr );
1133
1134 // $obj->asset_path = 'http://beta/assets/'; // TODO: comment this in production.
1135 ?>
1136 <div class="wpbc_wn_container">
1137
1138 <div class="wpbc_wn_section">
1139 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'New Drag & Drop Booking Form Builder' ) ); ?></h2>
1140
1141 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1142 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1143 <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%;" />
1144 </div>
1145
1146 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1147 <ul>
1148 <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>
1149 <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>
1150 <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>
1151 <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>
1152 </ul>
1153 </div>
1154 </div>
1155
1156
1157 <div class="wpbc_wn_section">
1158 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Create Booking Forms, Contact Forms, and Inquiry Forms' ) ); ?></h2>
1159
1160 <div class="wpbc_wn_col" style="flex: 1 1 48%;margin: 0 1% 0 0;">
1161 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1162 <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%;" />
1163 </div>
1164
1165 <div class="wpbc_wn_col" style="flex: 1 1 48%;margin: 0 0 0 1%;">
1166 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1167 <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%;" />
1168 </div>
1169
1170 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1171 <ul>
1172 <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>
1173 <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>
1174 <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>
1175 <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>
1176 </ul>
1177 </div>
1178 </div>
1179
1180
1181 <div class="wpbc_wn_section">
1182 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Powerful Visual Layout Builder' ) ); ?></h2>
1183
1184 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1185 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1186 <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%;" />
1187 </div>
1188
1189 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1190 <ul>
1191 <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>
1192 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Live visual preview** while building and editing the form.' ) ); ?></li>
1193 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Rows and columns layout** for clean and structured form designs.' ) ); ?></li>
1194 <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>
1195 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Ready section layouts** with 1, 2, 3, or 4 columns.' ) ); ?></li>
1196 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Column resizing with visual resizers** for precise control of layout widths.' ) ); ?></li>
1197 <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>
1198 <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>
1199 </ul>
1200 </div>
1201 </div>
1202
1203
1204 <div class="wpbc_wn_section">
1205 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Smart Editing and Form Controls' ) ); ?></h2>
1206
1207 <div class="wpbc_wn_col" style="flex: 1 1 48%;margin: 0 1% 0 0;">
1208 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1209 <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%;" />
1210 </div>
1211
1212 <div class="wpbc_wn_col" style="flex: 1 1 48%;margin: 0 0 0 1%;">
1213 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1214 <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%;" />
1215 </div>
1216
1217 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1218 <ul>
1219 <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>
1220 <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>
1221 <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>
1222 <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>
1223 </ul>
1224 </div>
1225 </div>
1226
1227
1228 <div class="wpbc_wn_section">
1229 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Better Form Management and Reuse' ) ); ?></h2>
1230
1231 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1232 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1233 <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%;" />
1234 </div>
1235
1236 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1237 <ul>
1238 <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>
1239 <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>
1240 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Duplicate existing form configurations** to create similar forms much faster.' ) ); ?></li>
1241 <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>
1242 <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>
1243 <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>
1244 <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>
1245 </ul>
1246 </div>
1247 </div>
1248
1249
1250 <div class="wpbc_wn_section">
1251 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Preview, Import, and Flexible Workflow' ) ); ?></h2>
1252
1253 <div class="wpbc_wn_col" style="flex: 1 1 48%;margin: 0 1% 0 0;">
1254 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1255 <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%;" />
1256 </div>
1257
1258 <div class="wpbc_wn_col" style="flex: 1 1 48%;margin: 0 0 0 1%;">
1259 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1260 <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%;" />
1261 </div>
1262
1263 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1264 <ul>
1265 <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>
1266 <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>
1267 <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>
1268 <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>
1269 <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '&bull; **Section presets** help you insert commonly used layout structures faster.' ) ); ?></li>
1270 </ul>
1271 </div>
1272 </div>
1273
1274
1275 <div class="wpbc_wn_section">
1276 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Important Note About the Beta Builder' ) ); ?></h2>
1277
1278 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1279 <ul>
1280 <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>
1281 <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>
1282 </ul>
1283 </div>
1284 </div>
1285
1286 </div>
1287 <?php
1288
1289 $obj->expand_section_end( $section_param_arr );
1290 }
1291
1292 function wpbc_welcome_section_10_14( $obj ){
1293
1294 $section_param_arr = array( 'version_num' => '10.14', 'show_expand' => true );
1295
1296 $obj->expand_section_start( $section_param_arr );
1297
1298
1299 // $obj->asset_path = 'http://beta/assets/'; // TODO: 2024-06-01 comment this
1300
1301
1302 // <editor-fold defaultstate="collapsed" desc=" = F R E E = " >
1303 // -----------------------------------------------------------------------------------------------------------------
1304 // = F R E E =
1305 // -----------------------------------------------------------------------------------------------------------------
1306 ?>
1307 <div class="wpbc_wn_container">
1308 <div class="wpbc_wn_section">
1309 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Control start and end dates for booking and availability' ) ); ?></h2>
1310 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1311 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1312 <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%;" />
1313 <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>
1314 </div>
1315 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1316 <ul>
1317 <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>
1318 <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>
1319 <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>
1320 <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>
1321 <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>
1322 <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>
1323 <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>
1324 </ul>
1325 </div>
1326 </div>
1327 </div>
1328 <?php
1329
1330 $obj->expand_section_end( $section_param_arr );
1331 }
1332
1333 function wpbc_welcome_section_10_13( $obj ){
1334
1335 $section_param_arr = array( 'version_num' => '10.13', 'show_expand' => true );
1336
1337 $obj->expand_section_start( $section_param_arr );
1338
1339
1340 // $obj->asset_path = 'http://beta/assets/'; // TODO: 2024-06-01 comment this
1341
1342
1343 // <editor-fold defaultstate="collapsed" desc=" = F R E E = " >
1344 // -----------------------------------------------------------------------------------------------------------------
1345 // = F R E E =
1346 // -----------------------------------------------------------------------------------------------------------------
1347 ?>
1348 <div class="wpbc_wn_container">
1349 <div class="wpbc_wn_section">
1350 <h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Smarter Bookings, Elementor Integration and Cleaner Interface' ) ); ?></h2>
1351 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1352 <h3><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '**Booking Calendar meets Elementor!**' ) ); ?></h3>
1353 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1354 <img src="<?php echo esc_attr( $obj->section_img_url( '10.13/wp_booking_calendar_elementor_01.png' ) ); ?>" style="margin:10px 0;width:98%;" />
1355 <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>
1356 </div>
1357 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1358 <ul>
1359 <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>
1360 <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>
1361 <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>
1362 </ul>
1363 </div>
1364 </div>
1365 <hr class="wpbc_hr_dots"><?php // ---------------------------------------------------------------------- ?>
1366 <div class="wpbc_wn_section">
1367 <div class="wpbc_wn_col" style="flex: 1 1 45%;margin: 10px 0;">
1368 <h3><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '**Cleaner & More Intuitive Interface**' ) ); ?></h3>
1369 <ul>
1370 <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>
1371 <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>
1372 </ul>
1373 </div>
1374 <div class="wpbc_wn_col" style="flex: 1 1 50%;margin: 0px 0;">
1375 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1376 <img src="<?php echo esc_attr( $obj->section_img_url( '10.13/vertical_menu_01.png' ) ); ?>" style="margin:10px 0;width:98%;" />
1377 <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>
1378 </div>
1379 </div>
1380 <hr class="wpbc_hr_dots"><?php // ---------------------------------------------------------------------- ?>
1381 <div class="wpbc_wn_section">
1382 <div class="wpbc_wn_col" style="flex: 1 1 45%;margin: 10px 0;">
1383 <h3><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '**Smart Phone Validation**' ) ); ?></h3>
1384 <ul>
1385 <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>
1386 </ul>
1387 </div>
1388 <div class="wpbc_wn_col" style="flex: 1 1 50%;margin: 0px 0;">
1389 <?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?>
1390 <img src="<?php echo esc_attr( $obj->section_img_url( '10.13/phone_validattion_01.png' ) ); ?>" style="margin:10px auto;max-width:600px;" />
1391 </div>
1392 <div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;">
1393 <ul>
1394 <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>
1395 </ul>
1396 </div>
1397 </div>
1398
1399 </div>
1400 <?php
1401
1402 $obj->expand_section_end( $section_param_arr );
1403 }
1404