aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/start.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-18 22:20:25 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-18 22:20:25 +0000
commit09d08af9814a4edfb2050cdb47ad8ae20a944472 (patch)
tree43aad705fd98ab1531d7ca19aebdf19d864e60fd /mod/profile/start.php
parent9bc9a3e7590ba15039b019da22c60bdd9d9868e0 (diff)
downloadelgg-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.php5
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: