[booking_confirm]', '', '', '', '', '', '' ) /* translators: 1: ... */ . '
' . 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' ) , '' . esc_html__( 'Confirmation Page URL', 'booking' ) .'' , '' , '' , '' .__( 'Booking Confirmation', 'booking' ) . ' > ' . __( 'Redirect to thank you page', 'booking' ).'' ) , 'info', '' ); ?>
[bookingedit]', '', '', '', '', '', '' ) /* translators: 1: ... */ . '
' . 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' ), '"', '"', '', '' ) /* translators: 1: ... */ . '
' . sprintf( __( 'Email templates, which use shortcodes: %s, will be linked to this page', 'booking' ), '[visitorbookingediturl], [visitorbookingcancelurl], [visitorbookingpayurl]' ) , 'info', '' ); ?>
[bookingcustomerlisting]', '', '', '', '', '', '' ) /* translators: 1: ... */ . '
' . 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' ), '"', '"', '', '' ) /* translators: 1: ... */ . '
' . sprintf( __( 'Email templates, which use shortcodes: %s, will be linked to this page', 'booking' ), '[visitorbookingslisting]' ) /* translators: 1: ... */ . '
' . sprintf( __( '%1$s You can use in this shortcode the same parameters as for %2$s shortcode', 'booking' ), '' . esc_html__('Trick', 'booking') . '. ', '[bookingtimeline ... ]' ) , 'info', '' ); ?>
__( 'Title', 'booking' ) ); if ( class_exists( 'wpdev_bk_biz_s' ) ) { $bookingresource_show_options['cost'] = __( 'Cost', 'booking' ); } if ( class_exists( 'wpdev_bk_biz_l' ) ) { $bookingresource_show_options['capacity'] = __( 'Capacity', 'booking' ); } WPBC_Settings_API::field_select_row_static( $shortcode_name . '_wpbc_resource_show' // 'wpbc_bookingresource_show' , array( 'type' => 'select' , 'title' => __('Show', 'booking') , 'description' => __('Select type of info to show.' ,'booking') , 'description_tag' => 'span' , 'label' => '' , 'multiple' => false , 'group' => $shortcode_name . '_section_bookingresource' , 'tr_class' => 'wpbc_shortcode_bookingresource wpbc_shortcode_bookingother' , 'class' => '' , 'css' => 'margin-right:10px;' , 'only_field' => false , 'attr' => array() , 'value' => 'title' , 'options' => $bookingresource_show_options ) ); ?>
‹ ›
__('Booking Support Shortcodes', 'booking') // , 'hint' => array( 'title' => __('Manage bookings' ,'booking') , 'position' => 'top' ) , 'onclick' => $js . "jQuery('.wpbc_sc_container__shortcode_" . $shortcode_name . " .wpbc_sc_container__shortcode_section__general').show();" , 'font_icon' => 'menu_icon icon-1x wpbc_icn_adjust' , 'default' => true ) ); // wpbc_bs_display_tab( array( // 'title' => __('Advanced', 'booking') // // , 'hint' => array( 'title' => __('Manage bookings' ,'booking') , 'position' => 'top' ) // , 'onclick' => $js . "jQuery('.wpbc_sc_container__shortcode_" . $shortcode_name . " .wpbc_sc_container__shortcode_section__other').show();" // , 'font_icon' => 'wpbc_icn_tune' // , 'default' => false // // ) ); wpbc_bs_toolbar_tabs_html_container_end(); } // ===================================================================================================================== // Fields // ===================================================================================================================== /** * Shortcode Fields: View Mode: * * @param $id * @param $group_key * * @return void */ function wpbc_shortcode_config_fields__select_other_shortcodes( $id , $group_key ){ $optiopns_for_radio = array(); $optiopns_for_radio['booking_confirm'] = array( 'title' => __( 'Show booking confirmation message', 'booking' ), 'attr' => array( 'id' => 'wpbc_shortcode__bookingresource' ) ); if ( class_exists( 'wpdev_bk_personal' ) ) { $optiopns_for_radio['bookingedit'] = array( 'title' => __( ' Manage Booking. Required for booking Edit / Cancel / Payment Request.', 'booking' ), 'attr' => array( 'id' => 'wpbc_shortcode__bookingedit' ) ); $optiopns_for_radio['bookingcustomerlisting'] = array( 'title' => __( 'Show listing of customer bookings', 'booking' ), 'attr' => array( 'id' => 'wpbc_shortcode__bookingcustomerlisting' ) ); $optiopns_for_radio['bookingresource'] = array( 'title' => __( 'Show info about Booking Resource', 'booking' ), 'attr' => array( 'id' => 'wpbc_shortcode__bookingresource' ) ); } WPBC_Settings_API::field_radio_row_static( $id , array( 'type' => 'radio' , 'title' => __('Select type of shortcode', 'booking') , 'description' => ''//__('Select type of view format.' ,'booking') , 'description_tag' => 'span' , 'label' => '' , 'multiple' => false , 'group' => $group_key , 'tr_class' => $group_key . '_standard_section wpbc_sub_settings_grayed0 ' . $id . '_other_shortcodes' , 'class' => '' , 'css' => 'margin-right:10px;' , 'only_field' => false , 'attr' => array() , 'value' => 'booking_confirm' , 'options' => $optiopns_for_radio ) ); }