aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Cgi/admin.py
diff options
context:
space:
mode:
authorYasuhito FUTATSUKI at POEM <futatuki@poem.co.jp>2018-06-23 05:57:21 +0900
committerYasuhito FUTATSUKI at POEM <futatuki@poem.co.jp>2018-06-23 05:57:21 +0900
commitf647dd6c9e7e50b21150076bc9dfc3792f63e022 (patch)
tree74fcfa8883921abdd5cc08f35f29852d3a8ec440 /Mailman/Cgi/admin.py
parentcb03394bc0ec828ddc23b22392ea8d1a21798644 (diff)
parent11c0af19222d0176b4f9c9c515274c61b49eec33 (diff)
downloadmailman2-f647dd6c9e7e50b21150076bc9dfc3792f63e022.tar.gz
mailman2-f647dd6c9e7e50b21150076bc9dfc3792f63e022.tar.xz
mailman2-f647dd6c9e7e50b21150076bc9dfc3792f63e022.zip
merge lp:mailman/2.1 up to rev 1784 (release 2.1.27)
Diffstat (limited to 'Mailman/Cgi/admin.py')
-rw-r--r--Mailman/Cgi/admin.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/Mailman/Cgi/admin.py b/Mailman/Cgi/admin.py
index f44e01db..a92ab378 100644
--- a/Mailman/Cgi/admin.py
+++ b/Mailman/Cgi/admin.py
@@ -1,4 +1,4 @@
-# Copyright (C) 1998-2017 by the Free Software Foundation, Inc.
+# Copyright (C) 1998-2018 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -295,7 +295,7 @@ def admin_overview(msg=''):
else:
advertised.append((mlist.GetScriptURL('admin'),
mlist.real_name,
- mlist.description))
+ Utils.websafe(mlist.GetDescription())))
# Greeting depends on whether there was an error or not
if msg:
greeting = FontAttr(msg, color="ff5060", size="+1")
@@ -1401,6 +1401,7 @@ def submit_button(name='submit'):
def change_options(mlist, category, subcat, cgidata, doc):
+ global _
def safeint(formvar, defaultval=None):
try:
return int(cgidata.getfirst(formvar))