summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormailman1998-04-10 00:30:01 +0000
committermailman1998-04-10 00:30:01 +0000
commit163513f8e5d898901e77e21273b55224f9e827f5 (patch)
tree541782575d4ab8ab4910b4efa88550fe9a707a84
parent9294453a9968f60b9cc1a81d35374d88b4f30288 (diff)
downloadmailman-163513f8e5d898901e77e21273b55224f9e827f5.tar.gz
mailman-163513f8e5d898901e77e21273b55224f9e827f5.tar.zst
mailman-163513f8e5d898901e77e21273b55224f9e827f5.zip
Use HeadlessDocument() instead of Document(), since the template has
the head.
-rwxr-xr-xcgi/edithtml4
-rwxr-xr-xcgi/listinfo4
-rwxr-xr-xcgi/options4
-rwxr-xr-xcgi/roster4
4 files changed, 8 insertions, 8 deletions
diff --git a/cgi/edithtml b/cgi/edithtml
index 6b90de7c6..f9bfbcbdb 100755
--- a/cgi/edithtml
+++ b/cgi/edithtml
@@ -2,7 +2,7 @@
"""Script which implements admin editing of the list's html templates."""
-__version__ = "$Revision: 386 $"
+__version__ = "$Revision: 405 $"
import sys
sys.path.append('/home/mailman/mailman/modules')
@@ -29,7 +29,7 @@ template_data = (('listinfo.html', 'General list information page'),
def InitDocument():
- return htmlformat.Document()
+ return htmlformat.HeadlessDocument()
doc = InitDocument()
diff --git a/cgi/listinfo b/cgi/listinfo
index d0c1d122d..81ac3d6f4 100755
--- a/cgi/listinfo
+++ b/cgi/listinfo
@@ -4,7 +4,7 @@
Errors are redirected to logs/errors."""
-__version__ = "$Revision: 388 $"
+__version__ = "$Revision: 405 $"
# No lock needed in this script, because we don't change data.
@@ -21,7 +21,7 @@ try:
except IOError:
pass # Oh well - SOL on redirect, errors show thru.
-doc = htmlformat.Document()
+doc = htmlformat.HeadlessDocument()
path = os.environ['PATH_INFO']
diff --git a/cgi/options b/cgi/options
index 930153f7f..ecbcd497b 100755
--- a/cgi/options
+++ b/cgi/options
@@ -6,7 +6,7 @@ Takes listname/userid in PATH_INFO, expecting an "obscured" userid.
(Depending on the mm_utils.{O,Uno}bscureEmail utilities tolerance,
will work fine with an unobscured ids as well.)"""
-__version__ = "$Revision: 388 $"
+__version__ = "$Revision: 405 $"
# We don't need to lock in this script, because we're never going to change
# data.
@@ -23,7 +23,7 @@ try:
except IOError:
pass # Oh well - SOL on redirect, errors show thru.
-doc = htmlformat.Document()
+doc = htmlformat.HeadlessDocument()
path = os.environ['PATH_INFO']
list_info = mm_utils.GetPathPieces(path)
diff --git a/cgi/roster b/cgi/roster
index 82278dd59..237e77c0d 100755
--- a/cgi/roster
+++ b/cgi/roster
@@ -4,7 +4,7 @@
Takes listname in PATH_INFO."""
-__version__ = "$Revision: 388 $"
+__version__ = "$Revision: 405 $"
# We don't need to lock in this script, because we're never going to change
# data.
@@ -24,7 +24,7 @@ except IOError:
def main():
- doc = htmlformat.Document()
+ doc = htmlformat.HeadlessDocument()
form = cgi.FieldStorage()
list = get_list()