first commit
This commit is contained in:
@@ -0,0 +1,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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user