From: x2000habouzit Date: Sun, 10 Oct 2004 22:05:25 +0000 (+0000) Subject: jmy remark X-Git-Tag: xorg/old~1336 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=6823d998db1e4f5ad190f934397f64b3d88fdaa0;p=platal.git jmy remark --- 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}