summaryrefslogtreecommitdiffstats
path: root/templates/part.items.php
diff options
context:
space:
mode:
authorAlessandro Cosentino <cosenal@gmail.com>2012-07-04 16:54:26 -0400
committerAlessandro Cosentino <cosenal@gmail.com>2012-07-04 16:54:26 -0400
commitfcd843bc0c2ef3163d1ecc6b036e46726a61239a (patch)
treef2ce5d1117be95e2b24a16b59e83238a15ef910b /templates/part.items.php
parent69480001986cd83852ee6351fbd5d68718eb829c (diff)
shows articles in accordion view
Diffstat (limited to 'templates/part.items.php')
-rw-r--r--templates/part.items.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/part.items.php b/templates/part.items.php
index 93b7e213c..d109d6d34 100644
--- a/templates/part.items.php
+++ b/templates/part.items.php
@@ -6,8 +6,9 @@ $itemmapper = new OC_News_ItemMapper();
$items = $itemmapper->findAll($feedid);
-echo '<ul>';
+echo '<ul class="accordion">';
foreach($items as $item) {
- echo '<li>' . $item->getTitle() . '</li>';
+ echo '<li><div class="title">' . $item->getTitle() . '</div>';
+ echo '<div class="body">' . $item->getBody() . '</div></li>';
}
echo '</ul>';