includes/functions.php
changeset 276 acfdccf7a2bf
parent 272 e0ec986c0af3
child 279 8acd77a6c19d
child 294 4ab30e8dd168
child 298 39c132e69781
equal deleted inserted replaced
275:956263992d48 276:acfdccf7a2bf
   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 - &copy; 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">