From 41dc8caffc1dc667a2f78dfd38ef9f6f229b7ff2 Mon Sep 17 00:00:00 2001 From: twouters Date: Mon, 5 Mar 2001 15:03:37 +0000 Subject: admin_overview(): Adjust %(default_hostname)s to match variable name (hostname) and fix the mailto:mailman_owner link to do interpolation explicitly, since Link() does not do that. --- Mailman/Cgi/admin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Mailman') diff --git a/Mailman/Cgi/admin.py b/Mailman/Cgi/admin.py index d97f49943..f69903fb0 100644 --- a/Mailman/Cgi/admin.py +++ b/Mailman/Cgi/admin.py @@ -173,7 +173,7 @@ def admin_overview(msg=''): # This page should be displayed in the server's default language, which # should have already been set. hostname = mm_cfg.DEFAULT_HOST_NAME - legend = _('%(default_hostname)s mailing lists - Admin Links') + legend = _('%(hostname)s mailing lists - Admin Links') # The html `document' doc = Document() doc.set_language(mm_cfg.DEFAULT_SERVER_LANGUAGE) @@ -227,7 +227,7 @@ def admin_overview(msg=''): _('the mailing list overview page')), '.', _('

(Send questions and comments to '), - Link('mailto:%(mailman_owner)s', mailman_owner), + Link('mailto:%s' % mailman_owner, mailman_owner), '.)

', ]) -- cgit v1.3.1