@@ -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> |
@@ -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 |
@@ -123,9 +123,12 @@ |
||
123 | 123 | |
124 | 124 | </ul> |
125 | 125 | |
126 | - <?php else : ?> |
|
126 | + <?php else { |
|
127 | + : ?> |
|
127 | 128 | |
128 | - <input type="hidden" value="1" name="<?= $enc->attr( $this->formparam( ['b_prod', 0, 'attrconfid', 'qty', ''] ) ); ?>" /> |
|
129 | + <input type="hidden" value="1" name="<?= $enc->attr( $this->formparam( ['b_prod', 0, 'attrconfid', 'qty', ''] ) ); |
|
130 | +} |
|
131 | +?>" /> |
|
129 | 132 | <select class="form-control select-list" name="<?= $enc->attr( $this->formparam( ['b_prod', 0, 'attrconfid', 'id', ''] ) ); ?>"> |
130 | 133 | |
131 | 134 | <?php if( $this->config( 'client/html/catalog/attribute/preselect/' . $code, false ) === false ) : ?> |
@@ -150,10 +150,13 @@ |
||
150 | 150 | |
151 | 151 | </ul> |
152 | 152 | |
153 | - <?php else : ?> |
|
153 | + <?php else { |
|
154 | + : ?> |
|
154 | 155 | |
155 | 156 | <select class="form-control select-list" |
156 | - name="<?= $enc->attr( $this->formparam( ['b_prod', 0, 'attrvarid', $code] ) ); ?>" |
|
157 | + name="<?= $enc->attr( $this->formparam( ['b_prod', 0, 'attrvarid', $code] ) ); |
|
158 | +} |
|
159 | +?>" |
|
157 | 160 | data-index="<?= $index++; ?>" data-type="<?= $enc->attr( $code ); ?>" > |
158 | 161 | |
159 | 162 | <?php if( !$this->config( 'client/html/catalog/selection/preselect/' . $code, false ) ) : ?> |
@@ -322,8 +322,7 @@ |
||
322 | 322 | { |
323 | 323 | $serviceCntl = \Aimeos\Controller\Frontend::create( $context, 'service' ); |
324 | 324 | $orderItem = $serviceCntl->updateSync( $view->request(), $code, $orderid ); |
325 | - } |
|
326 | - else |
|
325 | + } else |
|
327 | 326 | { |
328 | 327 | $orderCntl = \Aimeos\Controller\Frontend::create( $context, 'order' ); |
329 | 328 | $orderItem = $orderCntl->get( $orderid, false ); |
@@ -317,13 +317,11 @@ |
||
317 | 317 | { |
318 | 318 | $item = $item->set( 'checked', true ); |
319 | 319 | unset( $params[$key] ); |
320 | - } |
|
321 | - elseif( ( $key = array_search( $id, $oneIds ) ) !== false ) |
|
320 | + } elseif( ( $key = array_search( $id, $oneIds ) ) !== false ) |
|
322 | 321 | { |
323 | 322 | $item = $item->set( 'checked', true ); |
324 | 323 | unset( $params[$key] ); |
325 | - } |
|
326 | - elseif( ( $key = array_search( $id, $optIds ) ) !== false ) |
|
324 | + } elseif( ( $key = array_search( $id, $optIds ) ) !== false ) |
|
327 | 325 | { |
328 | 326 | $item = $item->set( 'checked', true ); |
329 | 327 | unset( $params[$key] ); |
@@ -55,8 +55,11 @@ |
||
55 | 55 | $this->config( 'client/html/checkout/confirm/summary/address', 'common/summary/address-standard' ), |
56 | 56 | ['addresses' => $addresses, 'type' => 'delivery'] |
57 | 57 | ); ?> |
58 | - <?php else : ?> |
|
59 | - <?= $enc->html( $this->translate( 'client', 'like billing address' ), $enc::TRUST ); ?> |
|
58 | + <?php else { |
|
59 | + : ?> |
|
60 | + <?= $enc->html( $this->translate( 'client', 'like billing address' ), $enc::TRUST ); |
|
61 | +} |
|
62 | +?> |
|
60 | 63 | <?php endif; ?> |
61 | 64 | </div> |
62 | 65 | </div> |