aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Cgi/rmlist.py
diff options
context:
space:
mode:
authorMark Sapiro <mark@msapiro.net>2014-05-02 21:42:31 -0700
committerMark Sapiro <mark@msapiro.net>2014-05-02 21:42:31 -0700
commite7c1655bd7b752f90f5cdebf94213f193f267a57 (patch)
tree2713b092b4f7e90e62cafec25648e375c22e3f11 /Mailman/Cgi/rmlist.py
parentd8d784da666f6cd366f08a2a87bff73b3762e3fd (diff)
downloadmailman2-e7c1655bd7b752f90f5cdebf94213f193f267a57.tar.gz
mailman2-e7c1655bd7b752f90f5cdebf94213f193f267a57.tar.xz
mailman2-e7c1655bd7b752f90f5cdebf94213f193f267a57.zip
Removed HTML tags from the title of a couple of rmlist.py pages because
browsers don't render tags in the title. (LP: #265848)
Diffstat (limited to 'Mailman/Cgi/rmlist.py')
-rw-r--r--Mailman/Cgi/rmlist.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mailman/Cgi/rmlist.py b/Mailman/Cgi/rmlist.py
index da802b99..db588121 100644
--- a/Mailman/Cgi/rmlist.py
+++ b/Mailman/Cgi/rmlist.py
@@ -62,7 +62,7 @@ def main():
# Avoid cross-site scripting attacks
safelistname = Utils.websafe(listname)
title = _('No such list <em>%(safelistname)s</em>')
- doc.SetTitle(title)
+ doc.SetTitle(_('No such list %(safelistname)s'))
doc.AddItem(
Header(3,
Bold(FontAttr(title, color='#ff0000', size='+2'))))
@@ -188,7 +188,7 @@ def process_request(doc, cgidata, mlist):
def request_deletion(doc, mlist, errmsg=None):
realname = mlist.real_name
title = _('Permanently remove mailing list <em>%(realname)s</em>')
- doc.SetTitle(title)
+ doc.SetTitle(_('Permanently remove mailing list %(realname)s'))
table = Table(border=0, width='100%')
table.AddRow([Center(Bold(FontAttr(title, size='+1')))])