Passed
Push — master ( bf45b2...a4371c )
by Aimeos
03:37
created
admin/jqadm/templates/attribute/item-price-property-standard.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
 				</th>
25 25
 				<th class="actions">
26 26
 					<div class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
27
-						title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"
27
+						title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"
28 28
 						v-on:click="addPropertyItem(idx)">
29 29
 					</div>
30 30
 				</th>
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
 
78 78
 				<td class="actions">
79 79
 					<div v-if="!checkSite('price.siteid', idx)" class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
80
-						title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"
80
+						title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"
81 81
 						v-on:click.stop="removePropertyItem(idx, propidx)">
82 82
 					</div>
83 83
 				</td>
Please login to merge, or discard this patch.
admin/jqadm/templates/service/item-price-property-standard.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
 				</th>
25 25
 				<th class="actions">
26 26
 					<div class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
27
-						title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"
27
+						title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"
28 28
 						v-on:click="addPropertyItem(idx)">
29 29
 					</div>
30 30
 				</th>
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
 
78 78
 				<td class="actions">
79 79
 					<div v-if="!checkSite('price.siteid', idx)" class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
80
-						title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"
80
+						title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"
81 81
 						v-on:click.stop="removePropertyItem(idx, propidx)">
82 82
 					</div>
83 83
 				</td>
Please login to merge, or discard this patch.
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
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.
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>
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
 						</div>
43 43
 						<div v-if="!checkSite('attribute.lists.siteid', idx)"
44 44
 							class="btn btn-card-header act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
45
-							title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"
45
+							title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"
46 46
 							v-on:click.stop="removeItem(idx)">
47 47
 						</div>
48 48
 					</div>
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
 								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'media.url' ) ) ); ?>'.replace( 'idx', idx )"
65 65
 								v-model="items[idx]['media.url']" />
66 66
 							<img v-if="items[idx]['media.preview']" class="item-preview"
67
-								v-bind:src="getUrl('<?= $this->content('') ?>', items[idx]['media.preview'])"
67
+								v-bind:src="getUrl('<?= $this->content( '' ) ?>', items[idx]['media.preview'])"
68 68
 								v-bind:alt="items[idx]['media.label']" />
69 69
 							<p v-else class="item-preview">
70 70
 								{{ items[idx]['media.label'] || '<?= $enc->html( $this->translate( 'admin', 'Select file' ) ) ?>' }}
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
 					<div v-on:click="toggle(idx)" class="col-xl-12 advanced" v-bind:class="{ 'collapsed': !advanced[idx] }">
174 174
 						<div class="card-tools-left">
175 175
 							<div class="btn act-show fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
176
-								title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide advanced data') ); ?>">
176
+								title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide advanced data' ) ); ?>">
177 177
 							</div>
178 178
 						</div>
179 179
 						<span class="header-label"><?= $enc->html( $this->translate( 'admin', 'Advanced' ) ); ?></span>
@@ -252,7 +252,7 @@  discard block
 block discarded – undo
252 252
 									</th>
253 253
 									<th class="actions">
254 254
 										<div class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
255
-											title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"
255
+											title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"
256 256
 											v-bind:readonly="checkSite('attribute.lists.siteid', idx)"
257 257
 											v-on:click="addConfig(idx)" >
258 258
 										</div>
@@ -279,7 +279,7 @@  discard block
 block discarded – undo
279 279
 									<td class="actions">
280 280
 										<div v-if="!checkSite('attribute.lists.siteid', idx)" v-on:click="removeConfig(idx, pos)"
281 281
 											class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
282
-											title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>">
282
+											title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>">
283 283
 										</div>
284 284
 									</td>
285 285
 								</tr>
@@ -295,7 +295,7 @@  discard block
 block discarded – undo
295 295
 
296 296
 			<div slot="footer" 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.
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-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
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.
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>
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
 						</div>
43 43
 						<div v-if="!checkSite('service.lists.siteid', idx)"
44 44
 							class="btn btn-card-header act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
45
-							title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"
45
+							title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"
46 46
 							v-on:click.stop="removeItem(idx)">
47 47
 						</div>
48 48
 					</div>
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
 					<div v-on:click="toggle(idx)" class="col-xl-12 advanced" v-bind:class="{ 'collapsed': !advanced[idx] }">
181 181
 						<div class="card-tools-left">
182 182
 							<div class="btn act-show fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
183
-								title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide advanced data') ); ?>">
183
+								title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide advanced data' ) ); ?>">
184 184
 							</div>
185 185
 						</div>
186 186
 						<span class="header-label"><?= $enc->html( $this->translate( 'admin', 'Advanced' ) ); ?></span>
@@ -262,7 +262,7 @@  discard block
 block discarded – undo
262 262
 									</th>
263 263
 									<th class="actions">
264 264
 										<div class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
265
-											title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"
265
+											title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"
266 266
 											v-bind:readonly="checkSite('service.lists.siteid', idx)"
267 267
 											v-on:click="addConfig(idx)" >
268 268
 										</div>
@@ -289,7 +289,7 @@  discard block
 block discarded – undo
289 289
 									<td class="actions">
290 290
 										<div v-if="!checkSite('service.lists.siteid', idx)" v-on:click="removeConfig(idx, pos)"
291 291
 											class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
292
-											title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>">
292
+											title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>">
293 293
 										</div>
294 294
 									</td>
295 295
 								</tr>
@@ -305,7 +305,7 @@  discard block
 block discarded – undo
305 305
 
306 306
 			<div slot="footer" 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.
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.