diff options
Diffstat (limited to 'mod/file/views/default/river/object')
-rw-r--r-- | mod/file/views/default/river/object/file/create.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mod/file/views/default/river/object/file/create.php b/mod/file/views/default/river/object/file/create.php new file mode 100644 index 000000000..e8e6142e0 --- /dev/null +++ b/mod/file/views/default/river/object/file/create.php @@ -0,0 +1,13 @@ +<?php +/** + * File river view. + */ + +$object = $vars['item']->getObjectEntity(); +$excerpt = strip_tags($object->description); +$excerpt = elgg_get_excerpt($excerpt); + +echo elgg_view('river/elements/layout', array( + 'item' => $vars['item'], + 'message' => $excerpt, +));
\ No newline at end of file |