Passed
Push — master ( 577c14...8248a2 )
by Aimeos
03:32
created
admin/jqadm/templates/attribute/item-price-standard.php 1 patch
Braces   +15 added lines, -6 removed lines patch added patch discarded remove patch
@@ -158,9 +158,12 @@  discard block
 block discarded – undo
158 158
 									</select>
159 159
 								</div>
160 160
 							</div>
161
-						<?php else : ?>
161
+						<?php else {
162
+	: ?>
162 163
 							<input class="item-currencyid" type="hidden"
163
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.currencyid' ) ) ); ?>'.replace('idx', idx)"
164
+								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.currencyid' ) ) );
165
+}
166
+?>'.replace('idx', idx)"
164 167
 								value="<?= $enc->attr( key( $currencies ) ); ?>" />
165 168
 						<?php endif; ?>
166 169
 
@@ -188,9 +191,12 @@  discard block
 block discarded – undo
188 191
 									<?= $enc->html( $this->translate( 'admin', 'Types for additional prices like per one lb/kg or per month' ) ); ?>
189 192
 								</div>
190 193
 							</div>
191
-						<?php else : ?>
194
+						<?php else {
195
+	: ?>
192 196
 							<input class="item-type" type="hidden"
193
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.type' ) ) ); ?>'.replace('idx', idx)"
197
+								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.type' ) ) );
198
+}
199
+?>'.replace('idx', idx)"
194 200
 								value="<?= $enc->attr( key( $priceTypes ) ); ?>" />
195 201
 						<?php endif; ?>
196 202
 
@@ -246,9 +252,12 @@  discard block
 block discarded – undo
246 252
 									<?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?>
247 253
 								</div>
248 254
 							</div>
249
-						<?php else : ?>
255
+						<?php else {
256
+	: ?>
250 257
 							<input class="listitem-type" type="hidden"
251
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'attribute.lists.type' ) ) ); ?>'.replace('idx', idx)"
258
+								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'attribute.lists.type' ) ) );
259
+}
260
+?>'.replace('idx', idx)"
252 261
 								value="<?= $enc->attr( key( $listTypes ) ); ?>"
253 262
 								v-model="items[idx]['attribute.lists.type']" />
254 263
 						<?php endif; ?>
Please login to merge, or discard this patch.
admin/jqadm/templates/attribute/item-media-standard.php 2 patches
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
 					v-bind:aria-controls="'item-media-group-data-' + idx" aria-expanded="false">
31 31
 					<div class="card-tools-left">
32 32
 						<div class="btn btn-card-header act-show fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
33
-							title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide this entry') ); ?>">
33
+							title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide this entry' ) ); ?>">
34 34
 						</div>
35 35
 					</div>
36 36
 					<span class="item-label header-label" v-html="getLabel(idx)"></span>
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
 						</div>
42 42
 						<div v-if="!checkSite('attribute.lists.siteid', idx)"
43 43
 							class="btn btn-card-header act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
44
-							title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"
44
+							title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"
45 45
 							v-on:click.stop="removeItem(idx)">
46 46
 						</div>
47 47
 					</div>
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
 								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'media.url' ) ) ); ?>'.replace( 'idx', idx )"
64 64
 								v-model="items[idx]['media.url']" />
65 65
 							<img v-if="items[idx]['media.preview']" class="item-preview"
66
-								v-bind:src="getUrl('<?= $this->content('') ?>', items[idx]['media.preview'])"
66
+								v-bind:src="getUrl('<?= $this->content( '' ) ?>', items[idx]['media.preview'])"
67 67
 								v-bind:alt="items[idx]['media.label']" />
68 68
 							<p v-else class="item-preview">
69 69
 								{{ items[idx]['media.label'] || '<?= $enc->html( $this->translate( 'admin', 'Select file' ) ) ?>' }}
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
 					<div v-on:click="toggle(idx)" class="col-xl-12 advanced" v-bind:class="{ 'collapsed': !advanced[idx] }">
173 173
 						<div class="card-tools-left">
174 174
 							<div class="btn act-show fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
175
-								title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide advanced data') ); ?>">
175
+								title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide advanced data' ) ); ?>">
176 176
 							</div>
177 177
 						</div>
178 178
 						<span class="header-label"><?= $enc->html( $this->translate( 'admin', 'Advanced' ) ); ?></span>
@@ -251,7 +251,7 @@  discard block
 block discarded – undo
251 251
 									</th>
252 252
 									<th class="actions">
253 253
 										<div class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
254
-											title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"
254
+											title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"
255 255
 											v-bind:readonly="checkSite('attribute.lists.siteid', idx)"
256 256
 											v-on:click="addConfig(idx)" >
257 257
 										</div>
@@ -278,7 +278,7 @@  discard block
 block discarded – undo
278 278
 									<td class="actions">
279 279
 										<div v-if="!checkSite('attribute.lists.siteid', idx)" v-on:click="removeConfig(idx, pos)"
280 280
 											class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
281
-											title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>">
281
+											title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>">
282 282
 										</div>
283 283
 									</td>
284 284
 								</tr>
@@ -295,7 +295,7 @@  discard block
 block discarded – undo
295 295
 
296 296
 		<div class="card-tools-more">
297 297
 			<div class="btn btn-primary btn-card-more act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
298
-				title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"
298
+				title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"
299 299
 				v-on:click="addItem('attribute.lists.')" >
300 300
 			</div>
301 301
 		</div>
Please login to merge, or discard this patch.
Braces   +10 added lines, -4 removed lines patch added patch discarded remove patch
@@ -122,9 +122,12 @@  discard block
 block discarded – undo
122 122
 									<?= $enc->html( $this->translate( 'admin', 'Types for additional images like icons' ) ); ?>
123 123
 								</div>
124 124
 							</div>
125
-						<?php else : ?>
125
+						<?php else {
126
+	: ?>
126 127
 							<input class="item-type" type="hidden"
127
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'media.type' ) ) ); ?>'.replace( 'idx', idx )"
128
+								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'media.type' ) ) );
129
+}
130
+?>'.replace( 'idx', idx )"
128 131
 								value="<?= $enc->attr( key( $mediaTypes ) ); ?>" />
129 132
 						<?php endif; ?>
130 133
 
@@ -202,9 +205,12 @@  discard block
 block discarded – undo
202 205
 									<?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?>
203 206
 								</div>
204 207
 							</div>
205
-						<?php else : ?>
208
+						<?php else {
209
+	: ?>
206 210
 							<input class="listitem-type" type="hidden"
207
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'attribute.lists.type' ) ) ); ?>'.replace( 'idx', idx )"
211
+								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'attribute.lists.type' ) ) );
212
+}
213
+?>'.replace( 'idx', idx )"
208 214
 								value="<?= $enc->attr( key( $listTypes ) ); ?>"
209 215
 								v-model="items[idx]['attribute.lists.type']" />
210 216
 						<?php endif; ?>
Please login to merge, or discard this patch.
admin/jqadm/templates/attribute/item-text-standard.php 1 patch
Braces   +15 added lines, -6 removed lines patch added patch discarded remove patch
@@ -122,9 +122,12 @@  discard block
 block discarded – undo
122 122
 									<?= $enc->html( $this->translate( 'admin', 'Language of the entered text' ) ); ?>
123 123
 								</div>
124 124
 							</div>
125
-						<?php else : ?>
125
+						<?php else {
126
+	: ?>
126 127
 							<input class="text-langid" type="hidden"
127
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.languageid' ) ) ); ?>'.replace('idx', idx)"
128
+								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.languageid' ) ) );
129
+}
130
+?>'.replace('idx', idx)"
128 131
 								value="<?= $enc->attr( key( $languages ) ); ?>" />
129 132
 						<?php endif; ?>
130 133
 
@@ -153,9 +156,12 @@  discard block
 block discarded – undo
153 156
 									<?= $enc->html( $this->translate( 'admin', 'Types for additional texts like per one lb/kg or per month' ) ); ?>
154 157
 								</div>
155 158
 							</div>
156
-						<?php else : ?>
159
+						<?php else {
160
+	: ?>
157 161
 							<input class="item-type" type="hidden"
158
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.type' ) ) ); ?>'.replace('idx', idx)"
162
+								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.type' ) ) );
163
+}
164
+?>'.replace('idx', idx)"
159 165
 								value="<?= $enc->attr( key( $textTypes ) ); ?>" />
160 166
 						<?php endif; ?>
161 167
 
@@ -211,9 +217,12 @@  discard block
 block discarded – undo
211 217
 									<?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?>
212 218
 								</div>
213 219
 							</div>
214
-						<?php else : ?>
220
+						<?php else {
221
+	: ?>
215 222
 							<input class="listitem-type" type="hidden"
216
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'attribute.lists.type' ) ) ); ?>'.replace('idx', idx)"
223
+								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'attribute.lists.type' ) ) );
224
+}
225
+?>'.replace('idx', idx)"
217 226
 								value="<?= $enc->attr( key( $listTypes ) ); ?>"
