aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorDave Tosh <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-06-09 11:23:55 +0000
committerDave Tosh <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-06-09 11:23:55 +0000
commitcd172931a223ba52c28ff542f3768e58b53e4c09 (patch)
tree855089ef5073e292ad3a66c0c7b6441bfd8f4107 /index.php
parent6184173a998d22ae19c1aa9f828a7c71580cc092 (diff)
downloadelgg-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 'index.php')
-rw-r--r--index.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/index.php b/index.php
index 35989bb42..c36458579 100644
--- a/index.php
+++ b/index.php
@@ -38,7 +38,9 @@ $title = sprintf(elgg_echo("videolist:home"), "$owner->name");
//set videolist header
if(page_owner() == get_loggedin_userid()) {
- $area1 .= elgg_view('page_elements/content_header', array('context' => "mine", 'type' => 'videolist'));
+ // get the filter menu
+ $friend_link = $CONFIG->wwwroot . "pg/videolist/friends/" . $page_owner->username;
+ $area1 .= elgg_view('page_elements/content_header', array('context' => "mine", 'type' => 'videolist', 'friend_link' => $friend_link));
}elseif(page_owner_entity() instanceof ElggGroup){
$area1 .= elgg_view('navigation/breadcrumbs');
$area1 .= elgg_view('videolist/group_video_header');