diff options
Diffstat (limited to 'mod/bookmarks/views/default/river/object')
-rw-r--r-- | mod/bookmarks/views/default/river/object/bookmarks/create.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/mod/bookmarks/views/default/river/object/bookmarks/create.php b/mod/bookmarks/views/default/river/object/bookmarks/create.php new file mode 100644 index 000000000..388f54ac9 --- /dev/null +++ b/mod/bookmarks/views/default/river/object/bookmarks/create.php @@ -0,0 +1,15 @@ +<?php +/** + * New bookmarks river entry + * + * @package Bookmarks + */ + +$object = $vars['item']->getObjectEntity(); +$excerpt = elgg_get_excerpt($object->description); + +echo elgg_view('river/elements/layout', array( + 'item' => $vars['item'], + 'message' => $excerpt, + 'attachments' => elgg_view('output/url', array('href' => $object->address)), +)); |