PluginProbe
Fluent Booking – The Ultimate Appointments Scheduling, Events Booking, Events Calendar Solution / 2.1.2
Fluent Booking – The Ultimate Appointments Scheduling, Events Booking, Events Calendar Solution v2.1.2
2.4.0 2.3.0 2.2.5 2.2.0 2.1.2 2.1.1 trunk 1.10.0 1.10.01 1.10.02 1.5.0 1.5.01 1.5.02 1.5.1 1.5.10 1.5.20 1.5.21 1.5.22 1.5.23 1.5.24 1.5.25 1.6.0 1.7.0 1.7.1 1.7.2 All 33 releases
fluent-booking / app / Services / Integrations / Elementor / Controls / FluentBookingCustomGroupSelect.php

FluentBookingCustomGroupSelect.php in Fluent Booking – The Ultimate Appointments Scheduling, Events Booking, Events Calendar Solution 2.1.2, at app/Services/Integrations/Elementor/Controls/FluentBookingCustomGroupSelect.php

37 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 class FluentBookingCustomGroupSelect extends \Elementor\Base_Control {
4
5 public function get_type() {
6 return 'fcal_group_select';
7 }
8
9 protected function get_default_settings() {
10 return [
11 'label_block' => true,
12 'options' => [],
13 ];
14 }
15
16 public function content_template() {
17 ?>
18 <div class="elementor-control-field">
19 <label for="{{ data.controlUid }}" class="elementor-control-title">{{{ data.label }}}</label>
20 <# var options = data.options; #>
21 <div class="elementor-control-input-wrapper">
22 <select class="fcal-group-select" id="{{ data.controlUid }}" data-setting="{{ data.name }}" name="{{ data.name }}">
23 <# _.each( data.options, function( group_options, group_label ) { #>
24 <optgroup label="{{{ group_label }}}">
25 <# _.each( group_options, function( label, value ) { #>
26 <option value="{{ value }}">{{{ label }}}</option>
27 <# }); #>
28 </optgroup>
29 <# }); #>
30 </select>
31 </div>
32 </div>
33 <?php
34 }
35
36 }
37