aboutsummaryrefslogtreecommitdiff
path: root/pages/friends
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-11 01:36:23 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-11 01:36:23 +0000
commit3bfa294985001c2c6ebb58fbf87b2f795e055ca5 (patch)
tree0c1bef5f9afa3f08da345df333dc1a63ed3ffb21 /pages/friends
parent8c756908c5d72a53b1a4dda0901c8fb3d0191408 (diff)
downloadelgg-3bfa294985001c2c6ebb58fbf87b2f795e055ca5.tar.gz
elgg-3bfa294985001c2c6ebb58fbf87b2f795e055ca5.tar.bz2
Fixes #2640 - elgg_view_layout now uses a parameter array like all the other elgg_view* functions
git-svn-id: http://code.elgg.org/elgg/trunk@7288 36083f99-b078-4883-b0ff-0f9b5a30f544
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);