Changeset 1253 for temp/test-xoops.ec-cube.net/html/footer.php
- Timestamp:
- 2007/01/22 10:42:29 (19 years ago)
- File:
-
- 1 edited
-
temp/test-xoops.ec-cube.net/html/footer.php (modified) (2 diffs)
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);
Note: See TracChangeset
for help on using the changeset viewer.
