diff options
author | Alessandro Cosentino <cosenal@gmail.com> | 2012-06-07 16:19:25 -0400 |
---|---|---|
committer | Alessandro Cosentino <cosenal@gmail.com> | 2012-06-07 16:19:25 -0400 |
commit | e583df60d3c77d4e7f64a889b8951907c594b922 (patch) | |
tree | 13d48731ecd73a612db1c4e92c59f0d5e0a35c10 /index.php | |
parent | b1fc686d2079d63fe5e6cf10124981e69aa73194 (diff) |
creates a superclass collection for feeds and folders
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -37,7 +37,13 @@ OCP\App::setActiveNavigationEntry('news'); //OCP\Util::addscript('news','news'); OCP\Util::addStyle('news', 'news'); +$foldermapper = new OC_News_FolderMapper(); + +//this is the root folder, which contains all sub-folders and feeds +$allfeeds = null; + $tmpl = new OCP\Template( 'news', 'main', 'user' ); +$tmpl->assign('allfeeds', $allfeeds); $tmpl->printPage(); ?> |