218 227
 								v-model="items[idx]['attribute.lists.type']" />
219 228
 						<?php endif; ?>
Please login to merge, or discard this patch.
admin/jqadm/templates/service/item-price-standard.php 1 patch
Braces   +15 added lines, -6 removed lines patch added patch discarded remove patch
@@ -158,9 +158,12 @@  discard block
 block discarded – undo
158 158
 										</select>
159 159
 									</div>
160 160
 								</div>
161
-							<?php else : ?>
161
+							<?php else {
162
+	: ?>
162 163
 								<input class="item-currencyid" type="hidden"
163
-									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.currencyid' ) ) ); ?>'.replace('idx', idx)"
164
+									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.currencyid' ) ) );
165
+}
166
+?>'.replace('idx', idx)"
164 167
 									value="<?= $enc->attr( key( $currencies ) ); ?>" />
165 168
 							<?php endif; ?>
166 169
 
@@ -188,9 +191,12 @@  discard block
 block discarded – undo
188 191
 										<?= $enc->html( $this->translate( 'admin', 'Types for additional prices like per one lb/kg or per month' ) ); ?>
189 192
 									</div>
190 193
 								</div>
191
-							<?php else : ?>
194
+							<?php else {
195
+	: ?>
192 196
 								<input class="item-type" type="hidden"
193
-									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.type' ) ) ); ?>'.replace('idx', idx)"
197
+									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.type' ) ) );
198
+}
199
+?>'.replace('idx', idx)"
194 200
 									value="<?= $enc->attr( key( $priceTypes ) ); ?>" />
195 201
 							<?php endif; ?>
196 202
 
@@ -246,9 +252,12 @@  discard block
 block discarded – undo
246 252
 										<?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?>
247 253
 									</div>
248 254
 								</div>
249
-							<?php else : ?>
255
+							<?php else {
256
+	: ?>
250 257
 								<input class="listitem-type" type="hidden"
251
-									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'service.lists.type' ) ) ); ?>'.replace('idx', idx)"
258
+									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'service.lists.type' ) ) );
259
+}
260
+?>'.replace('idx', idx)"
252 261
 									value="<?= $enc->attr( key( $listTypes ) ); ?>"
253 262
 									v-model="items[idx]['service.lists.type']" />
254 263
 							<?php endif; ?>
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
@@ -122,9 +122,12 @@  discard block
 block discarded – undo
122 122
 									<?= $enc->html( $this->translate( 'admin', 'Types for additional images like icons' ) ); ?>
123 123
 								</div>
124 124
 							</div>
125
-						<?php else : ?>
125
+						<?php else {
126
+	: ?>
126 127
 							<input class="item-type" type="hidden"
127
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'media.type' ) ) ); ?>'.replace( 'idx', idx )"
128
+								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'media.type' ) ) );
129
+}
130
+?>'.replace( 'idx', idx )"
128 131
 								value="<?= $enc->attr( key( $mediaTypes ) ); ?>" />
129 132
 						<?php endif; ?>
130 133
 
@@ -202,9 +205,12 @@  discard block
 block discarded – undo
202 205
 									<?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?>
203 206
 								</div>
204 207
 							</div>
205
-						<?php else : ?>
208
+						<?php else {
209
+	: ?>
206 210
 							<input class="listitem-type" type="hidden"
207
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'service.lists.type' ) ) ); ?>'.replace( 'idx', idx )"
211
+								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'service.lists.type' ) ) );
212
+}
213
+?>'.replace( 'idx', idx )"
208 214
 								value="<?= $enc->attr( key( $listTypes ) ); ?>"
209 215
 								v-model="items[idx]['service.lists.type']" />
210 216
 						<?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
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
 					v-bind:aria-controls="'item-text-group-data-' + idx" aria-expanded="false">
31 31
 					<div class="card-tools-left">
32 32
 						<div class="btn btn-card-header act-show fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
33
-							title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide this entry') ); ?>">
33
+							title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide this entry' ) ); ?>">
34 34
 						</div>
35 35
 					</div>
36 36
 					<span class="item-label header-label" v-html="getLabel(idx)"></span>
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
 						</div>
42 42
 						<div v-if="!checkSite('service.lists.siteid', idx)"
43 43
 							class="btn btn-card-header act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
44
-							title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"
44
+							title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"
45 45
 							v-on:click.stop="removeItem(idx)">
46 46
 						</div>
47 47
 					</div>
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
179 179
 					<div v-on:click="toggle(idx)" class="col-xl-12 advanced" v-bind:class="{ 'collapsed': !advanced[idx] }">
