Ignore:
Timestamp:
2012/02/15 19:56:17 (12 years ago)
Author:
Seasoft
Message:

#1625 (typo修正・ソース整形・ソースコメントの改善)

File:
1 edited

Legend:

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

    r21481 r21514  
    7171            //-- 入力チェック 
    7272            $this->arrErr       = $this->lfErrorCheck($_GET); 
    73             if ($this->arrErr) SC_Utils_Ex::sfDispSiteError(FREE_ERROR_MSG, "", true, $this->arrErr['id']); 
     73            if ($this->arrErr) SC_Utils_Ex::sfDispSiteError(FREE_ERROR_MSG, '', true, $this->arrErr['id']); 
    7474 
    7575            $registSecretKey    = $this->lfRegistData($_GET);   //本会員登録(フラグ変更) 
     
    8080        //-- それ以外のアクセスは無効とする 
    8181        default: 
    82             SC_Utils_Ex::sfDispSiteError(FREE_ERROR_MSG, "", true, "無効なアクセスです。"); 
     82            SC_Utils_Ex::sfDispSiteError(FREE_ERROR_MSG, '', true, '無効なアクセスです。'); 
    8383            break; 
    8484        } 
     
    108108 
    109109        $objQuery->begin(); 
    110         $objQuery->update('dtb_customer', $arrRegist, "secret_key = ? AND status = 1", array($array['id'])); 
     110        $objQuery->update('dtb_customer', $arrRegist, 'secret_key = ? AND status = 1', array($array['id'])); 
    111111        $objQuery->commit(); 
    112112 
     
    127127 
    128128            if (!is_numeric(SC_Helper_Customer_Ex::sfGetCustomerId($array['id'], true))) { 
    129                 $objErr->arrErr['id'] = "※ 既に会員登録が完了しているか、無効なURLです。<br>"; 
     129                $objErr->arrErr['id'] = '※ 既に会員登録が完了しているか、無効なURLです。<br>'; 
    130130            } 
    131131 
    132132        } else { 
    133             $objErr->arrErr['id'] = "無効なURLです。メールに記載されている本会員登録用URLを再度ご確認ください。"; 
     133            $objErr->arrErr['id'] = '無効なURLです。メールに記載されている本会員登録用URLを再度ご確認ください。'; 
    134134        } 
    135135        return $objErr->arrErr; 
     
    150150 
    151151        //-- 会員データを取得 
    152         $arrCustomer    = $objQuery->select("*", 'dtb_customer', "secret_key = ?", array($registSecretKey)); 
     152        $arrCustomer    = $objQuery->select('*', 'dtb_customer', "secret_key = ?", array($registSecretKey)); 
    153153        $data           = $arrCustomer[0]; 
    154154        $objCustomer->setLogin($data['email']); 
     
    159159        $objMailText->assign('name01', $data['name01']); 
    160160        $objMailText->assign('name02', $data['name02']); 
    161         $toCustomerMail = $objMailText->fetch("mail_templates/customer_regist_mail.tpl"); 
     161        $toCustomerMail = $objMailText->fetch('mail_templates/customer_regist_mail.tpl'); 
    162162        $subject = $objHelperMail->sfMakesubject('会員登録が完了しました。'); 
    163163        $objMail = new SC_SendMail(); 
Note: See TracChangeset for help on using the changeset viewer.