PluginProbe ʕ •ᴥ•ʔ
Weight Based Shipping Table Rate for WooCommerce – Flexible Shipping / 6.11.0
Weight Based Shipping Table Rate for WooCommerce – Flexible Shipping v6.11.0
6.12.1 6.12.0 6.11.0 6.10.0 6.9.1 6.9.0 6.8.1 6.8.0 6.7.4 6.7.3 6.7.2 6.7.0 4.21.7 4.22.0 4.22.1 4.23.0 4.23.1 4.23.2 4.23.3 4.24.0 4.24.1 4.24.10 4.24.11 4.24.12 4.24.13 4.24.14 4.24.15 4.24.16 4.24.17 4.24.18 4.24.19 4.24.2 4.24.4 4.24.6 4.24.7 4.24.8 4.24.9 4.25.0 4.25.1 4.25.2 4.25.4 4.25.5 4.25.6 4.25.7 4.25.8 4.3.0 4.3.1 4.4.0 4.4.1 4.5.0 4.5.1 4.6.0 4.6.1 4.7.0 4.7.1 4.7.2 4.8.0 4.8.1 4.8.3 4.8.4 4.8.5 4.9.0 5.0.0 5.0.1 5.0.2 5.0.3 5.0.4 5.0.5 5.0.6 5.0.7 5.0.8 5.0.9 5.1.0 5.1.1 5.1.2 5.1.3 5.2.0 5.3.0 5.3.1 5.3.3 5.3.4 5.3.5 6.0.0 6.1.0 6.1.1 6.1.2 6.2.0 6.2.1 6.2.2 6.2.3 6.2.4 6.3.0 trunk 6.4.0 1.4 6.4.1 1.4.1 6.4.2 1.5 6.4.3 1.6 6.4.5 1.6.1 6.5.0 1.6.2 6.5.1 1.7 6.5.2 1.8 6.5.3 1.9 6.5.4 1.9.1 6.5.5 1.9.10 6.5.6 1.9.11 6.5.7 1.9.12 6.5.8 1.9.2 6.6.0 1.9.3 6.6.1 1.9.4 6.6.2 1.9.5 1.9.6 1.9.7 1.9.8 1.9.9 2.0 2.0.1 2.1 2.1.1 2.1.10 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 3.0.6 3.0.7 3.1 3.1.1 3.1.10 3.1.11 3.1.12 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.1.8 3.1.9 3.10.0 3.11.0 3.11.1 3.11.2 3.11.3 3.11.4 3.12.0 3.13.0 3.14.0 3.14.1 3.14.2 3.14.3 3.14.4 3.15.0 3.16.0 3.16.1 3.16.2 3.16.3 3.16.4 3.16.5 3.2.0 3.3.1 3.3.10 3.3.11 3.3.12 3.3.13 3.3.14 3.3.2 3.3.3 3.3.4 3.3.5 3.3.6 3.3.7 3.3.8 3.3.9 3.4.0 3.5.0 3.5.1 3.6.0 3.6.1 3.6.2 3.6.3 3.6.4 3.7.0 3.8.0 3.9.0 3.9.1 3.9.10 3.9.11 3.9.12 3.9.13 3.9.15 3.9.16 3.9.17 3.9.18 3.9.19 3.9.2 3.9.20 3.9.21 3.9.3 3.9.4 3.9.5 3.9.6 3.9.7 3.9.9 4.0.0 4.0.1 4.0.10 4.0.2 4.0.3 4.0.4 4.0.5 4.0.6 4.0.7 4.0.8 4.0.9 4.1.0 4.1.1 4.1.2 4.1.3 4.1.4 4.10.0 4.10.1 4.11.0 4.11.1 4.11.2 4.11.3 4.11.4 4.11.5 4.11.6 4.11.7 4.11.8 4.11.9 4.12.0 4.13.0 4.13.1 4.13.2 4.13.3 4.14.0 4.14.1 4.14.2 4.15.0 4.16.0 4.16.1 4.16.2 4.17.0 4.18.0 4.18.1 4.18.2 4.18.3 4.18.4 4.18.5 4.18.6 4.19.0 4.19.1 4.2.0 4.20.0 4.20.1 4.20.2 4.20.3 4.21.0 4.21.1 4.21.2 4.21.3 4.21.4 4.21.5
flexible-shipping / vendor_prefixed / wpdesk / wp-forms / templates / input-text-multiple.php
flexible-shipping / vendor_prefixed / wpdesk / wp-forms / templates Last commit date
button.php 2 weeks ago form-end.php 2 weeks ago form-field.php 2 weeks ago form-label.php 2 weeks ago form-start.php 2 weeks ago header.php 2 weeks ago input-checkbox.php 2 weeks ago input-date-picker.php 2 weeks ago input-hidden.php 2 weeks ago input-image.php 2 weeks ago input-number.php 2 weeks ago input-radio.php 2 weeks ago input-submit.php 2 weeks ago input-text-multiple.php 2 weeks ago input-text.php 2 weeks ago input.php 2 weeks ago noonce.php 2 weeks ago paragraph.php 2 weeks ago product-select.php 2 weeks ago select.php 2 weeks ago textarea.php 2 weeks ago wyswig.php 2 weeks ago
input-text-multiple.php
175 lines
1 <?php
2
3 namespace FSVendor;
4
5 /**
6 * @var \WPDesk\Forms\Field $field
7 * @var \WPDesk\View\Renderer\Renderer $renderer
8 * @var string $name_prefix
9 * @var string $value
10 * @var string $template_name Real field template.
11 */
12 if (empty($value) || \is_string($value)) {
13 $input_values[] = '';
14 } else {
15 $input_values = $value;
16 }
17 ?>
18 <div class="clone-element-container">
19 <?php
20 foreach ($input_values as $text_value) {
21 ?>
22 <?php
23 if (!\in_array($field->get_type(), ['number', 'text', 'hidden'], \true)) {
24 ?>
25 <input type="hidden" name="<?php
26 echo \esc_attr($name_prefix) . '[' . \esc_attr($field->get_name()) . ']';
27 ?>" value="no"/>
28 <?php
29 }
30 ?>
31
32 <?php
33 if ($field->get_type() === 'checkbox' && $field->has_sublabel()) {
34 ?>
35 <label><?php
36 }
37 ?>
38 <div class="clone-wrapper">
39 <input
40 type="<?php
41 echo \esc_attr($field->get_type());
42 ?>"
43 name="<?php
44 echo \esc_attr($name_prefix) . '[' . \esc_attr($field->get_name()) . '][]';
45 ?>"
46 id="<?php
47 echo \esc_attr($field->get_id());
48 ?>"
49
50 <?php
51 if ($field->has_classes()) {
52 ?>
53 class="<?php
54 echo \esc_attr($field->get_classes());
55 ?>"
56 <?php
57 }
58 ?>
59
60 <?php
61 if ($field->get_type() === 'text' && $field->has_placeholder()) {
62 ?>
63 placeholder="<?php
64 echo \esc_html($field->get_placeholder());
65 ?>"
66 <?php
67 }
68 ?>
69
70 <?php
71 foreach ($field->get_attributes() as $key => $atr_val) {
72 echo \esc_attr($key) . '="' . \esc_attr($atr_val) . '"';
73 ?>
74 <?php
75 }
76 ?>
77
78 <?php
79 if ($field->is_required()) {
80 ?>
81 required="required"<?php
82 }
83 ?>
84 <?php
85 if ($field->is_disabled()) {
86 ?>
87 disabled="disabled"<?php
88 }
89 ?>
90 <?php
91 if ($field->is_readonly()) {
92 ?>
93 readonly="readonly"<?php
94 }
95 ?>
96 <?php
97 if (\in_array($field->get_type(), ['number', 'text', 'hidden'], \true)) {
98 ?>
99 value="<?php
100 echo \esc_html($text_value);
101 ?>"
102 <?php
103 } else {
104 ?>
105 value="yes"
106 <?php
107 if ($value === 'yes') {
108 ?>
109 checked="checked"
110 <?php
111 }
112 ?>
113 <?php
114 }
115 ?>
116 />
117 <span class="add-field"><span class="dashicons dashicons-plus-alt"></span></span>
118 <span class="remove-field hidden"><span class="dashicons dashicons-remove"></span></span>
119 </div>
120
121 <?php
122 if ($field->get_type() === 'checkbox' && $field->has_sublabel()) {
123 ?>
124 <?php
125 echo \esc_html($field->get_sublabel());
126 ?></label>
127 <?php
128 }
129 }
130 ?>
131 </div>
132 <style>
133 .clone-element-container .clone-wrapper .add-field {
134 display: none;
135 }
136 .clone-element-container .clone-wrapper:first-child .add-field {
137 display: inline-block;
138 }
139
140 .clone-element-container .clone-wrapper .remove-field {
141 display: inline-block;
142 }
143 .clone-element-container .clone-wrapper:first-child .remove-field {
144 display: none;
145 }
146 </style>
147 <script>
148 jQuery( function ( $ ) {
149 var add_field = jQuery( '.add-field' );
150 if ( add_field.length ) {
151 add_field.click( function ( e ) {
152 let html = jQuery( this ).closest( '.clone-wrapper' ).clone();
153 html.find( 'input' ).val( '' );
154 jQuery( this ).closest( '.clone-wrapper' ).after( html );
155 } )
156
157 jQuery( '.clone-element-container' ).on( "click", ".remove-field", function ( e ) {
158 let is_disabled = jQuery( this ).hasClass( 'field-disabled' );
159 if ( !is_disabled ) {
160 jQuery( this ).closest( '.clone-wrapper' ).remove();
161 }
162 } )
163
164 jQuery( '.form-table' ).find( 'input,select' ).each( function ( i, v ) {
165 let disabled = jQuery( this ).attr( 'data-disabled' );
166 if ( disabled === 'yes' ) {
167 jQuery( this ).attr( 'disabled', 'disabled' )
168 jQuery( this ).parent().addClass( 'field-disabled' );
169 }
170 } );
171 }
172 } );
173 </script>
174 <?php
175