cosmetic, and corrected the last escape error
authorx2000habouzit <x2000habouzit>
Sat, 25 Sep 2004 10:13:28 +0000 (10:13 +0000)
committerx2000habouzit <x2000habouzit>
Sat, 25 Sep 2004 10:13:28 +0000 (10:13 +0000)
scripts/mailman/mailman-rpc.py
templates/listes/members.tpl

index 9b8d210..4f08a18 100755 (executable)
@@ -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,
index 10ecb10..53c3d17 100644 (file)
@@ -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}
     <td colspan='2' class='center'>
       <a href='trombi.php?liste={$smarty.request.liste}'>trombino de la liste</a> (page longue à charger)
     </td>
-  </tr>    
+  </tr>
+</table>
+{if $details.info}
+<br />
+<table class='tinybicol' cellpadding='0' cellspacing='0'>
+  <tr><th colspan='2'>Informations sur la liste</th></tr>
+  <tr>
+    <td colspan='2'>{$details.info|nl2br}</td>
+  </tr>
 </table>
+{/if}
 
 <div class='rubrique'>
   modérateurs de la liste