X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Fremoveip_functions.php;h=bd09d69ee56a087bf5349749ea4c046ed48275bb;hb=3daede4c904e23905c3e48dd6749019deca0a0e0;hp=e3b69e9e8b0a34cbffebf638a538d4ae684f0ef2;hpb=f9a9c09e1ae257449bfd98f8854e321efba1dc3c;p=mailer.git diff --git a/inc/libs/removeip_functions.php b/inc/libs/removeip_functions.php index e3b69e9e8b..bd09d69ee5 100644 --- a/inc/libs/removeip_functions.php +++ b/inc/libs/removeip_functions.php @@ -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()."
\n"; + } // END - if + + // Return it + return $content; +} + // ?>