Changeset 19683


Ignore:
Timestamp:
2010/11/27 15:20:43 (13 years ago)
Author:
kim
Message:

#787 UAによってVIEWを切り替えるさいに、スマートフォン用のVIEW(SC_SmartphoneView)の有効化(+Typo修正)。

Location:
branches/version-2_5-dev/data/class
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/class/SC_Display.php

    r19675 r19683  
    8282                break; 
    8383            case 2: 
    84                 //                $this->view = new 
     84                $this->setView(new SC_SmartphoneView()); 
    8585                break; 
    8686            case 4: 
  • branches/version-2_5-dev/data/class/SC_View.php

    r19680 r19683  
    258258        $this->_smarty->compile_dir = SMARTPHONE_COMPILE_DIR; 
    259259        // テンプレート変数を割り当て 
    260         $this->assign("TPL_DIR", URL_DIR . USER_DIR . USER_PACKAGE_DIR . SMARTPHOME_TEMPLATE_NAME . "/"); 
     260        $this->assign("TPL_DIR", URL_DIR . USER_DIR . USER_PACKAGE_DIR . SMARTPHONE_TEMPLATE_NAME . "/"); 
    261261    } 
    262262} 
Note: See TracChangeset for help on using the changeset viewer.