From d3d2e248a8e2dfec2c53ab4ba9602727bfd5ed45 Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Mon, 24 Oct 2016 18:21:39 +0300 Subject: [PATCH] big commti --- frontend/views/basket/cart.php | 2 +- frontend/views/basket/modal_items.php | 2 +- frontend/widgets/Seo.php | 6 ++++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/frontend/views/basket/cart.php b/frontend/views/basket/cart.php index 2fd0044..c21c397 100755 --- a/frontend/views/basket/cart.php +++ b/frontend/views/basket/cart.php @@ -8,7 +8,7 @@ * @var int $count */ ?> - +

грн

diff --git a/frontend/views/basket/modal_items.php b/frontend/views/basket/modal_items.php index ce2d345..61b125f 100755 --- a/frontend/views/basket/modal_items.php +++ b/frontend/views/basket/modal_items.php @@ -64,7 +64,7 @@ ?> - 'btn' ]) ?> + 'btn' ]) ?> diff --git a/frontend/widgets/Seo.php b/frontend/widgets/Seo.php index dd77395..9373f6a 100755 --- a/frontend/widgets/Seo.php +++ b/frontend/widgets/Seo.php @@ -109,7 +109,7 @@ class Seo extends Widget return $default; - } else if($this->checkFilter($filter) || isset($filter['brands']) && count($filter['brands']) >= 1){ + } else if($this->checkFilter($filter)){ $array = $this->arrayBuilder($filter); return $this->getNameString($array); } @@ -199,16 +199,18 @@ class Seo extends Widget || isset($filter) && !$this->checkFilter($filter) ) { + $this->getView()->registerMetaTag([ 'name' => 'robots', 'content' => 'noindex,nofollow' ]); } else if ( - isset($filter['brands']) && count($filter['brands']) <= 1 && isset($filter) && count($filter, COUNT_RECURSIVE) >= 4 + isset($filter['brands']) && count($filter['brands']) > 1 && isset($filter) && count($filter, COUNT_RECURSIVE) >= 4 || isset($filter) && count($filter, COUNT_RECURSIVE) > 4 || !empty($sort) || !empty($paginate) || isset($filter['prices']) ) { + $this->getView()->registerMetaTag([ 'name' => 'robots', 'content' => 'noindex,nofollow' -- libgit2 0.21.4