Ignore:
Timestamp:
2011/02/03 20:51:22 (13 years ago)
Author:
kimoto
Message:

リファクタリング #979

File:
1 edited

Legend:

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

    r19961 r20079  
    4444    function init() { 
    4545        parent::init(); 
    46          
    47         // カートが空かどうかを確認する。 
    48         $objCartSess = new SC_CartSession(); 
    49         $this->tpl_cart_empty = count($objCartSess->getCartList()) < 1; 
    50  
    51         // メインテンプレートを設定 
    52         if(CUSTOMER_CONFIRM_MAIL == true) { 
    53             // 仮会員登録完了 
    54             $this->tpl_mainpage = 'entry/complete.tpl'; 
    55         } else { 
    56             // 本会員登録完了 
    57             $this->tpl_mainpage = 'regist/complete.tpl'; 
    58             $this->tpl_conv_page = AFF_ENTRY_COMPLETE; 
    59         } 
    60  
    6146        $this->httpCacheControl('nocache'); 
    6247    } 
     
    8267            SC_Utils_Ex::sfDispSiteError(PAGE_ERROR, "", true); 
    8368        } 
     69 
     70        // カートが空かどうかを確認する。 
     71        $objCartSess            = new SC_CartSession(); 
     72        $this->tpl_cart_empty   = count($objCartSess->getCartList()) < 1; 
     73 
     74        // メインテンプレートを設定 
     75        if(CUSTOMER_CONFIRM_MAIL == true) { 
     76            // 仮会員登録完了 
     77            $this->tpl_mainpage     = 'entry/complete.tpl'; 
     78        } else { 
     79            // 本会員登録完了 
     80            $this->tpl_mainpage     = 'regist/complete.tpl'; 
     81            $this->tpl_conv_page    = AFF_ENTRY_COMPLETE; 
     82        } 
    8483    } 
    8584 
Note: See TracChangeset for help on using the changeset viewer.