diff --git a/db/update2.4.sql b/db/update2.4.sql index 4afb133fcf..7f57fd1fcc 100644 --- a/db/update2.4.sql +++ b/db/update2.4.sql @@ -1 +1,2 @@ ALTER TABLE `zt_user` CHANGE `gendar` `gender` ENUM( 'f', 'm' ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'f' ; +ALTER TABLE `zt_user` ADD `commiter` VARCHAR( 100 ) NOT NULL AFTER `nickname` ; diff --git a/module/my/view/editprofile.html.php b/module/my/view/editprofile.html.php index 1b39043f17..5340d6104e 100644 --- a/module/my/view/editprofile.html.php +++ b/module/my/view/editprofile.html.php @@ -17,16 +17,16 @@ my->editProfile;?> user->account;?> - account, "readonly"); - echo $user->account; - echo html::hidden('account',$user->account); - ?> - + account . html::hidden('account',$user->account);?> user->realname;?> realname);?> + + user->commiter;?> + commiter);?> + user->email;?> email);?> diff --git a/module/my/view/profile.html.php b/module/my/view/profile.html.php index 466e5bcf8e..83f33adbdb 100644 --- a/module/my/view/profile.html.php +++ b/module/my/view/profile.html.php @@ -42,6 +42,10 @@ user->realname;?> realname;?> + + user->commiter;?> + commiter;?> +