@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | |
24 | 24 | <div class="home-item <?= $enc->attr( $this->homeTree->getCode() ) ?>"> |
25 | 25 | |
26 | - <?php if( !( $mediaItems = $this->homeTree->getRefItems( 'media', 'stage', 'default') )->isEmpty() ) : ?> |
|
26 | + <?php if( !( $mediaItems = $this->homeTree->getRefItems( 'media', 'stage', 'default' ) )->isEmpty() ) : ?> |
|
27 | 27 | <div class="home-stage"> |
28 | 28 | <?php foreach( $mediaItems as $mediaItem ) : ?> |
29 | 29 | <a class="stage-item" href="<?= $enc->attr( $this->link( 'client/html/catalog/lists/url', ['f_catid' => $this->homeTree->getId(), 'f_name' => $this->homeTree->getName( 'url' )] ) ) ?>"> |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | |
55 | 55 | <div class="home-item <?= $enc->attr( $child->getCode() ) ?>"> |
56 | 56 | |
57 | - <?php if( !( $mediaItems = $child->getRefItems( 'media', 'stage', 'default') )->isEmpty() ) : ?> |
|
57 | + <?php if( !( $mediaItems = $child->getRefItems( 'media', 'stage', 'default' ) )->isEmpty() ) : ?> |
|
58 | 58 | <div class="home-stage"> |
59 | 59 | <?php foreach( $mediaItems as $mediaItem ) : ?> |
60 | 60 | <a class="stage-item" href="<?= $enc->attr( $this->link( 'client/html/catalog/lists/url', ['f_catid' => $child->getId(), 'f_name' => $child->getName( 'url' )] ) ) ?>"> |
@@ -166,8 +166,7 @@ discard block |
||
166 | 166 | } |
167 | 167 | |
168 | 168 | $html = $view->render( $config->get( $tplconf, $default ) ); |
169 | - } |
|
170 | - else |
|
169 | + } else |
|
171 | 170 | { |
172 | 171 | $html = $this->modifyBody( $html, $uid ); |
173 | 172 | } |
@@ -236,8 +235,7 @@ discard block |
||
236 | 235 | { |
237 | 236 | $this->logException( $e ); |
238 | 237 | } |
239 | - } |
|
240 | - else |
|
238 | + } else |
|
241 | 239 | { |
242 | 240 | $html = $this->modifyHeader( $html, $uid ); |
243 | 241 | } |
@@ -443,7 +443,7 @@ |
||
443 | 443 | } |
444 | 444 | |
445 | 445 | $tree = \Aimeos\Controller\Frontend::create( $context, 'catalog' )->uses( $domains ) |
446 | - ->getTree( \Aimeos\Controller\Frontend\Catalog\Iface::LIST ); |
|
446 | + ->getTree( \Aimeos\Controller\Frontend\Catalog\Iface::list ); |
|
447 | 447 | |
448 | 448 | |
449 | 449 | $articles = map(); |