diff -r a7d0f2711df1 -r 09f8a9a03ccf includes/template.php --- a/includes/template.php Wed Nov 07 00:34:22 2007 -0500 +++ b/includes/template.php Wed Nov 07 15:22:41 2007 -0500 @@ -1925,10 +1925,13 @@ $title = ( is_object($paths) ) ? $paths->page : 'Critical error'; $headers = ''; + + $js_dynamic = ''; if ( defined('IN_ENANO_INSTALL') ) { - $headers .= ''; + $js_dynamic .= ''; } + $js_dynamic .= ''; // The rewritten template engine will process all required vars during the load_template stage instead of (cough) re-processing everything each time around. $tpl_strings = Array( @@ -1954,7 +1957,7 @@ 'TEMPLATE_DIR'=>scriptPath.'/themes/'.$this->theme, 'THEME_ID'=>$this->theme, 'STYLE_ID'=>$this->style, - 'JS_DYNAMIC_VARS'=>'', + 'JS_DYNAMIC_VARS'=>$js_dynamic, 'SIDEBAR_RIGHT'=>'', ); $this->tpl_strings = array_merge($tpl_strings, $this->tpl_strings);