includes/template.php
changeset 174 4c5c2b66a34d
parent 165 199599eca89e
child 178 4c19952406db
child 184 d74ff822acc9
--- a/includes/template.php	Sat Oct 06 20:47:09 2007 -0400
+++ b/includes/template.php	Sun Oct 07 08:39:40 2007 -0400
@@ -783,7 +783,13 @@
     dc_here('template: generating and sending the page header');
     if(!defined('ENANO_HEADERS_SENT'))
       define('ENANO_HEADERS_SENT', '');
-    if(!$this->no_headers) echo ( $simple ) ? $this->process_template('simple-header.tpl') : $this->process_template('header.tpl');
+    if ( !$this->no_headers )
+    {
+      $header = ( $simple ) ?
+        $this->process_template('simple-header.tpl') :
+        $this->process_template('header.tpl');
+      echo $header;
+    }
     if ( !$simple && $session->user_logged_in && $session->unread_pms > 0 )
     {
       echo $this->notify_unread_pms();