summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbwarsaw2000-08-01 22:09:06 +0000
committerbwarsaw2000-08-01 22:09:06 +0000
commit21a3ed181d56c8ec8bfa974b82c1ddca9ab63ddc (patch)
treeff3f7b9d61d99ee4d09716e466e226675de19607
parent6812428ac71bcf47a56ee68e6646d95629647f51 (diff)
downloadmailman-21a3ed181d56c8ec8bfa974b82c1ddca9ab63ddc.tar.gz
mailman-21a3ed181d56c8ec8bfa974b82c1ddca9ab63ddc.tar.zst
mailman-21a3ed181d56c8ec8bfa974b82c1ddca9ab63ddc.zip
-rw-r--r--Mailman/HTMLFormatter.py12
1 files changed, 5 insertions, 7 deletions
diff --git a/Mailman/HTMLFormatter.py b/Mailman/HTMLFormatter.py
index ac4828a50..985c6c6b7 100644
--- a/Mailman/HTMLFormatter.py
+++ b/Mailman/HTMLFormatter.py
@@ -30,7 +30,7 @@ from htmlformat import *
class HTMLFormatter:
def InitVars(self):
- if self._internal_name:
+ if self.internal_name():
self._template_dir = os.path.join(mm_cfg.LIST_DATA_DIR,
self._internal_name)
else:
@@ -49,10 +49,8 @@ class HTMLFormatter:
'<hr>',
Address(
Container(
- Link(self.GetRelativeScriptURL('listinfo'),
- self.real_name),
- ' list run by ',
- owners_html,
+ Link(self.GetScriptURL('listinfo'), self.real_name),
+ ' list run by ', owners_html,
'<p>', MailmanLogo()))).Format()
def SnarfHTMLTemplate(self, file):
@@ -87,7 +85,7 @@ class HTMLFormatter:
else:
concealed = ""
ObscureEmail = Utils.ObscureEmail
- options_url = self.GetRelativeScriptURL('options')
+ options_url = self.GetScriptURL('options')
disdel = mm_cfg.DisableDelivery
items = []
for person in people:
@@ -299,7 +297,7 @@ class HTMLFormatter:
return container
def FormatFormStart(self, name, extra=''):
- base_url = self.GetScriptURL(name, relative=1)
+ base_url = self.GetScriptURL(name)
if extra:
full_url = "%s/%s" % (base_url, extra)
else: