| @@ -175,8 +175,17 @@ | ||
| 175 | 175 | , 'description' => '' |
| 176 | 176 | , 'group' => 'import_advanced' |
| 177 | 177 | ); |
| 178 | 178 | |
| 179 | + $this->fields['booking_ics_import_append_extra_checkout_day'] = array( | |
| 180 | + 'type' => 'checkbox' | |
| 181 | + , 'default' => 'Off' | |
| 182 | + , 'title' => __('Append extra day after imported checkout day', 'booking') | |
| 183 | + , 'label' => __('Append one extra day after the imported check out day during import .ics feeds.' ,'booking') | |
| 184 | + , 'description' => __('This option works together with "Append check out day" and is useful only if you need to block one additional day after the checkout date from the imported calendar.' ,'booking') | |
| 185 | + , 'group' => 'import_advanced' | |
| 186 | + ); | |
| 187 | + | |
| 179 | 188 | if ( class_exists( 'wpdev_bk_biz_s' ) ) { |
| 180 | 189 | // FixIn: 8.1.3.29. |
| 181 | 190 | $this->fields['booking_ics_import_add_change_over_time'] = array( |
| 182 | 191 | 'type' => 'checkbox' |
| @@ -334,22 +343,21 @@ | ||
| 334 | 343 | $subtabs = array(); |
| 335 | 344 | |
| 336 | 345 | $subtabs[ 'general' ] = array( |
| 337 | 346 | 'type' => 'subtab' // Required| Possible values: 'subtab' | 'separator' | 'button' | 'goto-link' | 'html' |
| 338 | - , 'title' => __( 'General', 'booking' ) // Title of TAB | |
| 339 | - , 'page_title' => __( 'General Settings', 'booking' ) . ' - ' . __( 'Sync', 'booking' ) // Title of Page | |
| 340 | - , 'hint' => __( 'General Settings', 'booking' ) . ' - ' . __( 'Sync', 'booking' ) // Hint | |
| 347 | + , 'title' => __( 'Sync Options', 'booking' ) // Title of TAB | |
| 348 | + , 'page_title' => __( 'Sync Options', 'booking' ) // Title of Page | |
| 349 | + , 'hint' => __( 'Configure import/export rules, timezones, and which fields to include in sync operations.', 'booking' ) // Hint. | |
| 341 | 350 | , 'link' => '' // link |
| 342 | 351 | , 'position' => '' // 'left' || 'right' || '' |
| 343 | 352 | , 'css_classes' => '' // CSS class(es) |
| 344 | 353 | //, 'icon' => 'http://.../icon.png' // Icon - link to the real PNG img |
| 345 | - //, 'font_icon' => 'wpbc_icn_mail_outline' // CSS definition of Font Icon | |
| 346 | - , 'header_font_icon' => 'wpbc_icn_sync_alt' // CSS definition of Font Icon // FixIn: 9.6.1.4. | |
| 347 | - , 'default' => true // Is this sub tab activated by default or not: true || false. | |
| 354 | + , 'font_icon' => 'wpbc_icn_cloud_sync' | |
| 355 | + , 'default' => true // Is this sub tab activated by default or not: true || false. | |
| 348 | 356 | , 'disabled' => false // Is this sub tab deactivated: true || false. |
| 349 | 357 | , 'checkbox' => false // or definition array for specific checkbox: array( 'checked' => true, 'name' => 'feature1_active_status' ) //, 'checkbox' => array( 'checked' => $is_checked, 'name' => 'enabled_active_status' ) |
| 350 | 358 | , 'content' => 'content' // Function to load as conten of this TAB |
| 351 | - //, 'is_use_left_navigation' => true // We commented this line to have the vertical subline of menu | |
| 359 | + | |
| 352 | 360 | ); |
| 353 | 361 | |
| 354 | 362 | $tabs[ 'sync' ]['subtabs'] = $subtabs; |
| 355 | 363 | |