aboutsummaryrefslogtreecommitdiff
path: root/friends
diff options
context:
space:
mode:
Diffstat (limited to 'friends')
-rw-r--r--friends/add.php2
-rw-r--r--friends/collections.php2
-rw-r--r--friends/edit.php2
-rw-r--r--friends/index.php2
-rw-r--r--friends/of.php2
5 files changed, 5 insertions, 5 deletions
diff --git a/friends/add.php b/friends/add.php
index 708461f60..a70dd12cf 100644
--- a/friends/add.php
+++ b/friends/add.php
@@ -20,7 +20,7 @@ $area2 = elgg_view('friends/forms/edit', array(
);
// Format page
-$body = elgg_view_layout('two_column_left_sidebar', '',
+$body = elgg_view_layout('one_column_with_sidebar', '',
elgg_view_title(elgg_echo('friends:collections:add')) . $area2);
// Draw it
diff --git a/friends/collections.php b/friends/collections.php
index bc62e0905..e98f4b6a6 100644
--- a/friends/collections.php
+++ b/friends/collections.php
@@ -17,7 +17,7 @@ gatekeeper();
$area2 = elgg_view_access_collections($_SESSION['user']->getGUID());
// Format page
-$body = elgg_view_layout('two_column_left_sidebar', '',
+$body = elgg_view_layout('one_column_with_sidebar', '',
elgg_view_title(elgg_echo('friends:collections')) . $area2);
// Draw it
diff --git a/friends/edit.php b/friends/edit.php
index e6cb83ce2..b9d682eb3 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('two_column_left_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 56df278ad..1a093da2e 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('two_column_left_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 c2e8a785e..b30b47215 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('two_column_left_sidebar', '', $area1 . $area2);
+$body = elgg_view_layout('one_column_with_sidebar', '', $area1 . $area2);
page_draw($friends_of, $body);