diff options
Diffstat (limited to 'views/default/river/object')
-rw-r--r-- | views/default/river/object/blog/create.php | 11 | ||||
-rw-r--r-- | views/default/river/object/bookmarks/create.php | 14 | ||||
-rw-r--r-- | views/default/river/object/file/create.php | 13 | ||||
-rw-r--r-- | views/default/river/object/groupforumtopic/create.php | 11 | ||||
-rw-r--r-- | views/default/river/object/messageboard/create.php | 11 | ||||
-rw-r--r-- | views/default/river/object/page/create.php | 11 |
6 files changed, 71 insertions, 0 deletions
diff --git a/views/default/river/object/blog/create.php b/views/default/river/object/blog/create.php new file mode 100644 index 000000000..2d08a7d86 --- /dev/null +++ b/views/default/river/object/blog/create.php @@ -0,0 +1,11 @@ +<?php +/** + * Blog river view. + */ + +$object = $vars['item']->getObjectEntity(); + +echo elgg_view('river/item', array( + 'item' => $vars['item'], + 'attachments' => elgg_view('object/blog/river', array('entity' => $object)), +));
\ No newline at end of file diff --git a/views/default/river/object/bookmarks/create.php b/views/default/river/object/bookmarks/create.php new file mode 100644 index 000000000..b4170b8ec --- /dev/null +++ b/views/default/river/object/bookmarks/create.php @@ -0,0 +1,14 @@ +<?php +/** + * New bookmarks river entry + * + * @package Bookmarks + */ + +$object = $vars['item']->getObjectEntity(); + + +echo elgg_view('river/item', array( + 'item' => $vars['item'], + 'attachments' => elgg_view('object/bookmarks/river', array('entity' => $object)), +));
\ No newline at end of file diff --git a/views/default/river/object/file/create.php b/views/default/river/object/file/create.php new file mode 100644 index 000000000..99af38ace --- /dev/null +++ b/views/default/river/object/file/create.php @@ -0,0 +1,13 @@ +<?php +/** + * New file river entry + * + * @package File + */ + +$object = $vars['item']->getObjectEntity(); + +echo elgg_view('river/item', array( + 'item' => $vars['item'], + 'attachments' => elgg_view('object/file/river', array('entity' => $object)), +));
\ No newline at end of file diff --git a/views/default/river/object/groupforumtopic/create.php b/views/default/river/object/groupforumtopic/create.php new file mode 100644 index 000000000..291585698 --- /dev/null +++ b/views/default/river/object/groupforumtopic/create.php @@ -0,0 +1,11 @@ +<?php +/** + * Group discussion topic river view. + */ + +$object = $vars['item']->getObjectEntity(); + +echo elgg_view('river/item', array( + 'item' => $vars['item'], + 'attachments' => elgg_view('object/groupforumtopic/river', array('entity' => $object)), +));
\ No newline at end of file diff --git a/views/default/river/object/messageboard/create.php b/views/default/river/object/messageboard/create.php new file mode 100644 index 000000000..7d586450d --- /dev/null +++ b/views/default/river/object/messageboard/create.php @@ -0,0 +1,11 @@ +<?php +/** + * Post comment river view + */ +$object = $vars['item']->getObjectEntity(); +$comment = $vars['item']->getAnnotation(); + +echo elgg_view('river/elements/layout', array( + 'item' => $vars['item'], + 'message' => elgg_get_excerpt($comment->value), +)); diff --git a/views/default/river/object/page/create.php b/views/default/river/object/page/create.php new file mode 100644 index 000000000..1f1ab4801 --- /dev/null +++ b/views/default/river/object/page/create.php @@ -0,0 +1,11 @@ +<?php +/** + * Page river view. + */ + +$object = $vars['item']->getObjectEntity(); + +echo elgg_view('river/item', array( + 'item' => $vars['item'], + 'attachments' => elgg_view('object/page/river', array('entity' => $object)), +));
\ No newline at end of file |