diff -r 2c6ef58e315a -r b6faa6d6ade2 includes/template.php
--- a/includes/template.php Mon Jan 28 23:06:38 2008 -0500
+++ b/includes/template.php Mon Jan 28 23:07:32 2008 -0500
@@ -153,36 +153,7 @@
{
$this->add_header('
');
}
@@ -907,7 +878,7 @@
// This is a bad coding practice so this function will always be picky.
if ( !$this->theme )
{
- die('$template->extract_vars(): theme not yet loaded, so we can\'t open template files yet...this is a bug and should be reported.
Backtrace, most recent call first:
'.enano_debug_print_backtrace(true).''); + die('$template->extract_vars(): theme (' . $this->theme . ') not yet loaded, so we can\'t open template files yet...this is a bug and should be reported.
'.enano_debug_print_backtrace(true).''); } // Full pathname of template file @@ -1072,7 +1043,7 @@ // // System messages - $text = preg_replace('//is', '\' . $this->tplWikiFormat($paths->sysMsg(\'\\1\')) . \'', $text); + $text = preg_replace('//is', '\' . $template->tplWikiFormat($paths->sysMsg(\'\\1\')) . \'', $text); // Template variables $text = preg_replace('/\{([A-z0-9_-]+?)\}/is', '\' . $this->tpl_strings[\'\\1\'] . \'', $text);