diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2012-08-15 18:16:35 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2012-08-15 18:16:35 +0200 |
commit | 8da2aeec783755ebb3d45c52f85260f03f49453d (patch) | |
tree | eb5b43752f16462f9381ac6170beb971532e6a7b /templates/part.folderlist.php | |
parent | 4faac81356c070f609d80f473032a7ed5552b98a (diff) |
folders can now only be create on the first level
Diffstat (limited to 'templates/part.folderlist.php')
-rw-r--r-- | templates/part.folderlist.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/templates/part.folderlist.php b/templates/part.folderlist.php index 09b5f8e64..f2da64737 100644 --- a/templates/part.folderlist.php +++ b/templates/part.folderlist.php @@ -3,11 +3,8 @@ function print_folder_list($folderlist, $depth) { foreach($folderlist as $folder) { echo '<li style="margin-left:' . 10*$depth . 'px;" class="menuItem" onclick="News.DropDownMenu.selectItem(this, ' . $folder->getId() . ')">' . $folder->getName() . '</li>'; - $children = $folder->getChildren(); - print_folder_list($children, $depth+1); } } - print_folder_list($_['folderforest'], 0); ?>
\ No newline at end of file |