]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/uberwach_functions.php
Renamed function so it might be more understandable
[mailer.git] / inc / libs / uberwach_functions.php
index 90b98678135aed5ee80ade06abe0f01c314f8e14..7f62c7cf82df134e008aa2a476527be9f39203a5 100644 (file)
  * $Date::                                                            $ *
  * $Tag:: 0.2.1-FINAL                                                 $ *
  * $Author::                                                          $ *
- * Needs to be in all Files and every File needs "svn propset           *
- * 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 *
@@ -43,17 +42,14 @@ if (!defined('__SECURITY')) {
 
 // Loads the snippet for the uberwach action
 function loadUberwachSnippet () {
-       // Detect IP address
-       $content['REMOTE_ADDR'] = detectRemoteAddr();
-
        // Simply load the template here
-       loadTemplate('uberwach_snippet', false, $content);
+       $GLOBALS['page_footer'] .= loadTemplate('uberwach_snippet', true);
 }
 
 // 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