Passed
Push — master ( a6e281...2fedfd )
by Aimeos
03:29
created
admin/jqadm/templates/supplier/item-text-standard.php 1 patch
Braces   +15 added lines, -6 removed lines patch added patch discarded remove patch
@@ -124,9 +124,12 @@  discard block
 block discarded – undo
124 124
 										<?= $enc->html( $this->translate( 'admin', 'Language of the entered text' ) ); ?>
125 125
 									</div>
126 126
 								</div>
127
-							<?php else : ?>
127
+							<?php else {
128
+	: ?>
128 129
 								<input class="text-langid" type="hidden"
129
-									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.languageid' ) ) ); ?>'.replace('idx', idx)"
130
+									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.languageid' ) ) );
131
+}
132
+?>'.replace('idx', idx)"
130 133
 									value="<?= $enc->attr( key( $languages ) ); ?>" />
131 134
 							<?php endif; ?>
132 135
 
@@ -155,9 +158,12 @@  discard block
 block discarded – undo
155 158
 										<?= $enc->html( $this->translate( 'admin', 'Types for additional texts like per one lb/kg or per month' ) ); ?>
156 159
 									</div>
157 160
 								</div>
158
-							<?php else : ?>
161
+							<?php else {
162
+	: ?>
159 163
 								<input class="item-type" type="hidden"
160
-									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.type' ) ) ); ?>'.replace('idx', idx)"
164
+									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.type' ) ) );
165
+}
166
+?>'.replace('idx', idx)"
161 167
 									value="<?= $enc->attr( key( $textTypes ) ); ?>" />
162 168
 							<?php endif; ?>
163 169
 
@@ -213,9 +219,12 @@  discard block
 block discarded – undo
213 219
 										<?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?>
214 220
 									</div>
215 221
 								</div>
216
-							<?php else : ?>
222
+							<?php else {
223
+	: ?>
217 224
 								<input class="listitem-type" type="hidden"
218
-									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'supplier.lists.type' ) ) ); ?>'.replace('idx', idx)"
225
+									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'supplier.lists.type' ) ) );
226
+}
227
+?>'.replace('idx', idx)"
219 228
 									value="<?= $enc->attr( key( $listTypes ) ); ?>"
220 229
 									v-model="items[idx]['supplier.lists.type']" />
221 230
 							<?php endif; ?>
Please login to merge, or discard this patch.
admin/jqadm/templates/customer/item-address-standard.php 2 patches
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -33,14 +33,14 @@  discard block
 block discarded – undo
33 33
 						v-bind:aria-controls="'item-address-group-data-' + idx" aria-expanded="false">
34 34
 						<div class="card-tools-left">
35 35
 							<div class="btn btn-card-header act-show fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
36
-								title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide this entry') ); ?>">
36
+								title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide this entry' ) ); ?>">
37 37
 							</div>
38 38
 						</div>
39 39
 						<span class="item-label header-label">{{ getLabel(idx, 'customer.address.') }}</span>
40 40
 						&nbsp;
41 41
 						<div class="card-tools-right">
42 42
 							<div class="btn btn-card-header act-copy fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
43
-								title="<?= $enc->attr( $this->translate( 'admin', 'Duplicate entry (Ctrl+D)') ); ?>"
43
+								title="<?= $enc->attr( $this->translate( 'admin', 'Duplicate entry (Ctrl+D)' ) ); ?>"
44 44
 								v-on:click.stop="duplicateItem(idx)">
45 45
 							</div>
46 46
 							<div v-if="!checkSite('customer.address.siteid', idx)"
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
 							</div>
50 50
 							<div v-if="!checkSite('customer.address.siteid', idx)"
51 51
 								class="btn btn-card-header act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
52
-								title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"
52
+								title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"
53 53
 								v-on:click="removeItem(idx)">
54 54
 							</div>
55 55
 						</div>
@@ -344,7 +344,7 @@  discard block
 block discarded – undo
344 344
 
345 345
 			<div slot="footer" class="card-tools-more">
346 346
 				<div class="btn btn-primary btn-card-more act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
347
-					title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"
347
+					title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"
348 348
 					v-on:click="addItem('customer.address.')" >
349 349
 				</div>
350 350
 			</div>
