From c868ca68c4b03baf7e8bc34b06402ba352b4b36f Mon Sep 17 00:00:00 2001 From: x2000habouzit Date: Sat, 25 Sep 2004 10:13:28 +0000 Subject: [PATCH] cosmetic, and corrected the last escape error --- scripts/mailman/mailman-rpc.py | 5 +++-- templates/listes/members.tpl | 13 +++++++++++-- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/scripts/mailman/mailman-rpc.py b/scripts/mailman/mailman-rpc.py index 9b8d210..4f08a18 100755 --- a/scripts/mailman/mailman-rpc.py +++ b/scripts/mailman/mailman-rpc.py @@ -18,7 +18,7 @@ #* Foundation, Inc., * #* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * #*************************************************************************** -# $Id: mailman-rpc.py,v 1.38 2004-09-25 09:57:41 x2000habouzit Exp $ +# $Id: mailman-rpc.py,v 1.39 2004-09-25 10:13:28 x2000habouzit Exp $ #*************************************************************************** import base64, MySQLdb, os, getopt, sys, MySQLdb.converters @@ -134,7 +134,8 @@ def get_list_info((userdesc,perms),mlist): 'list' : mlist.real_name, 'addr' : str('-').join(chunks[1:]) + '@' + chunks[0], 'host' : chunks[0], - 'desc' : mlist.description, + 'desc' : Utils.uquote(mlist.description), + 'info' : Utils.uquote(mlist.info), 'diff' : (mlist.default_member_moderation>0) + (mlist.generic_nonmember_action>0), 'ins' : mlist.subscribe_policy > 1, 'priv' : (1-mlist.advertised)+2*is_admin, diff --git a/templates/listes/members.tpl b/templates/listes/members.tpl index 10ecb10..53c3d17 100644 --- a/templates/listes/members.tpl +++ b/templates/listes/members.tpl @@ -17,7 +17,7 @@ * Foundation, Inc., * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * *************************************************************************** - $Id: members.tpl,v 1.1 2004-09-23 15:40:46 x2000habouzit Exp $ + $Id: members.tpl,v 1.2 2004-09-25 10:13:29 x2000habouzit Exp $ ***************************************************************************} {dynamic} @@ -57,8 +57,17 @@ trombino de la liste (page longue à charger) - + + +{if $details.info} +
+ + + + +
Informations sur la liste
{$details.info|nl2br}
+{/if}
modérateurs de la liste -- 2.1.4