| 1 |
<?php |
| 2 |
|
| 3 |
// Exit if accessed directly |
| 4 |
if ( !defined( 'ABSPATH' ) ) exit; |
| 5 |
|
| 6 |
/** |
| 7 |
* What's New section for Booking Calendar 11.5. |
| 8 |
* |
| 9 |
* @param object $obj Welcome-page renderer. |
| 10 |
* |
| 11 |
* @return void |
| 12 |
*/ |
| 13 |
function wpbc_welcome_section_11_5( $obj ) { |
| 14 |
$section_param_arr = array( 'version_num' => '11.5', 'show_expand' => false ); |
| 15 |
// Keep empty image slots out of the markup until final 11.5 screenshots are available. |
| 16 |
$image_urls = array( |
| 17 |
'appointment_booking' => '', |
| 18 |
'appointment_admin' => '', |
| 19 |
'add_booking' => '', |
| 20 |
'form_appearance' => '', |
| 21 |
'compatibility' => '', |
| 22 |
); |
| 23 |
|
| 24 |
$obj->expand_section_start( $section_param_arr ); |
| 25 |
|
| 26 |
// $obj->asset_path = 'http://beta/assets/'; // TODO: comment this in production. |
| 27 |
?> |
| 28 |
<div class="wpbc_wn_container"> |
| 29 |
|
| 30 |
<div class="wpbc_wn_section"> |
| 31 |
<h2><?php esc_html_e( 'Services and the New Appointment Booking Flow', 'booking' ); ?></h2> |
| 32 |
|
| 33 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 34 |
<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%;" /> |
| 35 |
</div> |
| 36 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 37 |
<ul> |
| 38 |
<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.', 'booking' ) ) ); ?></li> |
| 39 |
<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.', 'booking' ) ) ); ?></li> |
| 40 |
</ul> |
| 41 |
</div> |
| 42 |
|
| 43 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 44 |
<img src="<?php echo esc_attr( $obj->section_img_url( '11.5/booking_calendar__appointment_flow_01.gif' ) ); ?>" style="margin:10px 0;width:98%;" /> |
| 45 |
<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> |
| 46 |
</div> |
| 47 |
|
| 48 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 49 |
<ul> |
| 50 |
<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.', 'booking' ) ) ); ?></li> |
| 51 |
<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.', 'booking' ) ) ); ?></li> |
| 52 |
<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.', 'booking' ) ) ); ?></li> |
| 53 |
<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.', 'booking' ) ) ); ?></li> |
| 54 |
</ul> |
| 55 |
</div> |
| 56 |
</div> |
| 57 |
|
| 58 |
<div class="wpbc_wn_section"> |
| 59 |
<h2><?php esc_html_e( 'Administration Modes and QuickStart', 'booking' ); ?></h2> |
| 60 |
|
| 61 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 62 |
<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%;" /> |
| 63 |
</div> |
| 64 |
|
| 65 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;"> |
| 66 |
|
| 67 |
<ul> |
| 68 |
<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.', 'booking' ) ) ); ?></li> |
| 69 |
<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.', 'booking' ) ) ); ?></li> |
| 70 |
<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.', 'booking' ) ) ); ?></li> |
| 71 |
<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.', 'booking' ) ) ); ?></li> |
| 72 |
</ul> |
| 73 |
</div> |
| 74 |
</div> |
| 75 |
|
| 76 |
<div class="wpbc_wn_section"> |
| 77 |
<h2><?php esc_html_e( 'Resource-first Booking Flow', 'booking' ); ?> ( Pro Versions)</h2> |
| 78 |
|
| 79 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 80 |
<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%;" /> |
| 81 |
<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> |
| 82 |
</div> |
| 83 |
|
| 84 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;"> |
| 85 |
<ul> |
| 86 |
<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.', 'booking' ) ) ); ?></li> |
| 87 |
<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.', 'booking' ) ) ); ?></li> |
| 88 |
</ul> |
| 89 |
</div> |
| 90 |
</div> |
| 91 |
|
| 92 |
<div class="wpbc_wn_section" style="gap:1%"> |
| 93 |
<div class="wpbc_wn_col" style="flex: 1 1 48%;"> |
| 94 |
<h3><?php esc_html_e( 'Appointment Administration', 'booking' ); ?></h3> |
| 95 |
|
| 96 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;padding:5px;"> |
| 97 |
<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%;" /> |
| 98 |
</div> |
| 99 |
|
| 100 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 101 |
<?php if ( ! empty( $image_urls['appointment_admin'] ) ) { ?> |
| 102 |
<?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?> |
| 103 |
<img src="<?php echo esc_url( $image_urls['appointment_admin'] ); ?>" alt="<?php esc_attr_e( 'Appointment administration', 'booking' ); ?>" style="margin:10px 0;width:98%;" /> |
| 104 |
<?php } ?> |
| 105 |
</div> |
| 106 |
|
| 107 |
<ul> |
| 108 |
<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.', 'booking' ) ) ); ?></li> |
| 109 |
<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.', 'booking' ) ) ); ?></li> |
| 110 |
<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.', 'booking' ) ) ); ?></li> |
| 111 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( __( '• Providers remain existing **Booking Resources**, preserving established availability, permissions, and ownership behavior.', 'booking' ) ) ); ?></li> |
| 112 |
</ul> |
| 113 |
</div> |
| 114 |
|
| 115 |
<div class="wpbc_wn_col" style="flex: 1 1 48%;"> |
| 116 |
<h3><?php esc_html_e( 'Redesigned Add Booking Page', 'booking' ); ?></h3> |
| 117 |
|
| 118 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;padding:5px;"> |
| 119 |
<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%;" /> |
| 120 |
</div> |
| 121 |
|
| 122 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 123 |
<?php if ( ! empty( $image_urls['add_booking'] ) ) { ?> |
| 124 |
<?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?> |
| 125 |
<img src="<?php echo esc_url( $image_urls['add_booking'] ); ?>" alt="<?php esc_attr_e( 'Redesigned Add Booking administration page', 'booking' ); ?>" style="margin:10px 0;width:98%;" /> |
| 126 |
<?php } ?> |
| 127 |
</div> |
| 128 |
|
| 129 |
<ul> |
| 130 |
<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.', 'booking' ) ) ); ?></li> |
| 131 |
<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.', 'booking' ) ) ); ?></li> |
| 132 |
<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.', 'booking' ) ) ); ?></li> |
| 133 |
</ul> |
| 134 |
|
| 135 |
</div> |
| 136 |
</div> |
| 137 |
|
| 138 |
<div class="wpbc_wn_section"> |
| 139 |
|
| 140 |
<h2><?php esc_html_e( 'Consistent Form Styles and Accent Colors', 'booking' ); ?></h2> |
| 141 |
|
| 142 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 143 |
<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%;" /> |
| 144 |
</div> |
| 145 |
|
| 146 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 147 |
<?php if ( ! empty( $image_urls['form_appearance'] ) ) { ?> |
| 148 |
<?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?> |
| 149 |
<img src="<?php echo esc_url( $image_urls['form_appearance'] ); ?>" alt="<?php esc_attr_e( 'Form Styles and accent colors', 'booking' ); ?>" style="margin:10px 0;width:98%;" /> |
| 150 |
<?php } ?> |
| 151 |
</div> |
| 152 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 153 |
<ul> |
| 154 |
<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.', 'booking' ) ) ); ?></li> |
| 155 |
<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.', 'booking' ) ) ); ?></li> |
| 156 |
<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.', 'booking' ) ) ); ?></li> |
| 157 |
<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.', 'booking' ) ) ); ?></li> |
| 158 |
</ul> |
| 159 |
</div> |
| 160 |
|
| 161 |
</div> |
| 162 |
|
| 163 |
<div class="wpbc_wn_section"> |
| 164 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;"> |
| 165 |
<h3><?php esc_html_e( 'Compatibility and Extensibility', 'booking' ); ?></h3> |
| 166 |
|
| 167 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 168 |
<?php if ( ! empty( $image_urls['compatibility'] ) ) { ?> |
| 169 |
<?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?> |
| 170 |
<img src="<?php echo esc_url( $image_urls['compatibility'] ); ?>" alt="<?php esc_attr_e( 'Booking Calendar compatibility and extensibility', 'booking' ); ?>" style="margin:10px 0;width:98%;" /> |
| 171 |
<?php } ?> |
| 172 |
</div> |
| 173 |
|
| 174 |
<ul> |
| 175 |
<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.', 'booking' ) ) ); ?></li> |
| 176 |
<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.', 'booking' ) ) ); ?></li> |
| 177 |
<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.', 'booking' ) ) ); ?></li> |
| 178 |
<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.', 'booking' ) ) ); ?></li> |
| 179 |
</ul> |
| 180 |
</div> |
| 181 |
</div> |
| 182 |
</div> |
| 183 |
<?php |
| 184 |
$obj->expand_section_end( $section_param_arr ); |
| 185 |
} |
| 186 |
|
| 187 |
/** |
| 188 |
* What's New section for Booking Calendar 11.4 |
| 189 |
* |
| 190 |
* @param object $obj |
| 191 |
* |
| 192 |
* @return void |
| 193 |
*/ |
| 194 |
function wpbc_welcome_section_11_4( $obj ) { |
| 195 |
|
| 196 |
$section_param_arr = array( 'version_num' => '11.4', 'show_expand' => true ); |
| 197 |
|
| 198 |
$obj->expand_section_start( $section_param_arr ); |
| 199 |
// $obj->asset_path = 'http://beta/assets/'; // TODO: comment this in production. |
| 200 |
?> |
| 201 |
<div class="wpbc_wn_container"> |
| 202 |
|
| 203 |
<div class="wpbc_wn_section"> |
| 204 |
<h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'New Global Booking Form Styles' ) ); ?></h2> |
| 205 |
|
| 206 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 207 |
<?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?> |
| 208 |
<img src="<?php echo esc_attr( $obj->section_img_url( '11.4/booking_calendar__booking_form_styles.gif' ) ); ?>" style="margin:10px 0;width:98%;" /> |
| 209 |
</div> |
| 210 |
|
| 211 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 212 |
<ul> |
| 213 |
<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> |
| 214 |
<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> |
| 215 |
<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> |
| 216 |
<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> |
| 217 |
</ul> |
| 218 |
</div> |
| 219 |
</div> |
| 220 |
|
| 221 |
<div class="wpbc_wn_section"> |
| 222 |
<h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Two-Click Date Range Selection' ) ); ?></h2> |
| 223 |
|
| 224 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 225 |
<?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?> |
| 226 |
<img src="<?php echo esc_attr( $obj->section_img_url( '11.4/booking_calendar__date_range_selection.gif' ) ); ?>" style="margin:10px 0;width:98%;" /> |
| 227 |
</div> |
| 228 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 229 |
<ul> |
| 230 |
<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> |
| 231 |
<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> |
| 232 |
<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> |
| 233 |
<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> |
| 234 |
</ul> |
| 235 |
</div> |
| 236 |
</div> |
| 237 |
|
| 238 |
<div class="wpbc_wn_section" style="gap:1%"> |
| 239 |
|
| 240 |
<div class="wpbc_wn_col" style="flex: 1 1 48%;"> |
| 241 |
<h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Centralized Form Messages' ) ); ?></h2> |
| 242 |
|
| 243 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 244 |
<?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?> |
| 245 |
<img src="<?php echo esc_attr( $obj->section_img_url( '11.4/booking_calendar__form_messages.png' ) ); ?>" style="margin:10px 0;width:98%;" /> |
| 246 |
</div> |
| 247 |
<ul> |
| 248 |
<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> |
| 249 |
<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> |
| 250 |
<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> |
| 251 |
</ul> |
| 252 |
</div> |
| 253 |
|
| 254 |
<div class="wpbc_wn_col" style="flex: 1 1 48%;"> |
| 255 |
<h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Streamlined Form Builder Workflow' ) ); ?></h2> |
| 256 |
|
| 257 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 258 |
<?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?> |
| 259 |
<img src="<?php echo esc_attr( $obj->section_img_url( '11.4/booking_calendar__form_builder_workflow.png' ) ); ?>" style="margin:10px 0;width:98%;" /> |
| 260 |
</div> |
| 261 |
<ul> |
| 262 |
<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> |
| 263 |
<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> |
| 264 |
<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> |
| 265 |
</ul> |
| 266 |
</div> |
| 267 |
</div> |
| 268 |
|
| 269 |
</div> |
| 270 |
<?php |
| 271 |
|
| 272 |
$obj->expand_section_end( $section_param_arr ); |
| 273 |
} |
| 274 |
|
| 275 |
/** |
| 276 |
* What's New section for Booking Calendar 11.3 |
| 277 |
* |
| 278 |
* @param object $obj |
| 279 |
* |
| 280 |
* @return void |
| 281 |
*/ |
| 282 |
function wpbc_welcome_section_11_3( $obj ) { |
| 283 |
|
| 284 |
$section_param_arr = array( 'version_num' => '11.3', 'show_expand' => true ); |
| 285 |
|
| 286 |
$obj->expand_section_start( $section_param_arr ); |
| 287 |
// $obj->asset_path = 'http://beta/assets/'; // TODO: comment this in production. |
| 288 |
?> |
| 289 |
<div class="wpbc_wn_container"> |
| 290 |
|
| 291 |
<div class="wpbc_wn_section"> |
| 292 |
<h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'New Calendar Settings Page' ) ); ?></h2> |
| 293 |
|
| 294 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 295 |
<?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?> |
| 296 |
<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%;" /> |
| 297 |
</div> |
| 298 |
|
| 299 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 300 |
<ul> |
| 301 |
<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> |
| 302 |
<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> |
| 303 |
<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> |
| 304 |
<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> |
| 305 |
</ul> |
| 306 |
</div> |
| 307 |
</div> |
| 308 |
|
| 309 |
<div class="wpbc_wn_section"> |
| 310 |
<h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'New Appearance / Theme Settings Page' ) ); ?></h2> |
| 311 |
|
| 312 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 313 |
<?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?> |
| 314 |
<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%;" /> |
| 315 |
</div> |
| 316 |
|
| 317 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 318 |
<ul> |
| 319 |
<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> |
| 320 |
<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> |
| 321 |
<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> |
| 322 |
<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> |
| 323 |
</ul> |
| 324 |
</div> |
| 325 |
</div> |
| 326 |
|
| 327 |
<div class="wpbc_wn_section" style="gap:1%"> |
| 328 |
|
| 329 |
<div class="wpbc_wn_col" style="flex: 1 1 48%;"> |
| 330 |
<h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Setup Wizard Improvements' ) ); ?></h2> |
| 331 |
|
| 332 |
<?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?> |
| 333 |
<!-- <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%;" />--> |
| 334 |
|
| 335 |
<ul> |
| 336 |
<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> |
| 337 |
<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> |
| 338 |
<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> |
| 339 |
</ul> |
| 340 |
</div> |
| 341 |
|
| 342 |
<div class="wpbc_wn_col" style="flex: 1 1 48%;"> |
| 343 |
<h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Resources and Admin Workflow' ) ); ?></h2> |
| 344 |
|
| 345 |
<?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?> |
| 346 |
<!-- <img src="--><?php //echo esc_attr( $obj->section_img_url( '11.3/booking_calendar__resources_capacity_rules.png' ) ); ?><!--" style="margin:10px 0;width:98%;" />--> |
| 347 |
|
| 348 |
<ul> |
| 349 |
<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> |
| 350 |
<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> |
| 351 |
<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> |
| 352 |
<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> |
| 353 |
</ul> |
| 354 |
</div> |
| 355 |
</div> |
| 356 |
|
| 357 |
</div> |
| 358 |
|
| 359 |
<?php |
| 360 |
|
| 361 |
$obj->expand_section_end( $section_param_arr ); |
| 362 |
} |
| 363 |
|
| 364 |
/** |
| 365 |
* What's New section for Booking Calendar 11.2 |
| 366 |
* |
| 367 |
* @param object $obj |
| 368 |
* |
| 369 |
* @return void |
| 370 |
*/ |
| 371 |
function wpbc_welcome_section_11_2( $obj ) { |
| 372 |
|
| 373 |
|
| 374 |
$section_param_arr = array( 'version_num' => '11.2', 'show_expand' => true ); |
| 375 |
|
| 376 |
$obj->expand_section_start( $section_param_arr ); |
| 377 |
// $obj->asset_path = 'http://beta/assets/'; // TODO: comment this in production. |
| 378 |
?> |
| 379 |
<div class="wpbc_wn_container"> |
| 380 |
|
| 381 |
<div class="wpbc_wn_section"> |
| 382 |
<h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Redesigned Setup Wizard' ) ); ?></h2> |
| 383 |
|
| 384 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 385 |
<?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?> |
| 386 |
<img src="<?php echo esc_attr( $obj->section_img_url( '11.2/booking_calendar__setup_wizard__floating_setup_bar.png' ) ); ?>" style="margin:10px 0;width:98%;" /> |
| 387 |
</div> |
| 388 |
|
| 389 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 390 |
<ul> |
| 391 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **NEW**: Redesigned the initial **Setup Wizard** with a floating **Setup Bar** that guides users through configuration directly on the relevant Booking Calendar admin pages.' ) ); ?></li> |
| 392 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Step-by-step setup flow**: After choosing the booking type, the wizard opens the exact settings pages needed for form setup, date selection, availability, working time, color theme, and publishing.' ) ); ?></li> |
| 393 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Context-aware guidance**: The Setup Bar shows the current step, progress, Back / Continue / Finish controls, and clear instructions for what should be configured on each page.' ) ); ?></li> |
| 394 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Smarter page assistance**: Setup steps can automatically open, scroll to, and highlight the related settings section.' ) ); ?></li> |
| 395 |
</ul> |
| 396 |
</div> |
| 397 |
</div> |
| 398 |
|
| 399 |
|
| 400 |
<div class="wpbc_wn_section"> |
| 401 |
<h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Floating Setup Bar' ) ); ?></h2> |
| 402 |
|
| 403 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 404 |
<?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?> |
| 405 |
<img src="<?php echo esc_attr( $obj->section_img_url( '11.2/booking_calendar__setup_wizard__move_setup_bar.png' ) ); ?>" style="margin:10px 0;width:98%;" /> |
| 406 |
</div> |
| 407 |
|
| 408 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 409 |
<ul> |
| 410 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **NEW**: Added a floating **Setup Bar** available across Booking Calendar admin pages during setup.' ) ); ?></li> |
| 411 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Save-aware workflow**: Steps that require saving now keep the Continue button disabled until changes are saved.' ) ); ?></li> |
| 412 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Flexible positioning**: The bar can be collapsed, moved by drag and drop, reset to its default position, and automatically shifted away from right-side settings panels.' ) ); ?></li> |
| 413 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Reliable completion**: Finishing or skipping setup now correctly hides the Setup Bar across all Booking Calendar admin pages.' ) ); ?></li> |
| 414 |
</ul> |
| 415 |
</div> |
| 416 |
</div> |
| 417 |
|
| 418 |
|
| 419 |
<div class="wpbc_wn_section"> |
| 420 |
<h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Front-End Booking Form Popup' ) ); ?></h2> |
| 421 |
|
| 422 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 423 |
<?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?> |
| 424 |
<img src="<?php echo esc_attr( $obj->section_img_url( '11.2/booking_calendar__open_popup.png' ) ); ?>" style="margin:10px 0;width:98%;" /> |
| 425 |
</div> |
| 426 |
|
| 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( '• **NEW**: Added front-end popup support for booking forms using shortcode parameters.' ) ); ?></li> |
| 430 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Popup booking form shortcode**: Use **[booking resource_id=1 popup=1]** to show a button that opens the booking form in a modal window.' ) ); ?></li> |
| 431 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Dedicated alias shortcode**: Added **[booking_popup]** as a shortcut for popup booking forms.' ) ); ?></li> |
| 432 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Customizable popup display**: Configure popup button text, popup title, custom CSS classes, modal class, and popup size.' ) ); ?></li> |
| 433 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Automatic assets loading**: Required popup JavaScript and CSS are loaded automatically on front-end pages.' ) ); ?></li> |
| 434 |
</ul> |
| 435 |
</div> |
| 436 |
</div> |
| 437 |
|
| 438 |
<div class="wpbc_wn_section" style="gap:1%"> |
| 439 |
|
| 440 |
<div class="wpbc_wn_col" style="flex: 1 1 48%;"> |
| 441 |
<h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Time Slots Availability Improvements' ) ); ?></h2> |
| 442 |
|
| 443 |
<ul> |
| 444 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Improvement**: Improved the **Create Booking for Selection** workflow in the Time Slots Availability popup.' ) ); ?></li> |
| 445 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **More reliable popup handoff**: The Add Booking popup is now validated before the Time Slots popup closes, preventing cases where no booking form appeared.' ) ); ?></li> |
| 446 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Better multi-date selections**: Dragged multi-date time intervals are now handled as explicit admin-selected time overrides during availability validation.' ) ); ?></li> |
| 447 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Cleaner JavaScript**: Fixed deprecated jQuery warnings in the Time Slots Availability popup.' ) ); ?></li> |
| 448 |
</ul> |
| 449 |
</div> |
| 450 |
|
| 451 |
<div class="wpbc_wn_col" style="flex: 1 1 48%;"> |
| 452 |
<h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Reliability and Sync Improvements' ) ); ?></h2> |
| 453 |
|
| 454 |
<ul> |
| 455 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Fix**: Fixed a PHP 8+ fatal error on the Form Builder page when malformed legacy custom form data was stored incorrectly.' ) ); ?></li> |
| 456 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Fix**: Improved Form Options Costs parsing for selectbox fields with quoted defaults. Available in Business Medium or higher.' ) ); ?></li> |
| 457 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Fix**: Add Booking now correctly loads the default custom booking form assigned to the selected booking resource. Available in Business Medium or higher.' ) ); ?></li> |
| 458 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Fix**: Fixed Early / Late Booking discount calculation so fixed form option costs are not incorrectly reduced to zero.' ) ); ?></li> |
| 459 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **NEW**: Added the **Append extra day after imported checkout day** option for **.ics** import sync rules.' ) ); ?></li> |
| 460 |
</ul> |
| 461 |
</div> |
| 462 |
</div> |
| 463 |
|
| 464 |
</div> |
| 465 |
|
| 466 |
<?php |
| 467 |
|
| 468 |
$obj->expand_section_end( $section_param_arr ); |
| 469 |
} |
| 470 |
|
| 471 |
/** |
| 472 |
* What's New section for Booking Calendar 11.1 |
| 473 |
* |
| 474 |
* @param object $obj |
| 475 |
* |
| 476 |
* @return void |
| 477 |
*/ |
| 478 |
function wpbc_welcome_section_11_1( $obj ) { |
| 479 |
|
| 480 |
|
| 481 |
$section_param_arr = array( 'version_num' => '11.1', 'show_expand' => true ); |
| 482 |
|
| 483 |
$obj->expand_section_start( $section_param_arr ); |
| 484 |
// $obj->asset_path = 'http://beta/assets/'; // TODO: comment this in production. |
| 485 |
?> |
| 486 |
|
| 487 |
<div class="wpbc_wn_container"> |
| 488 |
|
| 489 |
<div class="wpbc_wn_section"> |
| 490 |
<h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Working Time' ) ); ?></h2> |
| 491 |
|
| 492 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 493 |
<?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?> |
| 494 |
<img src="<?php echo esc_attr( $obj->section_img_url( '11.1/wp_booking_calendar_11_1_working_time_01.png' ) ); ?>" style="margin:10px 0;width:98%;" /> |
| 495 |
</div> |
| 496 |
|
| 497 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 498 |
<ul> |
| 499 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **NEW**: Added **Working Time** settings to **Booking Calendar > Availability > General Availability**, allowing administrators to restrict time-based bookings to specific working hours.' ) ); ?></li> |
| 500 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Designed for time-based booking forms**: Working Time applies to booking forms that use **rangetime**, **start/end time**, or **start/duration time** fields.' ) ); ?></li> |
| 501 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Flexible schedule control**: Define default working hours for each weekday, then optionally set custom working time rules for specific booking resources.' ) ); ?></li> |
| 502 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Clear availability timeline**: Time outside working hours is shown in **Time Slots Availability** as read-only unavailable time, with links back to the related Working Time settings.' ) ); ?></li> |
| 503 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Cleaner front-end calendar display**: Dates limited only by Working Time keep their tooltip information, while the calendar avoids showing partial-booking dots when there are no real bookings or manually blocked time slots.' ) ); ?></li> |
| 504 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Better editing workflow**: When opening Working Time settings from the Time Slots Availability timeline, the General Availability page automatically expands and scrolls to the Working Time section.' ) ); ?></li> |
| 505 |
</ul> |
| 506 |
</div> |
| 507 |
</div> |
| 508 |
|
| 509 |
</div> |
| 510 |
<?php |
| 511 |
|
| 512 |
$obj->expand_section_end( $section_param_arr ); |
| 513 |
} |
| 514 |
|
| 515 |
/** |
| 516 |
* What's New section for Booking Calendar 11.0 |
| 517 |
* |
| 518 |
* @param object $obj |
| 519 |
* |
| 520 |
* @return void |
| 521 |
*/ |
| 522 |
function wpbc_welcome_section_11_0( $obj ) { |
| 523 |
|
| 524 |
|
| 525 |
$section_param_arr = array( 'version_num' => '11.0', 'show_expand' => true ); |
| 526 |
|
| 527 |
$obj->expand_section_start( $section_param_arr ); |
| 528 |
// $obj->asset_path = 'http://beta/assets/'; // TODO: comment this in production. |
| 529 |
?> |
| 530 |
<div class="wpbc_wn_container"> |
| 531 |
|
| 532 |
<div class="wpbc_wn_section"> |
| 533 |
<h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Time Slots Availability' ) ); ?></h2> |
| 534 |
|
| 535 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 536 |
<?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?> |
| 537 |
<img src="<?php echo esc_attr( $obj->section_img_url( '11.0/wp_booking_calendar__availability__time_slots_01.gif' ) ); ?>" style="margin:10px 0;width:98%;" /> |
| 538 |
<!-- <img src="--><?php //echo esc_attr( $obj->section_img_url( '11.0/wp_booking_calendar__availability__time_slots_02.png' ) ); ?><!--" style="margin:10px 0;width:98%;" />--> |
| 539 |
</div> |
| 540 |
|
| 541 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 542 |
<ul> |
| 543 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **NEW**: Added the **Time Slots Availability** page under **Booking Calendar > Availability**, allowing administrators to define unavailable time intervals for specific booking resources and date ranges.' ) ); ?></li> |
| 544 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Interactive timeline selection**: Select one or many days directly in the timeline, adjust start and end time, then block or unblock the selected interval.' ) ); ?></li> |
| 545 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Clear availability states**: The timeline now shows available, booked, unavailable, and full-day unavailable states in one place.' ) ); ?></li> |
| 546 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Finer control**: Work with visible time range controls, date range navigation arrows, and slot steps down to **5 minutes**.' ) ); ?></li> |
| 547 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Better long-range editing**: Sticky timeline headers and progress indicators make loading, blocking, unblocking, and saving easier to follow.' ) ); ?></li> |
| 548 |
</ul> |
| 549 |
</div> |
| 550 |
</div> |
| 551 |
|
| 552 |
|
| 553 |
<div class="wpbc_wn_section"> |
| 554 |
<h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Set Times Availability Popup' ) ); ?></h2> |
| 555 |
|
| 556 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 557 |
<?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?> |
| 558 |
<img src="<?php echo esc_attr( $obj->section_img_url( '11.0/wp_booking_calendar_11_0_set_times_availability_popup.png' ) ); ?>" style="margin:10px 0;width:98%;" /> |
| 559 |
|
| 560 |
</div> |
| 561 |
|
| 562 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 563 |
<ul> |
| 564 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **NEW**: Added a reusable **Set Times Availability** popup to the Booking Listing page, so unavailable time intervals can be managed without leaving the bookings workflow.' ) ); ?></li> |
| 565 |
<li><img src="<?php echo esc_attr( $obj->section_img_url( '11.0/wp_booking_calendar__add_booking _from__timeslots__availability_01.gif' ) ); ?>" style="margin:10px 0;width:98%;" /> |
| 566 |
<?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Create bookings from selected intervals**: Start a new booking directly from the selected time interval inside the Time Slots Availability popup.' ) ); ?></li> |
| 567 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Works across multiple days**: Select, block, unblock, and review unavailable intervals across a date range with booked and unavailable states visible.' ) ); ?></li> |
| 568 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Unavailable full-day reasons**: The popup can show days blocked by Days Availability, Season Availability, unavailable weekdays, unavailable time from current time, and limit available days from today settings.' ) ); ?></li> |
| 569 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Quick rule links**: Full-day unavailable timeline bars can link to the related availability settings page, helping administrators identify and adjust the rule that made a date unavailable.' ) ); ?></li> |
| 570 |
</ul> |
| 571 |
</div> |
| 572 |
</div> |
| 573 |
|
| 574 |
|
| 575 |
<div class="wpbc_wn_section"> |
| 576 |
<h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Faster Add Booking Popup' ) ); ?></h2> |
| 577 |
|
| 578 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 579 |
<?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?> |
| 580 |
<img src="<?php echo esc_attr( $obj->section_img_url( '11.0/wp_booking_calendar_11_0_add_booking_popup.png' ) ); ?>" style="margin:10px 0;width:98%;" /> |
| 581 |
</div> |
| 582 |
|
| 583 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 584 |
<ul> |
| 585 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **NEW**: Added a faster **Add Booking** popup to the Booking Listing and Timeline pages, so users can create bookings without leaving the current view.' ) ); ?></li> |
| 586 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Prefilled from the timeline**: Selected booking resource, date, start time, and end time are passed into the popup when creating a booking from a selected interval.' ) ); ?></li> |
| 587 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Choose the right form in place**: Select the booking resource and custom booking form directly inside the popup.' ) ); ?></li> |
| 588 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Edit in the same workflow**: Existing bookings can be opened in the popup, with a direct link to edit the selected booking form when needed.' ) ); ?></li> |
| 589 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Improved navigation**: The Add Booking page is now available under the Bookings section, and Booking Listing and Timeline include a clearer **New booking** quick-action button.' ) ); ?></li> |
| 590 |
</ul> |
| 591 |
</div> |
| 592 |
</div> |
| 593 |
|
| 594 |
|
| 595 |
<div class="wpbc_wn_section"> |
| 596 |
<h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'General Availability Settings' ) ); ?></h2> |
| 597 |
|
| 598 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 599 |
<?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?> |
| 600 |
<img src="<?php echo esc_attr( $obj->section_img_url( '11.0/wp_booking_calendar_11_0_general_availability_settings_01.gif' ) ); ?>" style="margin:10px 0;width:98%;" /> |
| 601 |
</div> |
| 602 |
|
| 603 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 604 |
<ul> |
| 605 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **NEW**: Added a **General Availability** settings page for defining global front-end availability rules across all calendars and booking resources.' ) ); ?></li> |
| 606 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Live calendar preview**: Review unavailable weekdays, availability limits from the current date, unavailable time from current time, and booking buffer effects before saving.' ) ); ?></li> |
| 607 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Fast settings workflow**: Save changes with AJAX, reset preview controls to defaults, and continue working in the same page layout.' ) ); ?></li> |
| 608 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Consistent admin design**: Uses the shared right-side palette layout from the Availability pages and setup wizard interfaces.' ) ); ?></li> |
| 609 |
</ul> |
| 610 |
</div> |
| 611 |
</div> |
| 612 |
|
| 613 |
|
| 614 |
<div class="wpbc_wn_section"> |
| 615 |
<h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Availability Accuracy and Reliability Fixes' ) ); ?></h2> |
| 616 |
|
| 617 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 618 |
<ul> |
| 619 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Fix**: Fixed calendar booking status detection, improving how the front-end calendar reads approved and pending booking statuses for capacity-based resources, including parent/child resources and change-over dates.' ) ); ?></li> |
| 620 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Fix**: Fixed availability calculation for Booking Form Builder forms with time-slot fields, so dates are marked as fully unavailable when all booking form time slots are already booked. (10.15.8.2)' ) ); ?></li> |
| 621 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Fix**: Fixed a fatal error on some hosts by reading the local PRO **meta.json** file directly instead of using WordPress FTP filesystem access.' ) ); ?></li> |
| 622 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Improvement**: Front-end booking form calendars should now reflect real availability more clearly across booked, pending, blocked, and change-over dates.' ) ); ?></li> |
| 623 |
</ul> |
| 624 |
</div> |
| 625 |
</div> |
| 626 |
|
| 627 |
</div> |
| 628 |
<?php |
| 629 |
|
| 630 |
$obj->expand_section_end( $section_param_arr ); |
| 631 |
} |
| 632 |
|
| 633 |
function wpbc_welcome_section_10_15( $obj ) { |
| 634 |
|
| 635 |
|
| 636 |
$section_param_arr = array( 'version_num' => '10.15', 'show_expand' => true ); |
| 637 |
|
| 638 |
$obj->expand_section_start( $section_param_arr ); |
| 639 |
|
| 640 |
// $obj->asset_path = 'http://beta/assets/'; // TODO: comment this in production. |
| 641 |
?> |
| 642 |
<div class="wpbc_wn_container"> |
| 643 |
|
| 644 |
<div class="wpbc_wn_section"> |
| 645 |
<h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'New Drag & Drop Booking Form Builder' ) ); ?></h2> |
| 646 |
|
| 647 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 648 |
<?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?> |
| 649 |
<img src="<?php echo esc_attr( $obj->section_img_url( '10.15/wp_booking_calendar__form_builder_overview_02.png' ) ); ?>" style="margin:10px 0;width:98%;" /> |
| 650 |
</div> |
| 651 |
|
| 652 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 653 |
<ul> |
| 654 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **NEW**: Introduced the new **Drag & Drop Booking Form Builder** for visually creating booking forms without manually editing form code.' ) ); ?></li> |
| 655 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Build forms visually**: Drag fields into the canvas, arrange the layout, and see the result instantly in the live preview.' ) ); ?></li> |
| 656 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Faster and easier workflow**: Create modern booking forms without working with complex manual shortcodes.' ) ); ?></li> |
| 657 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Available in all versions**: Booking Calendar now supports **multiple custom booking form configurations** in all versions, including the Free version.' ) ); ?></li> |
| 658 |
</ul> |
| 659 |
</div> |
| 660 |
</div> |
| 661 |
|
| 662 |
|
| 663 |
<div class="wpbc_wn_section"> |
| 664 |
<h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Create Booking Forms, Contact Forms, and Inquiry Forms' ) ); ?></h2> |
| 665 |
|
| 666 |
<div class="wpbc_wn_col" style="flex: 1 1 48%;margin: 0 1% 0 0;"> |
| 667 |
<?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?> |
| 668 |
<img src="<?php echo esc_attr( $obj->section_img_url( '10.15/wp_booking_calendar_10_15_contact_inquiry_forms_05.png' ) ); ?>" style="margin:10px 0;width:98%;" /> |
| 669 |
</div> |
| 670 |
|
| 671 |
<div class="wpbc_wn_col" style="flex: 1 1 48%;margin: 0 0 0 1%;"> |
| 672 |
<?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?> |
| 673 |
<img src="<?php echo esc_attr( $obj->section_img_url( '10.15/wp_booking_calendar_10_15_contact_form_preview_01.png' ) ); ?>" style="margin:10px 0;width:98%;" /> |
| 674 |
</div> |
| 675 |
|
| 676 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 677 |
<ul> |
| 678 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **NEW**: Added support for **Contact Forms / Inquiry Forms / Request Forms** — the calendar is now optional.' ) ); ?></li> |
| 679 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Use Booking Calendar as a contact form alternative**: Create forms without booking dates and manage all submissions inside Booking Calendar.' ) ); ?></li> |
| 680 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Ready-to-use templates**: Start faster with predefined templates for booking, contact, and inquiry forms.' ) ); ?></li> |
| 681 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Flexible start**: Create a form from a template or begin with a blank canvas for full control.' ) ); ?></li> |
| 682 |
</ul> |
| 683 |
</div> |
| 684 |
</div> |
| 685 |
|
| 686 |
|
| 687 |
<div class="wpbc_wn_section"> |
| 688 |
<h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Powerful Visual Layout Builder' ) ); ?></h2> |
| 689 |
|
| 690 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 691 |
<?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?> |
| 692 |
<img src="<?php echo esc_attr( $obj->section_img_url( '10.15/wp_booking_calendar__form_builder_02.gif' ) ); ?>" style="margin:10px 0;width:98%;" /> |
| 693 |
</div> |
| 694 |
|
| 695 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 696 |
<ul> |
| 697 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Drag & drop fields** from the Fields palette directly into the form canvas.' ) ); ?></li> |
| 698 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Live visual preview** while building and editing the form.' ) ); ?></li> |
| 699 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Rows and columns layout** for clean and structured form designs.' ) ); ?></li> |
| 700 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Nested sections** (up to 5 levels) for advanced multi-row and multi-column layouts.' ) ); ?></li> |
| 701 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Ready section layouts** with 1, 2, 3, or 4 columns.' ) ); ?></li> |
| 702 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Column resizing with visual resizers** for precise control of layout widths.' ) ); ?></li> |
| 703 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Multi-page forms** for creating step-by-step wizard-style booking forms.' ) ); ?></li> |
| 704 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Drag & drop sorting of sections** plus **Move Up / Move Down controls** for faster layout management.' ) ); ?></li> |
| 705 |
</ul> |
| 706 |
</div> |
| 707 |
</div> |
| 708 |
|
| 709 |
|
| 710 |
<div class="wpbc_wn_section"> |
| 711 |
<h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Smart Editing and Form Controls' ) ); ?></h2> |
| 712 |
|
| 713 |
<div class="wpbc_wn_col" style="flex: 1 1 48%;margin: 0 1% 0 0;"> |
| 714 |
<?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?> |
| 715 |
<img src="<?php echo esc_attr( $obj->section_img_url( '10.15/wp_booking_calendar_10_15_sidebar_inspector_02.png' ) ); ?>" style="margin:10px 0;width:98%;" /> |
| 716 |
</div> |
| 717 |
|
| 718 |
<div class="wpbc_wn_col" style="flex: 1 1 48%;margin: 0 0 0 1%;"> |
| 719 |
<?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?> |
| 720 |
<img src="<?php echo esc_attr( $obj->section_img_url( '10.15/wp_booking_calendar_10_15_field_limits_02.png' ) ); ?>" style="margin:10px 0;width:98%;" /> |
| 721 |
</div> |
| 722 |
|
| 723 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 724 |
<ul> |
| 725 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Right sidebar inspector**: Easily edit field and section settings in a clear visual interface.' ) ); ?></li> |
| 726 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Field usage limits**: The Builder automatically prevents adding one-time fields, such as the Calendar field, more than once.' ) ); ?></li> |
| 727 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Responsive-friendly column width control** with layout protection for more stable form structure.' ) ); ?></li> |
| 728 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Improved visual editing controls** for easier field, section, and layout management directly inside the canvas.' ) ); ?></li> |
| 729 |
</ul> |
| 730 |
</div> |
| 731 |
</div> |
| 732 |
|
| 733 |
|
| 734 |
<div class="wpbc_wn_section"> |
| 735 |
<h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Better Form Management and Reuse' ) ); ?></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( '10.15/wpbc_11_0_form_management_01.png' ) ); ?>" style="margin:10px 0;width:98%;" /> |
| 740 |
</div> |
| 741 |
|
| 742 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 743 |
<ul> |
| 744 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Predefined templates:** Start building your new booking form with ready-made templates.' ) ); ?></li> |
| 745 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Save and restore complete form layouts** including pages, sections, columns, and fields.' ) ); ?></li> |
| 746 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Duplicate existing form configurations** to create similar forms much faster.' ) ); ?></li> |
| 747 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Save As workflow**: Create a new form based on an existing layout and settings.' ) ); ?></li> |
| 748 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Flexible form configuration management** for creating, saving, loading, organizing, and previewing custom forms.' ) ); ?></li> |
| 749 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Form details management**: Set a custom form title, slug, description, and image.' ) ); ?></li> |
| 750 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Media library integration** for selecting a custom image for each form configuration.' ) ); ?></li> |
| 751 |
</ul> |
| 752 |
</div> |
| 753 |
</div> |
| 754 |
|
| 755 |
|
| 756 |
<div class="wpbc_wn_section"> |
| 757 |
<h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Preview, Import, and Flexible Workflow' ) ); ?></h2> |
| 758 |
|
| 759 |
<div class="wpbc_wn_col" style="flex: 1 1 48%;margin: 0 1% 0 0;"> |
| 760 |
<?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?> |
| 761 |
<img src="<?php echo esc_attr( $obj->section_img_url( '10.15/wpbc_11_0_preview_page_01.png' ) ); ?>" style="margin:10px 0;width:98%;" /> |
| 762 |
</div> |
| 763 |
|
| 764 |
<div class="wpbc_wn_col" style="flex: 1 1 48%;margin: 0 0 0 1%;"> |
| 765 |
<?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?> |
| 766 |
<img src="<?php echo esc_attr( $obj->section_img_url( '10.15/wp_booking_calendar_10_15_advanced_mode.png' ) ); ?>" style="margin:10px 0;width:98%;" /> |
| 767 |
</div> |
| 768 |
|
| 769 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 770 |
<ul> |
| 771 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Preview page / live front-end preview**: Test how the form looks and works before publishing it on your website.' ) ); ?></li> |
| 772 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Import existing legacy booking forms** into the new Builder for easier transition to the visual workflow.' ) ); ?></li> |
| 773 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Builder mode and Advanced Form mode**: Work visually or keep manual form configuration when needed.' ) ); ?></li> |
| 774 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Blank form creation in Builder mode** lets you start new forms immediately in the visual editor.' ) ); ?></li> |
| 775 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Section presets** help you insert commonly used layout structures faster.' ) ); ?></li> |
| 776 |
</ul> |
| 777 |
</div> |
| 778 |
</div> |
| 779 |
|
| 780 |
|
| 781 |
<div class="wpbc_wn_section"> |
| 782 |
<h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Important Note About the Beta Builder' ) ); ?></h2> |
| 783 |
|
| 784 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 785 |
<ul> |
| 786 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **This feature is currently in Beta** and can still be disabled at any time.' ) ); ?></li> |
| 787 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• To return to the previous legacy booking form configuration, go to **Form Builder > Settings** in the right sidebar and disable the **"Drag & Drop Form Builder"** option.' ) ); ?></li> |
| 788 |
</ul> |
| 789 |
</div> |
| 790 |
</div> |
| 791 |
|
| 792 |
</div> |
| 793 |
<?php |
| 794 |
|
| 795 |
$obj->expand_section_end( $section_param_arr ); |
| 796 |
} |
| 797 |
|
| 798 |
function wpbc_welcome_section_10_14( $obj ){ |
| 799 |
|
| 800 |
$section_param_arr = array( 'version_num' => '10.14', 'show_expand' => true ); |
| 801 |
|
| 802 |
$obj->expand_section_start( $section_param_arr ); |
| 803 |
|
| 804 |
|
| 805 |
// $obj->asset_path = 'http://beta/assets/'; // TODO: 2024-06-01 comment this |
| 806 |
|
| 807 |
|
| 808 |
// <editor-fold defaultstate="collapsed" desc=" = F R E E = " > |
| 809 |
// ----------------------------------------------------------------------------------------------------------------- |
| 810 |
// = F R E E = |
| 811 |
// ----------------------------------------------------------------------------------------------------------------- |
| 812 |
?> |
| 813 |
<div class="wpbc_wn_container"> |
| 814 |
<div class="wpbc_wn_section"> |
| 815 |
<h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Control start and end dates for booking and availability' ) ); ?></h2> |
| 816 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 817 |
<?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?> |
| 818 |
<img src="<?php echo esc_attr( $obj->section_img_url( '10.14/wp_booking_calendar_elementor_advanced_01.png' ) ); ?>" style="margin:10px 0;width:98%;" /> |
| 819 |
<span><span style="font-size: 0.9em;font-style: italic;"><?php //echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Available in the Booking Calendar Business Small or higher versions' ) ); ?></span></span> |
| 820 |
</div> |
| 821 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 822 |
<ul> |
| 823 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Control which dates are shown!**: You can now control which dates are shown in the Booking Calendar by using two new shortcode parameters: **[booking resource_id=1 calendar_dates_start=\'2025-01-01\' calendar_dates_end=\'2025-12-31\']**' ) ); ?></li> |
| 824 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **New**: Ability to **set the start and end dates for the calendar** using shortcode parameters. Example: [booking resource_id=1 calendar_dates_start=\'2025-01-01\' calendar_dates_end=\'2025-12-31\' startmonth=\'2025-3\']' ) ); ?></li> |
| 825 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **New**: If startmonth is omitted, the calendar will now automatically use the month from calendar_dates_start as the initial display month. Example: [booking resource_id=1 calendar_dates_start=\'2025-01-01\' calendar_dates_end=\'2025-12-31\']' ) ); ?></li> |
| 826 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **New**: New: You can now **allow users to submit bookings for past dates**, as long as those dates are within the visible range set by calendar_dates_start and calendar_dates_end in the shortcode. Useful for administrative or backdated bookings. Shortcode Example: [booking resource_id=1 calendar_dates_start=\'2025-01-01\' calendar_dates_end=\'2025-12-31\']' ) ); ?></li> |
| 827 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **New**: Elementor native supports of these parameters calendar_dates_start=\'2025-01-01\' calendar_dates_end=\'2025-12-31\' in Advanced section.' ) ); ?></li> |
| 828 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Improvement**: When calendar_dates_start and calendar_dates_end are defined in the shortcode, the system skips checking availability from today, and instead starts from the defined calendar_dates_start.' ) ); ?></li> |
| 829 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Improvement**: To **enable the new Smart Phone Validation** feature introduced in the previous update, go to: WP Booking Calendar > Settings > Booking Form > Form Options and enable the "Smart Phone Validation" option. It is disabled by default.' ) ); ?></li> |
| 830 |
</ul> |
| 831 |
</div> |
| 832 |
</div> |
| 833 |
</div> |
| 834 |
<?php |
| 835 |
|
| 836 |
$obj->expand_section_end( $section_param_arr ); |
| 837 |
} |
| 838 |
|
| 839 |
function wpbc_welcome_section_10_13( $obj ){ |
| 840 |
|
| 841 |
$section_param_arr = array( 'version_num' => '10.13', 'show_expand' => true ); |
| 842 |
|
| 843 |
$obj->expand_section_start( $section_param_arr ); |
| 844 |
|
| 845 |
|
| 846 |
// $obj->asset_path = 'http://beta/assets/'; // TODO: 2024-06-01 comment this |
| 847 |
|
| 848 |
|
| 849 |
// <editor-fold defaultstate="collapsed" desc=" = F R E E = " > |
| 850 |
// ----------------------------------------------------------------------------------------------------------------- |
| 851 |
// = F R E E = |
| 852 |
// ----------------------------------------------------------------------------------------------------------------- |
| 853 |
?> |
| 854 |
<div class="wpbc_wn_container"> |
| 855 |
<div class="wpbc_wn_section"> |
| 856 |
<h2><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Smarter Bookings, Elementor Integration and Cleaner Interface' ) ); ?></h2> |
| 857 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 858 |
<h3><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '**Booking Calendar meets Elementor!**' ) ); ?></h3> |
| 859 |
<?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?> |
| 860 |
<img src="<?php echo esc_attr( $obj->section_img_url( '10.13/wp_booking_calendar_elementor_01.png' ) ); ?>" style="margin:10px 0;width:98%;" /> |
| 861 |
<span><span style="font-size: 0.9em;font-style: italic;"><?php //echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Available in the Booking Calendar Business Small or higher versions' ) ); ?></span></span> |
| 862 |
</div> |
| 863 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 864 |
<ul> |
| 865 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Full Elementor Support!**: Design and customize your booking forms directly inside the Elementor editor—with real-time form previews and a built-in skin selector. No more shortcode guesswork—just drag, configure, and save!' ) ); ?></li> |
| 866 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Calendar Preloader:** We’ve added a smooth-loading preloader bar that prevents layout jumps on slower connections, ensuring a polished experience for your visitors.' ) ); ?></li> |
| 867 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **New Booking Form Template – Service Selection Wizard (Pro):** Perfect for appointment-based bookings: this template features a left-side service selector with a streamlined date/time step for faster, easier bookings.' ) ); ?></li> |
| 868 |
</ul> |
| 869 |
</div> |
| 870 |
</div> |
| 871 |
<hr class="wpbc_hr_dots"><?php // ---------------------------------------------------------------------- ?> |
| 872 |
<div class="wpbc_wn_section"> |
| 873 |
<div class="wpbc_wn_col" style="flex: 1 1 45%;margin: 10px 0;"> |
| 874 |
<h3><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '**Cleaner & More Intuitive Interface**' ) ); ?></h3> |
| 875 |
<ul> |
| 876 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Updated Sidebar Navigation:** All plugin menus now live in a single, collapsible sidebar—easier to navigate and quicker to access.' ) ); ?></li> |
| 877 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Visual Polish & UX Tweaks:** We’ve made subtle design upgrades across the board: improved calendar styling, better visual hierarchy, smarter warnings (e.g., duplicate calendar IDs), and more compact menu visuals in compact mode.' ) ); ?></li> |
| 878 |
</ul> |
| 879 |
</div> |
| 880 |
<div class="wpbc_wn_col" style="flex: 1 1 50%;margin: 0px 0;"> |
| 881 |
<?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?> |
| 882 |
<img src="<?php echo esc_attr( $obj->section_img_url( '10.13/vertical_menu_01.png' ) ); ?>" style="margin:10px 0;width:98%;" /> |
| 883 |
<span><span style="font-size: 0.9em;font-style: italic;"><?php //echo wp_kses_post( wpbc_replace_to_strong_symbols( 'Available in the Booking Calendar Business Small or higher versions' ) ); ?></span></span> |
| 884 |
</div> |
| 885 |
</div> |
| 886 |
<hr class="wpbc_hr_dots"><?php // ---------------------------------------------------------------------- ?> |
| 887 |
<div class="wpbc_wn_section"> |
| 888 |
<div class="wpbc_wn_col" style="flex: 1 1 45%;margin: 10px 0;"> |
| 889 |
<h3><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '**Smart Phone Validation**' ) ); ?></h3> |
| 890 |
<ul> |
| 891 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Auto-Detect & Format Phone Fields:** Phone fields now automatically detect and format numbers based on the user’s input and locale. Start typing +1 and the field instantly formats to +1 000 000 0000 (USA); type +34 for Spain and get +34 000 000 0000.' ) ); ?></li> |
| 892 |
</ul> |
| 893 |
</div> |
| 894 |
<div class="wpbc_wn_col" style="flex: 1 1 50%;margin: 0px 0;"> |
| 895 |
<?php // phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage ?> |
| 896 |
<img src="<?php echo esc_attr( $obj->section_img_url( '10.13/phone_validattion_01.png' ) ); ?>" style="margin:10px auto;max-width:600px;" /> |
| 897 |
</div> |
| 898 |
<div class="wpbc_wn_col" style="flex: 1 1 100%;margin: 0;"> |
| 899 |
<ul> |
| 900 |
<li><?php echo wp_kses_post( wpbc_replace_to_strong_symbols( '• **Built-In Intelligence – No Setup Required** We intelligently detect phone fields by name (e.g., “phone”, “fone”, “tel”, “mobile”, “telefono”, etc.) and apply the right mask and placeholder automatically—no third-party APIs needed. Only valid digits are allowed; unsupported characters are blocked instantly.' ) ); ?></li> |
| 901 |
</ul> |
| 902 |
</div> |
| 903 |
</div> |
| 904 |
|
| 905 |
</div> |
| 906 |
<?php |
| 907 |
|
| 908 |
$obj->expand_section_end( $section_param_arr ); |
| 909 |
} |
| 910 |
|