diff options
| author | cotton | 1998-11-09 17:04:02 +0000 |
|---|---|---|
| committer | cotton | 1998-11-09 17:04:02 +0000 |
| commit | 50da28bc057beb729b24dcfeccdcce9a7607fdd2 (patch) | |
| tree | 1711e9a054df12a1369121d3764420a5087cd3b7 | |
| parent | 3b9ad468b6027bfef1ebe9db636004b1e391ffcd (diff) | |
| download | mailman-50da28bc057beb729b24dcfeccdcce9a7607fdd2.tar.gz mailman-50da28bc057beb729b24dcfeccdcce9a7607fdd2.tar.zst mailman-50da28bc057beb729b24dcfeccdcce9a7607fdd2.zip | |
| -rw-r--r-- | Mailman/Cgi/edithtml.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Mailman/Cgi/edithtml.py b/Mailman/Cgi/edithtml.py index 622054263..2c8688dd8 100644 --- a/Mailman/Cgi/edithtml.py +++ b/Mailman/Cgi/edithtml.py @@ -92,9 +92,8 @@ def main(): doc.AddItem(htmlformat.Header(2, 'Select page to edit:')) template_list = htmlformat.UnorderedList() for (template, info) in template_data: - l = htmlformat.Link(os.path.join(list.GetRelativeScriptURL('edithtml'), - template), info) - + l = htmlformat.Link("%s/%s" % (list.GetRelativeScriptURL('edithtml'),template), + info) template_list.AddItem(l) doc.AddItem(htmlformat.FontSize("+2", template_list)) doc.AddItem(list.GetMailmanFooter()) @@ -158,8 +157,8 @@ def FormatHTML(doc): doc.AddItem('<hr>') - form = htmlformat.Form(os.path.join(list.GetRelativeScriptURL('edithtml'), - template_name)) + form = htmlformat.Form("%s/%s" % (list.GetRelativeScriptURL('edithtml'), + template_name)) doc.AddItem(form) password_table = htmlformat.Table() |
