diff options
| author | viega | 1998-06-03 12:53:59 +0000 |
|---|---|---|
| committer | viega | 1998-06-03 12:53:59 +0000 |
| commit | 224da5d716292811316af847876cc5435ebf1ef2 (patch) | |
| tree | fafa5b4100356704869cf792db5e22d51281f01d /cgi/edithtml | |
| parent | f02a5291795a08219d1bac8a898ac78c687710ea (diff) | |
| download | mailman-224da5d716292811316af847876cc5435ebf1ef2.tar.gz mailman-224da5d716292811316af847876cc5435ebf1ef2.tar.zst mailman-224da5d716292811316af847876cc5435ebf1ef2.zip | |
Updated calls to GetScriptURL to the appropriate new form. One or two
minor changes here and there to support relative paths (changing
absolute paths that didn't use GetScriptURL to begin with).
Diffstat (limited to 'cgi/edithtml')
| -rwxr-xr-x | cgi/edithtml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cgi/edithtml b/cgi/edithtml index 3c4fe3887..f2c5264d0 100755 --- a/cgi/edithtml +++ b/cgi/edithtml @@ -90,7 +90,7 @@ else: 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.GetScriptURL('edithtml'), + l = htmlformat.Link(os.path.join(list.GetRelativeScriptURL('edithtml'), template), info) template_list.AddItem(l) @@ -106,14 +106,14 @@ def FormatHTML(doc): doc.AddItem('<hr>') - link = htmlformat.Link(list.GetScriptURL('admin'), + link = htmlformat.Link(list.GetRelativeScriptURL('admin'), 'View or edit the list configuration information.') doc.AddItem(htmlformat.FontSize("+1", link)) doc.AddItem('<p>') doc.AddItem('<hr>') - form = htmlformat.Form(os.path.join(list.GetScriptURL('edithtml'), + form = htmlformat.Form(os.path.join(list.GetRelativeScriptURL('edithtml'), template_name)) doc.AddItem(form) |
