mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-13 01:37:02 +02:00
major rewrite of the web interface
This commit is contained in:
24
webui/controller/search/folder.php
Normal file
24
webui/controller/search/folder.php
Normal file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
|
||||
class ControllerSearchFolder extends Controller {
|
||||
|
||||
protected function index() {
|
||||
|
||||
$this->id = "folder";
|
||||
$this->template = "search/folder.tpl";
|
||||
|
||||
$request = Registry::get('request');
|
||||
$db = Registry::get('db');
|
||||
|
||||
$this->load->model('folder/folder');
|
||||
|
||||
$this->data['folders'] = $this->model_folder_folder->get_folders_for_user();
|
||||
|
||||
$this->render();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
?>
|
Reference in New Issue
Block a user