| @@ -1,4 +1,4 @@ | ||
| 1 | 1 | <?php /** |
| 2 | 2 | * @version 1.1 |
| 3 | 3 | * @package Any |
| 4 | 4 | * @category Toolbar. UI Elements for Admin Panel |
| @@ -48,12 +48,20 @@ | ||
| 48 | 48 | ?></div><?php |
| 49 | 49 | |
| 50 | 50 | ?><div class="ui_group ui_group__keyword ui_search_fields_group_2"><?php // array( 'class' => 'group_nowrap' ) // Elements at Several or One Line |
| 51 | 51 | |
| 52 | - wpbc_ajx__ui__booking_resources( $escaped_search_request_params, $default_param_values ); | |
| 52 | + wpbc_ajx__ui__booking_resources( $escaped_search_request_params, $default_param_values ); | |
| 53 | + | |
| 54 | + /** | |
| 55 | + * Render extension filters after the Booking Resource selector. | |
| 56 | + * | |
| 57 | + * @param array<string,mixed> $escaped_search_request_params Sanitized current filter values. | |
| 58 | + * @param array<string,mixed> $default_param_values Default filter values. | |
| 59 | + */ | |
| 60 | + do_action( 'wpbc_booking_listing_toolbar_after_resources', $escaped_search_request_params, $default_param_values ); | |
| 61 | + | |
| 62 | + wpbc_ajx_toolbar_keyword_search( $escaped_search_request_params, $default_param_values ); | |
| 53 | 63 | |
| 54 | - wpbc_ajx_toolbar_keyword_search( $escaped_search_request_params, $default_param_values ); | |
| 55 | - | |
| 56 | 64 | wpbc_ajx_toolbar_clear_keyword_search( $escaped_search_request_params, $default_param_values ); // FixIn: 9.7.2.3. |
| 57 | 65 | |
| 58 | 66 | wpbc_ajx_toolbar_force_reload_button( $escaped_search_request_params, $default_param_values ); |
| 59 | 67 | |
| @@ -1119,9 +1127,9 @@ | ||
| 1119 | 1127 | , 'style' => 'width:100%;' // CSS of select element |
| 1120 | 1128 | , 'class' => 'wpdevbk-filters-section-calendar' // CSS Class of select element |
| 1121 | 1129 | , 'disabled' => false |
| 1122 | 1130 | , 'attr' => array() // Any additional attributes, if this radio | checkbox element |
| 1123 | - , 'placeholder' => __('To' ,'booking') // gmdate( 'Y-m-d' ) | |
| 1131 | + , 'placeholder' => _x( 'To', 'range end', 'booking' ) // gmdate( 'Y-m-d' ) | |
| 1124 | 1132 | , 'value' => $request_input_el_default[ 'ui_wh_modification_date_checkout'] // Some Value from optins array that selected by default |
| 1125 | 1133 | , 'onfocus' => "jQuery('#ui_wh_modification_date_radio_3').prop('checked', true);" // JavaScript code |
| 1126 | 1134 | //, 'onchange' => "console.log( 'ON CHANGE:', jQuery( this ).is(':checked') , 'in element:' , jQuery( this ) );" // JavaScript code |
| 1127 | 1135 | ) |