From b0f15fbebe3781626ba6b086d63ed364f6822209 Mon Sep 17 00:00:00 2001 From: Sem Date: Wed, 9 Nov 2011 03:10:35 +0100 Subject: Sidebar. --- views/default/page/elements/videolist_block.php | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 views/default/page/elements/videolist_block.php (limited to 'views/default/page') diff --git a/views/default/page/elements/videolist_block.php b/views/default/page/elements/videolist_block.php new file mode 100644 index 000000000..264862ccf --- /dev/null +++ b/views/default/page/elements/videolist_block.php @@ -0,0 +1,33 @@ + $container_guid, + 'limit' => elgg_extract('limit', $vars, 4), + 'type' => 'object', + 'subtypes' => 'videolist_item', + 'full_view' => false, +); + +if($container) { + $title = elgg_echo('videolist:user', array($container->name)); +} else { + $title = elgg_echo('videolist'); +} + +elgg_push_context('gallery'); +$content = elgg_list_entities($options); +elgg_pop_context('gallery'); + +echo elgg_view_module('aside', $title, $content); -- cgit v1.2.3