Please login to merge, or discard this patch.
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -87,9 +87,12 @@
 block discarded – undo
87 87
 										</select>
88 88
 									</div>
89 89
 								</div>
90
-							<?php else : ?>
90
+							<?php else {
91
+	: ?>
91 92
 								<input class="item-languageid" type="hidden"
92
-									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'customer.address.languageid' ) ) ); ?>'.replace('idx', idx)"
93
+									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'customer.address.languageid' ) ) );
94
+}
95
+?>'.replace('idx', idx)"
93 96
 									value="<?= $enc->attr( key( $languages ) ); ?>" />
94 97
 							<?php endif; ?>
95 98
 							<div class="form-group row optional">
Please login to merge, or discard this patch.
admin/jqadm/templates/service/item-media-standard.php 1 patch
Braces   +10 added lines, -4 removed lines patch added patch discarded remove patch
@@ -124,9 +124,12 @@  discard block
 block discarded – undo
124 124
 										<?= $enc->html( $this->translate( 'admin', 'Types for additional images like icons' ) ); ?>
125 125
 									</div>
126 126
 								</div>
127
-							<?php else : ?>
127
+							<?php else {
128
+	: ?>
128 129
 								<input class="item-type" type="hidden"
129
-									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'media.type' ) ) ); ?>'.replace( 'idx', idx )"
130
+									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'media.type' ) ) );
131
+}
132
+?>'.replace( 'idx', idx )"
130 133
 									value="<?= $enc->attr( key( $mediaTypes ) ); ?>" />
131 134
 							<?php endif; ?>
132 135
 
@@ -204,9 +207,12 @@  discard block
 block discarded – undo
204 207
 										<?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?>
205 208
 									</div>
206 209
 								</div>
207
-							<?php else : ?>
210
+							<?php else {
211
+	: ?>
208 212
 								<input class="listitem-type" type="hidden"
209
-									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'service.lists.type' ) ) ); ?>'.replace( 'idx', idx )"
213
+									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'service.lists.type' ) ) );
214
+}
215
+?>'.replace( 'idx', idx )"
210 216
 									value="<?= $enc->attr( key( $listTypes ) ); ?>"
211 217
 									v-model="items[idx]['service.lists.type']" />
212 218
 							<?php endif; ?>
Please login to merge, or discard this patch.
admin/jqadm/templates/service/item-text-standard.php 2 patches
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 						v-bind:aria-controls="'item-text-group-data-' + idx" aria-expanded="false">
32 32
 						<div class="card-tools-left">
33 33
 							<div class="btn btn-card-header act-show fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
34
-								title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide this entry') ); ?>">
34
+								title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide this entry' ) ); ?>">
35 35
 							</div>
36 36
 						</div>
37 37
 						<span class="item-label header-label" v-html="getLabel(idx)"></span>
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
 							</div>
44 44
 							<div v-if="!checkSite('service.lists.siteid', idx)"
45 45
 								class="btn btn-card-header act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
46
-								title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"
46
+								title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"
47 47
 								v-on:click.stop="removeItem(idx)">
48 48
 							</div>
49 49
 						</div>
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
 						<div v-on:click="toggle(idx)" class="col-xl-12 advanced" v-bind:class="{ 'collapsed': !advanced[idx] }">
182 182
 							<div class="card-tools-left">
183 183
 								<div class="btn act-show fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
184
-									title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide advanced data') ); ?>">
184
+									title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide advanced data' ) ); ?>">
185 185
 								</div>
186 186
 							</div>
187 187
 							<span class="header-label"><?= $enc->html( $this->translate( 'admin', 'Advanced' ) ); ?></span>
@@ -263,7 +263,7 @@  discard block
 block discarded – undo
263 263
 										</th>
264 264
 										<th class="actions">
265 265
 											<div class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
266
-												title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"
266
+												title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"
267 267
 												v-bind:readonly="checkSite('service.lists.siteid', idx)"
268 268
 												v-on:click="addConfig(idx)" >
269 269
 											</div>
@@ -290,7 +290,7 @@  discard block
 block discarded – undo
290 290
 										<td class="actions">
291 291
 											<div v-if="!checkSite('service.lists.siteid', idx)" v-on:click="removeConfig(idx, pos)"
