@@ -316,13 +316,11 @@ |
||
316 | 316 | { |
317 | 317 | $item = $item->set( 'checked', true )->set( 'formparam', ['f_attrid', ''] ); |
318 | 318 | unset( $params[$key] ); |
319 | - } |
|
320 | - elseif( ( $key = array_search( $id, $oneIds ) ) !== null ) |
|
319 | + } elseif( ( $key = array_search( $id, $oneIds ) ) !== null ) |
|
321 | 320 | { |
322 | 321 | $item = $item->set( 'checked', true )->set( 'formparam', ['f_oneid', ''] ); |
323 | 322 | unset( $params[$key] ); |
324 | - } |
|
325 | - elseif( ( $key = array_search( $id, $optIds ) ) !== null ) |
|
323 | + } elseif( ( $key = array_search( $id, $optIds ) ) !== null ) |
|
326 | 324 | { |
327 | 325 | $item = $item->set( 'checked', true )->set( 'formparam', [$item->getType(), 'f_optid', ''] ); |
328 | 326 | unset( $params[$key] ); |
@@ -66,8 +66,11 @@ |
||
66 | 66 | $this->config( 'client/html/account/subscription/summary/address', 'common/summary/address-standard' ), |
67 | 67 | array( 'addresses' => $this->summaryBasket->getAddress( 'delivery' ), 'type' => 'delivery' ) |
68 | 68 | ); ?> |
69 | - <?php else : ?> |
|
70 | - <?= $enc->html( $this->translate( 'client', 'like billing address' ), $enc::TRUST ); ?> |
|
69 | + <?php else { |
|
70 | + : ?> |
|
71 | + <?= $enc->html( $this->translate( 'client', 'like billing address' ), $enc::TRUST ); |
|
72 | +} |
|
73 | +?> |
|
71 | 74 | <?php endif; ?> |
72 | 75 | </div> |
73 | 76 | </div> |
@@ -119,8 +119,11 @@ |
||
119 | 119 | <span class="value col-sm-6"> |
120 | 120 | <?php if( $interval = $this->get( 'listsIntervalItems', map() )->get( $item->getInterval() ) ) : ?> |
121 | 121 | <?= $enc->html( $interval->getName(), $enc::TRUST ); ?> |
122 | - <?php else : ?> |
|
123 | - <?= $enc->html( $item->getInterval(), $enc::TRUST ); ?> |
|
122 | + <?php else { |
|
123 | + : ?> |
|
124 | + <?= $enc->html( $item->getInterval(), $enc::TRUST ); |
|
125 | +} |
|
126 | +?> |
|
124 | 127 | <?php endif; ?> |
125 | 128 | </span> |
126 | 129 | </div> |
@@ -73,8 +73,11 @@ |
||
73 | 73 | $this->config( 'client/html/account/history/summary/address', 'common/summary/address-standard' ), |
74 | 74 | array( 'addresses' => $this->summaryBasket->getAddress( 'delivery' ), 'type' => 'delivery' ) |
75 | 75 | ); ?> |
76 | - <?php else : ?> |
|
77 | - <?= $enc->html( $this->translate( 'client', 'like billing address' ), $enc::TRUST ); ?> |
|
76 | + <?php else { |
|
77 | + : ?> |
|
78 | + <?= $enc->html( $this->translate( 'client', 'like billing address' ), $enc::TRUST ); |
|
79 | +} |
|
80 | +?> |
|
78 | 81 | <?php endif; ?> |
79 | 82 | </div> |
80 | 83 | </div> |
@@ -59,9 +59,12 @@ |
||
59 | 59 | </a> |
60 | 60 | </li> |
61 | 61 | <?php endforeach; ?> |
62 | - <?php else : ?> |
|
62 | + <?php else { |
|
63 | + : ?> |
|
63 | 64 | <li> |
64 | - <a href="<?= $enc->attr( $this->url( $listTarget, $listController, $listAction, $this->get( 'stageParams', [] ), [], $listConfig ) ); ?>"> |
|
65 | + <a href="<?= $enc->attr( $this->url( $listTarget, $listController, $listAction, $this->get( 'stageParams', [] ), [], $listConfig ) ); |
|
66 | +} |
|
67 | +?>"> |
|
65 | 68 | <?= $enc->html( $this->translate( 'client', 'Your search result' ), $enc::TRUST ); ?> |
66 | 69 | </a> |
67 | 70 | </li> |