Passed
Push — master ( ba7df9...1fe1d6 )
by Aimeos
03:56
created
admin/jqadm/templates/type/plugin/list-standard.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
 				<th class="actions">
128 128
 					<a class="btn fa act-add" tabindex="1"
129 129
 						href="<?= $enc->attr( $this->url( $newTarget, $newCntl, $newAction, $params, [], $newConfig ) ); ?>"
130
-						title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"
130
+						title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"
131 131
 						aria-label="<?= $enc->attr( $this->translate( 'admin', 'Add' ) ); ?>">
132 132
 					</a>
133 133
 
@@ -209,13 +209,13 @@  discard block
 block discarded – undo
209 209
 					<td class="actions">
210 210
 						<a class="btn act-copy fa" tabindex="1"
211 211
 							href="<?= $enc->attr( $this->url( $copyTarget, $copyCntl, $copyAction, ['id' => $id] + $params, [], $copyConfig ) ); ?>"
212
-							title="<?= $enc->attr( $this->translate( 'admin', 'Copy this entry') ); ?>"
212
+							title="<?= $enc->attr( $this->translate( 'admin', 'Copy this entry' ) ); ?>"
213 213
 							aria-label="<?= $enc->attr( $this->translate( 'admin', 'Copy' ) ); ?>">
214 214
 						</a>
215 215
 						<?php if( !$this->site()->readonly( $item->getSiteId() ) ) : ?>
216 216
 							<a class="btn act-delete fa" tabindex="1"
217 217
 								href="<?= $enc->attr( $this->url( $delTarget, $delCntl, $delAction, ['id' => $id] + $params, [], $delConfig ) ); ?>"
218
-								title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"
218
+								title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"
219 219
 								aria-label="<?= $enc->attr( $this->translate( 'admin', 'Delete' ) ); ?>">
220 220
 							</a>
221 221
 						<?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
@@ -87,9 +87,12 @@
 block discarded – undo
87 87
 										</select>
88 88
 									</div>
89 89
 								</div>
90
-							<?php else : ?>
90
+							<?php else {
91
+	: ?>
91 92
 								<input class="item-languageid" type="hidden"
92
-									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'supplier.address.languageid' ) ) ); ?>'.replace('idx', idx)"
93
+									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'supplier.address.languageid' ) ) );
94
+}
95
+?>'.replace('idx', idx)"
93 96
 									value="<?= $enc->attr( key( $languages ) ); ?>" />
94 97
 							<?php endif; ?>
95 98
 							<div class="form-group row optional">
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
@@ -87,9 +87,12 @@
 block discarded – undo
87 87
 										</select>
88 88
 									</div>
89 89
 								</div>
90
-							<?php else : ?>
90
+							<?php else {
91
+	: ?>
91 92
 								<input class="item-languageid" type="hidden"
92
-									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'customer.address.languageid' ) ) ); ?>'.replace('idx', idx)"
93
+									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'address', 'idx', 'customer.address.languageid' ) ) );
94
+}
95
+?>'.replace('idx', idx)"
93 96
 									value="<?= $enc->attr( key( $languages ) ); ?>" />
94 97
 							<?php endif; ?>
95 98
 							<div class="form-group row optional">
Please login to merge, or discard this patch.
admin/jqadm/templates/common/partials/listsearch-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,8 +52,11 @@
 block discarded – undo
52 52
 								</option>
53 53
 							<?php endforeach; ?>
54 54
 						</select>
55
-					<?php else : ?>
56
-						<input class="form-control" type="<?= $enc->attr( $type ); ?>" tabindex="<?= $this->get( 'tabindex' ); ?>"
55
+					<?php else {
56
+	: ?>
57
+						<input class="form-control" type="<?= $enc->attr( $type );
58
+}
59
+?>" tabindex="<?= $this->get( 'tabindex' ); ?>"
57 60
 							name="<?= $enc->attr( $this->formparam( array_merge( $group, ['filter', 'val', $idx] ) ) ); ?>"
58 61
 							value="<?= $enc->attr( $this->value( $filter, 'val/' . $idx, '' ) ); ?>" />
59 62
 					<?php endif; ?>
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
@@ -123,9 +123,12 @@  discard block
 block discarded – undo
