From 14db84f0b4495bfde7d6689c0a043706151fd18d Mon Sep 17 00:00:00 2001 From: Eugeny Galkovskiy Date: Thu, 8 Jun 2017 13:28:20 +0300 Subject: [PATCH] Скрытие брендов --- frontend/views/category/view.php | 37 ------------------------------------- 1 file changed, 0 insertions(+), 37 deletions(-) diff --git a/frontend/views/category/view.php b/frontend/views/category/view.php index 11ae1fc..3eb8865 100755 --- a/frontend/views/category/view.php +++ b/frontend/views/category/view.php @@ -135,7 +135,6 @@ _________________________________________________________ -->
) ? 'radio-but checked' : 'radio-but', ] ); - $firstsix++; - if ($firstsix == 6) { - break; - } } ?> -
- 6) { - echo Html::tag( - 'div', - Html::a( - $brand->lang->title, - [ - '/category/view', - 'category' => $brand->lang->alias->value, - 'filter' => $filterHelper->buildLink($brand), - ] - ), - [ - 'class' => $filterHelper->has( - $brand->lang->alias->value - ) ? 'radio-but checked' : 'radio-but', - ] - ); - } - } - if ($nextsix > 6) { - $morebutton = $buthiddenmore; - } else { - $morebutton = ''; - } - ?> -
-