Passed
Push — master ( a0eb70...a8a022 )
by Aimeos
04:23
created
admin/jqadm/templates/catalog/item-text-standard.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -268,7 +268,7 @@  discard block
 block discarded – undo
268 268
 											<th class="config-row-value"><?= $enc->html( $this->translate( 'admin', 'Value' ) ); ?></th>
269 269
 											<th class="actions">
270 270
 												<div v-if="!readonly" class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>" v-on:click="add()"
271
-													title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"></div>
271
+													title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"></div>
272 272
 											</th>
273 273
 										</tr>
274 274
 									</thead>
@@ -287,7 +287,7 @@  discard block
 block discarded – undo
287 287
 											</td>
288 288
 											<td class="actions">
289 289
 												<div v-if="!readonly" class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>" v-on:click="remove(pos)"
290
-													title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"></div>
290
+													title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"></div>
291 291
 											</td>
292 292
 										</tr>
293 293
 									</tbody>
Please login to merge, or discard this patch.
Braces   +15 added lines, -6 removed lines patch added patch discarded remove patch
@@ -145,9 +145,12 @@  discard block
 block discarded – undo
145 145
 										<?= $enc->html( $this->translate( 'admin', 'Language of the entered text' ) ); ?>
146 146
 									</div>
147 147
 								</div>
148
-							<?php else : ?>
148
+							<?php else {
149
+	: ?>
149 150
 								<input class="text-langid" type="hidden"
150
-									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.languageid' ) ) ); ?>'.replace('idx', idx)"
151
+									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.languageid' ) ) );
152
+}
153
+?>'.replace('idx', idx)"
151 154
 									value="<?= $enc->attr( key( $languages ) ); ?>" />
152 155
 							<?php endif; ?>
153 156
 
@@ -167,9 +170,12 @@  discard block
 block discarded – undo
167 170
 										<?= $enc->html( $this->translate( 'admin', 'Types for additional texts like per one lb/kg or per month' ) ); ?>
168 171
 									</div>
169 172
 								</div>
170
-							<?php else : ?>
173
+							<?php else {
174
+	: ?>
171 175
 								<input class="item-type" type="hidden"
172
-									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.type' ) ) ); ?>'.replace('idx', idx)"
176
+									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.type' ) ) );
177
+}
178
+?>'.replace('idx', idx)"
173 179
 									value="<?= $enc->attr( key( $textTypes ) ); ?>" />
174 180
 							<?php endif; ?>
175 181
 
@@ -217,9 +223,12 @@  discard block
 block discarded – undo
217 223
 										<?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?>
218 224
 									</div>
219 225
 								</div>
220
-							<?php else : ?>
226
+							<?php else {
227
+	: ?>
221 228
 								<input class="listitem-type" type="hidden"
222
-									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'catalog.lists.type' ) ) ); ?>'.replace('idx', idx)"
229
+									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'catalog.lists.type' ) ) );
230
+}
231
+?>'.replace('idx', idx)"
223 232
 									value="<?= $enc->attr( key( $listTypes ) ); ?>" />
224 233
 							<?php endif; ?>
225 234
 
Please login to merge, or discard this patch.
admin/jqadm/templates/catalog/item-media-standard.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -238,7 +238,7 @@  discard block
 block discarded – undo
238 238
 											<th class="config-row-value"><?= $enc->html( $this->translate( 'admin', 'Value' ) ); ?></th>
239 239
 											<th class="actions">
240 240
 												<div v-if="!readonly" class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>" v-on:click="add()"
241
-													title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"></div>
241
+													title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"></div>
242 242
 											</th>
243 243
 										</tr>
244 244
 									</thead>
@@ -257,7 +257,7 @@  discard block
 block discarded – undo
257 257
 											</td>
258 258
 											<td class="actions">
259 259
 												<div v-if="!readonly" class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>" v-on:click="remove(pos)"
260
-													title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"></div>
260
+													title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"></div>
261 261
 											</td>
