Changeset 109 for trunk/include
- Timestamp:
- Mar 16, 2009, 6:17:13 PM (16 years ago)
- Location:
- trunk/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/xpress_render.php
r96 r109 99 99 function xpress_render($contents){ 100 100 global $xoops_config , $xoopsTpl; 101 $mydirname = basename(dirname(dirname(__FILE__))); 101 102 include $xoops_config->xoops_root_path ."/header.php"; 102 103 $page_title = $GLOBALS["xoopsModule"]->getVar("name")." ".wp_title('»', false); … … 104 105 $xoopsTpl->assign('xoops_pagetitle', $page_title); 105 106 $xoopsTpl->assign('xpress_body_contents', get_body($contents)); 106 echo get_body($contents); 107 $templates_file = 'db:'.$mydirname. '_index.html'; 108 echo $xoopsTpl->fetch( $templates_file ) ; 107 109 require_once( ABSPATH .'/include/xpress_breadcrumbs.php' ); 108 110 include $xoops_config->xoops_root_path . '/footer.php'; -
trunk/include/xpress_templates_make.php
r102 r109 76 76 'recent_posts_content_block.html', 77 77 'recent_posts_list_block.html', 78 'calender_block.html', 79 'popular_posts_block.html', 80 'index.html', 78 81 ); 79 82 foreach($temp_list as $ck_file){
Note: See TracChangeset
for help on using the changeset viewer.