diff options
author | Alessandro Cosentino <cosenal@gmail.com> | 2012-07-02 23:39:19 -0400 |
---|---|---|
committer | Alessandro Cosentino <cosenal@gmail.com> | 2012-07-02 23:39:19 -0400 |
commit | 72c730bf5fb21f58589a836483585dabd6866520 (patch) | |
tree | a57dab8dcf88ce5a4f1172ba89663aa52947fdb8 /templates/part.items.php | |
parent | f8f6fd3d778fe95bac15e52747ff5b1f6461c136 (diff) |
button to add feed; selection of a feed
Diffstat (limited to 'templates/part.items.php')
-rw-r--r-- | templates/part.items.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/templates/part.items.php b/templates/part.items.php new file mode 100644 index 000000000..ce5186052 --- /dev/null +++ b/templates/part.items.php @@ -0,0 +1,14 @@ +<?php +$feedid = isset($_['id']) ? $_['id'] : ''; + +$itemmapper = new OC_News_ItemMapper(); + +$items = $itemmapper->findAll($feedid); + +echo '<ul>'; +foreach($items as $item) { + echo '<li>' . $item->getTitle() . '</li>'; +} +echo '</ul>'; + +?>
\ No newline at end of file |