aboutsummaryrefslogtreecommitdiff
path: root/all.php
diff options
context:
space:
mode:
Diffstat (limited to 'all.php')
-rw-r--r--all.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/all.php b/all.php
index 7318da3c6..e601a34f5 100644
--- a/all.php
+++ b/all.php
@@ -21,9 +21,10 @@ if ($page_owner === false || is_null($page_owner)) {
}
$title = sprintf(elgg_echo("videolist:search"));
-
+// get the filter menu
+$friend_link = $CONFIG->wwwroot . "pg/videolist/friends/" . $page_owner->username;
// Get objects
-$area1 = elgg_view('page_elements/content_header', array('context' => "everyone", 'type' => 'videolist'));
+$area1 = elgg_view('page_elements/content_header', array('context' => "everyone", 'type' => 'videolist', 'friend_link' => $friend_link));
set_input('show_viewtype', 'all');
$area2 .= elgg_list_entities(array('types' => 'object', 'subtypes' => 'videolist', 'limit' => 10, 'full_view' => TRUE, 'view_type_toggle' => FALSE, 'pagination' => TRUE));
// include a view for plugins to extend