From 27062bd6039df8d39612a882490b8607ccbaf0a8 Mon Sep 17 00:00:00 2001 From: Kousuke Ebihara Date: Tue, 20 Apr 2010 09:43:52 +0900 Subject: [PATCH] added support to new register page (for 3.5.2) --- .../actions/components.class.php | 16 ++++++++++++++++ .../opAuthMailAddress/config/security.yml | 3 +-- .../opAuthMailAddress/templates/_registerBox.php | 7 +++++++ lib/form/opAuthRegisterFormMailAddress.class.php | 1 + 4 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 apps/pc_frontend/modules/opAuthMailAddress/actions/components.class.php create mode 100644 apps/pc_frontend/modules/opAuthMailAddress/templates/_registerBox.php diff --git a/apps/pc_frontend/modules/opAuthMailAddress/actions/components.class.php b/apps/pc_frontend/modules/opAuthMailAddress/actions/components.class.php new file mode 100644 index 0000000..c1e96c9 --- /dev/null +++ b/apps/pc_frontend/modules/opAuthMailAddress/actions/components.class.php @@ -0,0 +1,16 @@ + 'メールアドレスで登録する', + 'body' => '以下のボタンをクリックすると、招待されたメールアドレスで登録をおこないます。', + 'button' => 'プロフィール入力ページへ', + 'url' => url_for($sf_user->getRegisterInputAction()), + 'method' => 'get', +)) ?> diff --git a/lib/form/opAuthRegisterFormMailAddress.class.php b/lib/form/opAuthRegisterFormMailAddress.class.php index 5d4f749..c22085d 100644 --- a/lib/form/opAuthRegisterFormMailAddress.class.php +++ b/lib/form/opAuthRegisterFormMailAddress.class.php @@ -49,6 +49,7 @@ public function doSave() } $memberConfig->save(); + return $memberConfig; } }