XPressME Integration Kit

Trac

Changeset 472


Ignore:
Timestamp:
Nov 30, 2009, 9:09:00 PM (14 years ago)
Author:
toemon
Message:

DBテンプレートが作成されるまではファイルテンプレートを使う Fixes #260

File:
1 edited

Legend:

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

    r463 r472  
    214214                if (!$tpl->template_exists($templates_file)){ 
    215215                        $src_file_path = $xoops_config->module_path . '/templates/' .$mydirname. '_' . str_replace(".php", ".html", $block_function_name); 
    216                         add_xpress_tpl($mydirname,$templates_file,$src_file_path); 
     216                        $templates_file = add_xpress_tpl($mydirname,$templates_file,$src_file_path); 
    217217                } 
    218218                $tpl->assign( 'block' , $block ) ; 
     
    242242                                } 
    243243                        } 
    244                 } 
     244                        return  'file:' . $filename; 
     245                } 
     246                return $templates; 
    245247        } 
    246248         
Note: See TracChangeset for help on using the changeset viewer.