mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-10 13:03:41 -04:00
46 lines
1.6 KiB
Plaintext
46 lines
1.6 KiB
Plaintext
$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():
|
|
'<br>version %s' % (logo(DELIVERED_BY), mm_cfg.VERSION)
|
|
pylink = '<img src="%s" alt="Python Powered" border=0>' % \
|
|
logo(PYTHON_POWERED)
|
|
- gnulink = '<img src="%s" alt="GNU\'s Not Unix" border=0>' % \
|
|
- logo(GNU_HEAD)
|
|
- t.AddRow([mmlink, pylink, gnulink])
|
|
+ image3link = '<img src="%s" alt="%s" border=0>' % \
|
|
+ (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<br>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
|
|
|
|
|