Тексты товаров в разные ячейки и 404 страница
This commit is contained in:
@@ -100,7 +100,6 @@ foreach(['name','email','telephone','address','open', 'comment'] as $item){
|
||||
$data['blog_menu'] = '';
|
||||
}
|
||||
$data['service_menu'] = $this->load->controller('service/menu');
|
||||
$data['search'] = $this->load->controller('common/search');
|
||||
$data['cart'] = $this->load->controller('common/cart');
|
||||
$data['menu'] = $this->load->controller('common/menu');
|
||||
|
||||
|
||||
@@ -1,16 +1,6 @@
|
||||
<?php
|
||||
class ControllerCommonSearch extends Controller {
|
||||
public function index() {
|
||||
$this->load->language('common/search');
|
||||
|
||||
$data['text_search'] = $this->language->get('text_search');
|
||||
|
||||
if (isset($this->request->get['search'])) {
|
||||
$data['search'] = $this->request->get['search'];
|
||||
} else {
|
||||
$data['search'] = '';
|
||||
}
|
||||
|
||||
return $this->load->view('common/search', $data);
|
||||
return '';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user