@@ -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> |
@@ -316,13 +316,11 @@ |
||
316 | 316 | { |
317 | 317 | $item = $item->set( 'checked', true ); |
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 ); |
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 ); |
328 | 326 | unset( $params[$key] ); |
@@ -24,9 +24,12 @@ |
||
24 | 24 | |
25 | 25 | <?php if( ( $mediaItem = $productItem->getRefItems( 'media', 'default', 'default' )->first() ) !== null ) : ?> |
26 | 26 | <div class="media-item" style="background-image: url('<?= $this->content( $mediaItem->getPreview() ); ?>')"></div> |
27 | - <?php else : ?> |
|
27 | + <?php else { |
|
28 | + : ?> |
|
28 | 29 | <div class="media-item"></div> |
29 | - <?php endif; ?> |
|
30 | + <?php endif; |
|
31 | +} |
|
32 | +?> |
|
30 | 33 | |
31 | 34 | <h3 class="name"><?= $enc->html( $productItem->getName(), $enc::TRUST ); ?></h3> |
32 | 35 |