PluginProbe
Booking Calendar / 11.6
Booking Calendar v11.6
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-appointment-services / templates / catalog / bulk-edit-wptpl.php

bulk-edit-wptpl.php in Booking Calendar 11.6, at includes/page-appointment-services/templates/catalog/bulk-edit-wptpl.php

30 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Appointment Services safe bulk-field editor WP template.
4 *
5 * @package Booking Calendar
6 * @since 11.6.0
7 */
8
9 if ( ! defined( 'ABSPATH' ) ) { exit; }
10 ?>
11 <script type="text/html" id="tmpl-wpbc-appointment-services-bulk-edit">
12 <div class="wpbc_appointment_services__operation">
13 <h2>{{ data.title }}</h2>
14 <p>{{ data.description }}</p>
15 <# _.each( data.fields, function ( field ) { #>
16 <label class="wpbc_appointment_services__bulk_field">
17 <span><input type="checkbox" data-wpbc-appointment-services-bulk-enable="{{ field.key }}"> <strong>{{ field.label }}</strong></span>
18 <# if ( 'select' === field.type ) { #>
19 <select data-wpbc-appointment-services-bulk-value="{{ field.key }}" disabled>
20 <# _.each( field.options, function ( option ) { #><option value="{{ option.value }}">{{ option.label }}</option><# } ); #>
21 </select>
22 <# } else { #>
23 <input type="{{ field.type }}" value="{{ field.default_value }}" min="{{ field.min }}" max="{{ field.max }}" step="{{ field.step }}" data-wpbc-appointment-services-bulk-value="{{ field.key }}" disabled>
24 <input type="range" value="{{ field.default_value }}" min="{{ field.min }}" max="{{ field.max }}" step="{{ field.step }}" data-wpbc-appointment-services-bulk-range="{{ field.key }}" aria-label="{{ field.label }}" disabled>
25 <# } #>
26 </label>
27 <# } ); #>
28 </div>
29 </script>
30