diff options
Diffstat (limited to 'views/default/object/blog/river.php')
-rw-r--r-- | views/default/object/blog/river.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/views/default/object/blog/river.php b/views/default/object/blog/river.php new file mode 100644 index 000000000..59d5245ea --- /dev/null +++ b/views/default/object/blog/river.php @@ -0,0 +1,17 @@ +<?php + +$blog = $vars['entity']; + +$title = elgg_view('output/url', array( + 'text' => $blog->title, + 'href' => $blog->getURL(), + 'encode_text' => true, +)); + +$description = elgg_get_excerpt($blog->description, 350); + +echo elgg_view('river/elements/attachment', array( + 'title' => $title, + 'description' => $description, + 'image' => elgg_view_entity_icon($blog->getOwnerEntity(), 'tiny'), +));
\ No newline at end of file |