aboutsummaryrefslogtreecommitdiff
path: root/views/default/river
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/river')
-rw-r--r--views/default/river/object/videolist/annotate.php11
-rw-r--r--views/default/river/object/videolist/create.php32
2 files changed, 0 insertions, 43 deletions
diff --git a/views/default/river/object/videolist/annotate.php b/views/default/river/object/videolist/annotate.php
deleted file mode 100644
index 50a4a8397..000000000
--- a/views/default/river/object/videolist/annotate.php
+++ /dev/null
@@ -1,11 +0,0 @@
-<?php
-
-$statement = $vars['statement'];
-$performed_by = $statement->getSubject();
-$object = $statement->getObject();
-
-$url = "<a href=\"{$performed_by->getURL()}\">{$performed_by->name}</a>";
-$string = sprintf(elgg_echo("videolist:river:annotate"),$url) . " ";
-$string .= "<a href=\"" . $object->getURL() . "\">" . elgg_echo("videolist:river:item") . "</a>";
-
-echo $string;
diff --git a/views/default/river/object/videolist/create.php b/views/default/river/object/videolist/create.php
deleted file mode 100644
index 4206d0083..000000000
--- a/views/default/river/object/videolist/create.php
+++ /dev/null
@@ -1,32 +0,0 @@
-<?php
-
-$performed_by = get_entity($vars['item']->subject_guid); // $statement->getSubject();
-$object = get_entity($vars['item']->object_guid);
-$thumbnail = $object->thumbnail;
-$is_group = get_entity($object->container_guid);
-
-$url = "<a href=\"{$performed_by->getURL()}\">{$performed_by->name}</a>";
-$title = $object->title;
-
-if(!$title) {
- $title = "untitled";
-}
-
-$string = sprintf(elgg_echo("videolist:river:created"),$url) . " ";
-$string .= elgg_echo("videolist:river:item") . " titled <a href=\"" . $object->getURL() . "\">" . $title . "</a>";
-//if the video was added to a group, show that unless displayed on the group profile
-if(($is_group instanceof ElggGroup) && (get_context() != 'groups')){
- $string .= " " . elgg_echo('videolist:ingroup') . " " . $is_group->name;
-}
-$string .= "<span class='entity_subtext'>" . friendly_time($object->time_created);
-if (isloggedin()){
- $string .= "<a class='river_comment_form_button link'>Comment</a>";
- $string .= elgg_view('likes/forms/link', array('entity' => $object));
-}
-$string .= "</span>";
-
-$string .= "<div class=\"river_content_display\">";
-$string .= "<a href=\"" . $object->getURL() . "\"><img src='".$thumbnail."' width='120' class='tubesearch'/></a>";
-$string .= "</div>";
-
-echo $string; \ No newline at end of file