diff options
| author | bwarsaw | 2000-08-01 23:08:37 +0000 |
|---|---|---|
| committer | bwarsaw | 2000-08-01 23:08:37 +0000 |
| commit | 350031009f036b51a0266684821907b52c72df01 (patch) | |
| tree | e7067c7dd5b055aa6e0479cb7cc0fe54132cc269 /Mailman/Cgi | |
| parent | ab6d7f0111dcf641ae3326fbf7d1f3a6790fe9a1 (diff) | |
| download | mailman-350031009f036b51a0266684821907b52c72df01.tar.gz mailman-350031009f036b51a0266684821907b52c72df01.tar.zst mailman-350031009f036b51a0266684821907b52c72df01.zip | |
Diffstat (limited to 'Mailman/Cgi')
| -rw-r--r-- | Mailman/Cgi/edithtml.py | 7 |
1 files changed, 3 insertions, 4 deletions
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('<hr>') - link = Link(mlist.GetRelativeScriptURL('admin'), + link = Link(mlist.GetScriptURL('admin'), 'View or edit the list configuration information.') doc.AddItem(FontSize("+1", link)) doc.AddItem('<p>') doc.AddItem('<hr>') - form = Form(mlist.GetRelativeScriptURL('edithtml') + '/' + template_name) + form = Form(mlist.GetScriptURL('edithtml') + '/' + template_name) doc.AddItem(form) password_table = Table() |
