From d4b3f881b65d5c99ab07c584849d27dc7d1b72b0 Mon Sep 17 00:00:00 2001 From: Pete Harris Date: Thu, 10 Jun 2010 12:37:51 +0000 Subject: Added tags to single video page git-svn-id: http://code.elgg.org@6433 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/object/watch.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'views/default/object/watch.php') diff --git a/views/default/object/watch.php b/views/default/object/watch.php index ab1f28727..5a35bd0ac 100644 --- a/views/default/object/watch.php +++ b/views/default/object/watch.php @@ -18,12 +18,20 @@ if(isset($vars['entity'])) { $title = $videos->title; $url = $videos->url; $videoid = $videos->video_id; + $tags = $videos->tags; $videodiv .= "
"; // view for plugins to extend $videodiv .= elgg_view('videolist/options', array('entity' => $videos)) . elgg_view_likes($videos); // include likes + + // display any tags for the Video + if (!empty($tags)) { + $videodiv .= "

"; + $videodiv .= elgg_view('output/tags',array('value' => $tags)); + $videodiv .= "

"; + } if ($videos->videotype == "youtube") { $videodiv .= "
"; -- cgit v1.2.3