commit 33afc41254ae7b52246b32fcdb800b3346b7780c parent 5b335063c0e99290ff3488051b74b8f4d6d43822 Author: Jan Dankert <devnull@localhost> Date: Sun, 28 Oct 2012 20:16:34 +0100 Ermitteln Root-Ordner. Diffstat:
M | action/FolderAction.class.php | | | 12 | +++++++++++- |
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/action/FolderAction.class.php b/action/FolderAction.class.php @@ -1208,7 +1208,17 @@ class FolderAction extends ObjectAction - + public function rootView() + { + $rootFolder = new Folder( Folder::getRootFolderId() ); + $rootFolder->load(); + + $this->setTemplateVar('rootfolderid' ,$rootFolder->id ); + $this->setTemplateVar('rootfoldername',$rootFolder->name); + } + + + /** * Reihenfolge bearbeiten. */