X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Fremoveip_functions.php;h=0ad68ef3e7baf317f30918f87182d6085caf284f;hb=ffe213c8e3f85119ddd5544214d0de9ecb833d98;hp=4c6a4b2a48c23d54d8a4296b0021a6c41200ce03;hpb=263a089d8a499e0e26d0af9e7aa7639f88b8ca60;p=mailer.git diff --git a/inc/libs/removeip_functions.php b/inc/libs/removeip_functions.php index 4c6a4b2a48..0ad68ef3e7 100644 --- a/inc/libs/removeip_functions.php +++ b/inc/libs/removeip_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 * @@ -39,7 +40,7 @@ // Some security stuff... if (!defined('__SECURITY')) { die(); -} +} // END - if // "Getter" for anonymous remote IP number function getAnonymousRemoteAddress ($remoteAddr) { @@ -135,17 +136,8 @@ function addAnonymityLevel () { break; } // END - while - // Construct constant name - $constantName = sprintf("REMOVEIP_LEVEL_%s", strtoupper($suffix)); - // Default message - $message = sprintf(getMessage('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);