X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fheader.php;h=f551ef47b7591c74e7b59193e56a1fa6505a87ab;hp=a7dc3af343c08feabefed1aff7628d1f08e59225;hb=056b8a9b8d4aae308b7061f1b398381707d309cd;hpb=5b8d588fdbfa375fa859ca80a9b9e1735a13300e diff --git a/inc/header.php b/inc/header.php index a7dc3af343..f551ef47b7 100644 --- a/inc/header.php +++ b/inc/header.php @@ -1,140 +1,3 @@ '); - $GLOBALS['header_sent'] = 1; -} // END - if - -// Load body or not -if (($GLOBALS['module'] != 'frametester') || (($GLOBALS['module'] == 'frametester') && (REQUEST_ISSET_GET('frame'))) || (($GLOBALS['header_sent'] == '1') && (REQUEST_ISSET_GET('frame'))) && ($GLOBALS['output_mode'] != '1')) { - // Is the header sent and the script is not the mail confirmation script and not a CSS? - if (($GLOBALS['header_sent'] == '1') && (basename($_SERVER['PHP_SELF']) != 'mailid.php') && ($GLOBALS['output_mode'] != '1')) { - // Add BODY tag - LOAD_TEMPLATE('page_body'); - $GLOBALS['header_sent'] = 2; - } // END - if -} // END - if - -// +// @DEPRECATED ?>