diff options
author | Pete Harris <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-06-10 12:37:51 +0000 |
---|---|---|
committer | Pete Harris <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-06-10 12:37:51 +0000 |
commit | d4b3f881b65d5c99ab07c584849d27dc7d1b72b0 (patch) | |
tree | 6ac8923e151bbdcac0779ae714cefad40f5b66ab /views | |
parent | b7350a7cf28ab1033357368822472e2e814b7338 (diff) | |
download | elgg-d4b3f881b65d5c99ab07c584849d27dc7d1b72b0.tar.gz elgg-d4b3f881b65d5c99ab07c584849d27dc7d1b72b0.tar.bz2 |
Added tags to single video page
git-svn-id: http://code.elgg.org@6433 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views')
-rw-r--r-- | views/default/object/watch.php | 8 | ||||
-rw-r--r-- | views/default/videolist/css.php | 3 |
2 files changed, 11 insertions, 0 deletions
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 .= "<div class='video_view'>"; // 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 .= "<p class='tags margin_none'>"; + $videodiv .= elgg_view('output/tags',array('value' => $tags)); + $videodiv .= "</p>"; + } if ($videos->videotype == "youtube") { $videodiv .= "<br /><object width=\"$width\" height=\"$height\"><param name=\"movie\" value=\"http://{$url}&hl=en&fs=1&showinfo=0&auoplay=1\"></param><param name=\"allowFullScreen\" value=\"true\"></param><param name=\"wmode\" value=\"transparent\"></param><embed src=\"http://{$url}&hl=en&fs=1&showinfo=0&autoplay=1\" type=\"application/x-shockwave-flash\" allowfullscreen=\"true\" width=\"$width\" height=\"$height\" wmode=\"transparent\"></embed></object>"; diff --git a/views/default/videolist/css.php b/views/default/videolist/css.php index ca3ab5f1d..93069181a 100644 --- a/views/default/videolist/css.php +++ b/views/default/videolist/css.php @@ -44,6 +44,9 @@ .video_view embed { margin-top:20px; } +.video_view .tags { + text-align:left; +} /* search for videos */ #loading_search_results .ajax_loader { |