diff options
author | Dave Tosh <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-06-09 11:23:55 +0000 |
---|---|---|
committer | Dave Tosh <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-06-09 11:23:55 +0000 |
commit | cd172931a223ba52c28ff542f3768e58b53e4c09 (patch) | |
tree | 855089ef5073e292ad3a66c0c7b6441bfd8f4107 /all.php | |
parent | 6184173a998d22ae19c1aa9f828a7c71580cc092 (diff) | |
download | elgg-cd172931a223ba52c28ff542f3768e58b53e4c09.tar.gz elgg-cd172931a223ba52c28ff542f3768e58b53e4c09.tar.bz2 |
fixed friends link on videolist
git-svn-id: http://code.elgg.org@6418 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'all.php')
-rw-r--r-- | all.php | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |