aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2011-11-10 23:31:44 +0100
committerSem <sembrestels@riseup.net>2011-11-10 23:31:44 +0100
commit6bf0fd153040b94751cc8fffde9f1b1f56524a06 (patch)
tree9dc3e1d67c799813c222868baab30f7a37589cc3
parent7d56efa97981052c08683b13c372c465db0b3e1b (diff)
downloadelgg-6bf0fd153040b94751cc8fffde9f1b1f56524a06.tar.gz
elgg-6bf0fd153040b94751cc8fffde9f1b1f56524a06.tar.bz2
River.
-rw-r--r--languages/en.php1
-rw-r--r--views/default/river/object/videolist_item/create.php15
2 files changed, 16 insertions, 0 deletions
diff --git a/languages/en.php b/languages/en.php
index db181aa37..ce8a24a3d 100644
--- a/languages/en.php
+++ b/languages/en.php
@@ -46,6 +46,7 @@ $english = array(
"videolist:searchTubeVideos" => "Search youtube.com",
"videolist:comments" => "Comments",
"videolist:commentspost" => "Post",
+ "river:create:object:videolist_item" => "%s added the video %s",
"river:comment:object:videolist_item" => "%s commented on %s",
"videolist:river:item" => "a video",
"videolist:river:created" => "%s added",
diff --git a/views/default/river/object/videolist_item/create.php b/views/default/river/object/videolist_item/create.php
new file mode 100644
index 000000000..ea9f8394b
--- /dev/null
+++ b/views/default/river/object/videolist_item/create.php
@@ -0,0 +1,15 @@
+<?php
+/**
+ * Videolist item river view.
+ */
+
+$object = $vars['item']->getObjectEntity();
+$thumbnail = elgg_view('icon/object/videolist_item', array(
+ 'entity' => $object,
+ 'size' => 'medium',
+));
+
+echo elgg_view('river/item', array(
+ 'item' => $vars['item'],
+ 'message' => $thumbnail,
+));