Passed
Branch master (d032f7)
by Aimeos
05:30
created
admin/jqadm/templates/product/item-stock-standard.php 2 patches
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -73,9 +73,12 @@
 block discarded – undo
73 73
 							<?php endforeach; ?>
74 74
 						</select>
75 75
 					</td>
76
-				<?php else : ?>
76
+				<?php else {
77
+	: ?>
77 78
 					<input class="item-type" type="hidden"
78
-						name="<?= $enc->attr( $this->formparam( array( 'stock', 'stock.type', '' ) ) ); ?>"
79
+						name="<?= $enc->attr( $this->formparam( array( 'stock', 'stock.type', '' ) ) );
80
+}
81
+?>"
79 82
 						value="<?= $enc->attr( key( $stockTypes ) ); ?>" />
80 83
 				<?php endif; ?>
81 84
 				<td class="stock-stocklevel optional">
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
 				</th>
47 47
 				<th class="actions">
48 48
 					<div v-if="(items['stock.id'] || []).length < numtypes" class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
49
-						title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"
49
+						title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"
50 50
 						v-on:click="addItem()">
51 51
 					</div>
52 52
 				</th>
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
 						name="<?= $enc->attr( $this->formparam( array( 'stock', 'stock.id', '' ) ) ); ?>" />
97 97
 
98 98
 					<div v-if="!checkSite('stock.siteid', idx)" class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
99
-						title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"
99
+						title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"
100 100
 						v-on:click.stop="removeItem(idx)">
101 101
 					</div>
102 102
 				</td>
Please login to merge, or discard this patch.
admin/jqadm/templates/product/item-text-standard.php 2 patches
Braces   +15 added lines, -6 removed lines patch added patch discarded remove patch
@@ -115,9 +115,12 @@  discard block
 block discarded – undo
115 115
 								<?= $enc->html( $this->translate( 'admin', 'Language of the entered text' ) ); ?>
116 116
 							</div>
117 117
 						</div>
118
-					<?php else : ?>
118
+					<?php else {
119
+	: ?>
119 120
 						<input class="text-langid" type="hidden"
120
-							v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.languageid' ) ) ); ?>'.replace('idx', idx)"
121
+							v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.languageid' ) ) );
122
+}
123
+?>'.replace('idx', idx)"
121 124
 							value="<?= $enc->attr( key( $languages ) ); ?>" />
122 125
 					<?php endif; ?>
123 126
 
@@ -146,9 +149,12 @@  discard block
 block discarded – undo
146 149
 								<?= $enc->html( $this->translate( 'admin', 'Types for additional texts like per one lb/kg or per month' ) ); ?>
147 150
 							</div>
148 151
 						</div>
149
-					<?php else : ?>
152
+					<?php else {
153
+	: ?>
150 154
 						<input class="item-type" type="hidden"
151
-							v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.type' ) ) ); ?>'.replace('idx', idx)"
155
+							v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.type' ) ) );
156
+}
157
+?>'.replace('idx', idx)"
152 158
 							value="<?= $enc->attr( key( $textTypes ) ); ?>" />
153 159
 					<?php endif; ?>
154 160
 
@@ -204,9 +210,12 @@  discard block
 block discarded – undo
204 210
 								<?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?>
205 211
 							</div>
206 212
 						</div>
207
-					<?php else : ?>
213
+					<?php else {
214
+	: ?>
208 215
 						<input class="listitem-type" type="hidden"
209
-							v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'product.lists.type' ) ) ); ?>'.replace('idx', idx)"
216
+							v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'product.lists.type' ) ) );
217
+}
218
+?>'.replace('idx', idx)"
210 219
 							value="<?= $enc->attr( key( $listTypes ) ); ?>"
211 220
 							v-model="items[idx]['product.lists.type']" />
212 221
 					<?php endif; ?>
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
 				v-bind:aria-controls="'item-text-group-data-' + idx" aria-expanded="false">
30 30
 				<div class="card-tools-left">
31 31
 					<div class="btn btn-card-header act-show fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
32
-						title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide this entry') ); ?>">
32
+						title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide this entry' ) ); ?>">
33 33
 					</div>
34 34
 				</div>
35 35
 				<span class="item-label header-label" v-html="getLabel(idx)"></span>
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
 				<div class="card-tools-right">
38 38
 					<div v-if="!checkSite('product.lists.siteid', idx)"
