mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-09 03:22:00 +01:00
18b709659e
Signed-off-by: Janos SUTO <sj@acts.hu>
32 lines
697 B
PHP
32 lines
697 B
PHP
<?php
|
|
|
|
class ControllerCommonLayoutSearch extends Controller {
|
|
|
|
protected function index() {
|
|
|
|
$this->data['title'] = $this->document->title;
|
|
|
|
if(ENABLE_MOBILE_PREVIEW && MOBILE_DEVICE) {
|
|
$this->template = "common/layout-search-mobile.tpl";
|
|
} else {
|
|
$this->template = "common/layout-search.tpl";
|
|
}
|
|
|
|
$this->data['search_args'] = '';
|
|
|
|
$this->data['open_saved_search_box'] = 0;
|
|
|
|
$this->children = array(
|
|
"common/menu",
|
|
"search/folder",
|
|
"search/popup",
|
|
"common/footer"
|
|
);
|
|
|
|
$this->render();
|
|
|
|
}
|
|
|
|
|
|
}
|