123 123
 										<?= $enc->html( $this->translate( 'admin', 'Types for additional images like icons' ) ); ?>
124 124
 									</div>
125 125
 								</div>
126
-							<?php else : ?>
126
+							<?php else {
127
+	: ?>
127 128
 								<input class="item-type" type="hidden"
128
-									v-bind:name="'<?= $enc->attr( $this->formparam( ['media', '_idx_', 'media.type'] ) ); ?>'.replace('_idx_', idx)"
129
+									v-bind:name="'<?= $enc->attr( $this->formparam( ['media', '_idx_', 'media.type'] ) );
130
+}
131
+?>'.replace('_idx_', idx)"
129 132
 									value="<?= $enc->attr( key( $mediaTypes ) ) ?>" />
130 133
 							<?php endif; ?>
131 134
 
@@ -188,9 +191,12 @@  discard block
 block discarded – undo
188 191
 										<?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?>
189 192
 									</div>
190 193
 								</div>
191
-							<?php else : ?>
194
+							<?php else {
195
+	: ?>
192 196
 								<input class="listitem-type" type="hidden"
193
-									v-bind:name="'<?= $enc->attr( $this->formparam( ['media', '_idx_', 'catalog.lists.type'] ) ); ?>'.replace('_idx_', idx)"
197
+									v-bind:name="'<?= $enc->attr( $this->formparam( ['media', '_idx_', 'catalog.lists.type'] ) );
198
+}
199
+?>'.replace('_idx_', idx)"
194 200
 									value="<?= $enc->attr( key( $listTypes ) ) ?>" />
195 201
 							<?php endif; ?>
196 202
 							<div class="form-group row optional">
Please login to merge, or discard this patch.
admin/jqadm/templates/supplier/item-media-standard.php 1 patch
Braces   +10 added lines, -4 removed lines patch added patch discarded remove patch
@@ -123,9 +123,12 @@  discard block
 block discarded – undo
123 123
 										<?= $enc->html( $this->translate( 'admin', 'Types for additional images like icons' ) ); ?>
124 124
 									</div>
125 125
 								</div>
126
-							<?php else : ?>
126
+							<?php else {
127
+	: ?>
127 128
 								<input class="item-type" type="hidden"
128
-									v-bind:name="'<?= $enc->attr( $this->formparam( ['media', '_idx_', 'media.type'] ) ); ?>'.replace('_idx_', idx)"
129
+									v-bind:name="'<?= $enc->attr( $this->formparam( ['media', '_idx_', 'media.type'] ) );
130
+}
131
+?>'.replace('_idx_', idx)"
129 132
 									value="<?= $enc->attr( key( $mediaTypes ) ) ?>" />
130 133
 							<?php endif; ?>
131 134
 
@@ -188,9 +191,12 @@  discard block
 block discarded – undo
188 191
 										<?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?>
189 192
 									</div>
190 193
 								</div>
191
-							<?php else : ?>
194
+							<?php else {
195
+	: ?>
192 196
 								<input class="listitem-type" type="hidden"
193
-									v-bind:name="'<?= $enc->attr( $this->formparam( ['media', '_idx_', 'supplier.lists.type'] ) ); ?>'.replace('_idx_', idx)"
197
+									v-bind:name="'<?= $enc->attr( $this->formparam( ['media', '_idx_', 'supplier.lists.type'] ) );
198
+}
199
+?>'.replace('_idx_', idx)"
194 200
 									value="<?= $enc->attr( key( $listTypes ) ) ?>" />
195 201
 							<?php endif; ?>
196 202
 							<div class="form-group row optional">
Please login to merge, or discard this patch.
admin/jqadm/templates/product/item-stock-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -69,9 +69,12 @@
 block discarded – undo
69 69
 							v-bind:readonly="checkSite(idx)"
70 70
 							v-model="item['stock.type']" >
71 71
 						</select>