39 39
 						class="btn btn-card-header act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
40
-						title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"
40
+						title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"
41 41
 						v-on:click.stop="removeItem(idx)">
42 42
 					</div>
43 43
 				</div>
@@ -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>
@@ -254,7 +254,7 @@  discard block
 block discarded – undo
254 254
 								</th>
255 255
 								<th class="actions">
256 256
 									<div class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
257
-										title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"
257
+										title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"
258 258
 										v-bind:readonly="checkSite('product.lists.siteid', idx)"
259 259
 										v-on:click="addConfig(idx)" >
260 260
 									</div>
@@ -281,7 +281,7 @@  discard block
 block discarded – undo
281 281
 								<td class="actions">
282 282
 									<div v-if="!checkSite('product.lists.siteid', idx)" v-on:click="removeConfig(idx, pos)"
283 283
 										class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
284
-										title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>">
284
+										title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>">
285 285
 									</div>
286 286
 								</td>
287 287
 							</tr>
@@ -297,7 +297,7 @@  discard block
 block discarded – undo
297 297
 
298 298
 		<div class="card-tools-more">
299 299
 			<div class="btn btn-primary btn-card-more act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
300
-				title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"
300
+				title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"
301 301
 				v-on:click="addItem('product.lists.')" >
302 302
 			</div>
303 303
 		</div>
Please login to merge, or discard this patch.
admin/jqadm/templates/product/item-price-standard.php 2 patches
Braces   +15 added lines, -6 removed lines patch added patch discarded remove patch
@@ -154,9 +154,12 @@  discard block
 block discarded – undo
154 154
 								</select>
155 155
 							</div>
156 156
 						</div>
157
-					<?php else : ?>
157
+					<?php else {
158
+	: ?>
158 159
 						<input class="item-currencyid" type="hidden"
159
-							v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.currencyid' ) ) ); ?>'.replace('idx', idx)"
160
+							v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.currencyid' ) ) );
161
+}
162
+?>'.replace('idx', idx)"
160 163
 							value="<?= $enc->attr( key( $currencies ) ); ?>" />
161 164
 					<?php endif; ?>
162 165
 
@@ -184,9 +187,12 @@  discard block
 block discarded – undo
184 187
 								<?= $enc->html( $this->translate( 'admin', 'Types for additional prices like per one lb/kg or per month' ) ); ?>
185 188
 							</div>
186 189
 						</div>
187
-					<?php else : ?>
190
+					<?php else {
191
+	: ?>
188 192
 						<input class="item-type" type="hidden"
189
-							v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.type' ) ) ); ?>'.replace('idx', idx)"
193
+							v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.type' ) ) );
194
+}
195
+?>'.replace('idx', idx)"
190 196
 							value="<?= $enc->attr( key( $priceTypes ) ); ?>" />
191 197
 					<?php endif; ?>
192 198
 
@@ -242,9 +248,12 @@  discard block
 block discarded – undo
242 248
 								<?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?>
243 249
 							</div>
244 250
 						</div>
245
-					<?php else : ?>
251
+					<?php else {
252
+	: ?>
246 253
 						<input class="listitem-type" type="hidden"
247
-							v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'product.lists.type' ) ) ); ?>'.replace('idx', idx)"
254
+							v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'product.lists.type' ) ) );
255
+}
256
+?>'.replace('idx', idx)"
248 257
 							value="<?= $enc->attr( key( $listTypes ) ); ?>"
249 258
 							v-model="items[idx]['product.lists.type']" />
250 259
 					<?php endif; ?>
Please login to merge, or discard this patch.
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-price-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>
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
 				<div class="card-tools-right">
40 40
 					<div v-if="!checkSite('product.lists.siteid', idx)"
41 41
 						class="btn btn-card-header act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
42
-						title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"
42
+						title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"
43 43
 						v-on:click.stop="removeItem(idx)">
44 44
 					</div>
45 45
 				</div>
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
 				<div v-on:click="toggle(idx)" class="col-xl-12 advanced" v-bind:class="{ 'collapsed': !advanced[idx] }">
211 211
 					<div class="card-tools-left">
212 212
 						<div class="btn act-show fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
213
-							title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide advanced data') ); ?>">
213
+							title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide advanced data' ) ); ?>">
214 214
 						</div>
215 215
 					</div>
216 216
 					<span class="header-label"><?= $enc->html( $this->translate( 'admin', 'Advanced' ) ); ?></span>
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
292 292
 								</th>
