aboutsummaryrefslogtreecommitdiff
path: root/all.php
diff options
context:
space:
mode:
authorPete Harris <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-30 14:23:05 +0000
committerPete Harris <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-30 14:23:05 +0000
commit05129a184b2c88cf082ebf230a3dce7b6510ec8f (patch)
tree744402f97eba2cb76978224eb48c75850604d58f /all.php
parent4fa7aaa7e363514dc2def25cceafd8cf4333404c (diff)
downloadelgg-05129a184b2c88cf082ebf230a3dce7b6510ec8f.tar.gz
elgg-05129a184b2c88cf082ebf230a3dce7b6510ec8f.tar.bz2
Further updates to VideoList UI. Search results styled to match new elgg list style. Videos from search now play in popup modal with screen greyed out. Individual video page now has edit and delete, breadcrumbs, latest comments etc..
Diffstat (limited to 'all.php')
-rw-r--r--all.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/all.php b/all.php
index c1be98767..26aefb594 100644
--- a/all.php
+++ b/all.php
@@ -30,6 +30,10 @@ $area2 .= elgg_list_entities(array('types' => 'object', 'subtypes' => 'videolist
// include a view for plugins to extend
$area3 .= elgg_view("videolist/sidebar", array("object_type" => 'videolist'));
+// get the latest comments on all videos
+$comments = get_annotations(0, "object", "videolist", "generic_comment", "", 0, 4, 0, "desc");
+$area3 .= elgg_view('annotation/latest_comments', array('comments' => $comments));
+
set_context('videolist');
$body = elgg_view_layout('one_column_with_sidebar', $area1.$area2, $area3);