Ignore:
Timestamp:
2011/01/12 22:07:55 (13 years ago)
Author:
kotani
Message:

#880(mobile/sphoneディレクトリを削除)に対応。まずmobileのみ意図通りの動作になるように一部コミット(shopping/入力内容確認ページ)

Location:
branches/version-2_5-dev/data/class
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/class/helper/SC_Helper_Mail.php

    r19773 r19897  
    136136        $arrTplVar->tpl_user_point = $objCustomer->getValue('point'); 
    137137 
    138         $objMailView = new SC_SiteView(); 
     138       if(Net_UserAgent_Mobile::isMobile() === true) { 
     139            $objMailView = new SC_MobileView(); 
     140       } else { 
     141            $objMailView = new SC_SiteView(); 
     142       } 
    139143        // メール本文の取得 
    140144        $objMailView->assignobj($arrTplVar); 
  • branches/version-2_5-dev/data/class/pages/shopping/LC_Page_Shopping_Confirm.php

    r19868 r19897  
    3030 * @package Page 
    3131 * @author LOCKON CO.,LTD. 
    32  * @version $Id:LC_Page_Shopping_Confirm.php 15532 2007-08-31 14:39:46Z nanasess $ 
     32 * @version $Id$ 
    3333 */ 
    3434class LC_Page_Shopping_Confirm extends LC_Page { 
     
    7070     */ 
    7171    function action() { 
    72         $objView = new SC_SiteView(); 
    7372        $objCartSess = new SC_CartSession(); 
    74         $objSiteInfo = $objView->objSiteInfo; 
    7573        $objSiteSess = new SC_SiteSession(); 
    7674        $objCustomer = new SC_Customer(); 
     
    115113        unset($arrData['deliv_fee']); // FIXME 
    116114        // 会員ログインチェック 
    117         if($objCustomer->isLoginSuccess()) { 
     115        if($objCustomer->isLoginSuccess(true)) { 
    118116            $this->tpl_login = '1'; 
    119117            $this->tpl_user_point = $objCustomer->getValue('point'); 
     
    172170 
    173171    /** 
    174      * モバイルページを初期化する. 
    175      * 
    176      * @return void 
    177      */ 
    178     function mobileInit() { 
    179         $this->init(); 
    180     } 
    181  
    182     /** 
    183      * Page のプロセス(モバイル). 
    184      * 
    185      * @return void 
    186      */ 
    187     function mobileProcess() { 
    188         parent::mobileProcess(); 
    189         $this->mobileAction(); 
    190         $this->sendResponse(); 
    191     } 
    192  
    193     /** 
    194172     * Page のアクション(モバイル). 
    195173     * 
Note: See TracChangeset for help on using the changeset viewer.