Ignore:
Timestamp:
2010/12/25 20:58:13 (15 years ago)
Author:
Seasoft
Message:

#748(モバイル/スマートフォンのデザイン管理)

  • プレビュー周り(荒削りです)

#874(テンプレートは /data/ 配下のみ保存する)

File:
1 edited

Legend:

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

    r19737 r19768  
    182182 
    183183        // ヘッダとフッタを割り当て 
    184         $templatePath = SC_Helper_PageLayout_Ex::getTemplatePath($device_type_id, true); 
     184        $templatePath = SC_Helper_PageLayout_Ex::getTemplatePath($device_type_id); 
    185185        $header_tpl = $templatePath . "header.tpl"; 
    186186        $footer_tpl = $templatePath . "footer.tpl"; 
    187  
    188         // ユーザー作成のテンプレートが無ければ, 指定テンプレートを割り当て 
    189         $templatePath = SC_Helper_PageLayout_Ex::getTemplatePath($device_type_id); 
    190         if (!$this->_smarty->template_exists($header_tpl)) { 
    191             $header_tpl = $templatePath . "header.tpl"; 
    192         } 
    193         if (!$this->_smarty->template_exists($footer_tpl)) { 
    194             $footer_tpl = $templatePath . "footer.tpl"; 
    195         } 
    196187 
    197188        $this->assign("header_tpl", $header_tpl); 
Note: See TracChangeset for help on using the changeset viewer.