- Timestamp:
- 2012/02/17 00:50:05 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/entry/LC_Page_Entry.php
r21515 r21526 92 92 93 93 switch ($this->getMode()) { 94 case 'confirm': 95 //-- 確認 96 $this->arrErr = SC_Helper_Customer_Ex::sfCustomerEntryErrorCheck($objFormParam); 97 $this->arrForm = $objFormParam->getHashArray(); 98 // 入力エラーなし 99 if (empty($this->arrErr)) { 100 //パスワード表示 101 $this->passlen = SC_Utils_Ex::sfPassLen(strlen($this->arrForm['password'])); 102 103 $this->tpl_mainpage = 'entry/confirm.tpl'; 104 $this->tpl_title = '会員登録(確認ページ)'; 105 } 106 break; 107 case 'complete': 108 //-- 会員登録と完了画面 109 $this->arrErr = SC_Helper_Customer_Ex::sfCustomerEntryErrorCheck($objFormParam); 110 $this->arrForm = $objFormParam->getHashArray(); 111 if (empty($this->arrErr)) { 112 113 $uniqid = $this->lfRegistCustomerData($this->lfMakeSqlVal($objFormParam)); 114 115 $this->tpl_mainpage = 'entry/complete.tpl'; 116 $this->tpl_title = '会員登録(完了ページ)'; 117 $this->lfSendMail($uniqid, $this->arrForm); 118 119 // 仮会員が無効の場合 120 if (CUSTOMER_CONFIRM_MAIL == false) { 121 // ログイン状態にする 122 $objCustomer = new SC_Customer_Ex(); 123 $objCustomer->setLogin($this->arrForm['email']); 94 case 'confirm': 95 //-- 確認 96 $this->arrErr = SC_Helper_Customer_Ex::sfCustomerEntryErrorCheck($objFormParam); 97 $this->arrForm = $objFormParam->getHashArray(); 98 // 入力エラーなし 99 if (empty($this->arrErr)) { 100 //パスワード表示 101 $this->passlen = SC_Utils_Ex::sfPassLen(strlen($this->arrForm['password'])); 102 103 $this->tpl_mainpage = 'entry/confirm.tpl'; 104 $this->tpl_title = '会員登録(確認ページ)'; 124 105 } 125 126 // 完了ページに移動させる。 127 SC_Response_Ex::sendRedirect('complete.php', array('ci' => SC_Helper_Customer_Ex::sfGetCustomerId($uniqid))); 128 } 129 break; 130 case 'return': 131 $this->arrForm = $objFormParam->getHashArray(); 132 break; 133 default: 134 break; 106 break; 107 case 'complete': 108 //-- 会員登録と完了画面 109 $this->arrErr = SC_Helper_Customer_Ex::sfCustomerEntryErrorCheck($objFormParam); 110 $this->arrForm = $objFormParam->getHashArray(); 111 if (empty($this->arrErr)) { 112 113 $uniqid = $this->lfRegistCustomerData($this->lfMakeSqlVal($objFormParam)); 114 115 $this->tpl_mainpage = 'entry/complete.tpl'; 116 $this->tpl_title = '会員登録(完了ページ)'; 117 $this->lfSendMail($uniqid, $this->arrForm); 118 119 // 仮会員が無効の場合 120 if (CUSTOMER_CONFIRM_MAIL == false) { 121 // ログイン状態にする 122 $objCustomer = new SC_Customer_Ex(); 123 $objCustomer->setLogin($this->arrForm['email']); 124 } 125 126 // 完了ページに移動させる。 127 SC_Response_Ex::sendRedirect('complete.php', array('ci' => SC_Helper_Customer_Ex::sfGetCustomerId($uniqid))); 128 } 129 break; 130 case 'return': 131 $this->arrForm = $objFormParam->getHashArray(); 132 break; 133 default: 134 break; 135 135 } 136 136 }
Note: See TracChangeset
for help on using the changeset viewer.