mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-28 05:40:11 +01:00
f22cd3daaa
Signed-off-by: Janos SUTO <sj@acts.hu>
31 lines
659 B
PHP
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();
|
|
|
|
}
|
|
|
|
|
|
}
|