293 293
 								<th class="actions">
294 294
 									<div class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
295
-										title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"
295
+										title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"
296 296
 										v-bind:readonly="checkSite('product.lists.siteid', idx)"
297 297
 										v-on:click="addConfig(idx)" >
298 298
 									</div>
@@ -319,7 +319,7 @@  discard block
 block discarded – undo
319 319
 								<td class="actions">
320 320
 									<div v-if="!checkSite('product.lists.siteid', idx)" v-on:click="removeConfig(idx, pos)"
321 321
 										class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
322
-										title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>">
322
+										title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>">
323 323
 									</div>
324 324
 								</td>
325 325
 							</tr>
@@ -335,7 +335,7 @@  discard block
 block discarded – undo
335 335
 
336 336
 		<div class="card-tools-more">
337 337
 			<div class="btn btn-primary btn-card-more act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
338
-				title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"
338
+				title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"
339 339
 				v-on:click="addItem('product.lists.')" >
340 340
 			</div>
341 341
 		</div>
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
@@ -115,9 +115,12 @@  discard block
 block discarded – undo
115 115
 								<?= $enc->html( $this->translate( 'admin', 'Language of the entered text' ) ); ?>
116 116
 							</div>
117 117
 						</div>
118
-					<?php else : ?>
118
+					<?php else {
119
+	: ?>
119 120
 						<input class="text-langid" type="hidden"
120
-							v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.languageid' ) ) ); ?>'.replace('idx', idx)"
121
+							v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.languageid' ) ) );
122
+}
123
+?>'.replace('idx', idx)"
121 124
 							value="<?= $enc->attr( key( $languages ) ); ?>" />
122 125
 					<?php endif; ?>
123 126
 
@@ -146,9 +149,12 @@  discard block
 block discarded – undo
146 149
 								<?= $enc->html( $this->translate( 'admin', 'Types for additional texts like per one lb/kg or per month' ) ); ?>
147 150
 							</div>
148 151
 						</div>
149
-					<?php else : ?>
152
+					<?php else {
153
+	: ?>
150 154
 						<input class="item-type" type="hidden"
151
-							v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.type' ) ) ); ?>'.replace('idx', idx)"
155
+							v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.type' ) ) );
156
+}
157
+?>'.replace('idx', idx)"
152 158
 							value="<?= $enc->attr( key( $textTypes ) ); ?>" />
153 159
 					<?php endif; ?>
154 160
 
@@ -204,9 +210,12 @@  discard block
 block discarded – undo
204 210
 								<?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?>
205 211
 							</div>
206 212
 						</div>
207
-					<?php else : ?>
213
+					<?php else {
214
+	: ?>
208 215
 						<input class="listitem-type" type="hidden"
209
-							v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'service.lists.type' ) ) ); ?>'.replace('idx', idx)"
216
+							v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'service.lists.type' ) ) );
217
+}
218
+?>'.replace('idx', idx)"
210 219
 							value="<?= $enc->attr( key( $listTypes ) ); ?>"
211 220
 							v-model="items[idx]['service.lists.type']" />
212 221
 					<?php endif; ?>
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
 				v-bind:aria-controls="'item-text-group-data-' + idx" aria-expanded="false">
30 30
 				<div class="card-tools-left">
31 31
 					<div class="btn btn-card-header act-show fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
32
-						title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide this entry') ); ?>">
32
+						title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide this entry' ) ); ?>">
33 33
 					</div>
34 34
 				</div>
35 35
 				<span class="item-label header-label" v-html="getLabel(idx)"></span>
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
 				<div class="card-tools-right">
38 38
 					<div v-if="!checkSite('service.lists.siteid', idx)"
39 39
 						class="btn btn-card-header act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
40
-						title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"
40
+						title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"
41 41
 						v-on:click.stop="removeItem(idx)">
42 42
 					</div>
43 43
 				</div>
@@ -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>
@@ -254,7 +254,7 @@  discard block
 block discarded – undo
254 254
 								</th>
255 255
 								<th class="actions">
256 256
 									<div class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
257
-										title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"
257
+										title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"
258 258
 										v-bind:readonly="checkSite('service.lists.siteid', idx)"
259 259
 										v-on:click="addConfig(idx)" >
260 260
 									</div>
@@ -281,7 +281,7 @@  discard block
 block discarded – undo