180 180
 						<div class="card-tools-left">
181 181
 							<div class="btn act-show fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
182
-								title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide advanced data') ); ?>">
182
+								title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide advanced data' ) ); ?>">
183 183
 							</div>
184 184
 						</div>
185 185
 						<span class="header-label"><?= $enc->html( $this->translate( 'admin', 'Advanced' ) ); ?></span>
@@ -261,7 +261,7 @@  discard block
 block discarded – undo
261 261
 									</th>
262 262
 									<th class="actions">
263 263
 										<div class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
264
-											title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"
264
+											title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"
265 265
 											v-bind:readonly="checkSite('service.lists.siteid', idx)"
266 266
 											v-on:click="addConfig(idx)" >
267 267
 										</div>
@@ -288,7 +288,7 @@  discard block
 block discarded – undo
288 288
 									<td class="actions">
289 289
 										<div v-if="!checkSite('service.lists.siteid', idx)" v-on:click="removeConfig(idx, pos)"
290 290
 											class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
291
-											title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>">
291
+											title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>">
292 292
 										</div>
293 293
 									</td>
294 294
 								</tr>
@@ -305,7 +305,7 @@  discard block
 block discarded – undo
305 305
 
306 306
 		<div class="card-tools-more">
307 307
 			<div class="btn btn-primary btn-card-more act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
308
-				title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"
308
+				title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"
309 309
 				v-on:click="addItem('service.lists.')" >
310 310
 			</div>
311 311
 		</div>
Please login to merge, or discard this patch.
Braces   +15 added lines, -6 removed lines patch added patch discarded remove patch
@@ -122,9 +122,12 @@  discard block
 block discarded – undo
122 122
 									<?= $enc->html( $this->translate( 'admin', 'Language of the entered text' ) ); ?>
123 123
 								</div>
124 124
 							</div>
125
-						<?php else : ?>
125
+						<?php else {
126
+	: ?>
126 127
 							<input class="text-langid" type="hidden"
127
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.languageid' ) ) ); ?>'.replace('idx', idx)"
128
+								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.languageid' ) ) );
129
+}
130
+?>'.replace('idx', idx)"
128 131
 								value="<?= $enc->attr( key( $languages ) ); ?>" />
129 132
 						<?php endif; ?>
130 133
 
@@ -153,9 +156,12 @@  discard block
 block discarded – undo
153 156
 									<?= $enc->html( $this->translate( 'admin', 'Types for additional texts like per one lb/kg or per month' ) ); ?>
154 157
 								</div>
155 158
 							</div>
156
-						<?php else : ?>
159
+						<?php else {
160
+	: ?>
157 161
 							<input class="item-type" type="hidden"
158
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.type' ) ) ); ?>'.replace('idx', idx)"
162
+								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.type' ) ) );
163
+}
164
+?>'.replace('idx', idx)"
159 165
 								value="<?= $enc->attr( key( $textTypes ) ); ?>" />
160 166
 						<?php endif; ?>
161 167
 
@@ -211,9 +217,12 @@  discard block
 block discarded – undo
211 217
 									<?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?>
212 218
 								</div>
213 219
 							</div>
214
-						<?php else : ?>
220
+						<?php else {
221
+	: ?>
215 222
 							<input class="listitem-type" type="hidden"
216
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'service.lists.type' ) ) ); ?>'.replace('idx', idx)"
223
+								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'service.lists.type' ) ) );
224
+}
225
+?>'.replace('idx', idx)"
217 226
 								value="<?= $enc->attr( key( $listTypes ) ); ?>"
218 227
 								v-model="items[idx]['service.lists.type']" />
219 228
 						<?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
@@ -158,9 +158,12 @@  discard block
 block discarded – undo
158 158
 									</select>
159 159
 								</div>
160 160
 							</div>
161
-						<?php else : ?>
161
+						<?php else {
162
+	: ?>
162 163
 							<input class="item-currencyid" type="hidden"
163
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.currencyid' ) ) ); ?>'.replace('idx', idx)"
164
+								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.currencyid' ) ) );
165
+}
166
+?>'.replace('idx', idx)"
164 167
 								value="<?= $enc->attr( key( $currencies ) ); ?>" />
165 168
 						<?php endif; ?>
166 169
 
@@ -188,9 +191,12 @@  discard block
 block discarded – undo
188 191
 									<?= $enc->html( $this->translate( 'admin', 'Types for additional prices like per one lb/kg or per month' ) ); ?>
189 192
 								</div>
190 193
 							</div>
