From 88ba70fa11b3c8b6e62d2abddf8cbb65b299a34b Mon Sep 17 00:00:00 2001 From: bwarsaw Date: Sun, 2 May 1999 22:57:03 +0000 Subject: GetMailmanFooter(): Factor out logo creation by using MailmanLogo() function. --- Mailman/HTMLFormatter.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'Mailman/HTMLFormatter.py') diff --git a/Mailman/HTMLFormatter.py b/Mailman/HTMLFormatter.py index 7c4e13c5c..e1bded148 100644 --- a/Mailman/HTMLFormatter.py +++ b/Mailman/HTMLFormatter.py @@ -27,6 +27,7 @@ import Utils from htmlformat import * + class HTMLFormatter: def InitVars(self): if self._internal_name: @@ -44,13 +45,6 @@ class HTMLFormatter: owners_html.AddItem(', ') # Remove the .Format() when htmlformat conversion is done. - if mm_cfg.DELIVERED_BY_URL: - img = Link(mm_cfg.MAILMAN_URL, - 'Delivered by Mailman' - ' v %s' % - (mm_cfg.DELIVERED_BY_URL, mm_cfg.VERSION)) - else: - img = 'Delivered by Mailman v %s' % mm_cfg.VERSION return Container( '
', Address( @@ -59,7 +53,7 @@ class HTMLFormatter: self.real_name), ' list run by ', owners_html, - '

', img))).Format() + '

', MailmanLogo()))).Format() def SnarfHTMLTemplate(self, file): # XXX: hack, blech, yuk -- cgit v1.2.3-70-g09d2