From 4be90b18e80f7b7d23c079a1a3f4fe4dd5148d4e Mon Sep 17 00:00:00 2001 From: mailman Date: Fri, 10 Apr 1998 18:33:14 +0000 Subject: FormatListinfoOverview(): Sort the presented lists. --- cgi/admin | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'cgi/admin') diff --git a/cgi/admin b/cgi/admin index 094a7f2f6..dece7c152 100755 --- a/cgi/admin +++ b/cgi/admin @@ -5,7 +5,7 @@ To run stand-alone for debugging, set env var PATH_INFO to name of list and, optionally, options category.""" -__version__ = "$Revision: 411 $" +__version__ = "$Revision: 412 $" import sys sys.path.append('/home/mailman/mailman/modules') @@ -119,7 +119,7 @@ def main(): def FormatAdminOverview(error=None): "Present a general welcome and itemize the (public) lists." doc = Document() - legend = "%s Maillists - Admin Links" % mm_cfg.DEFAULT_HOST_NAME + legend = "%s maillists - Admin Links" % mm_cfg.DEFAULT_HOST_NAME doc.SetTitle(legend) table = Table(border=0, width="100%") @@ -133,7 +133,9 @@ def FormatAdminOverview(error=None): colspan=2) advertised = [] - for n in mm_utils.list_names(): + names = mm_utils.list_names() + names.sort() + for n in names: l = maillist.MailList(n) l.Unlock() if l.advertised: advertised.append(l) -- cgit v1.3.1