Changeset 89 for trunk/include/xpress_block_render.php
- Timestamp:
- Feb 5, 2009, 5:48:55 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/xpress_block_render.php
r49 r89 104 104 $inc_theme_file_name = $call_theme_function_name . '_theme.php'; 105 105 $cache_title = str_replace(".php", "", $block_function_name); 106 $blockID =get_block_id($mydirname,$func_file,$options); 107 106 $blockID =get_block_id($mydirname,$func_file,$options); 107 108 108 if (!is_null($wpdb)){ 109 109 xpress_block_css_set($mydirname); … … 119 119 $block = $xml['block']; 120 120 } 121 return $block; 121 122 $templates_file = 'db:'.$mydirname. '_' . str_replace(".php", ".html", $block_function_name); 123 $tpl =& new XoopsTpl() ; 124 $tpl->assign( 'block' , $block ) ; 125 $ret['content'] = $tpl->fetch( $templates_file ) ; 126 return $ret ; 122 127 } 123 128
Note: See TracChangeset
for help on using the changeset viewer.