diff options
author | Alessandro Cosentino <cosenal@gmail.com> | 2012-07-04 16:54:26 -0400 |
---|---|---|
committer | Alessandro Cosentino <cosenal@gmail.com> | 2012-07-04 16:54:26 -0400 |
commit | fcd843bc0c2ef3163d1ecc6b036e46726a61239a (patch) | |
tree | f2ce5d1117be95e2b24a16b59e83238a15ef910b /index.php | |
parent | 69480001986cd83852ee6351fbd5d68718eb829c (diff) |
shows articles in accordion view
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -24,7 +24,15 @@ $foldermapper = new OC_News_FolderMapper(OCP\USER::getUser()); $allfeeds = $foldermapper->root(); -$feedid = isset( $_GET['feedid'] ) ? $_GET['feedid'] : null; +if ($allfeeds) { + $feedid = isset( $_GET['feedid'] ) ? $_GET['feedid'] : null; + if ($feedid == null) { + + } +} +else { + $feedid = 0; +} $tmpl = new OCP\Template( 'news', 'main', 'user' ); $tmpl->assign('allfeeds', $allfeeds); |