Passed
Push — master ( fa8ce6...41373a )
by Aimeos
04:52 queued 01:29
created
admin/jqadm/templates/customer/item-product-standard.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 
85 85
 				<th class="actions">
86 86
 					<a class="btn fa act-add" href="#" tabindex="<?= $this->get( 'tabindex' ); ?>"
87
-						title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"
87
+						title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"
88 88
 						aria-label="<?= $enc->attr( $this->translate( 'admin', 'Add' ) ); ?>">
89 89
 					</a>
90 90
 
@@ -220,7 +220,7 @@  discard block
 block discarded – undo
220 220
 										</th>
221 221
 										<th class="actions">
222 222
 											<div class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
223
-												title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>">
223
+												title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>">
224 224
 											</div>
225 225
 										</th>
226 226
 									</tr>
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
 										</td>
238 238
 										<td class="actions">
239 239
 											<div class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
240
-												title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>">
240
+												title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>">
241 241
 											</div>
242 242
 										</td>
243 243
 									</tr>
@@ -248,7 +248,7 @@  discard block
 block discarded – undo
248 248
 				</td>
249 249
 				<td class="actions">
250 250
 					<a class="btn fa act-close" href="#" tabindex="<?= $this->get( 'tabindex' ); ?>"
251
-						title="<?= $enc->attr( $this->translate( 'admin', 'Close') ); ?>"
251
+						title="<?= $enc->attr( $this->translate( 'admin', 'Close' ) ); ?>"
252 252
 						aria-label="<?= $enc->attr( $this->translate( 'admin', 'Close' ) ); ?>">
253 253
 					</a>
254 254
 				</td>
@@ -319,7 +319,7 @@  discard block
 block discarded – undo
319 319
 									<tr class="config-map-row prototype-map">
320 320
 										<td class="config-map-actions">
321 321
 											<div class="btn act-delete fa" tabindex="1"
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
 										<td class="config-map-row-key">
@@ -332,12 +332,12 @@  discard block
 block discarded – undo
332 332
 									<tr class="config-map-actions">
333 333
 										<td class="config-map-action-add">
334 334
 											<div class="btn act-add fa" tabindex="1"
335
-												title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry') ); ?>">
335
+												title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry' ) ); ?>">
336 336
 											</div>
337 337
 										</td>
338 338
 										<td class="config-map-action-update" colspan="2">
339 339
 											<div class="btn btn-primary act-update" tabindex="1">
340
-												<?= $enc->attr( $this->translate( 'admin', 'OK') ); ?>
340
+												<?= $enc->attr( $this->translate( 'admin', 'OK' ) ); ?>
341 341
 											</div>
342 342
 										</td>
343 343
 									</tr>
@@ -372,7 +372,7 @@  discard block
 block discarded – undo
372 372
 							<?php if( $refItem ) : ?>
373 373
 								<a class="btn act-view fa item-refid" tabindex="<?= $this->get( 'tabindex' ); ?>" target="_blank"
374 374
 									href="<?= $enc->attr( $this->url( $getTarget, $getCntl, $getAction, ['resource' => 'product', 'id' => $refId] + $params, [], $getConfig ) ); ?>"
375
-									title="<?= $enc->attr( $this->translate( 'admin', 'Show entry') ); ?>"
375
+									title="<?= $enc->attr( $this->translate( 'admin', 'Show entry' ) ); ?>"
376 376
 									aria-label="<?= $enc->attr( $this->translate( 'admin', 'Show' ) ); ?>">
377 377
 									<?= $enc->html( $refId ); ?> - <?= $enc->html( $refItem->getLabel() . ' (' . $refItem->getCode() . ')' ); ?>
378 378
 								</a>
@@ -388,11 +388,11 @@  discard block
 block discarded – undo
388 388
 
389 389
 						<?php if( !$this->site()->readonly( $siteId ) ) : ?>
390 390
 							<a class="btn act-edit fa" tabindex="<?= $this->get( 'tabindex' ); ?>" href="#"
391
-								title="<?= $enc->attr( $this->translate( 'admin', 'Edit this entry') ); ?>"
391
+								title="<?= $enc->attr( $this->translate( 'admin', 'Edit this entry' ) ); ?>"
392 392
 								aria-label="<?= $enc->attr( $this->translate( 'admin', 'Edit' ) ); ?>"></a>
393 393
 							<a class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
394 394
 								href="<?= $enc->attr( $this->url( $delTarget, $delCntl, $delAction, ['resource' => 'customer/lists', 'id' => $listId] + $params, [], $delConfig ) ); ?>"
395
-								title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"
395
+								title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"
396 396
 								aria-label="<?= $enc->attr( $this->translate( 'admin', 'Delete' ) ); ?>"></a>
397 397
 						<?php endif; ?>
398 398
 					</td>
