@@ -113,9 +113,12 @@ |
||
113 | 113 | <a class="col-10 item-link" href="<?= $enc->attr( $this->url( $item->getTarget() ?: $target, $controller, $action, array_merge( $this->get( 'params', [] ), ['f_name' => $item->getName( 'url' ), 'f_catid' => $item->getId()] ), [], $config ) ); ?>"><?= $enc->html( $item->getName(), $enc::TRUST ); ?></a> |
114 | 114 | <a class="col-2 data-link" data-submenu="<?= $enc->html( $item->getName(), $enc::TRUST ); ?>" href="#"></a> |
115 | 115 | </div> |
116 | - <?php else : ?> |
|
116 | + <?php else { |
|
117 | + : ?> |
|
117 | 118 | <div class="item-links"> |
118 | - <a class="col-12 item-link" href="<?= $enc->attr( $this->url( $item->getTarget() ?: $target, $controller, $action, array_merge( $this->get( 'params', [] ), ['f_name' => $item->getName( 'url' ), 'f_catid' => $item->getId()] ), [], $config ) ); ?>"><?= $enc->html( $item->getName(), $enc::TRUST ); ?></a> |
|
119 | + <a class="col-12 item-link" href="<?= $enc->attr( $this->url( $item->getTarget() ?: $target, $controller, $action, array_merge( $this->get( 'params', [] ), ['f_name' => $item->getName( 'url' ), 'f_catid' => $item->getId()] ), [], $config ) ); |
|
120 | +} |
|
121 | +?>"><?= $enc->html( $item->getName(), $enc::TRUST ); ?></a> |
|
119 | 122 | |
120 | 123 | </div> |
121 | 124 | <?php endif; ?> |
@@ -31,9 +31,12 @@ |
||
31 | 31 | <a class="col-10 item-link" href="<?= $enc->attr( $this->url( $item->getTarget() ?: $target, $controller, $action, array_merge( $this->get( 'params', [] ), ['f_name' => $item->getName( 'url' ), 'f_catid' => $item->getId()] ), [], $config ) ); ?>"><?= $enc->html( $item->getName(), $enc::TRUST ); ?></a> |
32 | 32 | <a class="col-2 data-link" data-submenu="<?= $enc->html( $item->getName(), $enc::TRUST ); ?>" href="#"></a> |
33 | 33 | </div> |
34 | - <?php else : ?> |
|
34 | + <?php else { |
|
35 | + : ?> |
|
35 | 36 | <div class="item-links"> |
36 | - <a class="col-12 item-link" href="<?= $enc->attr( $this->url( $item->getTarget() ?: $target, $controller, $action, array_merge( $this->get( 'params', [] ), ['f_name' => $item->getName( 'url' ), 'f_catid' => $item->getId()] ), [], $config ) ); ?>"><?= $enc->html( $item->getName(), $enc::TRUST ); ?></a> |
|
37 | + <a class="col-12 item-link" href="<?= $enc->attr( $this->url( $item->getTarget() ?: $target, $controller, $action, array_merge( $this->get( 'params', [] ), ['f_name' => $item->getName( 'url' ), 'f_catid' => $item->getId()] ), [], $config ) ); |
|
38 | +} |
|
39 | +?>"><?= $enc->html( $item->getName(), $enc::TRUST ); ?></a> |
|
37 | 40 | </div> |
38 | 41 | <?php endif; ?> |
39 | 42 |
@@ -31,9 +31,12 @@ |
||
31 | 31 | <a class="col-10 item-link" href="<?= $enc->attr( $this->url( $item->getTarget() ?: $target, $controller, $action, array_merge( $this->get( 'params', [] ), ['f_name' => $item->getName( 'url' ), 'f_catid' => $item->getId()] ), [], $config ) ); ?>"><?= $enc->html( $item->getName(), $enc::TRUST ); ?></a> |
32 | 32 | <a class="col-2 data-link" data-submenu="<?= $enc->html( $item->getName(), $enc::TRUST ); ?>" href="#"></a> |
33 | 33 | </div> |
34 | - <?php else : ?> |
|
34 | + <?php else { |
|
35 | + : ?> |
|
35 | 36 | <div class="item-links"> |
36 | - <a class="col-12 item-link" href="<?= $enc->attr( $this->url( $item->getTarget() ?: $target, $controller, $action, array_merge( $this->get( 'params', [] ), ['f_name' => $item->getName( 'url' ), 'f_catid' => $item->getId()] ), [], $config ) ); ?>"><?= $enc->html( $item->getName(), $enc::TRUST ); ?></a> |
|
37 | + <a class="col-12 item-link" href="<?= $enc->attr( $this->url( $item->getTarget() ?: $target, $controller, $action, array_merge( $this->get( 'params', [] ), ['f_name' => $item->getName( 'url' ), 'f_catid' => $item->getId()] ), [], $config ) ); |
|
38 | +} |
|
39 | +?>"><?= $enc->html( $item->getName(), $enc::TRUST ); ?></a> |
|
37 | 40 | </div> |
38 | 41 | <?php endif; ?> |
39 | 42 |