diff -r 41c45314ac27 -r 5e8fd89c02ea includes/template.php --- a/includes/template.php Wed Jun 18 22:43:16 2008 -0400 +++ b/includes/template.php Sun Jun 22 18:13:59 2008 -0400 @@ -47,6 +47,7 @@ function __construct() { global $db, $session, $paths, $template, $plugins; // Common objects + $this->tpl_bool = Array(); $this->tpl_strings = Array(); $this->sidebar_extra = ''; @@ -1166,14 +1167,6 @@ header('Content-type: application/xhtml+xml'); } - // Reassign one important variable that can need to be changed after init_vars(): ADDITIONAL_HEADERS - if ( !empty($this->additional_headers) ) - { - $this->assign_vars(array( - 'ADDITIONAL_HEADERS' => $this->additional_headers - )); - } - $headers_sent = true; if(!defined('ENANO_HEADERS_SENT')) define('ENANO_HEADERS_SENT', ''); @@ -1825,7 +1818,7 @@ function username_field($name, $value = false) { $randomid = md5( time() . microtime() . mt_rand() ); - $text = ''; return $text; }