From f0ebf753148110e28ed5730c2d4eb6766f9f2bd6 Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Thu, 25 Mar 2010 12:41:56 +0000 Subject: [PATCH] + add the required fields of my module. --- module/my/config.php | 2 ++ module/my/view/editprofile.html.php | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 module/my/config.php diff --git a/module/my/config.php b/module/my/config.php new file mode 100644 index 0000000000..0d516884ce --- /dev/null +++ b/module/my/config.php @@ -0,0 +1,2 @@ +my->editprofile->requiredFields = 'account,realname'; diff --git a/module/my/view/editprofile.html.php b/module/my/view/editprofile.html.php index 770ddcb9b4..bfc9c1ed8c 100644 --- a/module/my/view/editprofile.html.php +++ b/module/my/view/editprofile.html.php @@ -29,15 +29,15 @@ my->editProfile;?> user->account;?> - + account, "readonly");?> user->realname;?> - + realname);?> user->email;?> - + email);?> user->gendar;?>