262 262
 										</tr>
263 263
 									</tbody>
Please login to merge, or discard this 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-text-standard.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -268,7 +268,7 @@  discard block
 block discarded – undo
268 268
 											<th class="config-row-value"><?= $enc->html( $this->translate( 'admin', 'Value' ) ); ?></th>
269 269
 											<th class="actions">
270 270
 												<div v-if="!readonly" class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>" v-on:click="add()"
271
-													title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"></div>
271
+													title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"></div>
272 272
 											</th>
273 273
 										</tr>
274 274
 									</thead>
@@ -287,7 +287,7 @@  discard block
 block discarded – undo
287 287
 											</td>
288 288
 											<td class="actions">
289 289
 												<div v-if="!readonly" class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>" v-on:click="remove(pos)"
290
-													title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"></div>
290
+													title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"></div>
291 291
 											</td>
292 292
 										</tr>
293 293
 									</tbody>
Please login to merge, or discard this patch.
Braces   +15 added lines, -6 removed lines patch added patch discarded remove patch
@@ -145,9 +145,12 @@  discard block
 block discarded – undo
145 145
 										<?= $enc->html( $this->translate( 'admin', 'Language of the entered text' ) ); ?>
146 146
 									</div>
147 147
 								</div>
148
-							<?php else : ?>
148
+							<?php else {
149
+	: ?>
149 150
 								<input class="text-langid" type="hidden"
150
-									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.languageid' ) ) ); ?>'.replace('idx', idx)"
151
+									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.languageid' ) ) );
152
+}
153
+?>'.replace('idx', idx)"
151 154
 									value="<?= $enc->attr( key( $languages ) ) ?>" />
152 155
 							<?php endif; ?>
153 156
 
@@ -167,9 +170,12 @@  discard block
 block discarded – undo
167 170
 										<?= $enc->html( $this->translate( 'admin', 'Types for additional texts like per one lb/kg or per month' ) ); ?>
168 171
 									</div>
169 172
 								</div>
170
-							<?php else : ?>
173
+							<?php else {
174
+	: ?>
171 175
 								<input class="item-type" type="hidden"
172
-									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.type' ) ) ); ?>'.replace('idx', idx)"
176
+									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.type' ) ) );
177
+}
178
+?>'.replace('idx', idx)"
173 179
 									value="<?= $enc->attr( key( $textTypes ) ) ?>" />
174 180
 							<?php endif; ?>
175 181
 
@@ -217,9 +223,12 @@  discard block
 block discarded – undo
217 223
 										<?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?>
218 224
 									</div>
219 225
 								</div>
220
-							<?php else : ?>
226
+							<?php else {
227
+	: ?>
221 228
 								<input class="listitem-type" type="hidden"
222
-									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'supplier.lists.type' ) ) ); ?>'.replace('idx', idx)"
229
+									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'supplier.lists.type' ) ) );
230
+}
231
+?>'.replace('idx', idx)"
223 232
 									value="<?= $enc->attr( key( $listTypes ) ) ?>" />
224 233
 							<?php endif; ?>
225 234
 
Please login to merge, or discard this patch.
admin/jqadm/templates/supplier/item-media-standard.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -238,7 +238,7 @@  discard block
 block discarded – undo
238 238
 											<th class="config-row-value"><?= $enc->html( $this->translate( 'admin', 'Value' ) ); ?></th>
239 239
 											<th class="actions">
240 240
 												<div v-if="!readonly" class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>" v-on:click="add()"
241
-													title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"></div>
241
+													title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"></div>
242 242
 											</th>
243 243
 										</tr>
244 244
 									</thead>
@@ -257,7 +257,7 @@  discard block
 block discarded – undo
257 257
 											</td>
258 258
 											<td class="actions">
259 259
 												<div v-if="!readonly" class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>" v-on:click="remove(pos)"
260
-													title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"></div>
260
+													title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"></div>
261 261
 											</td>
262 262
 										</tr>
263 263
 									</tbody>
