| @@ -1,4 +1,4 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | // Exit if accessed directly |
| 4 | 4 | if ( !defined( 'ABSPATH' ) ) exit; |
| @@ -3,8 +3,71 @@ | ||
| 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 | +/** | |
| 7 | 70 | * Render Booking Calendar 11.8 What's New content. |
| 8 | 71 | * |
| 9 | 72 | * Booking Modes and the Full-Day Form Builder template are available in every |
| 10 | 73 | * edition. Seasonal Availability and the Business Large Searchable Resources |