281 281
 								<td class="actions">
282 282
 									<div v-if="!checkSite('service.lists.siteid', idx)" v-on:click="removeConfig(idx, pos)"
283 283
 										class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
284
-										title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>">
284
+										title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>">
285 285
 									</div>
286 286
 								</td>
287 287
 							</tr>
@@ -297,7 +297,7 @@  discard block
 block discarded – undo
297 297
 
298 298
 		<div class="card-tools-more">
299 299
 			<div class="btn btn-primary btn-card-more act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
300
-				title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"
300
+				title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"
301 301
 				v-on:click="addItem('service.lists.')" >
302 302
 			</div>
303 303
 		</div>
Please login to merge, or discard this patch.
admin/jqadm/templates/service/item-price-standard.php 2 patches
Braces   +15 added lines, -6 removed lines patch added patch discarded remove patch
@@ -154,9 +154,12 @@  discard block
 block discarded – undo
154 154
 								</select>
155 155
 							</div>
156 156
 						</div>
157
-					<?php else : ?>
157
+					<?php else {
158
+	: ?>
158 159
 						<input class="item-currencyid" type="hidden"
159
-							v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.currencyid' ) ) ); ?>'.replace('idx', idx)"
160
+							v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.currencyid' ) ) );
161
+}
162
+?>'.replace('idx', idx)"
160 163
 							value="<?= $enc->attr( key( $currencies ) ); ?>" />
161 164
 					<?php endif; ?>
162 165
 
@@ -184,9 +187,12 @@  discard block
 block discarded – undo
184 187
 								<?= $enc->html( $this->translate( 'admin', 'Types for additional prices like per one lb/kg or per month' ) ); ?>
185 188
 							</div>
186 189
 						</div>
187
-					<?php else : ?>
190
+					<?php else {
191
+	: ?>
188 192
 						<input class="item-type" type="hidden"
189
-							v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.type' ) ) ); ?>'.replace('idx', idx)"
193
+							v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.type' ) ) );
194
+}
195
+?>'.replace('idx', idx)"
190 196
 							value="<?= $enc->attr( key( $priceTypes ) ); ?>" />
191 197
 					<?php endif; ?>
192 198
 
@@ -242,9 +248,12 @@  discard block
 block discarded – undo
242 248
 								<?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?>
243 249
 							</div>
244 250
 						</div>
245
-					<?php else : ?>
251
+					<?php else {
252
+	: ?>
246 253
 						<input class="listitem-type" type="hidden"
247
-							v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'service.lists.type' ) ) ); ?>'.replace('idx', idx)"
254
+							v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'service.lists.type' ) ) );
255
+}
256
+?>'.replace('idx', idx)"
248 257
 							value="<?= $enc->attr( key( $listTypes ) ); ?>"
249 258
 							v-model="items[idx]['service.lists.type']" />
250 259
 					<?php endif; ?>
Please login to merge, or discard this patch.
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-price-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>
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
 				<div class="card-tools-right">
40 40
 					<div v-if="!checkSite('service.lists.siteid', idx)"
41 41
 						class="btn btn-card-header act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
42
-						title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"
42
+						title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"
43 43
 						v-on:click.stop="removeItem(idx)">
44 44
 					</div>
45 45
 				</div>
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
 				<div v-on:click="toggle(idx)" class="col-xl-12 advanced" v-bind:class="{ 'collapsed': !advanced[idx] }">
211 211
 					<div class="card-tools-left">
212 212
 						<div class="btn act-show fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
213
-							title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide advanced data') ); ?>">
213
+							title="<?= $enc->attr( $this->translate( 'admin', 'Show/hide advanced data' ) ); ?>">
214 214
 						</div>
215 215
 					</div>
216 216
 					<span class="header-label"><?= $enc->html( $this->translate( 'admin', 'Advanced' ) ); ?></span>
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
292 292
 								</th>
293 293
 								<th class="actions">
294 294
 									<div class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
295
-										title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"
295
+										title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"
296 296
 										v-bind:readonly="checkSite('service.lists.siteid', idx)"
297 297
 										v-on:click="addConfig(idx)" >
298 298
 									</div>
@@ -319,7 +319,7 @@  discard block
 block discarded – undo
319 319
 								<td class="actions">
320 320
 									<div v-if="!checkSite('service.lists.siteid', idx)" v-on:click="removeConfig(idx, pos)"
