X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Fremoveip_functions.php;h=7c9b07accea4376d8c807a7dc87a223c126b8fed;hb=330dbb3e2b34450cd1665497506455e195a0a166;hp=ba03102accb0b72477d0060ef01b6ddf16140e39;hpb=93dc3d5b067c15568b01bcda1550018b38d1cdd9;p=mailer.git diff --git a/inc/libs/removeip_functions.php b/inc/libs/removeip_functions.php index ba03102acc..7c9b07acce 100644 --- a/inc/libs/removeip_functions.php +++ b/inc/libs/removeip_functions.php @@ -14,11 +14,9 @@ * $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 * + * Copyright (c) 2009 - 2011 by Mailer Developer Team * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -136,36 +134,12 @@ function addAnonymityLevel () { break; } // END - while - // Construct constant name - $constantName = sprintf("REMOVEIP_LEVEL_%s", strtoupper($suffix)); - // Default message - $message = getMaskedMessage('REMOVEIP_UNKNOWN_LEVEL', $suffix); - - // Is that constant there? - if (isMessageIdValid($constantName)) { - // Use that string - $message = getMessage($constantName); - } // END - if + $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; -} - // [EOF] ?>