piler/webui/controller/common/layout-search.php
Janos SUTO f22cd3daaa Refactored advanced search to modal popup
Signed-off-by: Janos SUTO <sj@acts.hu>
2021-03-10 18:31:37 +01:00

31 lines
659 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",
"common/footer"
);
$this->render();
}
}