@@ -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; ?> |
@@ -21,7 +21,8 @@ discard block |
||
21 | 21 | <meta name="description" content="<?= $enc->attr( strip_tags( $textItem->getContent() ) ); ?>" /> |
22 | 22 | <?php endforeach; ?> |
23 | 23 | |
24 | -<?php else : ?> |
|
24 | +<?php else { |
|
25 | + : ?> |
|
25 | 26 | |
26 | 27 | <title><?= $enc->html( $this->get( 'contextSiteLabel', 'Aimeos' ) ) ?></title> |
27 | 28 | |
@@ -29,7 +30,9 @@ discard block |
||
29 | 30 | |
30 | 31 | <?php if( isset( $this->homeStockUrl ) ) : ?> |
31 | 32 | <?php foreach( $this->homeStockUrl as $url ) : ?> |
32 | - <script type="text/javascript" defer="defer" src="<?= $enc->attr( $url ); ?>"></script> |
|
33 | + <script type="text/javascript" defer="defer" src="<?= $enc->attr( $url ); |
|
34 | +} |
|
35 | +?>"></script> |
|
33 | 36 | <?php endforeach ?> |
34 | 37 | <?php endif; ?> |
35 | 38 |