* 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}
{foreach from=$mails item=m}
<tr class='{cycle values="pair,impair"}'>
<td>{$m.sender}</td>
- <td>{$m.subj}</td>
+ <td>{$m.subj|qpd}</td>
<td class='right'>{$m.size}o</td>
<td class='right'>{$m.stamp|date_format:"%H:%M:%S<br />%d %b %Y"}</td>
<td class='action'>
* 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}
{foreach from=$mail.parts item=part key=i}
<tr><th>Partie n°{$i}</th></tr>
<tr class='{cycle values="impair,pair"}'>
- <td><pre>{$part|qpd|regex_replace:"!\\n-- *\\n(.*?)$!sm":"</pre><hr style='width:98%;margin:1%'/><pre>\\1"}</pre></td>
+ <td><tt>{$part|qpd|nl2br}</tt></td>
</tr>
{/foreach}
</table>