]> git.mxchange.org Git - mailer.git/blobdiff - inc/header.php
More HTML improvements
[mailer.git] / inc / header.php
index 58ba602bd7c6755206155cb56d793d218a0d4a73..d87acc2edd4c7cec0b34a2d2d8c9132e16364fa8 100644 (file)
@@ -47,33 +47,11 @@ if (!defined('__SECURITY')) {
 if (($GLOBALS['header_sent'] != 1) && ($GLOBALS['header_sent'] != 2)) {
        // If not in CSS mode generate the header
        if (getOutputMode() != 1) {
-               // Determine the page title
-               $content['header_title'] = determinePageTitle();
-
-               // Output page header code
-               loadTemplate('page_header', false, $content);
-
-               // Include meta data in 'guest' module
-               if (getModule() == 'index') {
-                       // Load meta data template
-                       loadTemplate('metadata');
-
-                       // Add meta description to header
-                       if ((isInstalled()) && (isAdminRegistered()) && (SQL_IS_LINK_UP())) {
-                               // Add meta description not in admin and login module and when the script is installed
-                               generateMetaDescriptionCode(getModule(), getWhat());
-                       } // END - if
-               } // END - if
-
-               // Include more header data here
-               loadTemplate('header');
-
-               // Include stylesheet
-               loadIncludeOnce('inc/stylesheet.php');
+               // Prepare the header for HTML output
+               loadHtmlHeader();
        } // END - if
 
        // Closing HEAD tag
-       if (getOutputMode() != 1) outputHtml('</head>');
        if ($GLOBALS['header_sent'] == '0') $GLOBALS['header_sent'] = 1;
 } // END - if