| @@ -1,4 +1,4 @@ | ||
| 1 | 1 | <?php /** |
| 2 | 2 | * @version 1.0 |
| 3 | 3 | * @package Booking Calendar |
| 4 | 4 | * @category Content of Booking Listing page |
| @@ -29,19 +29,19 @@ | ||
| 29 | 29 | } |
| 30 | 30 | |
| 31 | 31 | public function tabs() { |
| 32 | 32 | |
| 33 | - $is_full_screen = WPBC_User_Custom_Data_Saver::get_user_data_value( wpbc_get_current_user_id(), 'is_full_screen' ); | |
| 34 | - $is_full_screen = function_exists( 'wpbc_ui__get_full_screen_mode_from_cookie' ) | |
| 35 | - ? wpbc_ui__get_full_screen_mode_from_cookie( $is_full_screen ) | |
| 36 | - : $is_full_screen; | |
| 37 | - $is_full_screen = ( 'On' === $is_full_screen ); | |
| 33 | + $is_full_screen = WPBC_User_Custom_Data_Saver::get_user_data_value( wpbc_get_current_user_id(), 'is_full_screen' ); | |
| 34 | + $is_full_screen = function_exists( 'wpbc_ui__get_full_screen_mode_from_cookie' ) | |
| 35 | + ? wpbc_ui__get_full_screen_mode_from_cookie( $is_full_screen ) | |
| 36 | + : $is_full_screen; | |
| 37 | + $is_full_screen = ( 'On' === $is_full_screen ); | |
| 38 | 38 | |
| 39 | 39 | $tabs = array(); |
| 40 | 40 | $tabs[ 'vm_calendar' ] = array( |
| 41 | 41 | 'is_show_top_path' => true, // true | false. By default value is: true. |
| 42 | 42 | 'is_show_top_navigation' => true, // true | false. By default value is: false. |
| 43 | - 'left_navigation__default_view_mode' => ( $is_full_screen ) ? 'compact' : 'min', // '' | 'min' | 'compact' | 'max' | 'none'. By default value is: ''. | |
| 43 | + 'left_navigation__default_view_mode' => '', // FixIn:11.7.1.1: ( $is_full_screen ) ? 'compact' : 'min', // '' | 'min' | 'compact' | 'max' | 'none'. By default value is: ''. | |
| 44 | 44 | 'page_title' => false, // Header - Title. If false, than hidden. |
| 45 | 45 | 'page_description' => false, // Header - Title Description. If false, than hidden. |
| 46 | 46 | 'title' => __('Timeline View','booking') // Title of TAB |
| 47 | 47 | , 'hint' => __('Timeline View', 'booking') // Hint |