| @@ 53-60 (lines=8) @@ | ||
| 50 |         $xoopsLogger->stopTime('Module init'); | 
                                |
| 51 |         $xoopsLogger->startTime('XOOPS output init'); | 
                                |
| 52 | ||
| 53 |         if (!headers_sent()) { | 
                                |
| 54 |             header('Content-Type:text/html; charset=' . _CHARSET); | 
                                |
| 55 |             header('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); | 
                                |
| 56 |             header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT'); | 
                                |
| 57 |             header('Cache-Control: no-store, no-cache, must-revalidate'); | 
                                |
| 58 |             header('Cache-Control: post-check=0, pre-check=0', false); | 
                                |
| 59 |             header('Pragma: no-cache'); | 
                                |
| 60 | }  | 
                                |
| 61 | ||
| 62 | require_once XOOPS_ROOT_PATH . '/class/template.php';  | 
                                |
| 63 | require_once XOOPS_ROOT_PATH . '/class/theme.php';  | 
                                |
| @@ 263-269 (lines=7) @@ | ||
| 260 | }  | 
                                |
| 261 |     $headTpl->assign('headItems', $headItems); | 
                                |
| 262 | ||
| 263 |     if (!headers_sent()) { | 
                                |
| 264 |         header('Content-Type:text/html; charset=' . _CHARSET); | 
                                |
| 265 |         header('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); | 
                                |
| 266 |         header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT'); | 
                                |
| 267 |         header('Cache-Control: no-store, no-cache, max-age=1, s-maxage=1, must-revalidate, post-check=0, pre-check=0'); | 
                                |
| 268 |         header('Pragma: no-cache'); | 
                                |
| 269 | }  | 
                                |
| 270 | ||
| 271 |     $output = $headTpl->fetch('db:system_popup_header.tpl'); | 
                                |
| 272 | echo $output;  | 
                                |