Commit afe7f1e9b00a5905f60e34f9cb44c09174bc92e9
1 parent
0fc3bf10
big commti
Showing
2 changed files
with
3 additions
and
17 deletions
Show diff stats
frontend/views/catalog/products.php
@@ -62,22 +62,8 @@ use yii\helpers\Url; | @@ -62,22 +62,8 @@ use yii\helpers\Url; | ||
62 | 62 | ||
63 | 63 | ||
64 | <div class="list_filters_links"> | 64 | <div class="list_filters_links"> |
65 | - <ul class="ul pagination"> | ||
66 | - <li>Товаров на странице:</li> | ||
67 | - <select name="items_per_page" class="s" style="text-align:center;width:54px;" onChange="window.location='http://www.linija-svitla.ua/lyustry-2.htm?ipp='+this.value+'';" style="margin-right: -2px;"> | ||
68 | - <option label="9" value="9">9</option> | ||
69 | - <option label="18" value="18">18</option> | ||
70 | - <option label="36" value="36" selected="selected">36</option> | ||
71 | - <option label="99" value="99">99</option> | ||
72 | - | ||
73 | - </select> | ||
74 | - </ul> | ||
75 | - <ul class="view_type"> | ||
76 | - <li class="view_text">Вид списка</li> | ||
77 | - <li class="view_list" onclick="return false;" title="список"><span></span></li> | ||
78 | - <li class="view_table selected" onclick="return false;" title="таблица"><span></span></li> | ||
79 | - <li class="view_mini_table" onclick="return false;" title="миниатюрная таблица"><span></span></li> | ||
80 | - </ul> | 65 | + |
66 | + | ||
81 | <div class="sort_block"> | 67 | <div class="sort_block"> |
82 | <span>Сортировка:</span> | 68 | <span>Сортировка:</span> |
83 | <?= \yii\widgets\LinkSorter::widget([ | 69 | <?= \yii\widgets\LinkSorter::widget([ |
frontend/views/event/show.php
@@ -67,7 +67,7 @@ $this->title = $model->name; | @@ -67,7 +67,7 @@ $this->title = $model->name; | ||
67 | <ul> | 67 | <ul> |
68 | <?php foreach($productProvider->models as $product) :?> | 68 | <?php foreach($productProvider->models as $product) :?> |
69 | <?php if(!empty($product->enabledVariants) ):?> | 69 | <?php if(!empty($product->enabledVariants) ):?> |
70 | - <?= $this->render('../catalog/product_item', ['product' => $product])?> | 70 | + <?= $this->render('../catalog/_product_item', ['product' => $product])?> |
71 | <?php endif;?> | 71 | <?php endif;?> |
72 | <?php endforeach?> | 72 | <?php endforeach?> |
73 | </ul> | 73 | </ul> |