equal
deleted
inserted
replaced
287 { |
287 { |
288 $template = new template_nodb(); |
288 $template = new template_nodb(); |
289 $template->load_theme('oxygen', 'bleu', false); |
289 $template->load_theme('oxygen', 'bleu', false); |
290 $template->tpl_strings['SITE_NAME'] = 'Enano'; |
290 $template->tpl_strings['SITE_NAME'] = 'Enano'; |
291 $template->tpl_strings['SITE_DESC'] = 'This site is experiencing a critical error and cannot load.'; |
291 $template->tpl_strings['SITE_DESC'] = 'This site is experiencing a critical error and cannot load.'; |
292 $template->tpl_strings['COPYRIGHT'] = '© ' . date('Y'); |
292 $template->tpl_strings['COPYRIGHT'] = 'Powered by Enano CMS - © 2007 Dan Fuhry. This program is Free Software; see the <a href="' . scriptPath . '/install.php?mode=license">GPL file</a> included with this package for details.'; |
293 $template->tpl_strings['PAGE_NAME'] = htmlspecialchars($title); |
293 $template->tpl_strings['PAGE_NAME'] = htmlspecialchars($title); |
294 } |
294 } |
295 |
295 |
296 $template->add_header('<meta http-equiv="refresh" content="' . $timeout . '; url=' . str_replace('"', '\\"', $url) . '" />'); |
296 $template->add_header('<meta http-equiv="refresh" content="' . $timeout . '; url=' . str_replace('"', '\\"', $url) . '" />'); |
297 $template->add_header('<script type="text/javascript"> |
297 $template->add_header('<script type="text/javascript"> |