Passed
Push — master ( d159a0...d01980 )
by Aimeos
09:30
created
client/html/templates/catalog/filter/attribute-body-standard.php 1 patch
Braces   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,10 @@
 block discarded – undo
58 58
 									<?php $current = $params; if( is_array( $current['f_optid'] ) ) { unset( $current['f_optid'][$key] ); } ?>
59 59
 								<?php elseif( isset( $oneIds[$attrType] ) && ( $key = array_search( $id, (array) $oneIds[$attrType] ) ) !== false ) : ?>
60 60
 									<?php $current = $params; if( is_array( $current['f_oneid'][$attrType] ) ) { unset( $current['f_oneid'][$attrType][$key] ); } ?>
61
-								<?php else : continue; ?>
61
+								<?php else {
62
+	: continue;
63
+}
64
+?>
62 65
 								<?php endif; ?>
63 66
 								<li class="attr-item">
64 67
 									<a class="attr-name" href="<?= $enc->attr( $this->link( 'client/html/catalog/lists/url', $attribute->get( 'params', [] ) ) ); ?>">
Please login to merge, or discard this patch.
client/html/templates/catalog/lists/pagination-standard.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -44,19 +44,19 @@  discard block
 block discarded – undo
44 44
 				</a>
45 45
 			</li>
46 46
 			<li>
47
-				<?php $url = $this->link( $key, ['f_sort' => '-ctime'] + $params, ) ?>
47
+				<?php $url = $this->link( $key, ['f_sort' => '-ctime'] + $params,) ?>
48 48
 				<a class="option-ctime <?= ( $sort === '-ctime' ? 'active' : '' ) ?>" href="<?= $enc->attr( $url ) ?>">
49 49
 					<?= $enc->html( $this->translate( 'client', 'Latest' ), $enc::TRUST ) ?>
50 50
 				</a>
51 51
 			</li>
52 52
 			<li>
53
-				<?php $url = $this->link( $key, ['f_sort' => $nameDir . 'name'] + $params, ) ?>
53
+				<?php $url = $this->link( $key, ['f_sort' => $nameDir . 'name'] + $params,) ?>
54 54
 				<a class="option-name <?= ( $sortname === 'name' ? 'active' : '' ) ?>" href="<?= $enc->attr( $url ) ?>">
55 55
 					<?= $enc->html( $nameSort, $enc::TRUST ) ?>
56 56
 				</a>
57 57
 			</li>
58 58
 			<li>
59
-				<?php $url = $this->link( $key, ['f_sort' => $priceDir . 'price'] + $params, ) ?>
59
+				<?php $url = $this->link( $key, ['f_sort' => $priceDir . 'price'] + $params,) ?>
60 60
 				<a class="option-price <?= ( $sortname === 'price' ? 'active' : '' ) ?>" href="<?= $enc->attr( $url ) ?>">
61 61
 					<?= $enc->html( $priceSort, $enc::TRUST ) ?>
62 62
 				</a>
@@ -67,24 +67,24 @@  discard block
 block discarded – undo
67 67
 	<?php if( $this->last > 1 ) : ?>
68 68
 		<div class="browser">
69 69
 
70
-			<?php $url = $this->link( $key, ['l_page' => 1] + $params, ) ?>
70
+			<?php $url = $this->link( $key, ['l_page' => 1] + $params,) ?>
71 71
 			<a class="first" href="<?= $enc->attr( $url ) ?>">
72 72
 				<?= $enc->html( $this->translate( 'client', '◀◀' ), $enc::TRUST ) ?>
73 73
 			</a>
74 74
 
75
-			<?php $url = $this->link( $key, ['l_page' => $this->prev] + $params, ) ?>
75
+			<?php $url = $this->link( $key, ['l_page' => $this->prev] + $params,) ?>
76 76
 			<a class="prev" href="<?= $enc->attr( $url ) ?>" rel="prev">
77 77
 				<?= $enc->html( $this->translate( 'client', '◀' ), $enc::TRUST ) ?>
78 78
 			</a>
79 79
 
80 80
 			<span><?= $enc->html( sprintf( $this->translate( 'client', 'Page %1$d of %2$d' ), $this->current, $this->last ) ) ?></span>
81 81
 
82
-			<?php $url = $this->link( $key, ['l_page' => $this->next] + $params, ) ?>
82
+			<?php $url = $this->link( $key, ['l_page' => $this->next] + $params,) ?>
83 83
 			<a class="next" href="<?= $enc->attr( $url ) ?>" rel="next">
84 84
 				<?= $enc->html( $this->translate( 'client', '▶' ), $enc::TRUST ) ?>
85 85
 			</a>
86 86
 
87
-			<?php $url = $this->link( $key, ['l_page' => $this->last] + $params, ) ?>
87
+			<?php $url = $this->link( $key, ['l_page' => $this->last] + $params,) ?>
88 88
 			<a class="last" href="<?= $enc->attr( $url ) ?>">
89 89
 				<?= $enc->html( $this->translate( 'client', '▶▶' ), $enc::TRUST ) ?>
90 90
 			</a>
Please login to merge, or discard this patch.