- // Is that constant there?
- if (defined($constantName)) {
- // Use that string
- $message = constant($constantName);
+// 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() . "<br />\n";