diff -r de56132c008d -r bdac73ed481e includes/namespaces/template.php --- a/includes/namespaces/template.php Sun Mar 28 21:49:26 2010 -0400 +++ b/includes/namespaces/template.php Sun Mar 28 23:10:46 2010 -0400 @@ -13,28 +13,28 @@ class Namespace_Template extends Namespace_Default { - function send() - { - global $output; - - $output->add_before_footer($this->display_categories()); - $output->header(); - - if ( $this->exists ) - { - $text = $this->fetch_text(); - $text = preg_replace('/(.*?)<\/noinclude>/is', '\\1', $text); - $text = preg_replace('/(.*?)<\/nodisplay>/is', '', $text); - - $text = RenderMan::render( $text ); - - eval( '?>' . $text ); - } - else - { - $this->error_404(); - } - - $output->footer(); - } + function send() + { + global $output; + + $output->add_before_footer($this->display_categories()); + $output->header(); + + if ( $this->exists ) + { + $text = $this->fetch_text(); + $text = preg_replace('/(.*?)<\/noinclude>/is', '\\1', $text); + $text = preg_replace('/(.*?)<\/nodisplay>/is', '', $text); + + $text = RenderMan::render( $text ); + + eval( '?>' . $text ); + } + else + { + $this->error_404(); + } + + $output->footer(); + } }