PluginProbe
Booking Calendar / 11.8.4
Booking Calendar v11.8.4
11.8.4 11.8.3 11.8.2 11.8.1 11.8 11.7 11.6.1 11.6 11.5 11.4.3 11.4.2 11.4.1 11.4 11.3 11.2.1 11.2 11.1 11.0 10.15.7 10.15.6 10.1.3 10.10 10.10.1 10.10.2 10.11 All 204 releases
← All changes | includes/page-availability/availability__toolbar_ui.php +8 -3 10.1.311.8.4 View file →
@@ -72,8 +72,12 @@
72 72 ?></div><?php
73 73
74 74 ?></div><?php
75 75
76 + ?><div class="ui_group" id="wpbc_template__select_month_number_in_row"><?php
77 + // FixIn: 10.8.1.5.
78 + ?></div><?php
79 +
76 80 ?><div class="ui_group" style="flex:1 1 auto;"><?php
77 81
78 82 // Reset Button
79 83 ?><div class="ui_element" style="margin-left: auto;"><?php
@@ -99,9 +103,10 @@
99 103 function wpbc_ajx_avy__ui__info( $escaped_search_request_params, $defaults ){
100 104
101 105 $params_addon = array(
102 106 'type' => 'span'
103 - , 'html' => sprintf( __('%sSelect days%s in calendar then select %sAvailable%s / %sUnavailable%s status and click %sApply%s availability button.' ,'booking')
107 + /* translators: 1: ... */
108 + , 'html' => sprintf( __( '%1$sSelect days%2$s in calendar then select %3$sAvailable%4$s / %5$sUnavailable%6$s status and click %7$sApply%8$s availability button.', 'booking' )
104 109 , '<strong>', '&nbsp;</strong>'
105 110 , '<strong>&nbsp;', '&nbsp;</strong>'
106 111 , '<strong>&nbsp;', '&nbsp;</strong>'
107 112 , '<strong>&nbsp;', '&nbsp;</strong>'
@@ -147,9 +152,9 @@
147 152 //if ( ! wpbc_is_user_can( $booking_action, wpbc_get_current_user_id() ) ) { return false; }
148 153
149 154 wpbc_flex_vertical_color( array( 'vertical_line' => 'border-left: 4px solid #11be4c;' ) ); // Green line
150 155
151 - ?><span class="wpbc_ui_control wpbc_ui_button <?php echo $el_id . '__outer_button'; ?>" style="padding-right: 8px;"><?php
156 + ?><span class="wpbc_ui_control wpbc_ui_button <?php echo esc_attr( $el_id . '__outer_button' ); ?>" style="padding-right: 8px;"><?php
152 157 $params_radio = array(
153 158 'id' => $el_id // HTML ID of element
154 159 , 'name' => $booking_action
155 160 , 'label' => array( 'title' => __('Available' ,'booking') , 'position' => 'right' )
@@ -183,9 +188,9 @@
183 188 //if ( ! wpbc_is_user_can( $booking_action, wpbc_get_current_user_id() ) ) { return false; }
184 189
185 190 wpbc_flex_vertical_color( array( 'vertical_line' => 'border-left: 4px solid #e43939;' ) ); // Green line
186 191
187 - ?><span class="wpbc_ui_control wpbc_ui_button <?php echo $el_id . '__outer_button'; ?>" style="padding-right: 8px;"><?php
192 + ?><span class="wpbc_ui_control wpbc_ui_button <?php echo esc_attr( $el_id . '__outer_button' ); ?>" style="padding-right: 8px;"><?php
188 193 $params_radio = array(
189 194 'id' => $el_id // HTML ID of element
190 195 , 'name' => $booking_action
191 196 , 'label' => array( 'title' => __('Unavailable' ,'booking') , 'position' => 'right' )