X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Ffooter.php;h=058eb4f6ae43ab30cc504c3c7492e61fe41028e4;hp=e691b2ce62b86154637b764460063d9ab70c1f9f;hb=ccf34a2a92d80d01debd84b4b6e1f294d8f90cce;hpb=53a6857b021b42835709b11e2287d11986d8b2c1 diff --git a/inc/footer.php b/inc/footer.php index e691b2ce62..058eb4f6ae 100644 --- a/inc/footer.php +++ b/inc/footer.php @@ -1,7 +1,7 @@ 0) { - // Output fatal error messages - loadIncludeOnce('inc/fatal_errors.php'); - } // END - if - - // Shall we display the copyright notice? - if ((!REQUEST_ISSET_GET('frame')) && (basename($_SERVER['PHP_SELF']) != 'mailid_top.php') && ((getConfig('WRITE_FOOTER') == 'Y') || (isInstalling())) && ($GLOBALS['header_sent'] == '2')) { - // Backlink enabled? - if ((getConfig('ENABLE_BACKLINK') == 'Y') || (isInstalling())) { - // Copyright with backlink, thanks! :-) - LOAD_TEMPLATE('copyright_backlink'); - } else { - // No backlink in Copyright note - LOAD_TEMPLATE('copyright'); - } - } // END - if - - // Shall we display the parsing time and number of queries? - if ((GET_EXT_VERSION('sql_patches') >= '0.4.1') && (getConfig('show_timings') == 'Y') && (!REQUEST_ISSET_GET('frame')) && ($GLOBALS['header_sent'] == '2')) { - // Then display it here - displayParsingTime(); - } // END - if +if ((((!isset($GLOBALS['footer_sent'])) || (($GLOBALS['footer_sent'] != 1) && ($GLOBALS['footer_sent'] != 2))) && (getOutputMode() != 1))) { + // Run the filter, sweet huh? + runFilterChain('page_footer'); // Load page footer - LOAD_TEMPLATE('page_footer'); - - // And the last closing HTML tag - OUTPUT_HTML(''); + $GLOBALS['page_footer'] .= loadTemplate('page_footer', true); } // END - if // Footer has been reached $GLOBALS['footer_sent'] = 1; -// Output HTML code -OUTPUT_HTML(''); - // Shutdown shutdown(); -// +// [EOF] ?>