@@ -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; ?> |
@@ -38,7 +38,8 @@ discard block |
||
38 | 38 | |
39 | 39 | <meta name="twitter:card" content="summary_large_image" /> |
40 | 40 | |
41 | -<?php else : ?> |
|
41 | +<?php else { |
|
42 | + : ?> |
|
42 | 43 | |
43 | 44 | <title><?= $enc->html( $this->get( 'contextSiteLabel', 'Aimeos' ) ) ?></title> |
44 | 45 | |
@@ -46,7 +47,9 @@ discard block |
||
46 | 47 | |
47 | 48 | <?php if( isset( $this->homeStockUrl ) ) : ?> |
48 | 49 | <?php foreach( $this->homeStockUrl as $url ) : ?> |
49 | - <script type="text/javascript" defer="defer" src="<?= $enc->attr( $url ); ?>"></script> |
|
50 | + <script type="text/javascript" defer="defer" src="<?= $enc->attr( $url ); |
|
51 | +} |
|
52 | +?>"></script> |
|
50 | 53 | <?php endforeach ?> |
51 | 54 | <?php endif; ?> |
52 | 55 |