aboutsummaryrefslogtreecommitdiff
path: root/mod/profile
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profile')
-rw-r--r--mod/profile/edit.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/mod/profile/edit.php b/mod/profile/edit.php
index cf3d8a62e..076b277fc 100644
--- a/mod/profile/edit.php
+++ b/mod/profile/edit.php
@@ -28,17 +28,17 @@
// Get form, if we're allowed to edit
if ($user->canEdit()) {
- $area1 = elgg_view_title(elgg_echo('profile:edit'));
- $area1 .= elgg_view("profile/edit",array('entity' => $user));
+ $area2 = elgg_view_title(elgg_echo('profile:edit'));
+ $area2 .= elgg_view("profile/edit",array('entity' => $user));
} else {
- $area1 = elgg_echo("profile:noaccess");
+ $area2 = elgg_echo("profile:noaccess");
}
// get the required canvas area
- $body = elgg_view_layout("one_column", $area1);
+ $body = elgg_view_layout("two_column_left_sidebar", $area1, $area2);
// Draw the page
page_draw(elgg_echo("profile:edit"),$body);