From 6823d998db1e4f5ad190f934397f64b3d88fdaa0 Mon Sep 17 00:00:00 2001 From: x2000habouzit Date: Sun, 10 Oct 2004 22:05:25 +0000 Subject: [PATCH] jmy remark --- templates/listes/moderate.tpl | 4 ++-- templates/listes/moderate_mail.tpl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/listes/moderate.tpl b/templates/listes/moderate.tpl index 68929c5..73c08b6 100644 --- a/templates/listes/moderate.tpl +++ b/templates/listes/moderate.tpl @@ -17,7 +17,7 @@ * Foundation, Inc., * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * *************************************************************************** - $Id: moderate.tpl,v 1.10 2004-10-09 12:49:38 x2000habouzit Exp $ + $Id: moderate.tpl,v 1.11 2004-10-10 22:05:25 x2000habouzit Exp $ ***************************************************************************} {dynamic} @@ -87,7 +87,7 @@ {foreach from=$mails item=m} {$m.sender} - {$m.subj} + {$m.subj|qpd} {$m.size}o {$m.stamp|date_format:"%H:%M:%S
%d %b %Y"} diff --git a/templates/listes/moderate_mail.tpl b/templates/listes/moderate_mail.tpl index 6c6c655..cb66fd9 100644 --- a/templates/listes/moderate_mail.tpl +++ b/templates/listes/moderate_mail.tpl @@ -17,7 +17,7 @@ * Foundation, Inc., * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * *************************************************************************** - $Id: moderate_mail.tpl,v 1.4 2004-09-24 16:43:53 x2000habouzit Exp $ + $Id: moderate_mail.tpl,v 1.5 2004-10-10 22:05:25 x2000habouzit Exp $ ***************************************************************************} {dynamic} @@ -60,7 +60,7 @@ {foreach from=$mail.parts item=part key=i} Partie n°{$i} -
{$part|qpd|regex_replace:"!\\n-- *\\n(.*?)$!sm":"

\\1"}
+ {$part|qpd|nl2br} {/foreach} -- 2.1.4