Ignore:
Timestamp:
2011/01/11 17:54:38 (13 years ago)
Author:
kotani
Message:

#880(mobile/sphoneディレクトリを削除)に対応。まずmobileのみ意図通りの動作になるように一部コミット(shopping/index.php)

File:
1 edited

Legend:

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

    r19861 r19866  
    3030 * @package Page 
    3131 * @author LOCKON CO.,LTD. 
    32  * @version $Id:LC_Page_Shopping.php 15532 2007-08-31 14:39:46Z nanasess $ 
     32 * @version $Id$ 
    3333 */ 
    3434class LC_Page_Shopping extends LC_Page { 
     
    8282        $objCustomer = new SC_Customer(); 
    8383        $objCookie = new SC_Cookie(); 
    84         $objDb = new SC_Helper_DB_Ex(); 
    8584        $objPurchase = new SC_Helper_Purchase_Ex(); 
    8685        $this->objFormParam = new SC_FormParam();            // フォーム用 
     
    9695 
    9796        // ログインチェック 
    98         if($objCustomer->isLoginSuccess()) { 
     97        if($objCustomer->isLoginSuccess(true)) { 
    9998 
    10099            switch ($this->cartKey) { 
     
    212211 
    213212        $this->transactionid = SC_Helper_Session_Ex::getToken(); 
    214     } 
    215  
    216     /** 
    217      * モバイルページを初期化する. 
    218      * 
    219      * @return void 
    220      */ 
    221     function mobileInit() { 
    222         $this->init(); 
    223         $this->tpl_mainpage = MOBILE_TEMPLATE_REALDIR . 'shopping/index.tpl'; 
    224     } 
    225  
    226     /** 
    227      * Page のアクション(モバイル). 
    228      * 
    229      * @return void 
    230      */ 
    231     function mobileProcess() { 
    232         parent::mobileProcess(); 
    233         $this->mobileAction(); 
    234         $this->endResponse(); 
     213 
     214        // 携帯端末IDが一致する会員が存在するかどうかをチェックする。 
     215        if(Net_UserAgent_Mobile::isMobile() === true) { 
     216            $this->tpl_valid_phone_id = $objCustomer->checkMobilePhoneId(); 
     217        } 
    235218    } 
    236219 
Note: See TracChangeset for help on using the changeset viewer.