aboutsummaryrefslogtreecommitdiff
path: root/friends
diff options
context:
space:
mode:
Diffstat (limited to 'friends')
-rw-r--r--friends/add.php3
-rw-r--r--friends/collections.php3
-rw-r--r--friends/edit.php2
-rw-r--r--friends/index.php2
-rw-r--r--friends/of.php2
5 files changed, 5 insertions, 7 deletions
diff --git a/friends/add.php b/friends/add.php
index a70dd12cf..a7bbb6218 100644
--- a/friends/add.php
+++ b/friends/add.php
@@ -20,8 +20,7 @@ $area2 = elgg_view('friends/forms/edit', array(
);
// Format page
-$body = elgg_view_layout('one_column_with_sidebar', '',
- elgg_view_title(elgg_echo('friends:collections:add')) . $area2);
+$body = elgg_view_layout('one_column_with_sidebar', elgg_view_title(elgg_echo('friends:collections:add')) . $area2);
// Draw it
page_draw(elgg_echo('friends:collections:add'),$body); \ No newline at end of file
diff --git a/friends/collections.php b/friends/collections.php
index e98f4b6a6..5d3149de5 100644
--- a/friends/collections.php
+++ b/friends/collections.php
@@ -17,8 +17,7 @@ gatekeeper();
$area2 = elgg_view_access_collections($_SESSION['user']->getGUID());
// Format page
-$body = elgg_view_layout('one_column_with_sidebar', '',
- elgg_view_title(elgg_echo('friends:collections')) . $area2);
+$body = elgg_view_layout('one_column_with_sidebar', elgg_view_title(elgg_echo('friends:collections')) . $area2);
// Draw it
page_draw(elgg_echo('friends:collections'),$body); \ No newline at end of file
diff --git a/friends/edit.php b/friends/edit.php
index b9d682eb3..428b44bad 100644
--- a/friends/edit.php
+++ b/friends/edit.php
@@ -29,7 +29,7 @@ $collection_members = get_members_of_access_collection($collection_id);
$area2 = elgg_view('friends/forms/edit', array('collection' => $collection, 'collection_members' => $collection_members));
// Format page
-$body = elgg_view_layout('one_column_with_sidebar', '', $area1.$area2);
+$body = elgg_view_layout('one_column_with_sidebar', $area1.$area2);
// Draw it
page_draw(elgg_echo('friends:add'),$body); \ No newline at end of file
diff --git a/friends/index.php b/friends/index.php
index 1a093da2e..7ddbd45cc 100644
--- a/friends/index.php
+++ b/friends/index.php
@@ -17,6 +17,6 @@ $friends = sprintf(elgg_echo("friends:owned"),$owner->name);
$area1 = elgg_view_title($friends);
$area2 = list_entities_from_relationship('friend',$owner->getGUID(),false,'user','',0,10,false);
-$body = elgg_view_layout('one_column_with_sidebar', '', $area1 . $area2);
+$body = elgg_view_layout('one_column_with_sidebar', $area1 . $area2);
page_draw($friends, $body);
diff --git a/friends/of.php b/friends/of.php
index b30b47215..f8c3b1981 100644
--- a/friends/of.php
+++ b/friends/of.php
@@ -17,7 +17,7 @@ $friends_of = sprintf(elgg_echo("friends:of:owned"),$owner->name);
$area1 = elgg_view_title($friends_of);
$area2 = list_entities_from_relationship('friend',$owner->getGUID(),true,'user','',0,10,false);
-$body = elgg_view_layout('one_column_with_sidebar', '', $area1 . $area2);
+$body = elgg_view_layout('one_column_with_sidebar', $area1 . $area2);
page_draw($friends_of, $body);