292 292
 												class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
293
-												title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>">
293
+												title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>">
294 294
 											</div>
295 295
 										</td>
296 296
 									</tr>
@@ -307,7 +307,7 @@  discard block
 block discarded – undo
307 307
 
308 308
 			<div slot="footer" class="card-tools-more">
309 309
 				<div class="btn btn-primary btn-card-more act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
310
-					title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"
310
+					title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"
311 311
 					v-on:click="addItem('service.lists.')" >
312 312
 				</div>
313 313
 			</div>
Please login to merge, or discard this patch.
Braces   +15 added lines, -6 removed lines patch added patch discarded remove patch
@@ -124,9 +124,12 @@  discard block
 block discarded – undo
124 124
 										<?= $enc->html( $this->translate( 'admin', 'Language of the entered text' ) ); ?>
125 125
 									</div>
126 126
 								</div>
127
-							<?php else : ?>
127
+							<?php else {
128
+	: ?>
128 129
 								<input class="text-langid" type="hidden"
129
-									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.languageid' ) ) ); ?>'.replace('idx', idx)"
130
+									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.languageid' ) ) );
131
+}
132
+?>'.replace('idx', idx)"
130 133
 									value="<?= $enc->attr( key( $languages ) ); ?>" />
131 134
 							<?php endif; ?>
132 135
 
@@ -155,9 +158,12 @@  discard block
 block discarded – undo
155 158
 										<?= $enc->html( $this->translate( 'admin', 'Types for additional texts like per one lb/kg or per month' ) ); ?>
156 159
 									</div>
157 160
 								</div>
158
-							<?php else : ?>
161
+							<?php else {
162
+	: ?>
159 163
 								<input class="item-type" type="hidden"
160
-									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.type' ) ) ); ?>'.replace('idx', idx)"
164
+									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.type' ) ) );
165
+}
166
+?>'.replace('idx', idx)"
161 167
 									value="<?= $enc->attr( key( $textTypes ) ); ?>" />
162 168
 							<?php endif; ?>
163 169
 
@@ -213,9 +219,12 @@  discard block
 block discarded – undo
213 219
 										<?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?>
214 220
 									</div>
215 221
 								</div>
216
-							<?php else : ?>
222
+							<?php else {
223
+	: ?>
217 224
 								<input class="listitem-type" type="hidden"
218
-									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'service.lists.type' ) ) ); ?>'.replace('idx', idx)"
225
+									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'service.lists.type' ) ) );
226
+}
227
+?>'.replace('idx', idx)"
219 228
 									value="<?= $enc->attr( key( $listTypes ) ); ?>"
220 229
 									v-model="items[idx]['service.lists.type']" />
221 230
 							<?php endif; ?>
Please login to merge, or discard this patch.
admin/jqadm/templates/product/item-price-standard.php 1 patch
Braces   +15 added lines, -6 removed lines patch added patch discarded remove patch
@@ -160,9 +160,12 @@  discard block
 block discarded – undo
160 160
 										</select>
161 161
 									</div>
162 162
 								</div>
163
-							<?php else : ?>
163
+							<?php else {
164
+	: ?>
164 165
 								<input class="item-currencyid" type="hidden"
165
-									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.currencyid' ) ) ); ?>'.replace('idx', idx)"
166
+									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.currencyid' ) ) );
167
+}
168
+?>'.replace('idx', idx)"
166 169
 									value="<?= $enc->attr( key( $currencies ) ); ?>" />
167 170
 							<?php endif; ?>
168 171
 
@@ -190,9 +193,12 @@  discard block
 block discarded – undo
190 193
 										<?= $enc->html( $this->translate( 'admin', 'Types for additional prices like per one lb/kg or per month' ) ); ?>
191 194
 									</div>
192 195
 								</div>
193
-							<?php else : ?>
196
+							<?php else {
197
+	: ?>
194 198
 								<input class="item-type" type="hidden"
195
-									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.type' ) ) ); ?>'.replace('idx', idx)"
199
+									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.type' ) ) );
200
+}
201
+?>'.replace('idx', idx)"
196 202
 									value="<?= $enc->attr( key( $priceTypes ) ); ?>" />
197 203
 							<?php endif; ?>
