aboutsummaryrefslogtreecommitdiff
path: root/mod/profile
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-09 09:39:34 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-09 09:39:34 +0000
commitff4779ddb3ef005553187e4486d4d775220d8b8f (patch)
tree7765c79ad2cffd028dd5da9d1db68ca176faf9a3 /mod/profile
parent9bb993778bc7a0c6f17673e509ed147202e69ee7 (diff)
downloadelgg-ff4779ddb3ef005553187e4486d4d775220d8b8f.tar.gz
elgg-ff4779ddb3ef005553187e4486d4d775220d8b8f.tar.bz2
Updated new page canvases (and calls to elgg_view_layout) so that empty vars are not required.
git-svn-id: http://code.elgg.org/elgg/trunk@5316 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/profile')
-rw-r--r--mod/profile/defaultprofile.php2
-rw-r--r--mod/profile/edit.php2
-rw-r--r--mod/profile/editicon.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/mod/profile/defaultprofile.php b/mod/profile/defaultprofile.php
index 1e2884582..233214c15 100644
--- a/mod/profile/defaultprofile.php
+++ b/mod/profile/defaultprofile.php
@@ -46,4 +46,4 @@ $listing .= "<div class='default_profile_reset'>" . elgg_view('input/form',
set_context('admin');
-page_draw(elgg_echo('profile:edit:default'),elgg_view_layout("one_column_with_sidebar", '', $title . $form . $listing)); \ No newline at end of file
+page_draw(elgg_echo('profile:edit:default'),elgg_view_layout("one_column_with_sidebar", $title . $form . $listing)); \ No newline at end of file
diff --git a/mod/profile/edit.php b/mod/profile/edit.php
index 313d144fe..9894ce35d 100644
--- a/mod/profile/edit.php
+++ b/mod/profile/edit.php
@@ -40,7 +40,7 @@ $area1 = "";
set_context('profile_edit');
// get the required canvas area
-$body = elgg_view_layout("one_column_with_sidebar", $area1, $area2);
+$body = elgg_view_layout("one_column_with_sidebar", $area2, $area1);
// Draw the page
page_draw(elgg_echo("profile:edit"),$body);
diff --git a/mod/profile/editicon.php b/mod/profile/editicon.php
index 1c5c20d30..65b4b10da 100644
--- a/mod/profile/editicon.php
+++ b/mod/profile/editicon.php
@@ -37,7 +37,7 @@ $area2 .= elgg_view("profile/edit_icon", array('user' => $user));
set_context('profile_edit');
// Get the form and correct canvas area
-$body = elgg_view_layout("one_column_with_sidebar", '', $area2);
+$body = elgg_view_layout("one_column_with_sidebar", $area2);
// Draw the page
page_draw(elgg_echo("profile:editicon"), $body);