XPressME Integration Kit

Trac

Changeset 480


Ignore:
Timestamp:
Dec 4, 2009, 8:40:52 PM (14 years ago)
Author:
toemon
Message:

ブロックテンプレート複写時のファイル自動作成ができない Fixes #264

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xpressme_integration_kit/include/xpress_block_render.php

    r472 r480  
    202202                        } 
    203203                } 
    204                 $option = explode('|' , $block['options']); 
    205                  
    206                 if (isset($option[1])) { 
    207                         $templates_file = $option[1]; 
     204                $temp_option = explode(':' , $options[1]); 
     205                 
     206                if (isset($temp_option[1])) { 
     207                        $templates_file = $temp_option[1]; 
    208208                } else { 
    209209                        $templates_file = 'db:'.$mydirname. '_' . str_replace(".php", ".html", $block_function_name); 
Note: See TracChangeset for help on using the changeset viewer.