Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.
Date: 2009apr7 Language: python OS: Linux Q. How can I hide the admistrator's email address in Mailman? A. I have not found an option for this so I modified file /usr/lib/mailman/Mailman/htmlformat.py by adding the 2 lines marked "davekb change"class Link: def __init__(self, href, text, target=None): self.href = href self.text = text self.target = target def Format(self, indent=0): texpr = "" if self.target != None: texpr = ' target="%s"' % self.target if self.href[0:7] == 'mailto:': # davekb change return '<i>(mail hidden because of spammers)</i>' # davekb change
Add a commentSign in to add a comment