{**************************************************************************}
{* *}
-{* Copyright (C) 2003-2007 Polytechnique.org *}
+{* Copyright (C) 2003-2009 Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
{else}
[<a href='nl/show/{$nl->id()}?text=1'>version Texte</a>]
{/if}
- {if $smarty.session.perms->hasFlag('admin')}
- [<a href='admin/newsletter/edit/{$nl->id()}'>Editer</a>]
+ {if hasPerm('admin')}
+ [<a href='admin/newsletter/edit/{$nl->id()}'>Éditer</a>]
{/if}
</p>
<tr><th>{$nl->title(true)}</th></tr>
<tr>
<td>
- {include file="newsletter/nl.tpl"}
+ {include file="newsletter/nl.mail.tpl" escape=true}
</td>
</tr>
</table>