aboutsummaryrefslogtreecommitdiffstats
path: root/public/catalog/controller/common/search.php
blob: 930a7262de62c46837fb042ec99673909c8bd467 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?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);
	}
}