Changeset 19080


Ignore:
Timestamp:
2010/11/06 22:05:34 (12 years ago)
Author:
Yammy
Message:

smartphone view追加

Location:
branches/camp/camp-2_5-E/data
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/camp/camp-2_5-E/data/class/SC_View.php

    r18975 r19080  
    228228    } 
    229229} 
     230 
     231class SC_SmartphoneView extends SC_SiteView { 
     232    function SC_SmartphoneView($setPrevURL = true) { 
     233        parent::SC_SiteView($setPrevURL); 
     234        $this->_smarty->template_dir = SMARTPHONE_TEMPLATE_DIR; 
     235        $this->_smarty->compile_dir = SMARTPHONE_COMPILE_DIR; 
     236    } 
     237} 
    230238?> 
  • branches/camp/camp-2_5-E/data/mtb_constants_init.php

    r18882 r19080  
    517517/** SMARTYコンパイル(mobile) */ 
    518518define('MOBILE_COMPILE_DIR', COMPILE_DIR . "mobile/"); 
     519/** SMARTYテンプレート(smart phone) */ 
     520define('SMARTPHONE_TEMPLATE_DIR', TEMPLATE_DIR . "smartphone/"); 
     521/** SMARTYコンパイル(smart phonemobile) */ 
     522define('SMARTPHONE_COMPILE_DIR', COMPILE_DIR . "smartphone/"); 
    519523/** モバイルサイトのセッションの存続時間 (秒) */ 
    520524define('MOBILE_SESSION_LIFETIME', 1800); 
Note: See TracChangeset for help on using the changeset viewer.