From a161b38e65fa698133402f4fb23548242f494018 Mon Sep 17 00:00:00 2001 From: Dave Tosh Date: Tue, 23 Mar 2010 17:30:14 +0000 Subject: This videolist plugin shows real promise so we shall work on it for v1.8 then release it back to the community. --- views/default/river/object/videolist/annotate.php | 13 +++++++++++++ views/default/river/object/videolist/create.php | 18 ++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 views/default/river/object/videolist/annotate.php create mode 100644 views/default/river/object/videolist/create.php (limited to 'views/default/river') diff --git a/views/default/river/object/videolist/annotate.php b/views/default/river/object/videolist/annotate.php new file mode 100644 index 000000000..d243c7ef3 --- /dev/null +++ b/views/default/river/object/videolist/annotate.php @@ -0,0 +1,13 @@ +getSubject(); + $object = $statement->getObject(); + + $url = "getURL()}\">{$performed_by->name}"; + $string = sprintf(elgg_echo("videolist:river:annotate"),$url) . " "; + $string .= "getURL() . "\">" . elgg_echo("videolist:river:item") . ""; + + echo $string; + +?> diff --git a/views/default/river/object/videolist/create.php b/views/default/river/object/videolist/create.php new file mode 100644 index 000000000..061d01dd5 --- /dev/null +++ b/views/default/river/object/videolist/create.php @@ -0,0 +1,18 @@ +subject_guid); // $statement->getSubject(); + $object = get_entity($vars['item']->object_guid); + $thumbnail = $object->thumbnail; + //$url = $object->getURL(); + + $url = "getURL()}\">{$performed_by->name}"; + $title = $object->title; + if(!$title) + $title = "untitled"; + $string = sprintf(elgg_echo("videolist:river:created"),$url) . " "; + $string .= elgg_echo("videolist:river:item") . " titled getURL() . "\">" . $title . ""; + $string .= "
"; + $string .= "getURL() . "\">"; + $string .= "
"; + + echo $string; \ No newline at end of file -- cgit v1.2.3