From: Martin Schütte <li...@mschuette.name>
Wyn schrieb:
Has any one any ideas how to display a real name next to the email
address
in Subscriber List
I found the required change to be small enough and use the following
code:
--- Mailman/HTMLFormatter.py.old Mon Mar 12 23:25:34 2007
+++ Mailman/HTMLFormatter.py Mon Mar 12 23:28:38 2007
@@ -94,6 +94,9 @@
showing = Utils.ObscureEmail(person, for_text=1)
else:
showing = person
+ realname = Utils.uncanonstr(self.getMemberName(person),
lang)
+ if realname:
+ showing += " (%s)" % Utils.websafe(realname)
got = Link(url, showing)
if self.getDeliveryStatus(person) <>
MemberAdaptor.ENABLED:
got = Italic('(', got, ')')
Thanks, Martin! I've had several clients ask for this, and haven't had
the time to track it down.
Mark, any chance of this getting in the regular distribution, perhaps
controlled by a config switch?
:::: You don't build a new world by pouring yourself into the broken
molds of the old one. ::::
:::: Jan Steinman, http://www.EcoReality.org ::::
------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe:
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Security Policy: http://wiki.list.org/x/QIA9