72
-					<?php else : ?>
72
+					<?php else {
73
+	: ?>
73 74
 						<input class="item-type" type="hidden"
74
-							v-bind:name="'<?= $enc->attr( $this->formparam( ['stock', 'idx', 'stock.type'] ) ); ?>'.replace( 'idx', idx )"
75
+							v-bind:name="'<?= $enc->attr( $this->formparam( ['stock', 'idx', 'stock.type'] ) );
76
+}
77
+?>'.replace( 'idx', idx )"
75 78
 							value="<?= $enc->attr( key( $stockTypes ) ) ?>" />
76 79
 					<?php endif; ?>
77 80
 				</td>
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
@@ -161,9 +161,12 @@  discard block
 block discarded – undo
161 161
 										</select>
162 162
 									</div>
163 163
 								</div>
164
-							<?php else : ?>
164
+							<?php else {
165
+	: ?>
165 166
 								<input class="item-currencyid" type="hidden"
166
-									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.currencyid' ) ) ); ?>'.replace('idx', idx)"
167
+									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.currencyid' ) ) );
168
+}
169
+?>'.replace('idx', idx)"
167 170
 									value="<?= $enc->attr( key( $currencies ) ) ?>" />
168 171
 							<?php endif; ?>
169 172
 
@@ -183,9 +186,12 @@  discard block
 block discarded – undo
183 186
 										<?= $enc->html( $this->translate( 'admin', 'Types for additional prices like per one lb/kg or per month' ) ); ?>
184 187
 									</div>
185 188
 								</div>
186
-							<?php else : ?>
189
+							<?php else {
190
+	: ?>
187 191
 								<input class="item-type" type="hidden"
188
-									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.type' ) ) ); ?>'.replace('idx', idx)"
192
+									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'price.type' ) ) );
193
+}
194
+?>'.replace('idx', idx)"
189 195
 									value="<?= $enc->attr( key( $priceTypes ) ) ?>" />
190 196
 							<?php endif; ?>
191 197
 
@@ -233,9 +239,12 @@  discard block
 block discarded – undo
233 239
 										<?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?>
234 240
 									</div>
235 241
 								</div>
236
-							<?php else : ?>
242
+							<?php else {
243
+	: ?>
237 244
 								<input class="listitem-type" type="hidden"
238
-									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'product.lists.type' ) ) ); ?>'.replace('idx', idx)"
245
+									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'price', 'idx', 'product.lists.type' ) ) );
246
+}
247
+?>'.replace('idx', idx)"
239 248
 									value="<?= $enc->attr( key( $listTypes ) ) ?>" />
240 249
 							<?php endif; ?>
241 250
 
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
@@ -123,9 +123,12 @@  discard block
 block discarded – undo
123 123
 										<?= $enc->html( $this->translate( 'admin', 'Types for additional images like icons' ) ); ?>
124 124
 									</div>
125 125
 								</div>
126
-							<?php else : ?>
126
+							<?php else {
127
+	: ?>
127 128
 								<input class="item-type" type="hidden"
128
-									v-bind:name="'<?= $enc->attr( $this->formparam( ['media', '_idx_', 'media.type'] ) ); ?>'.replace('_idx_', idx)"
129
+									v-bind:name="'<?= $enc->attr( $this->formparam( ['media', '_idx_', 'media.type'] ) );
130
+}
131
+?>'.replace('_idx_', idx)"
129 132
 									value="<?= $enc->attr( key( $mediaTypes ) ) ?>" />
130 133
 							<?php endif; ?>
131 134
 
@@ -188,9 +191,12 @@  discard block
 block discarded – undo
188 191
 										<?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?>
189 192
 									</div>
190 193
 								</div>
191
-							<?php else : ?>
194
+							<?php else {
195
+	: ?>
192 196
 								<input class="listitem-type" type="hidden"
193
-									v-bind:name="'<?= $enc->attr( $this->formparam( ['media', '_idx_', 'product.lists.type'] ) ); ?>'.replace('_idx_', idx)"
197
+									v-bind:name="'<?= $enc->attr( $this->formparam( ['media', '_idx_', 'product.lists.type'] ) );
198
+}
199
+?>'.replace('_idx_', idx)"
194 200
 									value="<?= $enc->attr( key( $listTypes ) ) ?>" />
195 201
 							<?php endif; ?>
196 202
 							<div class="form-group row optional">
Please login to merge, or discard this patch.