Please login to merge, or discard this 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-text-standard.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -287,7 +287,7 @@  discard block
 block discarded – undo
287 287
 											<th class="config-row-value"><?= $enc->html( $this->translate( 'admin', 'Value' ) ); ?></th>
288 288
 											<th class="actions">
289 289
 												<div v-if="!readonly" class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>" v-on:click="add()"
290
-													title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"></div>
290
+													title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"></div>
291 291
 											</th>
292 292
 										</tr>
293 293
 									</thead>
@@ -306,7 +306,7 @@  discard block
 block discarded – undo
306 306
 											</td>
307 307
 											<td class="actions">
308 308
 												<div v-if="!readonly" class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>" v-on:click="remove(pos)"
309
-													title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"></div>
309
+													title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"></div>
310 310
 											</td>
311 311
 										</tr>
312 312
 									</tbody>
Please login to merge, or discard this patch.
Braces   +15 added lines, -6 removed lines patch added patch discarded remove patch
@@ -164,9 +164,12 @@  discard block
 block discarded – undo
164 164
 										<?= $enc->html( $this->translate( 'admin', 'Language of the entered text' ) ); ?>
165 165
 									</div>
166 166
 								</div>
167
-							<?php else : ?>
167
+							<?php else {
168
+	: ?>
168 169
 								<input class="text-langid" type="hidden"
169
-									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.languageid' ) ) ); ?>'.replace('idx', idx)"
170
+									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.languageid' ) ) );
171
+}
172
+?>'.replace('idx', idx)"
170 173
 									value="<?= $enc->attr( key( $languages ) ) ?>" />
171 174
 							<?php endif; ?>
172 175
 
@@ -186,9 +189,12 @@  discard block
 block discarded – undo
186 189
 										<?= $enc->html( $this->translate( 'admin', 'Types for additional texts like per one lb/kg or per month' ) ); ?>
187 190
 									</div>
188 191
 								</div>
189
-							<?php else : ?>
192
+							<?php else {
193
+	: ?>
190 194
 								<input class="item-type" type="hidden"
191
-									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.type' ) ) ); ?>'.replace('idx', idx)"
195
+									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.type' ) ) );
196
+}
197
+?>'.replace('idx', idx)"
192 198
 									value="<?= $enc->attr( key( $textTypes ) ) ?>" />
193 199
 							<?php endif; ?>
194 200
 
@@ -236,9 +242,12 @@  discard block
 block discarded – undo
236 242
 										<?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?>
237 243
 									</div>
238 244
 								</div>
239
-							<?php else : ?>
245
+							<?php else {
246
+	: ?>
240 247
 								<input class="listitem-type" type="hidden"
241
-									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'product.lists.type' ) ) ); ?>'.replace('idx', idx)"
248
+									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'product.lists.type' ) ) );
249
+}
250
+?>'.replace('idx', idx)"
242 251
 									value="<?= $enc->attr( key( $listTypes ) ) ?>" />
243 252
 							<?php endif; ?>
244 253
 
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 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -284,7 +284,7 @@  discard block
 block discarded – undo
284 284
 											<th class="config-row-value"><?= $enc->html( $this->translate( 'admin', 'Value' ) ); ?></th>
285 285
 											<th class="actions">
286 286
 												<div v-if="!readonly" class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>" v-on:click="add()"
287
-													title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"></div>
287
+													title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"></div>
288 288
 											</th>
289 289
 										</tr>
290 290
 									</thead>
@@ -303,7 +303,7 @@  discard block
 block discarded – undo
303 303
 											</td>
304 304
 											<td class="actions">
305 305
 												<div v-if="!readonly" class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>" v-on:click="remove(pos)"
306
-													title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"></div>
306
+													title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"></div>
307 307
 											</td>
308 308
 										</tr>
309 309
 									</tbody>
Please login to merge, or discard this 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 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -238,7 +238,7 @@  discard block
 block discarded – undo
