- Timestamp:
- May 23, 2011, 3:03:57 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Ver3.0/xpressme_integration_kit/include/xpress_render.php
r754 r757 182 182 //rendering for the module header and the body 183 183 function xpress_render($contents){ 184 global $ xoops_config;184 global $modInfo; 185 185 global $xoopsUser , $xoopsTpl,$xpress_config , $xoopsModule , $xoopsLogger, $xoopsConfig ; //for XOOPS 186 186 … … 190 190 xpress_remake_global_for_permlink(); 191 191 $mydirname = basename(dirname(dirname(__FILE__))); 192 include $ xoops_config->xoops_root_path ."/header.php";192 include $modInfo->get_xoops_header_path(); 193 193 $xoopsTpl->assign('xoops_breadcrumbs', $xoops_breadcrumbs); 194 194 $xoopsTpl->assign('xoops_module_header', get_xpress_module_header($contents)); … … 265 265 //If notification_select.php is not executed in CMS other than XCL, the selector of in-line is not displayed. 266 266 if (is_object($xoopsModule) && $xoopsModule->getVar('hasnotification') == 1 && is_object($xoopsUser)) { 267 require_once $ xoops_config->xoops_root_path. '/include/notification_select.php';267 require_once $modInfo->get_xoops_root_path() . '/include/notification_select.php'; 268 268 } 269 269 … … 272 272 $xoopsTpl->clear_cache($templates_file); 273 273 echo $xoopsTpl->fetch( $templates_file ) ; 274 include $ xoops_config->xoops_root_path . '/footer.php';274 include $modInfo->get_xoops_footer_path(); 275 275 } 276 276
Note: See TracChangeset
for help on using the changeset viewer.