198 204
 
@@ -248,9 +254,12 @@  discard block
 block discarded – undo
248 254
 										<?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?>
249 255
 									</div>
250 256
 								</div>
251
-							<?php else : ?>
257
+							<?php else {
258
+	: ?>
252 259
 								<input class="listitem-type" type="hidden"
253
-									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'product.lists.type' ) ) ); ?>'.replace('idx', idx)"
260
+									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'product.lists.type' ) ) );
261
+}
262
+?>'.replace('idx', idx)"
254 263
 									value="<?= $enc->attr( key( $listTypes ) ); ?>"
255 264
 									v-model="items[idx]['product.lists.type']" />
256 265
 							<?php endif; ?>
Please login to merge, or discard this patch.
admin/jqadm/templates/product/item-media-standard.php 1 patch
Braces   +10 added lines, -4 removed lines patch added patch discarded remove patch
@@ -124,9 +124,12 @@  discard block
 block discarded – undo
124 124
 										<?= $enc->html( $this->translate( 'admin', 'Types for additional images like icons' ) ); ?>
125 125
 									</div>
126 126
 								</div>
127
-							<?php else : ?>
127
+							<?php else {
128
+	: ?>
128 129
 								<input class="item-type" type="hidden"
129
-									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'media.type' ) ) ); ?>'.replace( 'idx', idx )"
130
+									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'media.type' ) ) );
131
+}
132
+?>'.replace( 'idx', idx )"
130 133
 									value="<?= $enc->attr( key( $mediaTypes ) ); ?>" />
131 134
 							<?php endif; ?>
132 135
 
@@ -204,9 +207,12 @@  discard block
 block discarded – undo
204 207
 										<?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?>
205 208
 									</div>
206 209
 								</div>
207
-							<?php else : ?>
210
+							<?php else {
211
+	: ?>
208 212
 								<input class="listitem-type" type="hidden"
209
-									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'product.lists.type' ) ) ); ?>'.replace( 'idx', idx )"
213
+									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'product.lists.type' ) ) );
214
+}
215
+?>'.replace( 'idx', idx )"
210 216
 									value="<?= $enc->attr( key( $listTypes ) ); ?>"
211 217
 									v-model="items[idx]['product.lists.type']" />
212 218
 							<?php endif; ?>
Please login to merge, or discard this patch.
admin/jqadm/templates/product/item-text-standard.php 1 patch
Braces   +15 added lines, -6 removed lines patch added patch discarded remove patch
@@ -124,9 +124,12 @@  discard block
 block discarded – undo
124 124
 										<?= $enc->html( $this->translate( 'admin', 'Language of the entered text' ) ); ?>
125 125
 									</div>
126 126
 								</div>
127
-							<?php else : ?>
127
+							<?php else {
128
+	: ?>
128 129
 								<input class="text-langid" type="hidden"
129
-									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.languageid' ) ) ); ?>'.replace('idx', idx)"
130
+									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.languageid' ) ) );
131
+}
132
+?>'.replace('idx', idx)"
130 133
 									value="<?= $enc->attr( key( $languages ) ); ?>" />
131 134
 							<?php endif; ?>
132 135
 
@@ -155,9 +158,12 @@  discard block
 block discarded – undo
155 158
 										<?= $enc->html( $this->translate( 'admin', 'Types for additional texts like per one lb/kg or per month' ) ); ?>
156 159
 									</div>
157 160
 								</div>
158
-							<?php else : ?>
161
+							<?php else {
162
+	: ?>
159 163
 								<input class="item-type" type="hidden"
160
-									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.type' ) ) ); ?>'.replace('idx', idx)"
164
+									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.type' ) ) );
165
+}
166
+?>'.replace('idx', idx)"
161 167
 									value="<?= $enc->attr( key( $textTypes ) ); ?>" />
162 168
 							<?php endif; ?>
163 169
 
@@ -213,9 +219,12 @@  discard block
 block discarded – undo
213 219
 										<?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?>
214 220
 									</div>
215 221
 								</div>
216
-							<?php else : ?>
222
+							<?php else {
223
+	: ?>
217 224
 								<input class="listitem-type" type="hidden"
218
-									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'product.lists.type' ) ) ); ?>'.replace('idx', idx)"
225
+									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'product.lists.type' ) ) );
226
+}
227
+?>'.replace('idx', idx)"
219 228
 									value="<?= $enc->attr( key( $listTypes ) ); ?>"
