Ignore:
Timestamp:
2011/04/05 14:30:15 (13 years ago)
Author:
kimoto
Message:

デザイン管理>ブロック編集のtplのとり方がおかしいので修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_11-dev/data/class/pages/admin/design/LC_Page_Admin_Design_Bloc.php

    r20777 r20812  
    9797                                                array($bloc_id)); 
    9898 
    99             $tplPath = $package_path . $arrBlocData[0]['filename'] . '.tpl'; 
     99            $bloc_file = $arrBlocData[0]['tpl_path']; 
     100            if (substr($bloc_file, 0, 1) == '/') { 
     101                $tplPath = $bloc_file; 
     102            } else { 
     103                $tplPath = SC_Helper_PageLayout_Ex::getTemplatePath($this->objDisplay->detectDevice()) . BLOC_DIR . $bloc_file; 
     104            } 
    100105 
    101106            // テンプレートファイルの読み込み 
Note: See TracChangeset for help on using the changeset viewer.