321 321
 										class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
322
-										title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>">
322
+										title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>">
323 323
 									</div>
324 324
 								</td>
325 325
 							</tr>
@@ -335,7 +335,7 @@  discard block
 block discarded – undo
335 335
 
336 336
 		<div class="card-tools-more">
337 337
 			<div class="btn btn-primary btn-card-more act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
338
-				title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"
338
+				title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"
339 339
 				v-on:click="addItem('service.lists.')" >
340 340
 			</div>
341 341
 		</div>
Please login to merge, or discard this patch.
admin/jqadm/src/Admin/JQAdm/Product/Special/Price/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -270,8 +270,7 @@
 block discarded – undo
270 270
 				$listItem = $listManager->createItem()->setType( 'custom' )->setRefId( $attrId );
271 271
 				$item->addListItem( 'attribute', $listItem, $listItem->getRefItem() );
272 272
 			}
273
-		}
274
-		else
273
+		} else
275 274
 		{
276 275
 			if( ( $litem = $item->getListItem( 'attribute', 'custom', $attrId, false ) ) !== null ) {
277 276
 				$item->deleteListItem( 'attribute', $litem );
Please login to merge, or discard this patch.
admin/jqadm/src/Admin/JQAdm/Catalog/Media/Property/Standard.php 2 patches
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -291,8 +291,7 @@
 block discarded – undo
291 291
 				{
292 292
 					$propItem = $propItems[$entry['media.property.id']];
293 293
 					unset( $propItems[$entry['media.property.id']] );
294
-				}
295
-				else
294
+				} else
296 295
 				{
297 296
 					$propItem = $propManager->createItem();
298 297
 				}
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -218,7 +218,7 @@
 block discarded – undo
218 218
 
219 219
 		$search = $manager->createSearch( true )->setSlice( 0, 10000 );
220 220
 		$search->setConditions( $search->compare( '==', 'media.property.type.domain', 'catalog' ) );
221
-		$search->setSortations( [$search->sort( '+', 'media.property.type.position')] );
221
+		$search->setSortations( [$search->sort( '+', 'media.property.type.position' )] );
222 222
 
223 223
 		$view->propertyTypes = $this->map( $manager->searchItems( $search ) );
224 224
 
Please login to merge, or discard this patch.
admin/jqadm/src/Admin/JQAdm/Service/Media/Property/Standard.php 2 patches
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -291,8 +291,7 @@
 block discarded – undo
291 291
 				{
292 292
 					$propItem = $propItems[$entry['media.property.id']];
293 293
 					unset( $propItems[$entry['media.property.id']] );
294
-				}
295
-				else
294
+				} else
296 295
 				{
297 296
 					$propItem = $propManager->createItem();
298 297
 				}
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -218,7 +218,7 @@
 block discarded – undo
218 218
 
219 219
 		$search = $manager->createSearch( true )->setSlice( 0, 10000 );
220 220
 		$search->setConditions( $search->compare( '==', 'media.property.type.domain', 'service' ) );
221
-		$search->setSortations( [$search->sort( '+', 'media.property.type.position')] );
221
+		$search->setSortations( [$search->sort( '+', 'media.property.type.position' )] );
222 222
 
223 223
 		$view->propertyTypes = $this->map( $manager->searchItems( $search ) );
224 224
 
Please login to merge, or discard this patch.
admin/jqadm/src/Admin/JQAdm/Supplier/Media/Property/Standard.php 2 patches
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -291,8 +291,7 @@
 block discarded – undo
291 291
 				{
292 292
 					$propItem = $propItems[$entry['media.property.id']];
293 293
 					unset( $propItems[$entry['media.property.id']] );
294
-				}
295
-				else
294
+				} else
296 295
 				{
297 296
 					$propItem = $propManager->createItem();
298 297
 				}
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -218,7 +218,7 @@
 block discarded – undo
218 218
 
219 219
 		$search = $manager->createSearch( true )->setSlice( 0, 10000 );
220 220
 		$search->setConditions( $search->compare( '==', 'media.property.type.domain', 'supplier' ) );
221
-		$search->setSortations( [$search->sort( '+', 'media.property.type.position')] );
221
+		$search->setSortations( [$search->sort( '+', 'media.property.type.position' )] );
222 222
 
223 223
 		$view->propertyTypes = $this->map( $manager->searchItems( $search ) );
224 224
 
Please login to merge, or discard this patch.