Passed
Push — master ( c95a25...bf45b2 )
by Aimeos
03:29
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 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', '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-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 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', '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.
admin/jqadm/templates/customer/item-address-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -85,9 +85,12 @@
 block discarded – undo
85 85
 									</select>
86 86
 								</div>
87 87
 							</div>
88
-						<?php else : ?>
88
+						<?php else {
89
+	: ?>
89 90
 							<input class="item-languageid" type="hidden"
90
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'customer.address.languageid' ) ) ); ?>'.replace('idx', idx)"
91
+								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'customer.address.languageid' ) ) );
92
+}
93
+?>'.replace('idx', idx)"
91 94
 								value="<?= $enc->attr( key( $languages ) ); ?>" />
92 95
 						<?php endif; ?>
93 96
 						<div class="form-group row optional">
Please login to merge, or discard this patch.