Ignore:
Timestamp:
2013/05/02 18:11:36 (11 years ago)
Author:
h_yoshimoto
Message:

#2236 2.12.3リリース以降の2.12-devへのコミット差し戻し

File:
1 edited

Legend:

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

    r22567 r22796  
    3232 * @version $Id$ 
    3333 */ 
    34 class LC_Page_Shopping_Confirm extends LC_Page_Ex  
    35 { 
     34class LC_Page_Shopping_Confirm extends LC_Page_Ex { 
    3635 
    3736    // }}} 
     
    4342     * @return void 
    4443     */ 
    45     function init() 
    46     { 
     44    function init() { 
    4745        parent::init(); 
    4846        $this->tpl_title = 'ご入力内容のご確認'; 
     
    5250        $this->arrMAILMAGATYPE = $masterData->getMasterData('mtb_mail_magazine_type'); 
    5351        $this->arrReminder = $masterData->getMasterData('mtb_reminder'); 
    54         $this->arrDeliv = SC_Helper_Delivery_Ex::getIDValueList('service_name'); 
     52        $this->arrDeliv = SC_Helper_DB_Ex::sfGetIDValueList('dtb_deliv', 'deliv_id', 'service_name'); 
    5553        $this->httpCacheControl('nocache'); 
    5654    } 
     
    6159     * @return void 
    6260     */ 
    63     function process() 
    64     { 
     61    function process() { 
    6562        parent::process(); 
    6663        $this->action(); 
     
    7370     * @return void 
    7471     */ 
    75     function action() 
    76     { 
     72    function action() { 
    7773 
    7874        $objCartSess = new SC_CartSession_Ex(); 
     
    168164                else { 
    169165                    $objPurchase->completeOrder(ORDER_NEW); 
    170                     SC_Helper_Purchase_Ex::sendOrderMail($this->arrForm['order_id']); 
     166                    $template_id = SC_Display_Ex::detectDevice() == DEVICE_TYPE_MOBILE ? 2 : 1; 
     167                    $objHelperMail->sfSendOrderMail( 
     168                            $this->arrForm['order_id'], 
     169                            $template_id); 
    171170 
    172171                    SC_Response_Ex::sendRedirect(SHOPPING_COMPLETE_URLPATH); 
     
    185184     * @return void 
    186185     */ 
    187     function destroy() 
    188     { 
     186    function destroy() { 
    189187        parent::destroy(); 
    190188    } 
Note: See TracChangeset for help on using the changeset viewer.