aboutsummaryrefslogtreecommitdiff
path: root/views/default/river/object/messageboard/create.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/river/object/messageboard/create.php')
-rw-r--r--views/default/river/object/messageboard/create.php11
1 files changed, 11 insertions, 0 deletions
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),
+));