diff options
| author | bwarsaw | 1999-05-02 22:56:07 +0000 |
|---|---|---|
| committer | bwarsaw | 1999-05-02 22:56:07 +0000 |
| commit | b5ae2cb96027fc712e25d568e66386b40510f042 (patch) | |
| tree | 3c4549515181c223e5139444bd0338e36aed618f /Mailman/htmlformat.py | |
| parent | bc26b6b52b057d7c73a6b77700c22fc4f8bd7f3a (diff) | |
| download | mailman-b5ae2cb96027fc712e25d568e66386b40510f042.tar.gz mailman-b5ae2cb96027fc712e25d568e66386b40510f042.tar.zst mailman-b5ae2cb96027fc712e25d568e66386b40510f042.zip | |
Diffstat (limited to 'Mailman/htmlformat.py')
| -rw-r--r-- | Mailman/htmlformat.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Mailman/htmlformat.py b/Mailman/htmlformat.py index e5e509c06..bf2a497d7 100644 --- a/Mailman/htmlformat.py +++ b/Mailman/htmlformat.py @@ -475,3 +475,12 @@ class DefinitionList(Container): HTMLFormatObject(dd, indent+2)) output = output + '%s</dl>\n' % spaces return output + + +def MailmanLogo(): + if mm_cfg.DELIVERED_BY_URL: + img = ('<img src="%s" alt="Delivered by Mailman" border=0> v %s' % + (mm_cfg.DELIVERED_BY_URL, mm_cfg.VERSION)) + else: + img = 'Delivered by Mailman v %s' % mm_cfg.VERSION + return Link(mm_cfg.MAILMAN_URL, img) |
