Changeset 164 for trunk/include/xpress_render.php
- Timestamp:
- Apr 7, 2009, 7:58:51 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/xpress_render.php
r109 r164 104 104 $xoopsTpl->assign('xoops_module_header', get_xpress_module_header($contents)); 105 105 $xoopsTpl->assign('xoops_pagetitle', $page_title); 106 $xoopsTpl->assign('xpress_body_contents', get_body($contents)); 106 $xpress_data['body_contents'] = get_body($contents); 107 // used $GLOBALS. becose xpress_left_arrow_post_link() and xpress_right_arrow_post_link() is other loop in this position 108 $xpress_data['left_post_link'] = $GLOBALS['left_arrow_post_link']; 109 $xpress_data['right_post_link'] = $GLOBALS['right_arrow_post_link']; 110 $xpress_data['left_posts_link'] = str_replace('«','',xpress_left_arrow_posts_link(false)); 111 $xpress_data['right_posts_link'] = str_replace('»','',xpress_right_arrow_posts_link(false)); 112 $xpress_data['now_user_level'] = xpress_now_user_level(false); 113 114 $xoopsTpl->assign('xpress', $xpress_data); 107 115 $templates_file = 'db:'.$mydirname. '_index.html'; 108 116 echo $xoopsTpl->fetch( $templates_file ) ;
Note: See TracChangeset
for help on using the changeset viewer.