piler/webui/controller/common/layout-search.php
Janos SUTO 51a3ee72d7 Mobile fixes
Signed-off-by: Janos SUTO <sj@acts.hu>
2020-03-15 11:10:24 +01:00

32 lines
672 B
PHP

<?php
class ControllerCommonLayoutSearch extends Controller {
protected function index() {
$this->data['title'] = $this->document->title;
if(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();
}
}