# HG changeset patch # User Dan Fuhry # Date 1283717037 14400 # Node ID 29601ba3c4483b1875545eef7ed0184a16c37d2b # Parent 510187db2b32bad1016bd72c99f12756ac075e42 So, grinding_halt() now finally uses the new default theme in template_nodb. diff -r 510187db2b32 -r 29601ba3c448 includes/functions.php --- a/includes/functions.php Sun Sep 05 16:02:16 2010 -0400 +++ b/includes/functions.php Sun Sep 05 16:03:57 2010 -0400 @@ -598,7 +598,7 @@ if ( !is_object($template) ) { $template = new template_nodb(); - $template->load_theme('oxygen', 'bleu', false); + $template->load_theme('enanium', 'babygrand', false); $template->assign_vars(array( 'SITE_NAME' => 'Enano', 'SITE_DESC' => 'This site is experiencing a critical error and cannot load.', @@ -1029,8 +1029,8 @@ echo "$p\n"; exit(1); } - $theme = ( defined('ENANO_CONFIG_FETCHED') ) ? getConfig('theme_default') : 'oxygen'; - $style = ( defined('ENANO_CONFIG_FETCHED') ) ? '__foo__' : 'bleu'; + $theme = ( defined('ENANO_CONFIG_FETCHED') ) ? getConfig('theme_default') : 'enanium'; + $style = ( defined('ENANO_CONFIG_FETCHED') ) ? '__foo__' : 'babygrand'; $tpl = new template_nodb(); $tpl->load_theme($theme, $style); @@ -1369,7 +1369,7 @@ { if ( !defined('ENANO_CONFIG_FETCHED') ) { - return function_exists('installer_enano_version') ? installer_enano_version() : $GLOBALS['enano_version']; + return function_exists('installer_enano_version') ? installer_enano_version() : $GLOBALS['version']; } $r = getConfig('enano_version'); $rc = ( $long ) ? ' release candidate ' : 'RC';