@@ -56,8 +56,11 @@ |
||
56 | 56 | $this->config( 'client/html/email/common/summary/address/html', 'common/summary/address-standard' ), |
57 | 57 | array( 'address' => $addresses['delivery'], 'type' => 'delivery' ) |
58 | 58 | ); ?> |
59 | - <?php else : ?> |
|
60 | - <?= $enc->html( $this->translate( 'client', 'like billing address' ), $enc::TRUST ); ?> |
|
59 | + <?php else { |
|
60 | + : ?> |
|
61 | + <?= $enc->html( $this->translate( 'client', 'like billing address' ), $enc::TRUST ); |
|
62 | +} |
|
63 | +?> |
|
61 | 64 | <?php endif; ?> |
62 | 65 | </div> |
63 | 66 | </div> |
@@ -20,8 +20,11 @@ |
||
20 | 20 | |
21 | 21 | <?php if( ( $pass = $this->get( 'extAccountPassword' ) ) !== null ) : ?> |
22 | 22 | <?= $this->translate( 'client', 'Password' ); ?>: <?= $pass; ?> |
23 | -<?php else : ?> |
|
24 | - <?= $this->translate( 'client', 'Password' ); ?>: <?= $this->translate( 'client', 'Like entered by you' ); ?> |
|
23 | +<?php else { |
|
24 | + : ?> |
|
25 | + <?= $this->translate( 'client', 'Password' ); |
|
26 | +} |
|
27 | +?>: <?= $this->translate( 'client', 'Like entered by you' ); ?> |
|
25 | 28 | <?php endif; ?> |
26 | 29 | |
27 | 30 |
@@ -120,9 +120,12 @@ |
||
120 | 120 | href="<?= $enc->attr( $this->url( $checkoutTarget, $checkoutController, $checkoutAction, [], [], $checkoutConfig ) ); ?>"> |
121 | 121 | <?= $enc->html( $this->translate( 'client', 'Checkout' ), $enc::TRUST ); ?> |
122 | 122 | </a> |
123 | - <?php else : ?> |
|
123 | + <?php else { |
|
124 | + : ?> |
|
124 | 125 | <a class="btn btn-primary btn-lg btn-action" |
125 | - href="<?= $enc->attr( $this->url( $basketTarget, $basketController, $basketAction, array( 'b_check' => 1 ), [], $basketConfig ) ); ?>"> |
|
126 | + href="<?= $enc->attr( $this->url( $basketTarget, $basketController, $basketAction, array( 'b_check' => 1 ), [], $basketConfig ) ); |
|
127 | +} |
|
128 | +?>"> |
|
126 | 129 | <?= $enc->html( $this->translate( 'client', 'Check' ), $enc::TRUST ); ?> |
127 | 130 | </a> |
128 | 131 | <?php endif; ?> |
@@ -122,8 +122,11 @@ |
||
122 | 122 | <span class="value col-xs-6"> |
123 | 123 | <?php if( isset( $intervals[$item->getInterval()] ) ) : ?> |
124 | 124 | <?= $enc->html( $intervals[$item->getInterval()]->getName(), $enc::TRUST ); ?> |
125 | - <?php else : ?> |
|
126 | - <?= $enc->html( $item->getInterval(), $enc::TRUST ); ?> |
|
125 | + <?php else { |
|
126 | + : ?> |
|
127 | + <?= $enc->html( $item->getInterval(), $enc::TRUST ); |
|
128 | +} |
|
129 | +?> |
|
127 | 130 | <?php endif; ?> |
128 | 131 | </span> |
129 | 132 | </div> |
@@ -68,8 +68,11 @@ |
||
68 | 68 | $this->config( 'client/html/account/subscription/summary/address', 'common/summary/address-standard' ), |
69 | 69 | array( 'address' => $addresses['delivery'], 'type' => 'delivery' ) |
70 | 70 | ); ?> |
71 | - <?php else : ?> |
|
72 | - <?= $enc->html( $this->translate( 'client', 'like billing address' ), $enc::TRUST ); ?> |
|
71 | + <?php else { |
|
72 | + : ?> |
|
73 | + <?= $enc->html( $this->translate( 'client', 'like billing address' ), $enc::TRUST ); |
|
74 | +} |
|
75 | +?> |
|
73 | 76 | <?php endif; ?> |
74 | 77 | </div> |
75 | 78 | </div> |
@@ -70,8 +70,11 @@ |
||
70 | 70 | $this->config( 'client/html/account/history/summary/address', 'common/summary/address-standard' ), |
71 | 71 | array( 'address' => $addresses['delivery'], 'type' => 'delivery' ) |
72 | 72 | ); ?> |
73 | - <?php else : ?> |
|
74 | - <?= $enc->html( $this->translate( 'client', 'like billing address' ), $enc::TRUST ); ?> |
|
73 | + <?php else { |
|
74 | + : ?> |
|
75 | + <?= $enc->html( $this->translate( 'client', 'like billing address' ), $enc::TRUST ); |
|
76 | +} |
|
77 | +?> |
|
75 | 78 | <?php endif; ?> |
76 | 79 | </div> |
77 | 80 | </div> |
@@ -125,9 +125,12 @@ |
||
125 | 125 | |
126 | 126 | <?php if( ( $mediaItem = reset( $mediaItems ) ) !== false ) : ?> |
127 | 127 | <div class="media-item" style="background-image: url('<?= $this->content( $mediaItem->getPreview() ); ?>')"></div> |
128 | - <?php else : ?> |
|
128 | + <?php else { |
|
129 | + : ?> |
|
129 | 130 | <div class="media-item"></div> |
130 | - <?php endif; ?> |
|
131 | + <?php endif; |
|
132 | +} |
|
133 | +?> |
|
131 | 134 | |
132 | 135 | <h3 class="name"><?= $enc->html( $productItem->getName(), $enc::TRUST ); ?></h3> |
133 | 136 | <div class="price-list"> |
@@ -126,9 +126,12 @@ |
||
126 | 126 | |
127 | 127 | <?php if( ( $mediaItem = reset( $mediaItems ) ) !== false ) : ?> |
128 | 128 | <div class="media-item" style="background-image: url('<?= $this->content( $mediaItem->getPreview() ); ?>')"></div> |
129 | - <?php else : ?> |
|
129 | + <?php else { |
|
130 | + : ?> |
|
130 | 131 | <div class="media-item"></div> |
131 | - <?php endif; ?> |
|
132 | + <?php endif; |
|
133 | +} |
|
134 | +?> |
|
132 | 135 | |
133 | 136 | <h3 class="name"><?= $enc->html( $productItem->getName(), $enc::TRUST ); ?></h3> |
134 | 137 |
@@ -241,7 +241,9 @@ |
||
241 | 241 | } |
242 | 242 | } |
243 | 243 | } |
244 | - catch( \Exception $e ) { ; } // no price available |
|
244 | + catch( \Exception $e ) |
|
245 | + { |
|
246 | +; } // no price available |
|
245 | 247 | } |
246 | 248 | |
247 | 249 | return $result; |