summaryrefslogtreecommitdiffstats
path: root/templates/part.items.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2012-08-11 17:24:34 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2012-08-11 17:24:34 +0200
commit80cc1dd89295b4f913706b97008cb92c5f2a58b3 (patch)
treea4c3a2624e9a25c1c622a9107e42f21f4b0dcda5 /templates/part.items.php
parent14f9549e2f5e7748efad8d698bebd6236a196d1b (diff)
mark items as read when the title is being hidden under the top edge or when you hit the bottom. also mark items as read when you click on them
Diffstat (limited to 'templates/part.items.php')
-rw-r--r--templates/part.items.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/part.items.php b/templates/part.items.php
index 8c2ef15d2..62d6d0ddc 100644
--- a/templates/part.items.php
+++ b/templates/part.items.php
@@ -5,6 +5,7 @@ $feedid = isset($_['feedid']) ? $_['feedid'] : '';
$itemmapper = new OC_News_ItemMapper();
$items = $itemmapper->findAll($feedid);
+echo '<div id="feed_items">';
echo '<ul>';
foreach($items as $item) {
if($item->isRead()){
@@ -20,3 +21,4 @@ foreach($items as $item) {
}
echo '</ul>';
+echo '</div>'; \ No newline at end of file