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 | core/wpbc_welcome.php +236 -299 10.1.311.8.4 View file →
@@ -1,4 +1,4 @@
1 1 <?php
2 2 /**
3 3 * @version 1.0
4 4 * @package Booking Calendar
@@ -14,370 +14,307 @@
14 14
15 15 if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
16 16
17 17
18 +// <editor-fold defaultstate="collapsed" desc=" == Welcome Content 2 == 2024-11-06 " >
18 19
19 -// <editor-fold defaultstate="collapsed" desc=" == Welcome Content == " >
20 +function wpbc_welcome_panel() {
21 +
22 + if ( ! wpbc_is_user_can_access_wizard_page() ){
23 + return;
24 + }
25 +
26 + $is_live_demo = wpbc_is_this_demo();
27 +
28 + ?><script type="text/javascript">
29 + jQuery( document ).ready( function (){
30 + jQuery( document ).on( 'click.wpbcWelcomePanelDemo', '[data-wpbc-welcome-panel-demo-dismiss]', function () {
31 + jQuery( '#wpbc_welcome_panel__version2' ).slideUp( 500 );
32 + } );
33 + setTimeout( function (){
34 + if ( jQuery( '[data-wpbc-booking-pages-open-dialog]' ).length ) {
35 + return;
36 + }
37 + if ( jQuery( '#wpbc_welcome_panel__version2' ).is( ':visible' ) ){
38 + jQuery( '#wpbc_welcome_panel__version2' ).slideUp( 1000 );
39 + }
40 + }, 60000 );
41 + } );
42 + </script>
43 + <div id="wpbc_welcome_panel__version2" style="display:<?php echo esc_attr( $is_live_demo ? 'block' : 'none' ); ?>;">
44 + <?php
45 + if ( $is_live_demo ) {
46 + $is_panel_visible = true;
47 + ?>
48 + <button
49 + type="button"
50 + class="wpbc_panel_get_started_dismiss0 wpbc_welcome_panel__dismiss"
51 + data-wpbc-welcome-panel-demo-dismiss="1"
52 + aria-label="<?php esc_attr_e( 'Dismiss', 'booking' ); ?>"
53 + title="<?php esc_attr_e( 'Dismiss', 'booking' ); ?>"
54 + >
55 + <i class="menu_icon icon-1x wpbc_icn_close" aria-hidden="true"></i>
56 + </button>
57 + <?php
58 + } else {
59 + $is_panel_visible = wpbc_is_dismissed(
60 + 'wpbc_welcome_panel__version2',
61 + array(
62 + 'title' => '<i class="menu_icon icon-1x wpbc_icn_close" aria-hidden="true"></i><span class="screen-reader-text">' . esc_html__( 'Dismiss', 'booking' ) . '</span>',
63 + 'hint' => __( 'Dismiss', 'booking' ),
64 + 'class' => 'wpbc_panel_get_started_dismiss0 wpbc_welcome_panel__dismiss',
65 + 'css' => '',
66 + )
67 + );
68 + }
69 + if ( $is_panel_visible ) {
70 + wpbc_welcome_panel__version2__content();
71 + }
72 + ?>
73 + </div><?php
74 +}
20 75
21 - /**
22 - * Show Welcome Panel with links
23 - *
24 - * @global type $wpbc_Dismiss
25 - */
26 - function wpbc_welcome_panel() {
76 +function wpbc_welcome_panel__version2__content() {
77 +
78 + ?><div class="wpbc_welcome_panel"><?php
27 79
28 - ?>
29 - <style type="text/css" media="screen">
30 - /*<![CDATA[*/
31 - /* WPBC Welcome Panel */
32 - /* //FixIn: 8.9.3.6 */
33 - .wpbc-panel .welcome-panel .welcome-panel-column-container {
34 - display: block;
35 - margin-top: 0px;
36 - padding: 0px;
37 - background: #fff;
38 - }
80 + wpbc_ui_settings__panel__welcome();
39 81
40 - .wpbc-panel .welcome-panel .welcome-panel-column ul {
41 - margin: 1.8em 1em 1em 0;
42 - }
82 + ?></div><?php
83 +}
43 84
44 - .wpbc-panel .welcome-panel {
45 - background-blend-mode: overlay;
46 - font-size: 14px;
47 - line-height: 1.3;
48 - }
49 85
50 - .wpbc-panel .welcome-panel-column {
51 - display: block;
52 - }
86 +// ---------------------------------------------------------------------------------------------------------------------
87 +// Panel == Plugin Version | & Buttons ==
88 +// ---------------------------------------------------------------------------------------------------------------------
53 89
54 - .wpbc-panel .welcome-panel::before {
55 - content: none;
56 - }
90 +/**
91 + * Show Settings Statistic | Agenda Panel
92 + *
93 + * @return void
94 + */
95 +function wpbc_ui_settings__panel__welcome(){
96 +
97 + ?><div class="wpbc_ui_settings__flex_container wpbc_ui_settings__panel__welcome"><?php
57 98
58 - .wpbc-panel .welcome-panel-content {
59 - min-height: 100px;
60 - }
99 + wpbc_ui_settings__panel_start();
61 100
62 - /* End //FixIn: 8.9.3.6 */
63 - .wpbc-panel .welcome-panel {
64 - background: #fff;
65 - border-color: #DFDFDF;
66 - position: relative;
67 - overflow: auto;
68 - margin: 5px 0 20px;
69 - padding: 23px 10px 12px;
70 - border-width: 1px;
71 - border-style: solid;
72 - border-radius: 3px;
73 - font-size: 13px;
74 - line-height: 2.1em;
75 - }
101 + wpbc_ui_settings__panel__welcome__header();
76 102
77 - .wpbc-panel .welcome-panel h3 {
78 - margin: 0;
79 - font-size: 21px;
80 - font-weight: 400;
81 - line-height: 1.2;
82 - }
83 103
84 - .wpbc-panel .welcome-panel h4 {
85 - margin: 0.8rem 0;
86 - font-weight: 600;
87 - font-size: 1.1rem;
88 - color: #7a7a7a;
89 - }
90 - .wpbc-panel .welcome-panel a {
91 - color: #21759B;
92 - }
93 - .wpbc-panel .welcome-panel .about-description {
94 - margin: -10px 0 5px;
95 - color: #7a7a7a;
96 - font-size: 20px;
97 - font-weight: 600;
98 - border-bottom: 1px solid #eee;
99 - padding-bottom: 10px;
100 - padding-left: 0.5em;
101 - }
104 + wpbc_ui_settings_panel__card__open_test_pages_popup();
102 105
103 - .wpbc-panel .welcome-panel .button.button-hero {
104 - margin: 15px 0 3px;
105 - }
106 + wpbc_ui_settings_panel__card__setup_wizard();
106 107
107 - .wpbc-panel .welcome-panel-content {
108 - display: flex;
109 - flex-flow: row wrap;
110 - justify-content: flex-start;
111 - align-items: flex-start;
112 - align-content: flex-start;
113 - }
114 - .wpbc-panel .welcome-panel-content > * {
115 - flex: 1 1 auto;
116 - }
117 - .wpbc-panel .welcome-panel .welcome-panel-column-container {
118 - clear: both;
119 - overflow: hidden;
120 - position: relative;
108 + wpbc_ui_settings_panel__card__version();
121 109
122 - display: flex;
123 - flex-flow: row wrap;
124 - justify-content: space-between;
125 - align-items: flex-start;
126 - align-content: flex-start;
127 - padding: 0 1em;
128 - }
129 - .wpbc-panel .welcome-panel .welcome-panel-column:first-child {
130 - flex: 1 1 40%;
131 - }
132 - .wpbc-panel .welcome-panel .welcome-panel-column {
133 - flex: 1 1 30%;
134 - min-width: 18em;
135 - }
136 - .wpbc-panel .welcome-panel .welcome-panel-column:last-child {
137 - flex: 1 1 20%;
138 - }
139 - /*.welcome-panel-column.welcome-panel-last h4{*/
140 - /* font-size: 1.1em;*/
141 - /*}*/
142 - /*.wpbc-panel .welcome-panel .welcome-panel-column.welcome-panel-last .welcome-icon{*/
143 - /* font-size: 1em;*/
144 - /*}*/
145 - /*.wpbc-panel .welcome-panel .welcome-panel-column.welcome-panel-last li{*/
146 - /* padding:0;*/
147 - /*}*/
148 - .wpbc-panel .welcome-panel-column p {
149 - margin-top: 7px;
150 - }
110 + ?><div style="flex:100%;border-bottom: 1px solid #eeeff1;"></div><?php // Divider
151 111
152 - .wpbc-panel .welcome-panel .welcome-icon {
153 - background: #fff;
154 - padding: 0 1em 0 0;
155 - font-size: 15px;
156 - line-height: 1.84em;
157 - }
112 + wpbc_ui_settings_panel__card__integreate_into_new();
113 + wpbc_ui_settings_panel__card__shortcodes_help();
114 + wpbc_ui_settings_panel__card__welcome__have_questions();
158 115
159 - .wpbc-panel .welcome-panel .welcome-add-page {
160 - background-position: 0 2px;
161 - }
116 + //wpbc_ui_settings_panel__card__welcome__next_steps();
117 + wpbc_ui_settings__panel_end();
162 118
163 - .wpbc-panel .welcome-panel .welcome-edit-page {
164 - background-position: 0 -90px;
165 - }
119 + ?></div><?php
120 +}
166 121
167 - .wpbc-panel .welcome-panel .welcome-learn-more {
168 - background-position: 0 -136px;
169 - }
170 122
171 - .wpbc-panel .welcome-panel .welcome-comments {
172 - background-position: 0 -182px;
173 - }
123 + function wpbc_ui_settings__panel__welcome__header() {
124 +
125 + ?><div class="wpbc_ui_settings__panel__welcome_header">
126 + <p class="about-description"><?php esc_html_e( 'We&#8217;ve assembled some links to get you started:', 'booking' ); ?></p>
127 + </div><?php
128 + }
174 129
175 - .wpbc-panel .welcome-panel .welcome-view-site {
176 - background-position: 0 -274px;
177 - }
178 130
179 - .wpbc-panel .welcome-panel .welcome-widgets-menus {
180 - line-height: 14px;
181 - font-size: 0.8rem;
182 - }
183 131
184 - .wpbc-panel .welcome-panel .welcome-write-blog {
185 - background-position: 0 -44px;
186 - }
187 132
188 - .wpbc-panel .welcome-panel .welcome-panel-column ul {
189 - margin: 0.8em 1em 1em 0;
190 - }
133 + /**
134 + * Show == Dashboard Card - integreate into new ==
135 + *
136 + * @return void
137 + */
138 + function wpbc_ui_settings_panel__card__integreate_into_new(){
191 139
192 - .wpbc-panel .welcome-panel .welcome-panel-column li {
193 - line-height: 1.8em;
194 - list-style-type: none;
195 - }
196 140
197 - .wpbc_panel_get_started_dismiss:hover,
198 - .wpbc_panel_get_started_dismiss:active,
199 - .wpbc_panel_get_started_dismiss:focus,
200 - .wpbc_panel_get_started_dismiss {
201 - position: absolute;
202 - right: 12px;
203 - top: 12px;
204 - box-shadow: none;
205 - outline: none;
206 - }
207 141
208 - @media screen and (max-width: 870px) {
209 - .wpbc-panel .welcome-panel .welcome-panel-column,
210 - .wpbc-panel .welcome-panel .welcome-panel-column:first-child {
211 - display: block;
212 - float: none;
213 - width: 100%;
214 - }
142 + ?><div class="wpbc_ui_settings__card wpbc_ui_settings__card_text_small wpbc_ui_settings__card_divider_right wpbc_ui_settings_panel__card__publish_into_new">
143 + <div class="wpbc_ui_settings__text_row">
144 + <i class="menu_icon icon-1x wpbc-bi-box-arrow-in-down-left"></i>
145 + <h1>
146 + <span>
147 + <span class="0wpbc_ui_settings__text_color__black2"><?php esc_html_e( 'Insert shortcode in a page', 'booking' ); ?></span>
148 + </span>
149 + </h1>
150 + </div>
151 + <div class="wpbc_ui_settings__text_row">
152 + <span class="wpbc_ui_settings__text_color__black">
153 + <?php
154 + esc_html_e( 'Integrate booking form into a page on your website.', 'booking' );
155 + ?>
156 + </span>
157 + </div>
158 + <div style="align-self:center;margin: 0px 0 0;" class="wpbc_flextable_col">
159 + <?php
215 160
216 - .wpbc-panel .welcome-panel .welcome-panel-column li {
217 - display: inline-block;
218 - margin-right: 13px;
219 - }
161 + ?>
162 + <div class="wpbc_ajx_toolbar wpbc_no_borders" style="margin: 0 auto;margin-top: 15px;">
163 + <div class="ui_container ui_container_small">
164 + <div class="ui_group ui_group__publish_btn" style="align-items: center;">
165 + <div class="ui_element" style="margin: 0 15px 0 0;">
166 + <a href="<?php echo esc_url( wpbc_get_resources_url() ); ?>"
167 + id="ui_btn_publish_into_exist" class="wpbc_ui_control wpbc_ui_button wpbc_ui_button_danger0 tooltip_top "
168 + title="<?php echo esc_attr(
169 + sprintf( __( 'Integrate booking form into a page on your website.', 'booking' ), '', '' )
170 + ); ?>" >
171 + <span><?php esc_html_e('Integrate booking form', 'booking'); ?>&nbsp;&nbsp;&nbsp;</span>
172 + <i class="menu_icon icon-1x wpbc-bi-arrow-right-short" style="margin: 0;"></i>
173 + </a>
174 + </div>
175 + </div>
176 + </div>
177 + </div>
178 + <?php
220 179
221 - .wpbc-panel .welcome-panel .welcome-panel-column ul {
222 - margin: 0.4em 0 0;
223 - }
180 + ?>
181 + </div>
224 182
225 - .wpbc-panel .welcome-panel .welcome-icon {
226 - /*padding-left: 25px;*/
227 - }
228 - }
229 -
230 - /*]]>*/
231 - </style>
232 - <script type="text/javascript">
233 - jQuery( document ).ready( function (){
234 - setTimeout( function (){
235 - if ( jQuery( '#wpbc-panel-get-started' ).is( ':visible' ) ){
236 - jQuery( '#wpbc-panel-get-started' ).slideUp( 1000 );
237 - }
238 - }, 60000 );
239 - } );
240 - </script>
241 - <div id="wpbc-panel-get-started" class="wpbc-panel" style="display:none;">
242 - <div class="welcome-panel"><?php
243 -
244 - $is_panel_visible = wpbc_is_dismissed( 'wpbc-panel-get-started', array(
245 - 'title' => '<i class="menu_icon icon-1x wpbc_icn_close"></i> ',
246 - 'hint' => __( 'Dismiss', 'booking' ),
247 - 'class' => 'wpbc_panel_get_started_dismiss',
248 - 'css' => 'background: #fff;border-radius: 7px;'
249 - ));
250 - if ( $is_panel_visible ) {
251 - wpbc_welcome_panel_content();
252 - }
253 -
254 - ?> </div>
255 - </div> <?php
183 + </div><?php
256 184 }
257 185
258 186
259 187 /**
260 - * Content of Welcome Panel with links
188 + * Show == Dashboard Card - Shortcodes Help ==
261 189 *
190 + * @return void
262 191 */
263 - function wpbc_welcome_panel_content() {
192 + function wpbc_ui_settings_panel__card__shortcodes_help(){
264 193
265 - ?>
266 - <div class="welcome-panel-content">
267 - <p class="about-description"><?php _e( 'We&#8217;ve assembled some links to get you started:','booking'); ?></p>
268 - <div class="welcome-panel-column-container">
269 - <div class="welcome-panel-column">
270 - <h4><?php _e( 'Get Started','booking'); ?></h4>
194 + ?><div class="wpbc_ui_settings__card wpbc_ui_settings__card_text_small wpbc_ui_settings__card_divider_right wpbc_ui_settings_panel__card__publish_into_new">
195 + <div class="wpbc_ui_settings__text_row">
196 + <i class="menu_icon icon-1x wpbc_icn_code"></i>
197 + <h1>
198 + <span>
199 + <span class="0wpbc_ui_settings__text_color__black2"><?php esc_html_e( 'Shortcodes', 'booking' ); ?></span>
200 + </span>
201 + </h1>
202 + </div>
203 + <div class="wpbc_ui_settings__text_row">
204 + <span class="wpbc_ui_settings__text_color__black">
271 205 <ul>
272 - <?php
273 - $is_wp_post_booking = false;
274 - $wp_post_booking = get_page_by_path( 'wpbc-booking' );
275 - if ( empty( ! $wp_post_booking ) ) {
206 + <li style="font-size: 0.94em;"><span class="welcome-icon"><?php
276 207
277 - $wp_post_booking_absolute = get_permalink( $wp_post_booking->ID );
208 + /* translators: 1: ... */
209 + $text_description = __( 'Learn how to %1$sAdd the Booking Form or Calendar to your page%2$s in WordPress Block Editor, Elementor, or other non-standard editors.', 'booking' );
210 + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
211 + printf( $text_description, '<strong><a href="https://wpbookingcalendar.com/faq/insert-booking-calendar-into-page/" target="_blank">', '</a></strong>' );
278 212
279 - if ( ! empty( $wp_post_booking_absolute ) ) {
213 + echo '</span> <span class="welcome-icon">';
280 214
281 - $wp_post_booking_relative = wpbc_make_link_relative( $wp_post_booking_absolute );
282 - if ( wpbc_is_shortcode_exist_in_page( $wp_post_booking_relative, '[booking' ) ) {
283 - $is_wp_post_booking = true;
284 - ?>
285 - <li>
286 - <div class="welcome-icon" style="margin: 25px 0 15px;"><?php
287 - printf( __( 'Start by using the %spre-configured booking page%s we have set up.', 'booking' )
288 - , '<strong><a href="' . esc_url( $wp_post_booking_absolute ) . '" class="button button-secondary" target="_blank">', '</a></strong>'
289 - );
290 - ?></div>
291 - </li><?php
292 - }
293 - }
294 - }
295 - ?><li>
296 - <div class="welcome-icon" style="margin-bottom: 15px;"><?php
297 - printf( __( '%sIntegrate booking form%s into a page on your website in just a few clicks.', 'booking' )
298 - , '<strong><a href="' . esc_url( wpbc_get_resources_url() ) . '" class="button button-primary">', '</a></strong>'
299 - );
300 - ?></div>
301 - </li><?php
215 + /* translators: 1: ... */
216 + $text_description = __( 'See %1$sall shortcodes%2$s of the Booking Calendar that you can use in pages.', 'booking' );
217 + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
218 + printf( $text_description, '<strong><a href="https://wpbookingcalendar.com/faq/#shortcodes" target="_blank">', '</a></strong>' );
302 219
303 - ?><li><span class="welcome-icon" style="font-size: 0.95em;"><?php
304 - printf( __('Learn how to %sAdd the Booking Form or Calendar to your page%s in WordPress Block Editor, Elementor, or other non-standard editors.','booking')
305 - , '<strong><a href="https://wpbookingcalendar.com/faq/insert-booking-calendar-into-page/" target="_blank">', '</a></strong>'
306 - );
307 - echo '</span><span class="welcome-icon" style="font-size: 0.95em;">';
308 - printf( __('See %sall shortcodes%s of the Booking Calendar that you can use in pages.','booking')
309 - , '<strong><a href="https://wpbookingcalendar.com/faq/#shortcodes" target="_blank">', '</a></strong>'
310 -// , '<a href="' . admin_url( 'edit.php?post_type=page' ) . '">', '</a>'
311 -// , '<a href="' . admin_url( 'edit.php' ) . '">', '</a>'
312 - );
313 220 ?></span></li>
314 221 </ul>
315 - </div>
316 - <div class="welcome-panel-column welcome-panel-last">
317 - <h4><?php _e( 'Next Steps','booking'); ?></h4>
222 + </span>
223 + </div>
224 + </div><?php
225 + }
226 +
227 +
228 + /**
229 + * Show == Dashboard Card - Next Steps ==
230 + *
231 + * @return void
232 + */
233 + function wpbc_ui_settings_panel__card__welcome__next_steps(){
234 +
235 + ?><div class="wpbc_ui_settings__card wpbc_ui_settings__card_text_small wpbc_ui_settings__card_divider_right wpbc_ui_settings_panel__card__welcome__next_steps">
236 + <div class="wpbc_ui_settings__text_row">
237 + <i class="menu_icon icon-1x wpbc_icn_code"></i>
238 + <h1>
239 + <span>
240 + <span class="0wpbc_ui_settings__text_color__black2"><?php esc_html_e( 'Next Steps', 'booking' ); ?></span>
241 + </span>
242 + </h1>
243 + </div>
244 + <div class="wpbc_ui_settings__text_row">
245 + <span class="wpbc_ui_settings__text_color__black">
318 246 <ul>
319 247
320 248 <?php if ( ! empty( $wp_post_booking_absolute ) ) { ?>
321 249 <li><div class="welcome-icon"><?php
322 - printf( __('Start creating %snew bookings%s from %syour page%s or in the %sAdmin Panel%s.','booking')
250 + /* translators: 1: ... */
251 + echo esc_html( sprintf( __( 'Start creating %1$snew bookings%2$s from %3$syour page%4$s or in the %5$sAdmin Panel%6$s.', 'booking' )
323 252 , '<strong>', '</strong>'
324 253 , '<strong><a href="' . esc_url( $wp_post_booking_absolute ) . '" target="_blank">', '</a></strong>'
325 254 , '<a href="' . esc_url( wpbc_get_new_booking_url() ) . '">', '</a>'
326 - );
255 + ) );
327 256 ?></div></li>
328 257 <?php } ?>
329 258
330 259 <li><div class="welcome-icon"><?php
331 - printf( __( 'Check %sBooking Listing%s page for new bookings.','booking')
332 - , '<a href="' . esc_url( wpbc_get_bookings_url(true, false) . '&view_mode=vm_listing' ) . '">', '</a>'
333 - );
260 + /* translators: 1: ... */
261 + echo esc_html( sprintf( __( 'Check %1$sBooking Listing%2$s page for new bookings.', 'booking' )
262 + , '<a href="' . esc_url( wpbc_get_bookings_url(true, false) . '&tab=vm_booking_listing' ) . '">', '</a>'
263 + ) );
334 264 ?></div></li>
335 265 <li><div class="welcome-icon"><?php
336 - printf( __( 'Configure %sForm Fields%s, %sEmails%s and other %sSettings%s.' ,'booking')
337 - , '<a href="' . esc_url( wpbc_get_settings_url(true, false) . '&tab=form' ) . '">', '</a>'
266 + /* translators: 1: ... */
267 + echo esc_html( sprintf( __( 'Configure %1$sForm Fields%2$s, %3$sEmails%4$s and other %5$sSettings%6$s.', 'booking' )
268 + , '<a href="' . esc_url( wpbc_get_settings_url(true, false) . '&tab=builder_booking_form' ) . '">', '</a>'
338 269 , '<a href="' . esc_url( wpbc_get_settings_url(true, false) . '&tab=email' ) . '">', '</a>'
339 270 , '<a href="' . esc_url( wpbc_get_settings_url(true, false) ) . '">', '</a>'
340 - );
271 + ) );
341 272 ?></div></li>
342 273 </ul>
343 -<?php /* ?>
344 - </div>
345 - <div class="welcome-panel-column welcome-panel-last">
346 - <?php */ ?>
347 - <h4><?php _e( 'Have a questions?','booking'); ?></h4>
274 + </span>
275 + </div>
276 + </div><?php
277 + }
278 +
279 +
280 + /**
281 + * Show == Dashboard Card - Have a questions? ==
282 + *
283 + * @return void
284 + */
285 + function wpbc_ui_settings_panel__card__welcome__have_questions(){
286 +
287 + ?><div class="wpbc_ui_settings__card wpbc_ui_settings__card_text_small wpbc_ui_settings__card_divider_right0 wpbc_ui_settings_panel__card__welcome__have_questions">
288 + <div class="wpbc_ui_settings__text_row">
289 + <i class="menu_icon icon-1x wpbc_icn_help_outline"></i>
290 + <h1>
291 + <span>
292 + <span class="0wpbc_ui_settings__text_color__black2"><?php esc_html_e( 'Have a questions?', 'booking' ); ?></span>
293 + </span>
294 + </h1>
295 + </div>
296 + <div class="wpbc_ui_settings__text_row">
297 + <span class="wpbc_ui_settings__text_color__black">
348 298 <ul>
349 299 <li><span class="welcome-icon"><?php
350 - printf( __( 'See %sFAQ%s.' ,'booking'),
351 - '<a href="https://wpbookingcalendar.com/faq/" target="_blank">',
352 - '</a>' );
353 - echo '</span><span class="welcome-icon">';
354 - printf( __( 'Contact %sSupport%s.','booking'),
355 - '<a href="https://wpbookingcalendar.com/support/" target="_blank">',
356 - '</a>' );
357 -/*
358 - ?></div></li>
359 - <li><div class="welcome-icon"><?php
360 - printf( __( 'Check out our %sHelp%s' ,'booking'),
361 - '<a href="https://wpbookingcalendar.com/help/" target="_blank">',
362 - '</a>' );
363 - ?></div></li>
364 - <li><div class="welcome-icon"><?php
365 - printf( __( 'Still having questions? Contact %sSupport%s.','booking'),
366 - '<a href="https://wpbookingcalendar.com/support/" target="_blank">',
367 - '</a>' );
368 -*/
300 +
301 + /* translators: 1: ... */
302 + $text_description = __( 'See %1$sFAQ%2$s.', 'booking' );
303 + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
304 + printf( $text_description, '<a href="https://wpbookingcalendar.com/faq/" target="_blank">', '</a> , ' . '<a href="https://wpbookingcalendar.com/support/" target="_blank">' . esc_html__( 'Support Forum', 'booking' ) . '</a>' );
305 + echo '</span>&nbsp;&nbsp;&nbsp;&nbsp;<span class="welcome-icon">';
306 + /* translators: 1: ... */
307 + $text_description = __( 'Contact %1$sSupport%2$s.', 'booking' );
308 + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
309 + printf( $text_description, '<a href="mailto:support@wpbookingcalendar.com" target="_blank">', '</a>' );
369 310 ?></span></li>
370 - </ul>
371 - </div>
311 + </span>
372 312 </div>
373 - <div class="welcome-icon welcome-widgets-menus" style="text-align:right;"><?php
374 - printf( __( 'Need even more functionality? Check %s Pro Versions %s.','booking'),
375 - '<a href="https://wpbookingcalendar.com/features/" target="_blank">',
376 - '</a>'
377 - ); ?>
378 - </div>
379 - </div>
380 - <?php
313 + </div><?php
381 314 }
382 315
316 +
317 +
383 318 // </editor-fold>
319 +
320 +