@@ -150,23 +150,23 @@ |
||
150 | 150 | |
151 | 151 | <?php if( ( $total = $this->get( 'listProductTotal', 0 ) ) > 0 ) : ?> |
152 | 152 | <?= $enc->html( sprintf( |
153 | - $this->translate( |
|
154 | - 'client', |
|
155 | - 'Search result for <span class="searchstring">"%1$s"</span> (%2$d article)', |
|
156 | - 'Search result for <span class="searchstring">"%1$s"</span> (%2$d articles)', |
|
157 | - $total |
|
158 | - ), |
|
159 | - $searchText, |
|
160 | - $total |
|
161 | - ), $enc::TRUST ) ?> |
|
153 | + $this->translate( |
|
154 | + 'client', |
|
155 | + 'Search result for <span class="searchstring">"%1$s"</span> (%2$d article)', |
|
156 | + 'Search result for <span class="searchstring">"%1$s"</span> (%2$d articles)', |
|
157 | + $total |
|
158 | + ), |
|
159 | + $searchText, |
|
160 | + $total |
|
161 | + ), $enc::TRUST ) ?> |
|
162 | 162 | <?php else : ?> |
163 | 163 | <?= $enc->html( sprintf( |
164 | - $this->translate( |
|
165 | - 'client', |
|
166 | - 'No articles found for <span class="searchstring">"%1$s"</span>. Please try again with a different keyword.' |
|
167 | - ), |
|
168 | - $searchText |
|
169 | - ), $enc::TRUST ) ?> |
|
164 | + $this->translate( |
|
165 | + 'client', |
|
166 | + 'No articles found for <span class="searchstring">"%1$s"</span>. Please try again with a different keyword.' |
|
167 | + ), |
|
168 | + $searchText |
|
169 | + ), $enc::TRUST ) ?> |
|
170 | 170 | <?php endif ?> |
171 | 171 | |
172 | 172 | </div> |
@@ -146,10 +146,10 @@ discard block |
||
146 | 146 | <h2 class="home-name"><?= $enc->html( $child->getName() ) ?></h2> |
147 | 147 | </a> |
148 | 148 | <?= $this->partial( $this->config( 'client/html/common/partials/products', 'common/partials/products-standard' ), [ |
149 | - 'require-stock' => (bool) $this->config( 'client/html/basket/require-stock', true ), |
|
150 | - 'basket-add' => $this->config( 'client/html/catalog/home/basket-add', false ), |
|
151 | - 'products' => $products |
|
152 | - ] ) ?> |
|
149 | + 'require-stock' => (bool) $this->config( 'client/html/basket/require-stock', true ), |
|
150 | + 'basket-add' => $this->config( 'client/html/catalog/home/basket-add', false ), |
|
151 | + 'products' => $products |
|
152 | + ] ) ?> |
|
153 | 153 | </div> |
154 | 154 | <?php endif ?> |
155 | 155 | </div> |
@@ -160,10 +160,10 @@ discard block |
||
160 | 160 | <h2 class="home-name"><?= $enc->html( $this->translate( 'client', 'Top seller' ), $enc::TRUST ) ?></h2> |
161 | 161 | </a> |
162 | 162 | <?= $this->partial( $this->config( 'client/html/common/partials/products', 'common/partials/products-standard' ), [ |
163 | - 'require-stock' => (bool) $this->config( 'client/html/basket/require-stock', true ), |
|
164 | - 'basket-add' => $this->config( 'client/html/catalog/home/basket-add', false ), |
|
165 | - 'products' => $products |
|
166 | - ] ) ?> |
|
163 | + 'require-stock' => (bool) $this->config( 'client/html/basket/require-stock', true ), |
|
164 | + 'basket-add' => $this->config( 'client/html/catalog/home/basket-add', false ), |
|
165 | + 'products' => $products |
|
166 | + ] ) ?> |
|
167 | 167 | </div> |
168 | 168 | <?php endif ?> |
169 | 169 | </div> |