X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Fuberwach_functions.php;h=2347359adf232f0f7a33a7a1b13e4829f64c8746;hb=91d298e5ec7193849a92bd4902abc02ffab8305b;hp=90b98678135aed5ee80ade06abe0f01c314f8e14;hpb=263a089d8a499e0e26d0af9e7aa7639f88b8ca60;p=mailer.git diff --git a/inc/libs/uberwach_functions.php b/inc/libs/uberwach_functions.php index 90b9867813..2347359adf 100644 --- a/inc/libs/uberwach_functions.php +++ b/inc/libs/uberwach_functions.php @@ -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 * @@ -43,17 +44,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