Ignore:
Timestamp:
2011/01/07 19:29:04 (13 years ago)
Author:
fukuda
Message:

#880(mobile/sphoneディレクトリを削除)に対応。まずmobileのみ意図通りの動作になるように一部コミット(entryディレクトリ) サブタイトルが重複するバグを修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/class/pages/entry/LC_Page_Entry.php

    r19832 r19852  
    5656    function init() { 
    5757        parent::init(); 
    58         $this->tpl_title .= '会員登録(入力ページ)'; 
    5958        $this->year = ""; 
    6059        $masterData = new SC_DB_MasterData_Ex(); 
     
    7069         
    7170        $this->httpCacheControl('nocache'); 
     71         
     72        $this->isMobile = Net_UserAgent_Mobile::isMobile(); 
    7273    } 
    7374 
     
    334335 
    335336    // 会員情報の登録 
    336     function lfRegistData ($array, $arrRegistColumn, $arrRejectRegistColumn, $confirm_flg, $isMobile = false, $email_mobile = "") { 
     337    function lfRegistData ($array, $arrRegistColumn, $arrRejectRegistColumn, $confirm_flg) { 
     338         
    337339        $objQuery = new SC_Query(); 
    338340 
     
    393395        $arrRegist["point"] = $this->CONF["welcome_point"]; // 入会時ポイント 
    394396 
    395         if ($isMobile) { 
     397        if ($this->isMobile) { 
    396398            // 携帯メールアドレス 
    397399            $arrRegist['email_mobile'] = $arrRegist['email']; 
     
    461463        $objErr->doFunc(array("生年月日", "year", "month", "day"), array("CHECK_BIRTHDAY")); 
    462464         
    463         if (Net_UserAgent_Mobile::isMobile() === false){ 
     465        if ($this->isMobile === false){ 
    464466            $objErr->doFunc(array('メールアドレス', "email", MTEXT_LEN) ,array("NO_SPTAB", "EXIST_CHECK", "EMAIL_CHECK", "SPTAB_CHECK" ,"EMAIL_CHAR_CHECK", "MAX_LENGTH_CHECK")); 
    465467            $objErr->doFunc(array("FAX番号1", 'fax01'), array("SPTAB_CHECK")); 
     
    518520         * 規約ページからの遷移でなければエラー画面へ遷移する 
    519521         */  
    520         if (Net_UserAgent_Mobile::isMobile() === FALSE 
     522        if ($this->isMobile === FALSE 
    521523             && empty($_POST) 
    522524             && !preg_match('/kiyaku.php/', basename($_SERVER['HTTP_REFERER'])) 
Note: See TracChangeset for help on using the changeset viewer.