From cd172931a223ba52c28ff542f3768e58b53e4c09 Mon Sep 17 00:00:00 2001 From: Dave Tosh Date: Wed, 9 Jun 2010 11:23:55 +0000 Subject: fixed friends link on videolist git-svn-id: http://code.elgg.org@6418 36083f99-b078-4883-b0ff-0f9b5a30f544 --- all.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'all.php') 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 -- cgit v1.2.3