summaryrefslogtreecommitdiffstats
path: root/templates/part.items.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2012-08-11 00:12:06 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2012-08-11 00:12:06 +0200
commitfb8f2c25502f4ad708cf85f239570f340a64c721 (patch)
tree40e5b3e518e01a6cd81597af30412a1d4e6dbf9f /templates/part.items.php
parent748afb98f2a0cd485df6346c97a179d45d178209 (diff)
added an item header, improved feed design, removed unused javascript function, added proper template translation tags
Diffstat (limited to 'templates/part.items.php')
-rw-r--r--templates/part.items.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/part.items.php b/templates/part.items.php
index c2b9b2889..8c2ef15d2 100644
--- a/templates/part.items.php
+++ b/templates/part.items.php
@@ -3,7 +3,6 @@
$feedid = isset($_['feedid']) ? $_['feedid'] : '';
$itemmapper = new OC_News_ItemMapper();
-
$items = $itemmapper->findAll($feedid);
echo '<ul>';
@@ -15,7 +14,7 @@ foreach($items as $item) {
}
echo '<li class="news_item ' . $readClass .'" data-id="' . $item->getId() . '" data-feedid="' . $feedid . '">';
- echo '<h1><a href="' . $item->getUrl() . '">' . $item->getTitle() . '</a></h1>';
+ echo '<h1 class="item_title"><a href="' . $item->getUrl() . '">' . $item->getTitle() . '</a></h1>';
echo '<div class="body">' . $item->getBody() . '</div>';
echo '</li>';