| @@ -1,4 +1,4 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | // Exit if accessed directly |
| 4 | 4 | if ( !defined( 'ABSPATH' ) ) exit; |
| @@ -3,8 +3,342 @@ | ||
| 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 | +/** | |
| 7 | 341 | * What's New section for Booking Calendar 11.6. |
| 8 | 342 | * |
| 9 | 343 | * @param object $obj Welcome-page renderer. |
| 10 | 344 | * |
| @@ -10,9 +344,9 @@ | ||
| 10 | 344 | * |
| 11 | 345 | * @return void |
| 12 | 346 | */ |
| 13 | 347 | function wpbc_welcome_section_11_6( $obj ) { |
| 14 | - $section_param_arr = array( 'version_num' => '11.6', 'show_expand' => false ); | |
| 348 | + $section_param_arr = array( 'version_num' => '11.6', 'show_expand' => true ); | |
| 15 | 349 | |
| 16 | 350 | $obj->expand_section_start( $section_param_arr ); |
| 17 | 351 | |
| 18 | 352 | // $obj->asset_path = 'http://beta/assets/'; // TODO: comment this in production. |
| @@ -54,9 +388,9 @@ | ||
| 54 | 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> |
| 55 | 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> |
| 56 | 390 | <li><?php echo( 'Select Seasons and review server-approved safe title changes inline or in bulk before applying them.' ); ?></li> |
| 57 | 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> |
| 58 | - <li><?php echo( 'Open the reusable Seasons catalog from its dedicated Booking Calendar navigation group between Pricing and Settings; Season Availability remains under Availability, while legacy Season editors remain available through the rollback setting.' ); ?></li> | |
| 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> | |
| 59 | 393 | </ul> |
| 60 | 394 | </div> |
| 61 | 395 | </div> |
| 62 | 396 | |