piler/webui/controller/search/folder.php
SJ 857f5e549d gui: folder search improvements
Change-Id: Ia098c7c2efcb9011e706012ee074e0c354bebded
Signed-off-by: SJ <sj@acts.hu>
2017-05-16 21:47:24 +02:00

26 lines
426 B
PHP

<?php
class ControllerSearchFolder extends Controller {
protected function index() {
$this->id = "folder";
$this->template = "search/folder.tpl";
$session = Registry::get('session');
$request = Registry::get('request');
$db = Registry::get('db');
$this->load->model('folder/folder');
$this->data['folders'] = $session->get("folders");
$this->render();
}
}
?>