Ignore:
Timestamp:
2007/02/28 16:17:07 (17 years ago)
Author:
inoue
Message:

モバイル版EC-CUBE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev/data/downloads/module/mdl_epsilon/convenience.php

    r17 r11460  
    1212class LC_Page { 
    1313    function LC_Page() { 
    14         $this->tpl_mainpage = MODULE_PATH . "mdl_epsilon/convenience.tpl"; 
     14        if (GC_MobileUserAgent::isMobile()) { 
     15            $this->tpl_mainpage = MODULE_PATH . "mdl_epsilon/convenience_mobile.tpl"; 
     16        } else { 
     17            $this->tpl_mainpage = MODULE_PATH . "mdl_epsilon/convenience.tpl"; 
     18        } 
    1519        $this->tpl_title = "¥³¥ó¥Ó¥Ë·èºÑ"; 
    1620        /* 
     
    6670        $objSiteSess->setRegistFlag(); 
    6771        // ³Îǧ¥Ú¡¼¥¸¤Ø°ÜÆ° 
    68         header("Location: " . URL_SHOP_CONFIRM); 
     72        if (GC_MobileUserAgent::isMobile()) { 
     73            header("Location: " . gfAddSessionId(URL_SHOP_CONFIRM)); 
     74        } else { 
     75            header("Location: " . URL_SHOP_CONFIRM); 
     76        } 
    6977        exit; 
    7078        break; 
     
    197205                sfRegistTempOrder($uniqid, $sqlval); 
    198206 
    199                 header("Location: " . URL_SHOP_COMPLETE); 
     207                if (GC_MobileUserAgent::isMobile()) { 
     208                    header("Location: " . gfAddSessionId(URL_SHOP_COMPLETE)); 
     209                } else { 
     210                    header("Location: " . URL_SHOP_COMPLETE); 
     211                } 
    200212            } 
    201213        } 
Note: See TracChangeset for help on using the changeset viewer.