diff -Pur mailman-2.0-base/Mailman/Cgi/handle_opts.py mailman-2.0/Mailman/Cgi/handle_opts.py --- mailman-2.0-base/Mailman/Cgi/handle_opts.py Thu Dec 14 18:43:12 2000 +++ mailman-2.0/Mailman/Cgi/handle_opts.py Thu Dec 14 18:53:58 2000 @@ -49,7 +49,7 @@ def main(): - doc = Document() + doc = HeadlessDocument() parts = Utils.GetPathPieces() if not parts or len(parts) < 2: doc.AddItem(Header(2, "Error")) diff -Pur mailman-2.0-base/Mailman/Cgi/private.py mailman-2.0/Mailman/Cgi/private.py --- mailman-2.0-base/Mailman/Cgi/private.py Thu Dec 14 18:43:12 2000 +++ mailman-2.0/Mailman/Cgi/private.py Thu Dec 14 18:53:25 2000 @@ -36,6 +36,7 @@ %(listname)s Private Archives Authentication +%(global_header)s
@@ -69,6 +70,9 @@ don\'t need to re-authenticate for every article your read. This cookie will expire automatically when you exit your browser. +%(global_footer)s + + ''' @@ -175,6 +179,8 @@ basepath = os.path.split(mlist.GetBaseArchiveURL())[0] listname = mlist.real_name background_color = mm_cfg.BACKGD_COLOR + global_header = mm_cfg.GLOBAL_HEADER + global_footer = mm_cfg.GLOBAL_FOOTER print page % vars() sys.exit(0) diff -Pur mailman-2.0-base/Mailman/Cgi/subscribe.py mailman-2.0/Mailman/Cgi/subscribe.py --- mailman-2.0-base/Mailman/Cgi/subscribe.py Thu Dec 14 18:43:12 2000 +++ mailman-2.0/Mailman/Cgi/subscribe.py Thu Dec 14 18:53:43 2000 @@ -31,7 +31,7 @@ def main(): - doc = Document() + doc = HeadlessDocument() parts = Utils.GetPathPieces() if not parts: doc.AddItem(Header(2, "Error")) diff -Pur mailman-2.0-base/Mailman/Defaults.py.in mailman-2.0/Mailman/Defaults.py.in --- mailman-2.0-base/Mailman/Defaults.py.in Thu Dec 14 18:43:12 2000 +++ mailman-2.0/Mailman/Defaults.py.in Thu Dec 14 18:43:48 2000 @@ -429,6 +429,10 @@ # will be dequeued and those recipients will never receive the message. DELIVERY_RETRY_PERIOD = days(5) +# HTML to contain each page in a localized container -- site banner, etc. +GLOBAL_HEADER = "" +GLOBAL_FOOTER = "" + ##### diff -Pur mailman-2.0-base/Mailman/HTMLFormatter.py mailman-2.0/Mailman/HTMLFormatter.py --- mailman-2.0-base/Mailman/HTMLFormatter.py Thu Dec 14 18:43:12 2000 +++ mailman-2.0/Mailman/HTMLFormatter.py Thu Dec 14 18:43:48 2000 @@ -375,6 +375,8 @@ '' : mm_cfg.FIELD_COLOR, '' : mm_cfg.BACKGD_COLOR, '' : mm_cfg.TEXT_COLOR, + '' : mm_cfg.GLOBAL_HEADER, + '' : mm_cfg.GLOBAL_FOOTER, } def GetAllReplacements(self): diff -Pur mailman-2.0-base/Mailman/htmlformat.py mailman-2.0/Mailman/htmlformat.py --- mailman-2.0-base/Mailman/htmlformat.py Thu Dec 14 18:43:12 2000 +++ mailman-2.0/Mailman/htmlformat.py Thu Dec 14 18:43:48 2000 @@ -289,7 +289,9 @@ for k, v in kws.items(): quals.append('%s="%s"' % (k, v)) output.append('%s' % (tab, string.join(quals, ' '))) + output.append('%s%s' % (tab, mm_cfg.GLOBAL_HEADER)) output.append(Container.Format(self, indent)) + output.append('%s%s' % (tab, mm_cfg.GLOBAL_FOOTER)) output.append('%s' % tab) output.append('%s' % tab) return string.join(output, '\n') diff -Pur mailman-2.0-base/templates/admlogin.html mailman-2.0/templates/admlogin.html --- mailman-2.0-base/templates/admlogin.html Thu Dec 14 18:43:12 2000 +++ mailman-2.0/templates/admlogin.html Thu Dec 14 18:43:48 2000 @@ -3,6 +3,7 @@ <MM-List-Name> Administrative Authentication +
@@ -34,5 +35,6 @@ Logout link under Other Administrative Activities (which you'll see once you successfully log in). + diff -Pur mailman-2.0-base/templates/handle_opts.html mailman-2.0/templates/handle_opts.html --- mailman-2.0-base/templates/handle_opts.html Thu Apr 9 19:31:37 1998 +++ mailman-2.0/templates/handle_opts.html Thu Dec 14 18:43:48 2000 @@ -1,9 +1,11 @@ <MM-List-Name> <MM-Operation> Results - + +

Results

+ diff -Pur mailman-2.0-base/templates/listinfo.html mailman-2.0/templates/listinfo.html --- mailman-2.0-base/templates/listinfo.html Thu Dec 14 18:43:12 2000 +++ mailman-2.0/templates/listinfo.html Thu Dec 14 18:43:48 2000 @@ -6,6 +6,8 @@ + +

@@ -120,5 +122,6 @@
+ diff -Pur mailman-2.0-base/templates/options.html mailman-2.0/templates/options.html --- mailman-2.0-base/templates/options.html Thu Dec 14 18:43:12 2000 +++ mailman-2.0/templates/options.html Thu Dec 14 18:43:48 2000 @@ -5,6 +5,7 @@ +
@@ -147,5 +148,6 @@ + diff -Pur mailman-2.0-base/templates/roster.html mailman-2.0/templates/roster.html --- mailman-2.0-base/templates/roster.html Thu Dec 14 18:43:12 2000 +++ mailman-2.0/templates/roster.html Thu Dec 14 18:43:48 2000 @@ -6,6 +6,8 @@ + +

@@ -46,5 +48,6 @@
+ diff -Pur mailman-2.0-base/templates/subscribe.html mailman-2.0/templates/subscribe.html --- mailman-2.0-base/templates/subscribe.html Tue Sep 19 15:48:13 2000 +++ mailman-2.0/templates/subscribe.html Thu Dec 14 18:43:48 2000 @@ -1,9 +1,11 @@ <MM-List-Name> Subscription results - + +

Subscription results

+