diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-18 22:20:25 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-18 22:20:25 +0000 |
commit | 09d08af9814a4edfb2050cdb47ad8ae20a944472 (patch) | |
tree | 43aad705fd98ab1531d7ca19aebdf19d864e60fd /mod/profile/start.php | |
parent | 9bc9a3e7590ba15039b019da22c60bdd9d9868e0 (diff) | |
download | elgg-09d08af9814a4edfb2050cdb47ad8ae20a944472.tar.gz elgg-09d08af9814a4edfb2050cdb47ad8ae20a944472.tar.bz2 |
moved profile edit form into core
git-svn-id: http://code.elgg.org/elgg/trunk@7672 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/profile/start.php')
-rw-r--r-- | mod/profile/start.php | 5 |
1 files changed, 5 insertions, 0 deletions
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: |