[PATCH] logo disabling, and extra "<BODY " tag
Here are two quick patches I made (both against version 2.0.8): First one is a new feature which makes it easy to disable display of sponsor logos (I don't know if you wanted this to be so easy or not, but here it is). Second one is a minor bugfix which removes an extra "<BODY " tag in htmlformat.Document.Format(). Looks like a typo. Also, I started doing some work on making it easy to private-label Mailman. Then I noticed a patch has already been submitted (Request ID 401383 on sourceforge) which looks like it does what I wanted (using two new variables GLOBAL_HEADER and GLOBAL_FOOTER). However I don't see this patch in the current release 2.0.9. Are there plans to add this patch, or is it still being worked on? Is it in the 2.1 versions? Thanks, -Adi --- Mailman/Defaults.py.in~ Sun Apr 7 01:14:57 2002 +++ Mailman/Defaults.py.in Tue Apr 9 21:13:35 2002 @@ -40,11 +40,12 @@ # Should image logos be used? Set this to false to disable image logos from # "our sponsors" and just use textual links instead. Otherwise, this should # contain the URL base path to the logo images (and must contain the trailing -# slash).. If you want to disable Mailman's logo footer altogther, hack -# Mailman/htmlformat.py:MailmanLogo(), which also contains the hardcoded links -# and image names. +# slash).. IMAGE_LOGOS = '/icons/' +# If you want to disable Mailman's logo footer altogther +DISABLE_SPONSOR_LOGOS = 0 + # Don't change MAILMAN_URL, unless you want to point it at the list.org # mirror. MAILMAN_URL = 'http://www.gnu.org/software/mailman/mailman.html' --- Mailman/htmlformat.py~ Sun Apr 7 01:14:57 2002 +++ Mailman/htmlformat.py Tue Apr 9 21:14:07 2002 @@ -515,6 +515,8 @@ def MailmanLogo(): + if mm_cfg.DISABLE_SPONSOR_LOGOS: + return '' t = Table(border=0, width='100%') if mm_cfg.IMAGE_LOGOS: def logo(file):
participants (1)
-
Adi Fairbank