PluginProbe
Booking Calendar / 11.7
Booking Calendar v11.7
11.9 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 All 205 releases
booking / includes / page-catalog-booking-resources / templates / resource-inspector-create-wptpl.php

resource-inspector-create-wptpl.php in Booking Calendar 11.7, at includes/page-catalog-booking-resources/templates/resource-inspector-create-wptpl.php

24 lines 1.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Booking Resource create-inspector template.
4 *
5 * @package Booking Calendar
6 * @since 11.6.0
7 */
8
9 if ( ! defined( 'ABSPATH' ) ) {
10 exit;
11 }
12 ?>
13 <script type="text/html" id="tmpl-wpbc-booking-resource-inspector-create">
14 <form id="wpbc_catalog_booking_resource_inspector_form" class="wpbc_catalog_booking_resources__editor" data-wpbc-catalog-resource-inspector-form data-mode="create">
15 <div class="wpbc_bfb__inspector__head wpbc_ui_catalog_inspector__header"><div class="header_container"><div class="header_title_content"><h3 class="title">{{ data.schema.title }}</h3><span class="wpbc_ui_catalog_inspector__context wpbc_catalog_booking_resources__editor_context">{{ data.schema.context }}</span><div class="desc">{{ data.schema.description }}</div></div></div></div>
16 <div class="notice inline" data-wpbc-catalog-resource-inspector-message hidden role="status"><p></p></div>
17 <# if ( ! data.schema.can_create ) { #><div class="notice inline notice-warning"><p>{{ data.i18n.create_unavailable }}</p></div><# } #>
18 <# if ( data.schema.shared_notice ) { #><div class="wpbc_catalog_booking_resources__create_shared_notice">{{ data.schema.shared_notice }}</div><# } #>
19 <div class="wpbc_catalog_booking_resources__editor_sections">
20 <# _.each( data.schema.sections || [], function ( section ) { print( wp.template( 'wpbc-booking-resource-inspector-group' )( { section: section, i18n: data.i18n, mode: 'create' } ) ); } ); #>
21 </div>
22 </form>
23 </script>
24