// 1234 5 54 45 5 5 543 3 321
if ((((!isset($GLOBALS['footer_sent'])) || (($GLOBALS['footer_sent'] != '1') && ($GLOBALS['footer_sent'] != '2'))) && (getOutputMode() != '1'))) {
// Output the generated HTML code or do nothing in direct-mode
+ // @TODO Rewrite these all into filters
if (getTotalFatalErrors() > 0) {
// Output fatal error messages
loadIncludeOnce('inc/fatal_errors.php');
displayParsingTime();
} // END - if
+ // Shall we include the uberwach snippet?
+ if ((!REQUEST_ISSET_GET('frame')) && (EXT_IS_ACTIVE('uberwach')) && (getModule() != 'admin') && ($GLOBALS['header_sent'] == '2')) {
+ // Then display it here
+ loadUberwachSnippet();
+ } // END - if
+
// Load page footer
LOAD_TEMPLATE('page_footer');