Please login to merge, or discard this patch.
admin/jqadm/templates/customer/item-address-standard.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -31,19 +31,19 @@  discard block
 block discarded – undo
31 31
 				v-bind:aria-controls="'item-address-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">{{ getLabel(idx, 'customer.address.') }}</span>
38 38
 				&nbsp;
39 39
 				<div class="card-tools-right">
40 40
 					<div class="btn btn-card-header act-copy fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
41
-						title="<?= $enc->attr( $this->translate( 'admin', 'Duplicate entry (Ctrl+D)') ); ?>"
41
+						title="<?= $enc->attr( $this->translate( 'admin', 'Duplicate entry (Ctrl+D)' ) ); ?>"
42 42
 						v-on:click.stop="duplicateItem(idx)">
43 43
 					</div>
44 44
 					<div v-if="!checkSite('customer.address.siteid', idx)"
45 45
 						class="btn btn-card-header act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
46
-						title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"
46
+						title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"
47 47
 						v-on:click="removeItem(idx)">
48 48
 					</div>
49 49
 				</div>
@@ -337,7 +337,7 @@  discard block
 block discarded – undo
337 337
 
338 338
 		<div class="card-tools-more">
339 339
 			<div class="btn btn-primary btn-card-more act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
340
-				title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"
340
+				title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"
341 341
 				v-on:click="addItem('customer.address.')" >
342 342
 			</div>
343 343
 		</div>
Please login to merge, or discard this patch.
admin/jqadm/templates/customer/item-property-standard.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 				</th>
33 33
 				<th class="actions">
34 34
 					<div class="btn act-add fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
35
-						title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"
35
+						title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"
36 36
 						v-on:click="addItem('customer.property.')">
37 37
 					</div>
38 38
 				</th>
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
 
89 89
 				<td class="actions">
90 90
 					<div v-if="!checkSite('customer.property.siteid', idx)" class="btn act-delete fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
91
-						title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"
91
+						title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"
92 92
 						v-on:click.stop="removeItem(idx)">
93 93
 					</div>
94 94
 				</td>
Please login to merge, or discard this patch.
admin/jqadm/templates/customer/item-order-standard.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
 				<th class="actions">
161 161
 					<!-- a class="btn fa act-add" tabindex="<?= $this->get( 'tabindex' ); ?>"
162 162
 						href="<?= $enc->attr( $this->url( $newTarget, $newCntl, $newAction, ['resource' => 'order'] + $params, [], $newConfig ) ); ?>"
163
-						title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"
163
+						title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"
164 164
 						aria-label="<?= $enc->attr( $this->translate( 'admin', 'Add' ) ); ?>">
165 165
 					</a -->
166 166
 
@@ -263,7 +263,7 @@  discard block
 block discarded – undo
263 263
 					<td class="actions">
264 264
 						<a class="btn act-view fa" tabindex="<?= $this->get( 'tabindex' ); ?>" target="_blank"
265 265
 							href="<?= $enc->attr( $this->url( $getTarget, $getCntl, $getAction, ['resource' => 'order', 'id' => $item->getBaseId()] + $params, [], $getConfig ) ); ?>"
266
-							title="<?= $enc->attr( $this->translate( 'admin', 'View details') ); ?>"></a>
266
+							title="<?= $enc->attr( $this->translate( 'admin', 'View details' ) ); ?>"></a>
267 267
 					</td>
268 268
 				</tr>
269 269
 			<?php endforeach; ?>
Please login to merge, or discard this patch.
admin/jqadm/templates/customer/list-standard.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
 				<th class="actions">
135 135
 					<a class="btn fa act-add" tabindex="1"
136 136
 						href="<?= $enc->attr( $this->url( $newTarget, $newCntl, $newAction, $params, [], $newConfig ) ); ?>"
137
-						title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)') ); ?>"
137
+						title="<?= $enc->attr( $this->translate( 'admin', 'Insert new entry (Ctrl+I)' ) ); ?>"
138 138
 						aria-label="<?= $enc->attr( $this->translate( 'admin', 'Add' ) ); ?>">
139 139
 					</a>
140 140
 
@@ -275,12 +275,12 @@  discard block
 block discarded – undo
275 275
 					<td class="actions">
276 276
 						<a class="btn act-copy fa" tabindex="1"
277 277
 							href="<?= $enc->attr( $this->url( $copyTarget, $copyCntl, $copyAction, ['id' => $id] + $params, [], $copyConfig ) ); ?>"
278
-							title="<?= $enc->attr( $this->translate( 'admin', 'Copy this entry') ); ?>"
278
+							title="<?= $enc->attr( $this->translate( 'admin', 'Copy this entry' ) ); ?>"
279 279
 							aria-label="<?= $enc->attr( $this->translate( 'admin', 'Copy' ) ); ?>"></a>
280 280
 						<?php if( !$this->site()->readonly( $item->getSiteId() ) ) : ?>
