← All changes
|
includes/ui_modal__shortcodes/sh_tpl_booking_other.php
+19
-10
10.1.3
→
11.9
View file →
| @@ -11,9 +11,9 @@ | ||
| 11 | 11 | * |
| 12 | 12 | * @modified 2024-03-08 |
| 13 | 13 | */ |
| 14 | 14 | |
| 15 | -if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly //FixIn: 9.9.0.15 | |
| 15 | +if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly // FixIn: 9.9.0.15. | |
| 16 | 16 | |
| 17 | 17 | |
| 18 | 18 | |
| 19 | 19 | // ===================================================================================================================== |
| @@ -28,9 +28,9 @@ | ||
| 28 | 28 | function wpbc_shortcode_config__content__bookingother() { |
| 29 | 29 | |
| 30 | 30 | $shortcode_name = 'bookingother'; |
| 31 | 31 | |
| 32 | - ?><div id="wpbc_sc_container__shortcode_<?php echo $shortcode_name; ?>" class="wpbc_sc_container__shortcode wpbc_sc_container__shortcode_<?php echo $shortcode_name; ?>"><?php | |
| 32 | + ?><div id="wpbc_sc_container__shortcode_<?php echo esc_attr( $shortcode_name ); ?>" class="wpbc_sc_container__shortcode wpbc_sc_container__shortcode_<?php echo esc_attr( $shortcode_name ); ?>"><?php | |
| 33 | 33 | |
| 34 | 34 | wpbc_shortcode_config__bookingother__top_tabs(); |
| 35 | 35 | |
| 36 | 36 | // 'General' -------------------------------------------------------------------------------------------------- |
| @@ -42,12 +42,14 @@ | ||
| 42 | 42 | |
| 43 | 43 | ?></tbody></table> |
| 44 | 44 | <div class="bookingother_section_additional bookingother_section_booking_confirm"><?php |
| 45 | 45 | wpbc_show_message_in_settings( |
| 46 | + /* translators: 1: ... */ | |
| 46 | 47 | sprintf( __( 'This shortcode %s is used on a confirmation booking page to display booking details and confirmation after a successful booking.', 'booking' ), '<code>[booking_confirm]</code>', '<strong>', '</strong>', '<strong>', '</strong>', '<strong>', '</strong>' ) |
| 47 | - . '<br/>' . sprintf( __( 'The content of field %s on the %sgeneral booking settings page%s at %s section must link to this page.', 'booking' ) | |
| 48 | - , '<strong>' . __( 'Confirmation Page URL', 'booking ' ) .'</strong>' | |
| 49 | - , '<a href="' . wpbc_get_settings_url() . '&scroll_to_section=wpbc_general_settings_booking_confirmation_tab">' | |
| 48 | + /* translators: 1: ... */ | |
| 49 | + . '<br/>' . sprintf( __( 'The content of field %1$s on the %2$sgeneral booking settings page%3$s at %4$s section must link to this page.', 'booking' ) | |
| 50 | + , '<strong>' . esc_html__( 'Confirmation Page URL', 'booking' ) .'</strong>' | |
| 51 | + , '<a href="' . esc_url( wpbc_get_settings_url() ) . '&scroll_to_section=wpbc_general_settings_booking_confirmation_tab">' | |
| 50 | 52 | , '</a>' |
| 51 | 53 | , '<strong>' .__( 'Booking Confirmation', 'booking' ) . ' > ' |
| 52 | 54 | . __( 'Redirect to thank you page', 'booking' ).'</strong>' |
| 53 | 55 | ) |
| @@ -54,19 +56,26 @@ | ||
| 54 | 56 | , 'info', '' ); |
| 55 | 57 | ?></div> |
| 56 | 58 | <div class="bookingother_section_additional bookingother_section_bookingedit"><?php |
| 57 | 59 | wpbc_show_message_in_settings( |
| 58 | - sprintf( __( 'This shortcode %s is used on a page, where visitors can %smodify%s their own booking(s), %scancel%s or make %spayment%s after receiving an admin email payment request', 'booking' ), '<code>[bookingedit]</code>', '<strong>', '</strong>', '<strong>', '</strong>', '<strong>', '</strong>' ) | |
| 59 | - . '<br/>' . sprintf( __( 'The content of field %sURL to edit bookings%s on the %sgeneral booking settings page%s must link to this page', 'booking' ), '<i>"', '"</i>', '<a href="' . wpbc_get_settings_url() . '">', '</a>' ) | |
| 60 | + /* translators: 1: ... */ | |
| 61 | + sprintf( __( 'This shortcode %1$s is used on a page, where visitors can %2$smodify%3$s their own booking(s), %4$scancel%5$s or make %6$spayment%7$s after receiving an admin email payment request', 'booking' ), '<code>[bookingedit]</code>', '<strong>', '</strong>', '<strong>', '</strong>', '<strong>', '</strong>' ) | |
| 62 | + /* translators: 1: ... */ | |
| 63 | + . '<br/>' . sprintf( __( 'The content of field %1$sURL to edit bookings%2$s on the %3$sgeneral booking settings page%4$s must link to this page', 'booking' ), '<i>"', '"</i>', '<a href="' . esc_url( wpbc_get_settings_url() ) . '">', '</a>' ) | |
| 64 | + /* translators: 1: ... */ | |
| 60 | 65 | . '<br/>' . sprintf( __( 'Email templates, which use shortcodes: %s, will be linked to this page', 'booking' ), '<code>[visitorbookingediturl]</code>, <code>[visitorbookingcancelurl]</code>, <code>[visitorbookingpayurl]</code>' ) |
| 61 | 66 | , 'info', '' ); |
| 62 | 67 | ?></div> |
| 63 | 68 | <div class="bookingother_section_additional bookingother_section_bookingcustomerlisting"><?php |
| 64 | 69 | wpbc_show_message_in_settings( |
| 65 | - sprintf( __( 'This shortcode %s is used on a page, where visitors can %sview listing%s of their own booking(s)', 'booking' ), '<code>[bookingcustomerlisting]</code>', '<strong>', '</strong>', '<strong>', '</strong>', '<strong>', '</strong>' ) | |
| 66 | - . '<br/>' . sprintf( __( 'The content of field %sURL of page for customer bookings listing%s on the %sgeneral booking settings page%s must link to this page', 'booking' ), '<i>"', '"</i>', '<a href="' . wpbc_get_settings_url() . '">', '</a>' ) | |
| 70 | + /* translators: 1: ... */ | |
| 71 | + sprintf( __( 'This shortcode %1$s is used on a page, where visitors can %2$sview listing%3$s of their own booking(s)', 'booking' ), '<code>[bookingcustomerlisting]</code>', '<strong>', '</strong>', '<strong>', '</strong>', '<strong>', '</strong>' ) | |
| 72 | + /* translators: 1: ... */ | |
| 73 | + . '<br/>' . sprintf( __( 'The content of field %1$sURL of page for customer bookings listing%2$s on the %3$sgeneral booking settings page%4$s must link to this page', 'booking' ), '<i>"', '"</i>', '<a href="' . esc_url( wpbc_get_settings_url() ) . '">', '</a>' ) | |
| 74 | + /* translators: 1: ... */ | |
| 67 | 75 | . '<br/>' . sprintf( __( 'Email templates, which use shortcodes: %s, will be linked to this page', 'booking' ), '<code>[visitorbookingslisting]</code>' ) |
| 68 | - . '<br/>' . sprintf( __( '%s You can use in this shortcode the same parameters as for %s shortcode', 'booking' ), '<strong>' . __('Trick', 'booking') . '.</strong> ', '<code>[bookingtimeline ... ]</code>' ) | |
| 76 | + /* translators: 1: ... */ | |
| 77 | + . '<br/>' . sprintf( __( '%1$s You can use in this shortcode the same parameters as for %2$s shortcode', 'booking' ), '<strong>' . esc_html__('Trick', 'booking') . '.</strong> ', '<code>[bookingtimeline ... ]</code>' ) | |
| 69 | 78 | , 'info', '' ); |
| 70 | 79 | |
| 71 | 80 | ?></div> |
| 72 | 81 | <div class="bookingother_section_additional bookingother_section_bookingresource"> |