@@ -190,8 +190,7 @@ discard block |
||
| 190 | 190 | } |
| 191 | 191 | |
| 192 | 192 | $html = $view->render( $view->config( $tplconf, $default ) ); |
| 193 | - } |
|
| 194 | - else |
|
| 193 | + } else |
|
| 195 | 194 | { |
| 196 | 195 | $html = $this->modifyBody( $html, $uid ); |
| 197 | 196 | } |
@@ -261,8 +260,7 @@ discard block |
||
| 261 | 260 | { |
| 262 | 261 | $this->logException( $e ); |
| 263 | 262 | } |
| 264 | - } |
|
| 265 | - else |
|
| 263 | + } else |
|
| 266 | 264 | { |
| 267 | 265 | $html = $this->modifyHeader( $html, $uid ); |
| 268 | 266 | } |
@@ -87,8 +87,11 @@ |
||
| 87 | 87 | $this->config( 'client/html/checkout/standard/summary/address', 'common/summary/address-standard' ), |
| 88 | 88 | array( 'addresses' => $addresses['delivery'], 'type' => 'delivery' ) |
| 89 | 89 | ); ?> |
| 90 | - <?php else : ?> |
|
| 91 | - <?= $enc->html( $this->translate( 'client', 'like billing address' ), $enc::TRUST ); ?> |
|
| 90 | + <?php else { |
|
| 91 | + : ?> |
|
| 92 | + <?= $enc->html( $this->translate( 'client', 'like billing address' ), $enc::TRUST ); |
|
| 93 | +} |
|
| 94 | +?> |
|
| 92 | 95 | <?php endif; ?> |
| 93 | 96 | </div> |
| 94 | 97 | </div> |
@@ -58,8 +58,11 @@ |
||
| 58 | 58 | $this->config( 'client/html/checkout/confirm/summary/address', 'common/summary/address-standard' ), |
| 59 | 59 | array( 'addresses' => $addresses['delivery'], 'type' => 'delivery' ) |
| 60 | 60 | ); ?> |
| 61 | - <?php else : ?> |
|
| 62 | - <?= $enc->html( $this->translate( 'client', 'like billing address' ), $enc::TRUST ); ?> |
|
| 61 | + <?php else { |
|
| 62 | + : ?> |
|
| 63 | + <?= $enc->html( $this->translate( 'client', 'like billing address' ), $enc::TRUST ); |
|
| 64 | +} |
|
| 65 | +?> |
|
| 63 | 66 | <?php endif; ?> |
| 64 | 67 | </div> |
| 65 | 68 | </div> |
@@ -68,8 +68,11 @@ |
||
| 68 | 68 | $this->config( 'client/html/account/subscription/summary/address', 'common/summary/address-standard' ), |
| 69 | 69 | array( 'addresses' => $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( 'addresses' => $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> |
@@ -14,8 +14,7 @@ |
||
| 14 | 14 | |
| 15 | 15 | $enc = $this->encoder(); |
| 16 | 16 | |
| 17 | -$getVariantData = function( \Aimeos\MShop\Media\Item\Iface $mediaItem ) use ( $enc ) |
|
| 18 | -{ |
|
| 17 | +$getVariantData = function( \Aimeos\MShop\Media\Item\Iface $mediaItem ) use ( $enc ) { |
|
| 19 | 18 | $string = ''; |
| 20 | 19 | |
| 21 | 20 | foreach( $mediaItem->getRefItems( 'attribute', null, 'variant' ) as $id => $item ) { |
@@ -13,8 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | |
| 15 | 15 | |
| 16 | -$getProductList = function( array $posItems, array $items ) |
|
| 17 | -{ |
|
| 16 | +$getProductList = function( array $posItems, array $items ) { |
|
| 18 | 17 | $list = []; |
| 19 | 18 | |
| 20 | 19 | foreach( $posItems as $id => $posItem ) |
@@ -14,8 +14,7 @@ |
||
| 14 | 14 | |
| 15 | 15 | $enc = $this->encoder(); |
| 16 | 16 | |
| 17 | -$getVariantData = function( \Aimeos\MShop\Media\Item\Iface $mediaItem ) use ( $enc ) |
|
| 18 | -{ |
|
| 17 | +$getVariantData = function( \Aimeos\MShop\Media\Item\Iface $mediaItem ) use ( $enc ) { |
|
| 19 | 18 | $string = ''; |
| 20 | 19 | |
| 21 | 20 | foreach( $mediaItem->getRefItems( 'attribute', null, 'variant' ) as $id => $item ) { |
@@ -122,8 +122,11 @@ |
||
| 122 | 122 | <span class="value col-sm-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> |