281 281
 							<a class="btn act-delete fa" tabindex="1"
282 282
 								href="<?= $enc->attr( $this->url( $delTarget, $delCntl, $delAction, ['resource' => 'customer', 'id' => $id] + $params, [], $delConfig ) ); ?>"
283
-								title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry') ); ?>"
283
+								title="<?= $enc->attr( $this->translate( 'admin', 'Delete this entry' ) ); ?>"
284 284
 								aria-label="<?= $enc->attr( $this->translate( 'admin', 'Delete' ) ); ?>"></a>
285 285
 						<?php endif; ?>
286 286
 					</td>
Please login to merge, or discard this patch.
admin/jqadm/templates/common/partials/columns-standard.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
 	<button class="btn act-columns fa" type="button" id="dropdownMenuButton-<?= $this->get( 'group' ) ?>"
32 32
 		data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" tabindex="<?= $this->get( 'tabindex', 1 ); ?>"
33 33
 		aria-label="<?= $enc->attr( $this->translate( 'admin', 'Columns' ) ); ?>"
34
-		title="<?= $enc->attr( $this->translate( 'admin', 'Columns') ); ?>">
34
+		title="<?= $enc->attr( $this->translate( 'admin', 'Columns' ) ); ?>">
35 35
 	</button>
36 36
 	<ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownMenuButton-<?= $this->get( 'group' ) ?>">
37 37
 		<?php foreach( $this->get( 'data', [] ) as $key => $name ) : ?>
Please login to merge, or discard this patch.
admin/jqadm/templates/common/partials/listsearch-standard.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,11 +62,11 @@
 block discarded – undo
62 62
 
63 63
 	<td class="actions">
64 64
 		<button type="submit" class="btn act-search fa" tabindex="<?= $this->get( 'tabindex' ); ?>"
65
-			title="<?= $enc->attr( $this->translate( 'admin', 'Search') ); ?>"
65
+			title="<?= $enc->attr( $this->translate( 'admin', 'Search' ) ); ?>"
66 66
 			aria-label="<?= $enc->attr( $this->translate( 'admin', 'Search' ) ); ?>">
67 67
 		</button>
68 68
 		<a class="btn act-reset fa" href="#" tabindex="<?= $this->get( 'tabindex' ); ?>"
69
-			title="<?= $enc->attr( $this->translate( 'admin', 'Reset') ); ?>"
69
+			title="<?= $enc->attr( $this->translate( 'admin', 'Reset' ) ); ?>"
70 70
 			aria-label="<?= $enc->attr( $this->translate( 'admin', 'Reset' ) ); ?>"></a>
71 71
 	</td>
72 72
 </tr>
Please login to merge, or discard this patch.
admin/jqadm/templates/common/partials/itemactions-standard.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,14 +25,14 @@
 block discarded – undo
25 25
 
26 26
 ?>
27 27
 <a class="btn btn-secondary act-cancel"
28
-	title="<?= $enc->attr( $this->translate( 'admin', 'Cancel and return to list') ); ?>"
28
+	title="<?= $enc->attr( $this->translate( 'admin', 'Cancel and return to list' ) ); ?>"
29 29
 	href="<?= $enc->attr( $this->url( $listTarget, $listCntl, $listAction, $params, [], $listConfig ) ); ?>">
30 30
 	<?= $enc->html( $this->translate( 'admin', 'Cancel' ) ); ?>
31 31
 </a>
32 32
 
33 33
 <div class="btn-group">
34 34
 	<button type="submit" class="btn btn-primary act-save"
35
-		title="<?= $enc->attr( $this->translate( 'admin', 'Save entry (Ctrl+S)') ); ?>">
35
+		title="<?= $enc->attr( $this->translate( 'admin', 'Save entry (Ctrl+S)' ) ); ?>">
36 36
 		<?= $enc->html( $this->translate( 'admin', 'Save' ) ); ?>
37 37
 	</button>
38 38
 	<button type="button" class="btn btn-primary dropdown-toggle dropdown-toggle-split" data-toggle="dropdown"
Please login to merge, or discard this patch.
admin/jqadm/templates/common/partials/pagination-standard.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
 $first = ( $offset > 0 ? 0 : null );
43 43
 $prev = ( $offset - $limit >= 0 ? $offset - $limit : null );
44 44
 $next = ( $offset + $limit < $total ? $offset + $limit : null );
45
-$last = ( floor(($total - 1) / $limit) * $limit > $offset ? floor(($total - 1) / $limit) * $limit : null );
45
+$last = ( floor( ( $total - 1 ) / $limit ) * $limit > $offset ? floor( ( $total - 1 ) / $limit ) * $limit : null );
46 46
 
47 47
 $pageCurrent = floor( $offset / $limit ) + 1;
48 48
 $pageTotal = ( $total != 0 ? ceil( $total / $limit ) : 1 );
Please login to merge, or discard this patch.