equal
deleted
inserted
replaced
781 |
781 |
782 $headers_sent = true; |
782 $headers_sent = true; |
783 dc_here('template: generating and sending the page header'); |
783 dc_here('template: generating and sending the page header'); |
784 if(!defined('ENANO_HEADERS_SENT')) |
784 if(!defined('ENANO_HEADERS_SENT')) |
785 define('ENANO_HEADERS_SENT', ''); |
785 define('ENANO_HEADERS_SENT', ''); |
786 if(!$this->no_headers) echo ( $simple ) ? $this->process_template('simple-header.tpl') : $this->process_template('header.tpl'); |
786 if ( !$this->no_headers ) |
|
787 { |
|
788 $header = ( $simple ) ? |
|
789 $this->process_template('simple-header.tpl') : |
|
790 $this->process_template('header.tpl'); |
|
791 echo $header; |
|
792 } |
787 if ( !$simple && $session->user_logged_in && $session->unread_pms > 0 ) |
793 if ( !$simple && $session->user_logged_in && $session->unread_pms > 0 ) |
788 { |
794 { |
789 echo $this->notify_unread_pms(); |
795 echo $this->notify_unread_pms(); |
790 } |
796 } |
791 if ( !$simple && $session->sw_timed_out ) |
797 if ( !$simple && $session->sw_timed_out ) |