Ignore:
Timestamp:
2012/02/06 11:05:15 (12 years ago)
Author:
Seasoft
Message:

#1613 (ソース整形・ソースコメントの改善)

  • Zend Framework PHP 標準コーディング規約への準拠を高めた
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/pages/forgot/LC_Page_Forgot.php

    r21420 r21441  
    9090        $objFormParam = new SC_FormParam_Ex(); 
    9191 
    92         switch($this->getMode()) { 
     92        switch ($this->getMode()) { 
    9393            case 'mail_check': 
    9494                $this->lfInitMailCheckParam($objFormParam, $this->device_type); 
     
    100100                if (SC_Utils_Ex::isBlank($this->arrErr)) { 
    101101                    $this->errmsg = $this->lfCheckForgotMail($this->arrForm, $this->arrReminder); 
    102                     if(SC_Utils_Ex::isBlank($this->errmsg)) { 
     102                    if (SC_Utils_Ex::isBlank($this->errmsg)) { 
    103103                        $this->tpl_mainpage = 'forgot/secret.tpl'; 
    104104                    } 
     
    114114                if (SC_Utils_Ex::isBlank($this->arrErr)) { 
    115115                    $this->errmsg = $this->lfCheckForgotSecret($this->arrForm, $this->arrReminder); 
    116                     if(SC_Utils_Ex::isBlank($this->errmsg)) { 
     116                    if (SC_Utils_Ex::isBlank($this->errmsg)) { 
    117117                        // 完了ページへ移動する 
    118118                        $this->tpl_mainpage = 'forgot/complete.tpl'; 
    119119                        // transactionidを更新させたいので呼び出し元(ログインフォーム側)をリロード。 
    120120                        $this->tpl_onload .= 'opener.location.reload(true);'; 
    121                     }else{ 
     121                    } else { 
    122122                        // 秘密の答えが一致しなかった 
    123123                        $this->tpl_mainpage = 'forgot/secret.tpl'; 
    124124                    } 
    125                 }else{ 
     125                } else { 
    126126                    // 入力値エラー 
    127127                    $this->tpl_mainpage = 'forgot/secret.tpl'; 
     
    133133 
    134134        // ポップアップ用テンプレート設定 
    135         if($this->device_type == DEVICE_TYPE_PC) { 
     135        if ($this->device_type == DEVICE_TYPE_PC) { 
    136136            $this->setTemplate($this->tpl_mainpage); 
    137137        } 
     
    153153        if (isset($result[0]['reminder']) and isset($arrReminder[$result[0]['reminder']])) { 
    154154            // 会員状態の確認 
    155             if($result[0]['status'] == '2') { 
     155            if ($result[0]['status'] == '2') { 
    156156                // 正会員 
    157157                $arrForm['reminder'] = $result[0]['reminder']; 
     
    176176        $objFormParam->addParam("お名前(姓)", 'name01', STEXT_LEN, 'aKV', array("EXIST_CHECK", "NO_SPTAB", "SPTAB_CHECK" ,"MAX_LENGTH_CHECK")); 
    177177        $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) { 
    179179            $objFormParam->addParam('メールアドレス', 'email', null, 'a', array("EXIST_CHECK", "EMAIL_CHECK", "NO_SPTAB" ,"EMAIL_CHAR_CHECK", "MOBILE_EMAIL_CHECK")); 
    180180        } else { 
     
    221221                // 新しいパスワードを設定する 
    222222                $new_password = GC_Utils_Ex::gfMakePassword(8); 
    223                 if(FORGOT_MAIL == 1) { 
     223                if (FORGOT_MAIL == 1) { 
    224224                    // メールで変更通知をする 
    225225                    $objDb = new SC_Helper_DB_Ex(); 
Note: See TracChangeset for help on using the changeset viewer.