diff options
-rw-r--r-- | pages/friends/add.php | 2 | ||||
-rw-r--r-- | pages/friends/edit.php | 2 | ||||
-rw-r--r-- | pages/friends/pickercallback.php | 2 | ||||
-rw-r--r-- | views/default/forms/friends/collectionfields.php (renamed from views/default/friends/forms/collectionfields.php) | 0 | ||||
-rw-r--r-- | views/default/forms/friends/edit.php (renamed from views/default/friends/forms/edit.php) | 0 |
5 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', )); diff --git a/views/default/friends/forms/collectionfields.php b/views/default/forms/friends/collectionfields.php index 35db3a962..35db3a962 100644 --- a/views/default/friends/forms/collectionfields.php +++ b/views/default/forms/friends/collectionfields.php diff --git a/views/default/friends/forms/edit.php b/views/default/forms/friends/edit.php index 632268fb8..632268fb8 100644 --- a/views/default/friends/forms/edit.php +++ b/views/default/forms/friends/edit.php |