aboutsummaryrefslogtreecommitdiff
path: root/pages/friends
diff options
context:
space:
mode:
Diffstat (limited to 'pages/friends')
-rw-r--r--pages/friends/add.php2
-rw-r--r--pages/friends/collections.php2
-rw-r--r--pages/friends/edit.php2
-rw-r--r--pages/friends/index.php2
-rw-r--r--pages/friends/of.php2
5 files changed, 5 insertions, 5 deletions
diff --git a/pages/friends/add.php b/pages/friends/add.php
index 5eb6608a6..23881b7c5 100644
--- a/pages/friends/add.php
+++ b/pages/friends/add.php
@@ -18,6 +18,6 @@ $content .= elgg_view('friends/forms/edit', array(
)
);
-$body = elgg_view_layout('one_column_with_sidebar', $content);
+$body = elgg_view_layout('one_column_with_sidebar', array('content' => $content));
echo elgg_view_page(elgg_echo('friends:collections:add'), $body);
diff --git a/pages/friends/collections.php b/pages/friends/collections.php
index a37ba3a43..80e472f66 100644
--- a/pages/friends/collections.php
+++ b/pages/friends/collections.php
@@ -15,6 +15,6 @@ $content = elgg_view_title($title);
$content .= elgg_view_access_collections(get_loggedin_userid());
-$body = elgg_view_layout('one_column_with_sidebar', $content);
+$body = elgg_view_layout('one_column_with_sidebar', array('content' => $content));
echo elgg_view_page($title, $body);
diff --git a/pages/friends/edit.php b/pages/friends/edit.php
index a56009472..94527a243 100644
--- a/pages/friends/edit.php
+++ b/pages/friends/edit.php
@@ -25,6 +25,6 @@ $collection_members = get_members_of_access_collection($collection_id);
$content .= elgg_view('friends/forms/edit', array('collection' => $collection,
'collection_members' => $collection_members));
-$body = elgg_view_layout('one_column_with_sidebar', $content);
+$body = elgg_view_layout('one_column_with_sidebar', array('content' => $content));
echo elgg_view_page($title, $body); \ No newline at end of file
diff --git a/pages/friends/index.php b/pages/friends/index.php
index 473e456c4..61169cc85 100644
--- a/pages/friends/index.php
+++ b/pages/friends/index.php
@@ -21,6 +21,6 @@ $content .= "<div class='members_list'>"
. list_entities_from_relationship('friend', $owner->getGUID(), FALSE, 'user', '', 0, 10, FALSE)
. "</div>";
-$body = elgg_view_layout('one_column_with_sidebar', $content);
+$body = elgg_view_layout('one_column_with_sidebar', array('content' => $content));
echo elgg_view_page($title, $body);
diff --git a/pages/friends/of.php b/pages/friends/of.php
index 9e49ccfd4..b5d5829ad 100644
--- a/pages/friends/of.php
+++ b/pages/friends/of.php
@@ -21,6 +21,6 @@ $content .= "<div class='members_list'>"
. list_entities_from_relationship('friend', $owner->getGUID(), TRUE, 'user', '', 0, 10, FALSE)
. "</div>";
-$body = elgg_view_layout('one_column_with_sidebar', $content);
+$body = elgg_view_layout('one_column_with_sidebar', array('content' => $content));
echo elgg_view_page($title, $body);