diff options
author | Sem <sembrestels@riseup.net> | 2011-11-09 03:10:35 +0100 |
---|---|---|
committer | Sem <sembrestels@riseup.net> | 2011-11-09 03:10:35 +0100 |
commit | b0f15fbebe3781626ba6b086d63ed364f6822209 (patch) | |
tree | c0b9358920ac777d6a0a5125f5cf528b7ca52643 /pages/videolist/all.php | |
parent | 6b16fa9b322ae12a54c66ba5160cc7547d6e7667 (diff) | |
download | elgg-b0f15fbebe3781626ba6b086d63ed364f6822209.tar.gz elgg-b0f15fbebe3781626ba6b086d63ed364f6822209.tar.bz2 |
Sidebar.
Diffstat (limited to 'pages/videolist/all.php')
-rw-r--r-- | pages/videolist/all.php | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/pages/videolist/all.php b/pages/videolist/all.php index db0b0ee9d..6fe68f3eb 100644 --- a/pages/videolist/all.php +++ b/pages/videolist/all.php @@ -20,22 +20,7 @@ $content = elgg_list_entities(array( 'full_view' => FALSE )); -// get the latest comments on all videos -$comments = elgg_get_annotations(array( - 'type' => 'object', - 'subype' => 'videolist', - 'annotation_names' => array('generic_comment'), - 'limit' => 4, - 'order_by' => 'time_created desc', -)); -$sidebar = elgg_view('annotation/latest_comments', array('comments' => $comments)); - -// tag-cloud display -$sidebar .= elgg_view_tagcloud(array( - 'type' => 'object', - 'subtype' => 'videolist', - 'limit' => 50, -)); +$sidebar = elgg_view('videolist/sidebar'); elgg_set_context('videolist'); $body = elgg_view_layout('content', array( |