From 350031009f036b51a0266684821907b52c72df01 Mon Sep 17 00:00:00 2001 From: bwarsaw Date: Tue, 1 Aug 2000 23:08:37 +0000 Subject: Cleanups to fix relative/absolute script url calculation in response to SF Bug #110753. Specifically, main(), FormatHTML(): Use GetScriptURL() instead of GetRelativeScriptURL(). --- Mailman/Cgi/edithtml.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'Mailman/Cgi/edithtml.py') diff --git a/Mailman/Cgi/edithtml.py b/Mailman/Cgi/edithtml.py index b317caff8..45a326e26 100644 --- a/Mailman/Cgi/edithtml.py +++ b/Mailman/Cgi/edithtml.py @@ -79,8 +79,7 @@ def main(): doc.AddItem(Header(2, 'Select page to edit:')) template_list = UnorderedList() for (template, info) in template_data: - l = Link(mlist.GetRelativeScriptURL('edithtml') + '/' + template, - info) + l = Link(mlist.GetScriptURL('edithtml') + '/' + template, info) template_list.AddItem(l) doc.AddItem(FontSize("+2", template_list)) doc.AddItem(mlist.GetMailmanFooter()) @@ -114,13 +113,13 @@ def FormatHTML(mlist, doc, template_name, template_info): doc.AddItem(Header(1, template_info)) doc.AddItem('
') doc.AddItem('