$NetBSD: patch-ah,v 1.3 2009/06/03 06:58:55 adam Exp $
--- Mailman/htmlformat.py.orig 2009-02-23 22:23:35.000000000 +0100
+++ Mailman/htmlformat.py
@@ -611,13 +611,15 @@ class DefinitionList(Container):
#
from mm_cfg import MAILMAN_URL
PYTHON_URL = 'http://www.python.org/'
-GNU_URL = 'http://www.gnu.org/'
# The names of the image logo files. These are concatentated onto
# mm_cfg.IMAGE_LOGOS (not urljoined).
DELIVERED_BY = 'mailman.jpg'
PYTHON_POWERED = 'PythonPowered.png'
-GNU_HEAD = 'gnu-head-tiny.jpg'
+
+from mm_cfg import IMAGE3_URL
+from mm_cfg import IMAGE3_IMG
+from mm_cfg import IMAGE3_ALT
def MailmanLogo():
@@ -629,17 +631,17 @@ def MailmanLogo():
'
version %s' % (logo(DELIVERED_BY), mm_cfg.VERSION)
pylink = '' % \
logo(PYTHON_POWERED)
- gnulink = '' % \
- logo(GNU_HEAD)
- t.AddRow([mmlink, pylink, gnulink])
+ image3link = '' % \
+ (logo(IMAGE3_IMG), IMAGE3_ALT)
+ t.AddRow([mmlink, pylink, image3link])
else:
# use only textual links
version = mm_cfg.VERSION
mmlink = Link(MAILMAN_URL,
_('Delivered by Mailman
version %(version)s'))
pylink = Link(PYTHON_URL, _('Python Powered'))
- gnulink = Link(GNU_URL, _("Gnu's Not Unix"))
- t.AddRow([mmlink, pylink, gnulink])
+ image3link = Link(IMAGE3_URL, _(IMAGE3_ALT))
+ t.AddRow([mmlink, pylink, image3link])
return t