@@ -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' )] ) ) ?>"> |