Changeset 11819


Ignore:
Timestamp:
2007/03/13 11:14:34 (17 years ago)
Author:
uehara
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev/data/class/SC_View.php

    r11816 r11819  
    142142 
    143143class SC_SiteView extends SC_View{ 
    144     function SC_SiteView($cart = true, $is_mobile = false) { 
     144    function SC_SiteView($cart = true) { 
    145145        parent::SC_View(); 
    146146         
    147         // ·ÈÂÓ¥µ¥¤¥È¤ÈPC¥µ¥¤¥È¤Ç¥Æ¥ó¥×¥ì¡¼¥È¥Õ¥¡¥¤¥ë¤òÊѹ¹ 
    148         if($is_mobile == true) { 
    149             $this->_smarty->template_dir = MOBILE_TEMPLATE_DIR; 
    150             $this->_smarty->compile_dir = MOBILE_COMPILE_DIR; 
    151         } else { 
    152             $this->_smarty->template_dir = TEMPLATE_DIR; 
    153             $this->_smarty->compile_dir = COMPILE_DIR;           
    154         } 
     147        $this->_smarty->template_dir = TEMPLATE_DIR; 
     148        $this->_smarty->compile_dir = COMPILE_DIR; 
    155149        $this->initpath(); 
    156150         
     
    183177} 
    184178 
     179class SC_MobileView extends SC_SiteView { 
     180    function SC_MobileView() { 
     181        parent::SC_SiteView(); 
     182        $this->_smarty->template_dir = MOBILE_TEMPLATE_DIR; 
     183        $this->_smarty->compile_dir = MOBILE_COMPILE_DIR; 
     184    }    
     185} 
    185186?> 
Note: See TracChangeset for help on using the changeset viewer.