summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorGregor Tätzner <gregor@freenet.de>2012-07-08 17:37:35 +0200
committerGregor Tätzner <gregor@freenet.de>2012-07-08 17:37:35 +0200
commit70537725190ed54a4c3cc6a1d603cf3d1582a117 (patch)
treef59f35525ddee0c96b25c7780566a74d9f538d5c /index.php
parente49ddd268532cd78bdb5ef9cf9e402f5e3ba3830 (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.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/index.php b/index.php
index 1719f2f3c..75a8485e6 100644
--- a/index.php
+++ b/index.php
@@ -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;
}