- Timestamp:
- 2012/02/06 11:05:15 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/forgot/LC_Page_Forgot.php
r21420 r21441 90 90 $objFormParam = new SC_FormParam_Ex(); 91 91 92 switch ($this->getMode()) {92 switch ($this->getMode()) { 93 93 case 'mail_check': 94 94 $this->lfInitMailCheckParam($objFormParam, $this->device_type); … … 100 100 if (SC_Utils_Ex::isBlank($this->arrErr)) { 101 101 $this->errmsg = $this->lfCheckForgotMail($this->arrForm, $this->arrReminder); 102 if (SC_Utils_Ex::isBlank($this->errmsg)) {102 if (SC_Utils_Ex::isBlank($this->errmsg)) { 103 103 $this->tpl_mainpage = 'forgot/secret.tpl'; 104 104 } … … 114 114 if (SC_Utils_Ex::isBlank($this->arrErr)) { 115 115 $this->errmsg = $this->lfCheckForgotSecret($this->arrForm, $this->arrReminder); 116 if (SC_Utils_Ex::isBlank($this->errmsg)) {116 if (SC_Utils_Ex::isBlank($this->errmsg)) { 117 117 // 完了ページへ移動する 118 118 $this->tpl_mainpage = 'forgot/complete.tpl'; 119 119 // transactionidを更新させたいので呼び出し元(ログインフォーム側)をリロード。 120 120 $this->tpl_onload .= 'opener.location.reload(true);'; 121 } else{121 } else { 122 122 // 秘密の答えが一致しなかった 123 123 $this->tpl_mainpage = 'forgot/secret.tpl'; 124 124 } 125 } else{125 } else { 126 126 // 入力値エラー 127 127 $this->tpl_mainpage = 'forgot/secret.tpl'; … … 133 133 134 134 // ポップアップ用テンプレート設定 135 if ($this->device_type == DEVICE_TYPE_PC) {135 if ($this->device_type == DEVICE_TYPE_PC) { 136 136 $this->setTemplate($this->tpl_mainpage); 137 137 } … … 153 153 if (isset($result[0]['reminder']) and isset($arrReminder[$result[0]['reminder']])) { 154 154 // 会員状態の確認 155 if ($result[0]['status'] == '2') {155 if ($result[0]['status'] == '2') { 156 156 // 正会員 157 157 $arrForm['reminder'] = $result[0]['reminder']; … … 176 176 $objFormParam->addParam("お名前(姓)", 'name01', STEXT_LEN, 'aKV', array("EXIST_CHECK", "NO_SPTAB", "SPTAB_CHECK" ,"MAX_LENGTH_CHECK")); 177 177 $objFormParam->addParam("お名前(名)", 'name02', STEXT_LEN, 'aKV', array("EXIST_CHECK", "NO_SPTAB", "SPTAB_CHECK" , "MAX_LENGTH_CHECK")); 178 if ($device_type === DEVICE_TYPE_MOBILE) {178 if ($device_type === DEVICE_TYPE_MOBILE) { 179 179 $objFormParam->addParam('メールアドレス', 'email', null, 'a', array("EXIST_CHECK", "EMAIL_CHECK", "NO_SPTAB" ,"EMAIL_CHAR_CHECK", "MOBILE_EMAIL_CHECK")); 180 180 } else { … … 221 221 // 新しいパスワードを設定する 222 222 $new_password = GC_Utils_Ex::gfMakePassword(8); 223 if (FORGOT_MAIL == 1) {223 if (FORGOT_MAIL == 1) { 224 224 // メールで変更通知をする 225 225 $objDb = new SC_Helper_DB_Ex();
Note: See TracChangeset
for help on using the changeset viewer.