From 09d08af9814a4edfb2050cdb47ad8ae20a944472 Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 18 Dec 2010 22:20:25 +0000 Subject: moved profile edit form into core git-svn-id: http://code.elgg.org/elgg/trunk@7672 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/profile/start.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'mod/profile/start.php') diff --git a/mod/profile/start.php b/mod/profile/start.php index 4c24c2b50..8ae16cfb5 100644 --- a/mod/profile/start.php +++ b/mod/profile/start.php @@ -135,6 +135,9 @@ function profile_page_handler($page) { switch ($action) { case 'edit': + require $CONFIG->path . 'pages/profile/edit.php'; + return; + /* $layout = 'one_column_with_sidebar'; if (!$user || !$user->canEdit()) { @@ -144,6 +147,8 @@ function profile_page_handler($page) { $content = profile_get_user_edit_content($user, $page); $content = elgg_view_layout($layout, array('content' => $content)); + * + */ break; default: -- cgit v1.2.3