aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/edit.php
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-09 11:59:41 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-09 11:59:41 +0000
commit22b5a8e6601b342e52eaad3a4dbfbee583047f68 (patch)
treebd72eb0686dd4fa9ee298cc0694af65ad4431679 /mod/profile/edit.php
parent31db19e91841abc92ca1180d52e9f5f5b3a527be (diff)
downloadelgg-22b5a8e6601b342e52eaad3a4dbfbee583047f68.tar.gz
elgg-22b5a8e6601b342e52eaad3a4dbfbee583047f68.tar.bz2
Fixed canvas layout for profile edit views
git-svn-id: http://code.elgg.org/elgg/trunk@5321 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/profile/edit.php')
-rw-r--r--mod/profile/edit.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/mod/profile/edit.php b/mod/profile/edit.php
index 9894ce35d..91db99a2e 100644
--- a/mod/profile/edit.php
+++ b/mod/profile/edit.php
@@ -32,15 +32,13 @@ if (!$user->canEdit()) {
}
// Get edit form
-$area2 = elgg_view_title(elgg_echo('profile:edit'));
-$area2 .= elgg_view("profile/edit",array('entity' => $user));
-
-$area1 = "";
+$area1 = elgg_view_title(elgg_echo('profile:edit'));
+$area1 .= elgg_view("profile/edit",array('entity' => $user));
set_context('profile_edit');
// get the required canvas area
-$body = elgg_view_layout("one_column_with_sidebar", $area2, $area1);
+$body = elgg_view_layout("one_column_with_sidebar", $area1);
// Draw the page
page_draw(elgg_echo("profile:edit"),$body);