diff options
Diffstat (limited to 'pages/friends')
-rw-r--r-- | pages/friends/add.php | 2 | ||||
-rw-r--r-- | pages/friends/edit.php | 2 | ||||
-rw-r--r-- | pages/friends/pickercallback.php | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/pages/friends/add.php b/pages/friends/add.php index 23881b7c5..a1142d0da 100644 --- a/pages/friends/add.php +++ b/pages/friends/add.php @@ -13,7 +13,7 @@ $title = elgg_echo('friends:collections:add'); $content = elgg_view_title($title); -$content .= elgg_view('friends/forms/edit', array( +$content .= elgg_view('forms/friends/edit', array( 'friends' => get_user_friends(get_loggedin_userid(), "", 9999) ) ); diff --git a/pages/friends/edit.php b/pages/friends/edit.php index 94527a243..cd65d96ae 100644 --- a/pages/friends/edit.php +++ b/pages/friends/edit.php @@ -22,7 +22,7 @@ $collection = get_access_collection($collection_id); //get all members of the collection $collection_members = get_members_of_access_collection($collection_id); -$content .= elgg_view('friends/forms/edit', array('collection' => $collection, +$content .= elgg_view('forms/friends/edit', array('collection' => $collection, 'collection_members' => $collection_members)); $body = elgg_view_layout('one_column_with_sidebar', array('content' => $content)); diff --git a/pages/friends/pickercallback.php b/pages/friends/pickercallback.php index 338511708..16cef1110 100644 --- a/pages/friends/pickercallback.php +++ b/pages/friends/pickercallback.php @@ -44,7 +44,7 @@ switch($type) { 'value' => $members, 'callback' => true, 'friendspicker' => $friendspicker, - 'formcontents' => elgg_view('friends/forms/collectionfields', + 'formcontents' => elgg_view('forms/friends/collectionfields', array('collection' => get_access_collection($collection))), 'formtarget' => $site_url . 'action/friends/editcollection', )); |