| @@ -1,4 +1,4 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | // Exit if accessed directly |
| 4 | 4 | if ( !defined( 'ABSPATH' ) ) exit; |
| @@ -3,8 +3,860 @@ | ||
| 3 | 3 | // Exit if accessed directly |
| 4 | 4 | if ( !defined( 'ABSPATH' ) ) exit; |
| 5 | 5 | |
| 6 | 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( '• 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( '• 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( '• 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( '• Add a recognizable **title, photo, and description** to each Booking Resource.' ) ); ?></li> | |
| 409 | + <li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• 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( '• 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( '• 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( '• 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( '• 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( '• 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( '• 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( '• 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( '• 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( '• 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( '• 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( '• 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( '• 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( '• 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( '• 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( '• **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( '• 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( '• **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( '• **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( '• **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( '• 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( '• 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( '• **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( '• 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( '• 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( '• 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( '• 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( '• 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( '• 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( '• **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( '• 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( '• 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( '• 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( '• **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( '• **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( '• **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( '• 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( '• 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( '• 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( '• 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( '• 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( '• 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( '• **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( '• 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( '• **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( '• **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( '• **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( '• **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( '• **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( '• **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( '• **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( '• **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( '• **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( '• **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( '• **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( '• **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( '• **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( '• **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( '• **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( '• **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( '• **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( '• **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( '• **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( '• **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( '• **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( '• **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( '• **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( '• **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( '• **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( '• **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( '• **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( '• **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( '• **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 | +/** | |
| 7 | 859 | * What's New section for Booking Calendar 11.2 |
| 8 | 860 | * |
| 9 | 861 | * @param object $obj |
| 10 | 862 | * |
| @@ -11,10 +863,11 @@ | ||
| 11 | 863 | * @return void |
| 12 | 864 | */ |
| 13 | 865 | function wpbc_welcome_section_11_2( $obj ) { |
| 14 | 866 | |
| 15 | - $section_param_arr = array( 'version_num' => '11.2', 'show_expand' => false ); | |
| 16 | 867 | |
| 868 | + $section_param_arr = array( 'version_num' => '11.2', 'show_expand' => true ); | |
| 869 | + | |
| 17 | 870 | $obj->expand_section_start( $section_param_arr ); |
| 18 | 871 | // $obj->asset_path = 'http://beta/assets/'; // TODO: comment this in production. |
| 19 | 872 | ?> |
| 20 | 873 | <div class="wpbc_wn_container"> |
| @@ -117,13 +970,10 @@ | ||
| 117 | 970 | * @return void |
| 118 | 971 | */ |
| 119 | 972 | function wpbc_welcome_section_11_1( $obj ) { |
| 120 | 973 | |
| 121 | - ?> | |
| 122 | - <hr/> | |
| 123 | - <?php | |
| 124 | 974 | |
| 125 | - $section_param_arr = array( 'version_num' => '11.1', 'show_expand' => false ); | |
| 975 | + $section_param_arr = array( 'version_num' => '11.1', 'show_expand' => true ); | |
| 126 | 976 | |
| 127 | 977 | $obj->expand_section_start( $section_param_arr ); |
| 128 | 978 | // $obj->asset_path = 'http://beta/assets/'; // TODO: comment this in production. |
| 129 | 979 | ?> |
| @@ -164,13 +1014,10 @@ | ||
| 164 | 1014 | * @return void |
| 165 | 1015 | */ |
| 166 | 1016 | function wpbc_welcome_section_11_0( $obj ) { |
| 167 | 1017 | |
| 168 | - ?> | |
| 169 | - <hr/> | |
| 170 | - <?php | |
| 171 | 1018 | |
| 172 | - $section_param_arr = array( 'version_num' => '11.0', 'show_expand' => false ); | |
| 1019 | + $section_param_arr = array( 'version_num' => '11.0', 'show_expand' => true ); | |
| 173 | 1020 | |
| 174 | 1021 | $obj->expand_section_start( $section_param_arr ); |
| 175 | 1022 | // $obj->asset_path = 'http://beta/assets/'; // TODO: comment this in production. |
| 176 | 1023 | ?> |
| @@ -278,13 +1125,10 @@ | ||
| 278 | 1125 | } |
| 279 | 1126 | |
| 280 | 1127 | function wpbc_welcome_section_10_15( $obj ) { |
| 281 | 1128 | |
| 282 | - ?> | |
| 283 | - <hr/> | |
| 284 | - <?php | |
| 285 | 1129 | |
| 286 | - $section_param_arr = array( 'version_num' => '10.15', 'show_expand' => ! true ); | |
| 1130 | + $section_param_arr = array( 'version_num' => '10.15', 'show_expand' => true ); | |
| 287 | 1131 | |
| 288 | 1132 | $obj->expand_section_start( $section_param_arr ); |
| 289 | 1133 | |
| 290 | 1134 | // $obj->asset_path = 'http://beta/assets/'; // TODO: comment this in production. |