From 22b5a8e6601b342e52eaad3a4dbfbee583047f68 Mon Sep 17 00:00:00 2001 From: pete Date: Tue, 9 Mar 2010 11:59:41 +0000 Subject: Fixed canvas layout for profile edit views git-svn-id: http://code.elgg.org/elgg/trunk@5321 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/profile/edit.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'mod/profile/edit.php') 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); -- cgit v1.2.3