aboutsummaryrefslogtreecommitdiff
path: root/views/default/videolist/sidebar.php
blob: 4a9e1cdda145e2ebb421a2933dafc24cef6273e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
/**
 * Videolist sidebar
 */

$show_comments = elgg_extract('show_comments', $vars, true);
$show_tags = elgg_extract('show_tags', $vars, true);
$show_videolist = elgg_extract('show_videolist', $vars, false);

if($show_videolist){
	echo elgg_view('page/elements/videolist_block', array(
		'container_guid' => elgg_get_page_owner_guid(),
	));
}

if($show_comments) {
	echo elgg_view('page/elements/comments_block', array(
		'subtypes' => 'videolist_item',
		'owner_guid' => elgg_get_page_owner_guid(),
	));
}

if($show_tags) {
	echo elgg_view('page/elements/tagcloud_block', array(
		'subtypes' => 'videolist_item',
		'owner_guid' => elgg_get_page_owner_guid(),
	));
}