diff options
author | Gregor Tätzner <gregor@freenet.de> | 2012-07-08 17:37:35 +0200 |
---|---|---|
committer | Gregor Tätzner <gregor@freenet.de> | 2012-07-08 17:37:35 +0200 |
commit | 70537725190ed54a4c3cc6a1d603cf3d1582a117 (patch) | |
tree | f59f35525ddee0c96b25c7780566a74d9f538d5c /index.php | |
parent | e49ddd268532cd78bdb5ef9cf9e402f5e3ba3830 (diff) |
UI and model fixes
- added dropdown menu to choose parent in addfeedfolder setting
- added edit button to folder items
- foldermapper: also load children of children to show folder
hierarchy
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -5,10 +5,10 @@ * * @author Alessandro Cosentino * Copyright (c) 2012 - Alessandro Cosentino <cosenal@gmail.com> -* +* * This file is licensed under the Affero General Public License version 3 or later. * See the COPYING-README file -* +* */ // Check if we are a user @@ -22,14 +22,14 @@ OCP\Util::addStyle('news','news'); $foldermapper = new OC_News_FolderMapper(OCP\USER::getUser()); -$allfeeds = $foldermapper->root(); +$allfeeds = $foldermapper->populate('All Feeds', 0); if ($allfeeds) { $feedid = isset( $_GET['feedid'] ) ? $_GET['feedid'] : null; if ($feedid == null) { - + } -} +} else { $feedid = 0; } |