2
I think what you are looking for is in /header.php
starting with line 218:
if ($xoopsTpl->is_cached($xoopsCachedTemplate, $xoopsCachedTemplateId)) {
$xoopsLogger->addExtra($xoopsCachedTemplate, $xoopsConfig['module_cache'][$xoopsModule->getVar('mid')]);
$xoopsTpl->assign('xoops_contents', $xoopsTpl->fetch($xoopsCachedTemplate, $xoopsCachedTemplateId));
$xoopsTpl->xoops_setCaching(0);
if (!headers_sent()) {
header ('Content-Type:text/html; charset='._CHARSET);
}
$xoopsTpl->display($xoopsConfig['theme_set'].'/theme.html');
in particular line 220:
$xoopsTpl->assign('xoops_contents', $xoopsTpl->fetch($xoopsCachedTemplate, $xoopsCachedTemplateId));
The above line retrieves the cached template and assigns it to the
xoops_contents smarty variable.
Hope this information helps