# This patch file, files created by its use and not subject to other copyright # and any changes in other files generated by its use are # Copyright (C) 2000-2003 by the Free Software Foundation, Inc. # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA # This patch file is Free Software and permission is granted to copy and # redistribute it in original or modified form under the terms of the # GNU General Public License (GPL). # See the GPL COPYING files accompanying Mailman distributions this # patch was intended to work in conjunction with for further details. diff -r -u -P --exclude=.DS_Store mailman-2.1.3/Mailman/Cgi/admin.py mailman-2.1.3-lasmall/Mailman/Cgi/admin.py --- mailman-2.1.3/Mailman/Cgi/admin.py Mon Sep 22 03:39:34 2003 +++ mailman-2.1.3-lasmall/Mailman/Cgi/admin.py Thu Oct 23 10:51:23 2003 @@ -232,7 +232,9 @@ # List is for different identity of this host - skip it. continue else: - advertised.append(mlist) + advertised.append ((mlist.GetScriptURL('admin'), + mlist.real_name, + mlist.description)) # Greeting depends on whether there was an error or not if msg: @@ -283,10 +285,10 @@ Bold(FontAttr(_('Description'), size='+2')) ]) highlight = 1 - for mlist in advertised: + for url, real_name, description in advertised: table.AddRow( - [Link(mlist.GetScriptURL('admin'), Bold(mlist.real_name)), - mlist.description or Italic(_('[no description available]'))]) + [Link(url, Bold(real_name)), + description or Italic(_('[no description available]'))]) if highlight and mm_cfg.WEB_HIGHLIGHT_COLOR: table.AddRowInfo(table.GetCurrentRowIndex(), bgcolor=mm_cfg.WEB_HIGHLIGHT_COLOR) diff -r -u -P --exclude=.DS_Store mailman-2.1.3/Mailman/Cgi/listinfo.py mailman-2.1.3-lasmall/Mailman/Cgi/listinfo.py --- mailman-2.1.3/Mailman/Cgi/listinfo.py Mon Sep 22 03:39:34 2003 +++ mailman-2.1.3-lasmall/Mailman/Cgi/listinfo.py Thu Oct 23 10:42:18 2003 @@ -91,7 +91,9 @@ # List is for different identity of this host - skip it. continue else: - advertised.append(mlist) + advertised.append ((mlist.GetScriptURL('listinfo'), + mlist.real_name, + mlist.description)) if msg: greeting = FontAttr(msg, color="ff5060", size="+1") @@ -135,10 +137,10 @@ Bold(FontAttr(_('Description'), size='+2')) ]) highlight = 1 - for mlist in advertised: + for url, real_name, description in advertised: table.AddRow( - [Link(mlist.GetScriptURL('listinfo'), Bold(mlist.real_name)), - mlist.description or Italic(_('[no description available]'))]) + [Link(url, Bold(real_name)), + description or Italic(_('[no description available]'))]) if highlight and mm_cfg.WEB_HIGHLIGHT_COLOR: table.AddRowInfo(table.GetCurrentRowIndex(), bgcolor=mm_cfg.WEB_HIGHLIGHT_COLOR)