-if ((((!isset($GLOBALS['footer_sent'])) || (($GLOBALS['footer_sent'] != '1') && ($GLOBALS['footer_sent'] != '2'))) && ($GLOBALS['output_mode'] != '1'))) {
- // Output the generated HTML code or do nothing in direct-mode
- if (getTotalFatalErrors() > 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');