From a73a292689a4cfde6dd46ba16ae627df17635baa Mon Sep 17 00:00:00 2001 From: Pete Harris Date: Sun, 11 Apr 2010 23:04:28 +0000 Subject: Updated Likes on Blog and Videolist single entity pages --- views/default/object/watch.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'views/default/object') diff --git a/views/default/object/watch.php b/views/default/object/watch.php index f8dd1ceac..165dc6c39 100644 --- a/views/default/object/watch.php +++ b/views/default/object/watch.php @@ -22,22 +22,22 @@ if(isset($vars['entity'])) { $videodiv .= "
"; // view for plugins to extend - $videodiv .= elgg_view('videolist/options', array('entity' => $videos)); + $videodiv .= elgg_view('videolist/options', array('entity' => $videos)) . + elgg_view_likes($videos); // include likes if ($videos->videotype == "youtube") { - $videodiv .= ""; + $videodiv .= "
"; } else if($videos->videotype == "metacafe"){ $videoid_id = $videoid; $path = explode("/", $videos->thumbnail); $path = array_reverse($path); $thumbnailArray = explode(".", $path[0]); $videoid = $videoid_id."/".$thumbnailArray[0].".swf"; - $videodiv .= ""; + $videodiv .= "
"; } else if($videos->videotype == "vimeo") { - $videodiv .= ""; + $videodiv .= "
"; } - $videodiv .= "
".elgg_view_likes($videos); $videodiv .= "
"; $videodiv .= elgg_view_comments($videos); print $videodiv; -- cgit v1.2.3