]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/uberwach_functions.php
Reverted of changes in 1704, see ticket #160
[mailer.git] / inc / libs / uberwach_functions.php
index 90b98678135aed5ee80ade06abe0f01c314f8e14..6977d468d9f3b1000f0f30ceee65fb9721910939 100644 (file)
@@ -18,6 +18,7 @@
  * 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                  *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -47,13 +48,13 @@ function loadUberwachSnippet () {
        $content['REMOTE_ADDR'] = detectRemoteAddr();
 
        // Simply load the template here
-       loadTemplate('uberwach_snippet', false, $content);
+       $GLOBALS['page_footer'] .= loadTemplate('uberwach_snippet', true, $content);
 }
 
 // Filter for displaying uberwach snippet
 function FILTER_DISPLAY_UBERWACH_SNIPPET () {
        // Shall we include the uberwach snippet?
-       if ((!isGetRequestElementSet('frame')) && (isExtensionActive('uberwach')) && (getModule() != 'admin') && ($GLOBALS['header_sent'] == 2)) {
+       if ((!isGetRequestParameterSet('frame')) && (isExtensionActive('uberwach')) && (getModule() != 'admin') && ($GLOBALS['header_sent'] == 2)) {
                // Then display it here
                loadUberwachSnippet();
        } // END - if