]> git.mxchange.org Git - mailer.git/blobdiff - inc/header.php
Comments added (were absend)
[mailer.git] / inc / header.php
index bd4c3e3075fe9c6bd8e311130f07cbceeb91dd36..a7dc3af343c08feabefed1aff7628d1f08e59225 100644 (file)
@@ -73,7 +73,7 @@ if (($GLOBALS['header_sent'] != '1') && ($GLOBALS['header_sent'] != '2')) {
                                // Add title from what file
                                $mode = '';
                                if ($GLOBALS['module'] == "login") $mode = 'member';
-                                elseif ($GLOBALS['module'] == 'index') $mode = 'guest';
+                               elseif ($GLOBALS['module'] == 'index') $mode = 'guest';
                                if ((!empty($mode)) && (getConfig('enable_what_title') == 'Y')) $TITLE .= " ".trim(getConfig('title_middle'))." ".getModuleDescription($mode, $GLOBALS['what']);
 
                                // Add title decorations? (right)
@@ -127,7 +127,7 @@ if (($GLOBALS['header_sent'] != '1') && ($GLOBALS['header_sent'] != '2')) {
 } // 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')) {
+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