openbsd-ports/mail/mailman/patches/patch-Mailman_htmlformat_py
shell 9e94be85d0 Initial import of mailman
Submitted by Nikolay Sturm <nikolay.sturm@desy.de>
---

This is GNU Mailman, a mailing list management system distributed
under the GNU Public License (GPL).

Mailman has most of the standard features you'd expect in a
mailing list manager, and more.
2001-08-29 02:13:04 +00:00

47 lines
1.9 KiB
Plaintext

$OpenBSD: patch-Mailman_htmlformat_py,v 1.1.1.1 2001/08/29 02:13:06 shell Exp $
--- Mailman/htmlformat.py.orig Thu Aug 23 18:59:15 2001
+++ Mailman/htmlformat.py Thu Aug 23 19:06:29 2001
@@ -506,13 +506,14 @@ class DefinitionList(Container):
from mm_cfg import MAILMAN_URL
PYTHON_URL = 'http://www.python.org/'
GNU_URL = 'http://www.gnu.org/'
+OBSD_URL = 'http://www.openbsd.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'
-
+OBSD_HEAD = 'openbsd_pb.gif'
def MailmanLogo():
t = Table(border=0, width='100%')
@@ -529,18 +530,24 @@ def MailmanLogo():
gnulink = Link(GNU_URL,
'<img src="%s" alt="GNU\'s Not Unix" border=0>' %
logo(GNU_HEAD))
+ obsdlink = Link(OBSD_URL,
+ '<img src="%s" alt="Powered by OpenBSD" border=0>' %
+ logo(OBSD_HEAD))
text = Container(Link(MAILMAN_URL, 'Mailman home page'),
'<br>',
Link(PYTHON_URL, 'Python home page'),
'<br>',
Link(GNU_URL, 'GNU home page'),
+ '<br>',
+ Link(OBSD_URL, 'OpenBSD home page'),
)
- t.AddRow([mmlink, pylink, gnulink, text])
+ t.AddRow([mmlink, pylink, gnulink, obsdlink, text])
else:
# use only textual links
mmlink = Link(MAILMAN_URL,
'Delivered by Mailman<br>version %s' % mm_cfg.VERSION)
pylink = Link(PYTHON_URL, 'Python Powered')
gnulink = Link(GNU_URL, "Gnu's Not Unix")
- t.AddRow([mmlink, pylink, gnulink])
+ obsdlink = Link(OBSD_URL, 'Powered by OpenBSD')
+ t.AddRow([mmlink, pylink, gnulink, obsdlink])
return t