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
Programming Tips - How can I hide the admistrator's email address in Mailman?
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"