X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fheader.php;h=740e324dd95f19e6483dd58b2ad7c3dae473c411;hb=93ccd79d1a3fcb1ee5a101cb6bb670901f154555;hp=0313f88583d39f2c2deefa01e9f7bd96095b6b77;hpb=7a2bf6b757eb25795956d48453f1afa940156bc5;p=mailer.git diff --git a/inc/header.php b/inc/header.php index 0313f88583..740e324dd9 100644 --- a/inc/header.php +++ b/inc/header.php @@ -16,12 +16,10 @@ * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * * $Author:: $ * - * Needs to be in all Files and every File needs "svn propset * - * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009, 2010 by Mailer Developer Team * - * For more information visit: http://www.mxchange.org * + * Copyright (c) 2009 - 2011 by Mailer Developer Team * + * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -53,17 +51,19 @@ if (($GLOBALS['header_sent'] != 1) && ($GLOBALS['header_sent'] != 2)) { setHttpStatus('200 OK'); // If not in CSS mode generate the header - if (getOutputMode() != 1) { + if (!isCssOutputMode()) { // Prepare the header for HTML output loadHtmlHeader(); } // END - if // Closing HEAD tag - if ($GLOBALS['header_sent'] == '0') $GLOBALS['header_sent'] = 1; + if ($GLOBALS['header_sent'] == '0') { + $GLOBALS['header_sent'] = 1; + } // END - if } // END - if // Add BODY tag or not? -if ((getOutputMode() != 1) && (getOutputMode() != -1) && ($GLOBALS['header_sent'] == 1) && ((getModule() != 'frametester') || (isGetRequestParameterSet('frame')))) { +if ((!isCssOutputMode()) && (!isRawOutputMode()) && ($GLOBALS['header_sent'] == 1) && ((getModule() != 'frametester') || (isGetRequestElementSet('frame')))) { loadTemplate('page_body'); $GLOBALS['header_sent'] = 2; } // END - if