diff options
author | Alessandro Cosentino <cosenal@gmail.com> | 2012-07-04 16:54:26 -0400 |
---|---|---|
committer | Alessandro Cosentino <cosenal@gmail.com> | 2012-07-04 16:54:26 -0400 |
commit | fcd843bc0c2ef3163d1ecc6b036e46726a61239a (patch) | |
tree | f2ce5d1117be95e2b24a16b59e83238a15ef910b /templates | |
parent | 69480001986cd83852ee6351fbd5d68718eb829c (diff) |
shows articles in accordion view
Diffstat (limited to 'templates')
-rw-r--r-- | templates/part.items.php | 5 |
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>'; |