]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/uberwach_functions.php
Renamed ifSqlHasZeroNums() to ifSqlHasZeroNumRows() and improved some queries.
[mailer.git] / inc / libs / uberwach_functions.php
index 62c765800a89ca88b4dfcc9c9f9e534f5e23e85a..d2dc9a9971db29a26470dc2a54a416b991dc664c 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                           *
- * For more information visit: http://www.mxchange.org                  *
+ * Copyright (c) 2009 - 2015 by Mailer Developer Team                   *
+ * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
  * it under the terms of the GNU General Public License as published by *
@@ -43,20 +42,8 @@ if (!defined('__SECURITY')) {
 
 // Loads the snippet for the uberwach action
 function loadUberwachSnippet () {
-       // Detect IP address
-       $content['REMOTE_ADDR'] = detectRemoteAddr();
-
        // Simply load the template here
-       $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 ((!isGetRequestParameterSet('frame')) && (isExtensionActive('uberwach')) && (getModule() != 'admin') && ($GLOBALS['header_sent'] == 2)) {
-               // Then display it here
-               loadUberwachSnippet();
-       } // END - if
+       $GLOBALS['__page_footer'] .= loadTemplate('uberwach_snippet', TRUE);
 }
 
 // [EOF]