X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Ffilter%2Fuberwach_filter.php;h=d774a58899bb23c1c104a85ecd0776c582c05255;hb=e5dffd4249c97200cbad02f3f4eaf5c373fdb89a;hp=ec30e1a778d2dc0d6a307543c95ad389f76de5da;hpb=24dfd21baed6a9a112992bdabf7da96576012bc4;p=mailer.git diff --git a/inc/filter/uberwach_filter.php b/inc/filter/uberwach_filter.php index ec30e1a778..d774a58899 100644 --- a/inc/filter/uberwach_filter.php +++ b/inc/filter/uberwach_filter.php @@ -16,8 +16,8 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2011 by Mailer Developer Team * - * For more information visit: http://www.mxchange.org * + * Copyright (c) 2009 - 2013 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 * @@ -41,12 +41,17 @@ if (!defined('__SECURITY')) { } // END - if // Filter for displaying uberwach snippet -function FILTER_DISPLAY_UBERWACH_SNIPPET () { +function FILTER_DISPLAY_UBERWACH_SNIPPET ($filterData) { // Shall we include the uberwach snippet? - if ((!isGetRequestParameterSet('frame')) && (isExtensionActive('uberwach')) && (getModule() != 'admin') && ($GLOBALS['header_sent'] == 2)) { + //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Called!'); + if ((isFullPage()) && (isExtensionActive('uberwach')) && (getModule() != 'admin') && ($GLOBALS['__header_sent'] == 2)) { // Then display it here loadUberwachSnippet(); } // END - if + + // Return data + //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Done!'); + return $filterData; } // [EOF]