191
-						<?php else : ?>
194
+						<?php else {
195
+	: ?>
192 196
 							<input class="item-type" type="hidden"
193
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.type' ) ) ); ?>'.replace('idx', idx)"
197
+								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.type' ) ) );
198
+}
199
+?>'.replace('idx', idx)"
194 200
 								value="<?= $enc->attr( key( $priceTypes ) ); ?>" />
195 201
 						<?php endif; ?>
196 202
 
@@ -246,9 +252,12 @@  discard block
 block discarded – undo
246 252
 									<?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?>
247 253
 								</div>
248 254
 							</div>
249
-						<?php else : ?>
255
+						<?php else {
256
+	: ?>
250 257
 							<input class="listitem-type" type="hidden"
251
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'product.lists.type' ) ) ); ?>'.replace('idx', idx)"
258
+								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'product.lists.type' ) ) );
259
+}
260
+?>'.replace('idx', idx)"
252 261
 								value="<?= $enc->attr( key( $listTypes ) ); ?>"
253 262
 								v-model="items[idx]['product.lists.type']" />
254 263
 						<?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
@@ -122,9 +122,12 @@  discard block
 block discarded – undo
122 122
 									<?= $enc->html( $this->translate( 'admin', 'Types for additional images like icons' ) ); ?>
123 123
 								</div>
124 124
 							</div>
125
-						<?php else : ?>
125
+						<?php else {
126
+	: ?>
126 127
 							<input class="item-type" type="hidden"
127
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'media.type' ) ) ); ?>'.replace( 'idx', idx )"
128
+								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'media.type' ) ) );
129
+}
130
+?>'.replace( 'idx', idx )"
128 131
 								value="<?= $enc->attr( key( $mediaTypes ) ); ?>" />
129 132
 						<?php endif; ?>
130 133
 
@@ -202,9 +205,12 @@  discard block
 block discarded – undo
202 205
 									<?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?>
203 206
 								</div>
204 207
 							</div>
205
-						<?php else : ?>
208
+						<?php else {
209
+	: ?>
206 210
 							<input class="listitem-type" type="hidden"
207
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'product.lists.type' ) ) ); ?>'.replace( 'idx', idx )"
211
+								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'product.lists.type' ) ) );
212
+}
213
+?>'.replace( 'idx', idx )"
208 214
 								value="<?= $enc->attr( key( $listTypes ) ); ?>"
209 215
 								v-model="items[idx]['product.lists.type']" />
210 216
 						<?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
@@ -122,9 +122,12 @@  discard block
 block discarded – undo
122 122
 									<?= $enc->html( $this->translate( 'admin', 'Language of the entered text' ) ); ?>
123 123
 								</div>
124 124
 							</div>
125
-						<?php else : ?>
125
+						<?php else {
126
+	: ?>
126 127
 							<input class="text-langid" type="hidden"
127
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.languageid' ) ) ); ?>'.replace('idx', idx)"
128
+								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.languageid' ) ) );
129
+}
130
+?>'.replace('idx', idx)"
128 131
 								value="<?= $enc->attr( key( $languages ) ); ?>" />
129 132
 						<?php endif; ?>
130 133
 
@@ -153,9 +156,12 @@  discard block
 block discarded – undo
153 156
 									<?= $enc->html( $this->translate( 'admin', 'Types for additional texts like per one lb/kg or per month' ) ); ?>
154 157
 								</div>
155 158
 							</div>
156
-						<?php else : ?>
159
+						<?php else {
160
+	: ?>
157 161
 							<input class="item-type" type="hidden"
158
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.type' ) ) ); ?>'.replace('idx', idx)"
162
+								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.type' ) ) );
163
+}
164
+?>'.replace('idx', idx)"
159 165
 								value="<?= $enc->attr( key( $textTypes ) ); ?>" />
160 166
 						<?php endif; ?>
161 167
 
@@ -211,9 +217,12 @@  discard block
 block discarded – undo
211 217
 									<?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?>
212 218
 								</div>
213 219
 							</div>
214
-						<?php else : ?>
220
+						<?php else {
221
+	: ?>
215 222
 							<input class="listitem-type" type="hidden"
216
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'product.lists.type' ) ) ); ?>'.replace('idx', idx)"
223
+								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'product.lists.type' ) ) );
224
+}
225
+?>'.replace('idx', idx)"
217 226
 								value="<?= $enc->attr( key( $listTypes ) ); ?>"
218 227
 								v-model="items[idx]['product.lists.type']" />
219 228
 						<?php endif; ?>
Please login to merge, or discard this patch.