X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fnewsletter%2Fshow.tpl;h=d81ff651bd1cd1f841088353f57c1c2d722567d9;hb=e557b0dbd21096d0fdd5c18f62dab460d20c90c3;hp=bec53588598ce1d53a4f4876f2f1d113ba9afde0;hpb=045a152265abdde0a9b7e28d24c24ed116817cda;p=platal.git diff --git a/templates/newsletter/show.tpl b/templates/newsletter/show.tpl index bec5358..d81ff65 100644 --- a/templates/newsletter/show.tpl +++ b/templates/newsletter/show.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2006 Polytechnique.org *} +{* Copyright (C) 2003-2011 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -20,44 +20,36 @@ {* *} {**************************************************************************} -
-[liste des lettres] -{if $smarty.get.text} -[version HTML] -{else} -[version Texte] -{/if} -{perms level='admin'} -[Editer] -{/perms} +
+ {if $smarty.get.text} + [version HTML] + {else} + [version Texte] + {/if} + {if $nl->mayEdit()} + [Ãditer] + {/if}
-