diff options
| author | mailman | 1998-04-08 04:56:06 +0000 |
|---|---|---|
| committer | mailman | 1998-04-08 04:56:06 +0000 |
| commit | e60f33127a7c89c01c082ec6e52673b3c1a14fc2 (patch) | |
| tree | b9d0ce8c6d5baf948ddc464edc48c9f92a71f8ca | |
| parent | db341e780f97d94494ad2a6940abe5c20a377251 (diff) | |
| download | mailman-e60f33127a7c89c01c082ec6e52673b3c1a14fc2.tar.gz mailman-e60f33127a7c89c01c082ec6e52673b3c1a14fc2.tar.zst mailman-e60f33127a7c89c01c082ec6e52673b3c1a14fc2.zip | |
Set document backgrounds (of error docs as well as primary) to white.
| -rwxr-xr-x | cgi/handle_opts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cgi/handle_opts b/cgi/handle_opts index 37bdeeb20..e6aa47ad2 100755 --- a/cgi/handle_opts +++ b/cgi/handle_opts @@ -23,7 +23,7 @@ list_info = mm_utils.GetPathPieces(path) if len(list_info) < 2: doc.AddItem(htmlformat.Header(2, "Error")) doc.AddItem(htmlformat.Bold("Invalid options to CGI script.")) - print doc.Format() + print doc.Format(bgcolor="#ffffff") sys.exit(0) list_name = string.lower(list_info[0]) @@ -32,7 +32,7 @@ user = list_info[1] if len(list_info) < 2: doc.AddItem(htmlformat.Header(2, "Error")) doc.AddItem(htmlformat.Bold("Invalid options to CGI script.")) - print doc.Format() + print doc.Format(bgcolor="#ffffff") sys.exit(0) try: @@ -40,13 +40,13 @@ try: except: doc.AddItem(htmlformat.Header(2, "Error")) doc.AddItem(htmlformat.Bold("%s: No such list." % list_name)) - print doc.Format() + print doc.Format(bgcolor="#ffffff") sys.exit(0) if not list._ready: doc.AddItem(htmlformat.Header(2, "Error")) doc.AddItem(htmlformat.Bold("%s: No such list." % list_name)) - print doc.Format() + print doc.Format(bgcolor="#ffffff") sys.exit(0) @@ -57,7 +57,7 @@ def PrintResults(results): output = list.ParseTags('handle_opts.html', replacements) doc.AddItem(output) - print doc.Format() + print doc.Format(bgcolor="#ffffff") list.Unlock() sys.exit(0) |
