]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/removeip_functions.php
Some functions rewritten to hungarian notation, handling of array rewritten
[mailer.git] / inc / libs / removeip_functions.php
index e3b69e9e8b0a34cbffebf638a538d4ae684f0ef2..bd09d69ee56a087bf5349749ea4c046ed48275bb 100644 (file)
@@ -140,5 +140,20 @@ function REMOVEIP_ADD_INFOS () {
        return LOAD_TEMPLATE("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 ((EXT_IS_ACTIVE("removeip")) && (getConfig('removeip_'.strtolower($data['access_level']).'_show') == "Y")) {
+               // Add anoymity/privacy infos
+               $content['content'] .= REMOVEIP_ADD_INFOS()."<br />\n";
+       } // END - if
+
+       // Return it
+       return $content;
+}
+
 //
 ?>