From: Pete Harris Date: Sun, 11 Apr 2010 23:04:28 +0000 (+0000) Subject: Updated Likes on Blog and Videolist single entity pages X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=a73a292689a4cfde6dd46ba16ae627df17635baa;p=lorea%2Felgg.git Updated Likes on Blog and Videolist single entity pages --- 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;