diff options
author | Alessandro Cosentino <cosenal@gmail.com> | 2012-06-13 17:23:42 -0400 |
---|---|---|
committer | Alessandro Cosentino <cosenal@gmail.com> | 2012-06-13 17:23:42 -0400 |
commit | efd3ac96c8e8a02730ca8d6b7e31363c1bd0d0db (patch) | |
tree | 785b37fb52c0867a24e6784f2254306c813ca16f /templates/part.feeds.php | |
parent | d360bbbbea8e226bda2c4c0bb553c5cb9feb2fa1 (diff) |
prints name of folders in left view
Diffstat (limited to 'templates/part.feeds.php')
-rw-r--r-- | templates/part.feeds.php | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/templates/part.feeds.php b/templates/part.feeds.php index 5ddd90a6c..a3edb993a 100644 --- a/templates/part.feeds.php +++ b/templates/part.feeds.php @@ -1,12 +1,10 @@ -<?php foreach( $_['allfeeds'] as $collection ): - $children = $collection->getChildren(); - echo sizeof($children); +<?php + echo $_['allfeeds']->getName(); + $children = $_['allfeeds']->getChildren(); + foreach($children as $child) { if ($child instanceOf OC_News_Folder){ - echo 'prova'; echo $child->getName(); } } -echo 'prova'; ?> -<?php endforeach; ?>
\ No newline at end of file |