summaryrefslogtreecommitdiffstats
path: root/templates/part.feeds.php
diff options
context:
space:
mode:
authorAlessandro Cosentino <cosenal@gmail.com>2012-07-04 14:51:47 -0400
committerAlessandro Cosentino <cosenal@gmail.com>2012-07-04 14:51:47 -0400
commit69480001986cd83852ee6351fbd5d68718eb829c (patch)
tree42ecf232740c84238727665fb198135a4e1fb989 /templates/part.feeds.php
parent41115284bf6c1023a542be0d6f2fab77febad36b (diff)
everything is there but the fancyness
Diffstat (limited to 'templates/part.feeds.php')
-rw-r--r--templates/part.feeds.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/templates/part.feeds.php b/templates/part.feeds.php
index 7b9b72126..52716c804 100644
--- a/templates/part.feeds.php
+++ b/templates/part.feeds.php
@@ -10,9 +10,7 @@
print_folder($child, $depth+1);
}
elseif ($child instanceOf OC_News_Feed) {
-?>
- <li><a href="index.php?feedid=<?php echo $child->getId(); ?>"><?php echo $child->getTitle(); ?></a></li>
-<?php
+ echo '<li><a href="' . OCP\Util::linkTo('news', 'index.php'). '?feedid=' . $child->getId() . '">' . $child->getTitle() .'</a></li>';
}
else {
//TODO:handle error in this case