238 238
 											<th class="config-row-value"><?= $enc->html( $this->translate( 'admin', 'Value' ) ); ?></th>
239 239
 											<th class="actions">
240 240
 												<div v-if="!readonly" class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>" v-on:click="add()"
241
-													title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"></div>
241
+													title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"></div>
242 242
 											</th>
243 243
 										</tr>
244 244
 									</thead>
@@ -257,7 +257,7 @@  discard block
 block discarded – undo
257 257
 											</td>
258 258
 											<td class="actions">
259 259
 												<div v-if="!readonly" class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>" v-on:click="remove(pos)"
260
-													title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"></div>
260
+													title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"></div>
261 261
 											</td>
262 262
 										</tr>
263 263
 									</tbody>
Please login to merge, or discard this 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.
admin/jqadm/templates/attribute/item-text-standard.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -268,7 +268,7 @@  discard block
 block discarded – undo
268 268
 											<th class="config-row-value"><?= $enc->html( $this->translate( 'admin', 'Value' ) ); ?></th>
269 269
 											<th class="actions">
270 270
 												<div v-if="!readonly" class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>" v-on:click="add()"
271
-													title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"></div>
271
+													title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"></div>
272 272
 											</th>
273 273
 										</tr>
274 274
 									</thead>
@@ -287,7 +287,7 @@  discard block
 block discarded – undo
287 287
 											</td>
288 288
 											<td class="actions">
289 289
 												<div v-if="!readonly" class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>" v-on:click="remove(pos)"
290
-													title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"></div>
290
+													title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"></div>
291 291
 											</td>
292 292
 										</tr>
293 293
 									</tbody>
Please login to merge, or discard this patch.
Braces   +15 added lines, -6 removed lines patch added patch discarded remove patch
@@ -145,9 +145,12 @@  discard block
 block discarded – undo
145 145
 										<?= $enc->html( $this->translate( 'admin', 'Language of the entered text' ) ); ?>
146 146
 									</div>
147 147
 								</div>
148
-							<?php else : ?>
148
+							<?php else {
149
+	: ?>
149 150
 								<input class="text-langid" type="hidden"
150
-									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.languageid' ) ) ); ?>'.replace('idx', idx)"
151
+									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.languageid' ) ) );
152
+}
153
+?>'.replace('idx', idx)"
151 154
 									value="<?= $enc->attr( key( $languages ) ); ?>" />
152 155
 							<?php endif; ?>
153 156
 
@@ -167,9 +170,12 @@  discard block
 block discarded – undo
167 170
 										<?= $enc->html( $this->translate( 'admin', 'Types for additional texts like per one lb/kg or per month' ) ); ?>
168 171
 									</div>
169 172
 								</div>
170
-							<?php else : ?>
173
+							<?php else {
174
+	: ?>
171 175
 								<input class="item-type" type="hidden"
172
-									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.type' ) ) ); ?>'.replace('idx', idx)"
176
+									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'text.type' ) ) );
177
+}
178
+?>'.replace('idx', idx)"
173 179
 									value="<?= $enc->attr( key( $textTypes ) ); ?>" />
174 180
 							<?php endif; ?>
175 181
 
@@ -217,9 +223,12 @@  discard block
 block discarded – undo
217 223
 										<?= $enc->html( $this->translate( 'admin', 'Second level type for grouping items' ) ); ?>
218 224
 									</div>
219 225
 								</div>
220
-							<?php else : ?>
226
+							<?php else {
227
+	: ?>
221 228
 								<input class="listitem-type" type="hidden"
222
-									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'attribute.lists.type' ) ) ); ?>'.replace('idx', idx)"
229
+									v-bind:name="'<?= $enc->attr( $this->formparam( array( 'text', 'idx', 'attribute.lists.type' ) ) );
230
+}
231
+?>'.replace('idx', idx)"
223 232
 									value="<?= $enc->attr( key( $listTypes ) ); ?>" />
224 233
 							<?php endif; ?>
225 234
 
Please login to merge, or discard this patch.