aboutsummaryrefslogtreecommitdiff
path: root/views/default/videolist/sidebar.php
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2011-11-09 03:10:35 +0100
committerSem <sembrestels@riseup.net>2011-11-09 03:10:35 +0100
commitb0f15fbebe3781626ba6b086d63ed364f6822209 (patch)
treec0b9358920ac777d6a0a5125f5cf528b7ca52643 /views/default/videolist/sidebar.php
parent6b16fa9b322ae12a54c66ba5160cc7547d6e7667 (diff)
downloadelgg-b0f15fbebe3781626ba6b086d63ed364f6822209.tar.gz
elgg-b0f15fbebe3781626ba6b086d63ed364f6822209.tar.bz2
Sidebar.
Diffstat (limited to 'views/default/videolist/sidebar.php')
-rw-r--r--views/default/videolist/sidebar.php28
1 files changed, 28 insertions, 0 deletions
diff --git a/views/default/videolist/sidebar.php b/views/default/videolist/sidebar.php
new file mode 100644
index 000000000..4a9e1cdda
--- /dev/null
+++ b/views/default/videolist/sidebar.php
@@ -0,0 +1,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(),
+ ));
+}