220 229
 									v-model="items[idx]['product.lists.type']" />
221 230
 							<?php endif; ?>
Please login to merge, or discard this patch.
admin/jqadm/templates/catalog/item-media-standard.php 1 patch
Braces   +10 added lines, -4 removed lines patch added patch discarded remove patch
@@ -124,9 +124,12 @@  discard block
 block discarded – undo
124 124
 										<?= $enc->html( $this->translate( 'admin', 'Types for additional images like icons' ) ); ?>
125 125
 									</div>
126 126
 								</div>
127
-							<?php else : ?>
127
+							<?php else {
128
+	: ?>
128 129
 								<input class="item-type" type="hidden"
129
-									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'media.type' ) ) ); ?>'.replace( 'idx', idx )"
130
+									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'media.type' ) ) );
131
+}
132
+?>'.replace( 'idx', idx )"
130 133
 									value="<?= $enc->attr( key( $mediaTypes ) ); ?>" />
131 134
 							<?php endif; ?>
132 135
 
@@ -204,9 +207,12 @@  discard block
 block discarded – undo
204 207
 										<?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?>
205 208
 									</div>
206 209
 								</div>
207
-							<?php else : ?>
210
+							<?php else {
211
+	: ?>
208 212
 								<input class="listitem-type" type="hidden"
209
-									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'catalog.lists.type' ) ) ); ?>'.replace( 'idx', idx )"
213
+									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'catalog.lists.type' ) ) );
214
+}
215
+?>'.replace( 'idx', idx )"
210 216
 									value="<?= $enc->attr( key( $listTypes ) ); ?>"
211 217
 									v-model="items[idx]['catalog.lists.type']" />
212 218
 							<?php endif; ?>
Please login to merge, or discard this patch.
admin/jqadm/templates/catalog/item-text-standard.php 1 patch
Braces   +15 added lines, -6 removed lines patch added patch discarded remove patch
@@ -124,9 +124,12 @@  discard block
 block discarded – undo
124 124
 										<?= $enc->html( $this->translate( 'admin', 'Language of the entered text' ) ); ?>
125 125
 									</div>
126 126
 								</div>
127
-							<?php else : ?>
127
+							<?php else {
128
+	: ?>
128 129
 								<input class="text-langid" type="hidden"
129
-									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.languageid' ) ) ); ?>'.replace('idx', idx)"
130
+									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.languageid' ) ) );
131
+}
132
+?>'.replace('idx', idx)"
130 133
 									value="<?= $enc->attr( key( $languages ) ); ?>" />
131 134
 							<?php endif; ?>
132 135
 
@@ -155,9 +158,12 @@  discard block
 block discarded – undo
155 158
 										<?= $enc->html( $this->translate( 'admin', 'Types for additional texts like per one lb/kg or per month' ) ); ?>
156 159
 									</div>
157 160
 								</div>
158
-							<?php else : ?>
161
+							<?php else {
162
+	: ?>
159 163
 								<input class="item-type" type="hidden"
160
-									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.type' ) ) ); ?>'.replace('idx', idx)"
164
+									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.type' ) ) );
165
+}
166
+?>'.replace('idx', idx)"
161 167
 									value="<?= $enc->attr( key( $textTypes ) ); ?>" />
162 168
 							<?php endif; ?>
163 169
 
@@ -213,9 +219,12 @@  discard block
 block discarded – undo
213 219
 										<?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?>
214 220
 									</div>
215 221
 								</div>
216
-							<?php else : ?>
222
+							<?php else {
223
+	: ?>
217 224
 								<input class="listitem-type" type="hidden"
218
-									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'catalog.lists.type' ) ) ); ?>'.replace('idx', idx)"
225
+									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'catalog.lists.type' ) ) );
226
+}
227
+?>'.replace('idx', idx)"
219 228
 									value="<?= $enc->attr( key( $listTypes ) ); ?>"
220 229
 									v-model="items[idx]['catalog.lists.type']" />
221 230
 							<?php endif; ?>
Please login to merge, or discard this patch.