diff options
author | Alessandro Cosentino <cosenal@gmail.com> | 2012-07-17 12:51:32 -0400 |
---|---|---|
committer | Alessandro Cosentino <cosenal@gmail.com> | 2012-07-17 12:51:32 -0400 |
commit | d9d96d4b60dae065559e092003f7f000fec6506f (patch) | |
tree | 183404218a29cb3e4b73bcfc7eb15311b0ab22a4 | |
parent | 913beaef29483e356a6a096d0c156538d2cbaae8 (diff) |
indent folders in add dialog
-rw-r--r-- | templates/part.folderlist.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/part.folderlist.php b/templates/part.folderlist.php index 670684fd4..a5f9626c6 100644 --- a/templates/part.folderlist.php +++ b/templates/part.folderlist.php @@ -1,6 +1,6 @@ <?php function print_folder(OC_News_Folder $folder, $depth){ - echo '<li class="menuItem" onclick="News.DropDownMenu.selectItem(this, ' . $folder->getId() . ')">' . strtoupper($folder->getName()) . '</li>'; + echo '<li style="margin-left:' . 10*$depth . 'px;" class="menuItem" onclick="News.DropDownMenu.selectItem(this, ' . $folder->getId() . ')">' . strtoupper($folder->getName()) . '</li>'; $children = $folder->getChildren(); foreach($children as $child) { if ($child instanceOf OC_News_Folder){ |