@@ -24,7 +24,7 @@ |
||
| 24 | 24 | $this->pdf->setFont( 'dejavusans', '', 10 ); |
| 25 | 25 | |
| 26 | 26 | $vmargin = [ |
| 27 | - 'h1' => [ // HTML tag |
|
| 27 | + 'h1' => [// HTML tag |
|
| 28 | 28 | 0 => ['h' => 1.5, 'n' => 0], // space before = h * n |
| 29 | 29 | 1 => ['h' => 1.5, 'n' => 3] // space after = h * n |
| 30 | 30 | ], |
@@ -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' )] ) ) ?>"> |