@@ -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 | |
@@ -50,8 +50,11 @@ |
||
| 50 | 50 | <title><?= $enc->html( sprintf( $this->translate( 'client', 'Result for "%1$s"' ), strip_tags( $search ) ) ); ?> | <?= $enc->html( $this->get( 'contextSiteLabel', 'Aimeos' ) ) ?></title> |
| 51 | 51 | <meta name="keywords" content="<?= $enc->attr( strip_tags( $search ) ); ?>" /> |
| 52 | 52 | <meta name="description" content="<?= $enc->attr( strip_tags( $search ) ); ?>" /> |
| 53 | - <?php else : ?> |
|
| 54 | - <title><?= $enc->html( $this->translate( 'client', 'Our products' ) ); ?> | <?= $enc->html( $this->get( 'contextSiteLabel', 'Aimeos' ) ) ?></title> |
|
| 53 | + <?php else { |
|
| 54 | + : ?> |
|
| 55 | + <title><?= $enc->html( $this->translate( 'client', 'Our products' ) ); |
|
| 56 | +} |
|
| 57 | +?> | <?= $enc->html( $this->get( 'contextSiteLabel', 'Aimeos' ) ) ?></title> |
|
| 55 | 58 | <meta name="keywords" content="<?= $enc->attr( $this->translate( 'client', 'Our products' ) ); ?>" /> |
| 56 | 59 | <meta name="description" content="<?= $enc->attr( $this->translate( 'client', 'Our products' ) ); ?>" /> |
| 57 | 60 | <?php endif; ?> |