From e583df60d3c77d4e7f64a889b8951907c594b922 Mon Sep 17 00:00:00 2001 From: Alessandro Cosentino Date: Thu, 7 Jun 2012 16:19:25 -0400 Subject: creates a superclass collection for feeds and folders --- index.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'index.php') diff --git a/index.php b/index.php index 44dc7102f..064b1167c 100644 --- a/index.php +++ b/index.php @@ -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(); ?> -- cgit v1.2.3