diff options
| author | bwarsaw | 2001-05-31 16:34:09 +0000 |
|---|---|---|
| committer | bwarsaw | 2001-05-31 16:34:09 +0000 |
| commit | 9c59b78d4ba9dfb2564c4ca5ff01dbcbd2ca7fa3 (patch) | |
| tree | 8a9b0a5b77ff7a00a1fc70e22509f9e1087709e5 /Mailman/Cgi/listinfo.py | |
| parent | d8fb89543a2ab4867fe7165ba1cfd19da4930f89 (diff) | |
| download | mailman-9c59b78d4ba9dfb2564c4ca5ff01dbcbd2ca7fa3.tar.gz mailman-9c59b78d4ba9dfb2564c4ca5ff01dbcbd2ca7fa3.tar.zst mailman-9c59b78d4ba9dfb2564c4ca5ff01dbcbd2ca7fa3.zip | |
listinfo_overview(): We don't need to pass the document background
color as an argument anymore. Other colors are no longer hardcoded,
but taken from mm_cfg.
Diffstat (limited to 'Mailman/Cgi/listinfo.py')
| -rw-r--r-- | Mailman/Cgi/listinfo.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Mailman/Cgi/listinfo.py b/Mailman/Cgi/listinfo.py index 4e0a2bab7..e6e6f0058 100644 --- a/Mailman/Cgi/listinfo.py +++ b/Mailman/Cgi/listinfo.py @@ -77,8 +77,8 @@ def listinfo_overview(msg=''): table = Table(border=0, width="100%") table.AddRow([Center(Header(2, legend))]) - table.AddCellInfo(max(table.GetCurrentRowIndex(), 0), 0, - colspan=2, bgcolor="#99ccff") + table.AddCellInfo(table.GetCurrentRowIndex(), 0, colspan=2, + bgcolor=mm_cfg.WEB_HEADERCOLOR) # Skip any mailing lists that isn't advertised. advertised = [] @@ -146,7 +146,7 @@ def listinfo_overview(msg=''): doc.AddItem(table) doc.AddItem('<hr>') doc.AddItem(MailmanLogo()) - print doc.Format(bgcolor="#ffffff") + print doc.Format() |
