Changeset 1253
- Timestamp:
- 2007/01/22 10:42:29 (17 years ago)
- Location:
- temp/test-xoops.ec-cube.net/html
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
temp/test-xoops.ec-cube.net/html/footer.php
r1252 r1253 47 47 // RMV-NOTIFY 48 48 include_once XOOPS_ROOT_PATH . '/include/notification_select.php'; 49 if (isset($xoopsOption['template_main'])) { 49 50 if(isset($xoopsOption['template_main_path'])){ 51 $xoopsOption['template_main'] = $xoopsOption['template_main_path']; 50 52 if (isset($xoopsCachedTemplateId)) { 51 53 $xoopsTpl->assign('xoops_contents', $xoopsTpl->fetch('db:'.$xoopsOption['template_main'], $xoopsCachedTemplateId)); … … 53 55 $xoopsTpl->assign('xoops_contents', $xoopsTpl->fetch('db:'.$xoopsOption['template_main'])); 54 56 } 55 } else { 56 if (isset($xoopsCachedTemplate)) { 57 $xoopsTpl->assign('dummy_content', ob_get_contents()); 58 $xoopsTpl->assign('xoops_contents', $xoopsTpl->fetch($xoopsCachedTemplate, $xoopsCachedTemplateId)); 59 } else { 60 $xoopsTpl->assign('xoops_contents', ob_get_contents()); 61 } 62 ob_end_clean(); 63 } 57 }else{ 58 if (isset($xoopsOption['template_main'])) { 59 if (isset($xoopsCachedTemplateId)) { 60 $xoopsTpl->assign('xoops_contents', $xoopsTpl->fetch('db:'.$xoopsOption['template_main'], $xoopsCachedTemplateId)); 61 } else { 62 $xoopsTpl->assign('xoops_contents', $xoopsTpl->fetch('db:'.$xoopsOption['template_main'])); 63 } 64 } else { 65 if (isset($xoopsCachedTemplate)) { 66 $xoopsTpl->assign('dummy_content', ob_get_contents()); 67 $xoopsTpl->assign('xoops_contents', $xoopsTpl->fetch($xoopsCachedTemplate, $xoopsCachedTemplateId)); 68 } else { 69 $xoopsTpl->assign('xoops_contents', ob_get_contents()); 70 } 71 ob_end_clean(); 72 } 73 } 74 64 75 if (!headers_sent()) { 65 76 header('Content-Type:text/html; charset='._CHARSET); -
temp/test-xoops.ec-cube.net/html/modules/newbb/response.php
r1246 r1253 48 48 // this page uses smarty template 49 49 // this must be set before including main header.php 50 $xoopsOption['template_main '] = 'newbb_response.html';50 $xoopsOption['template_main_path'] = 'newbb_response.html'; 51 51 include XOOPS_ROOT_PATH."/header.php"; 52 52 $can_post = 0;
Note: See TracChangeset
for help on using the changeset viewer.