X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Fremoveip_functions.php;h=75aaeb50be4cd8f2ef6ae3b56e531724ab56b03d;hb=1c878f804eeafc5f73ad84953506f0506e1f9fa6;hp=afb9e0265bef5fad0300f0973e75df1f851e7847;hpb=c3b4eaf29946349ff058691db2dcb615a5379bb2;p=mailer.git diff --git a/inc/libs/removeip_functions.php b/inc/libs/removeip_functions.php index afb9e0265b..75aaeb50be 100644 --- a/inc/libs/removeip_functions.php +++ b/inc/libs/removeip_functions.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 * @@ -138,22 +138,7 @@ function addAnonymityLevel () { $message = sprintf("{--REMOVEIP_LEVEL_%s--}", strtoupper($suffix)); // Output message in template - return loadTemplate('removeip_level', true, $message); -} - -// Filter for adding anonymity notice to the output stream -function FILTER_ADD_ANONYMITY_NOTICE ($data) { - // Init content - $content = $data; - - // Extension removeip activated? - if ((isExtensionActive('removeip')) && (getConfig('removeip_'.strtolower($data['access_level']).'_show') == 'Y')) { - // Add anoymity/privacy infos - $content['content'] .= addAnonymityLevel() . "
\n"; - } // END - if - - // Return it - return $content; + return loadTemplate('removeip_level', TRUE, $message); } // [EOF]