]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/removeip_functions.php
Language string renamed
[mailer.git] / inc / libs / removeip_functions.php
index 112bef3ab03430e1c06a3727da295103802b0b58..0ad68ef3e7baf317f30918f87182d6085caf284f 100644 (file)
@@ -40,7 +40,7 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-}
+} // END - if
 
 // "Getter" for anonymous remote IP number
 function getAnonymousRemoteAddress ($remoteAddr) {
@@ -136,17 +136,8 @@ 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);