summaryrefslogtreecommitdiffstats
path: root/templates/part.feeds.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/part.feeds.php')
-rw-r--r--templates/part.feeds.php10
1 files changed, 7 insertions, 3 deletions
diff --git a/templates/part.feeds.php b/templates/part.feeds.php
index a2fc0bb24..7b9b72126 100644
--- a/templates/part.feeds.php
+++ b/templates/part.feeds.php
@@ -9,13 +9,17 @@
if ($child instanceOf OC_News_Folder){
print_folder($child, $depth+1);
}
- else { //print all feeds contained in the folder
- echo '<li>' . $child->getTitle(). '</li>';
+ elseif ($child instanceOf OC_News_Feed) {
+?>
+ <li><a href="index.php?feedid=<?php echo $child->getId(); ?>"><?php echo $child->getTitle(); ?></a></li>
+<?php
+ }
+ else {
+ //TODO:handle error in this case
}
}
echo '</ul></li></ul>';
}
print_folder($_['allfeeds'], 0);
-
?>