Passed
Push — master ( c95a25...bf45b2 )
by Aimeos
03:29
created
admin/jqadm/templates/supplier/item-text-standard.php 1 patch
Braces   +15 added lines, -6 removed lines patch added patch discarded remove patch
@@ -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', 'supplier.lists.type' ) ) ); ?>'.replace('idx', idx)"
223
+								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'supplier.lists.type' ) ) );
224
+}
225
+?>'.replace('idx', idx)"
217 226
 								value="<?= $enc->attr( key( $listTypes ) ); ?>"
218 227
 								v-model="items[idx]['supplier.lists.type']" />
219 228
 						<?php endif; ?>
Please login to merge, or discard this patch.
admin/jqadm/templates/supplier/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', 'supplier.address.languageid' ) ) ); ?>'.replace('idx', idx)"
91
+								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'supplier.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.
admin/jqadm/templates/catalog/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', 'catalog.lists.type' ) ) ); ?>'.replace( 'idx', idx )"
211
+								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'media', 'idx', 'catalog.lists.type' ) ) );
212
+}
213
+?>'.replace( 'idx', idx )"
208 214
 								value="<?= $enc->attr( key( $listTypes ) ); ?>"
209 215
 								v-model="items[idx]['catalog.lists.type']" />
210 216
 						<?php endif; ?>
Please login to merge, or discard this patch.
admin/jqadm/templates/catalog/item-text-standard.php 1 patch
Braces   +15 added lines, -6 removed lines patch added patch discarded remove patch
@@ -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', 'catalog.lists.type' ) ) ); ?>'.replace('idx', idx)"
223
+								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'catalog.lists.type' ) ) );
224
+}
225
+?>'.replace('idx', idx)"
217 226
 								value="<?= $enc->attr( key( $listTypes ) ); ?>"
218 227
 								v-model="items[idx]['catalog.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
@@ -159,9 +159,12 @@  discard block
 block discarded – undo
159 159
 									</select>
160 160
 								</div>
161 161
 							</div>
162
-						<?php else : ?>
162
+						<?php else {
163
+	: ?>
163 164
 							<input class="item-currencyid" type="hidden"
164
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.currencyid' ) ) ); ?>'.replace('idx', idx)"
165
+								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.currencyid' ) ) );
166
+}
167
+?>'.replace('idx', idx)"
165 168
 								value="<?= $enc->attr( key( $currencies ) ); ?>" />
166 169
 						<?php endif; ?>
167 170
 
@@ -189,9 +192,12 @@  discard block
 block discarded – undo
189 192
 									<?= $enc->html( $this->translate( 'admin', 'Types for additional prices like per one lb/kg or per month' ) ); ?>
190 193
 								</div>
191 194
 							</div>
192
-						<?php else : ?>
195
+						<?php else {
196
+	: ?>
193 197
 							<input class="item-type" type="hidden"
194
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.type' ) ) ); ?>'.replace('idx', idx)"
198
+								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.type' ) ) );
199
+}
200
+?>'.replace('idx', idx)"
195 201
 								value="<?= $enc->attr( key( $priceTypes ) ); ?>" />
196 202
 						<?php endif; ?>
197 203
 
@@ -247,9 +253,12 @@  discard block
 block discarded – undo
247 253
 									<?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?>
248 254
 								</div>
249 255
 							</div>
250
-						<?php else : ?>
256
+						<?php else {
257
+	: ?>
251 258
 							<input class="listitem-type" type="hidden"
252
-								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'service.lists.type' ) ) ); ?>'.replace('idx', idx)"
259
+								v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'service.lists.type' ) ) );
260
+}
261
+?>'.replace('idx', idx)"
253 262
 								value="<?= $enc->attr( key( $listTypes ) ); ?>"
254 263
 								v-model="items[idx]['service.lists.type']" />
255 264
 						<?php endif; ?>
Please login to merge, or discard this patch.