X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fnewsletter%2Fshow.tpl;h=d81ff651bd1cd1f841088353f57c1c2d722567d9;hb=4b79fe1c1096e933feb5fdba75cb8a99a6046fdb;hp=52308f53a8e002bc181c335a0dc127264f20018b;hpb=50a40a33a496131e817df875607ea5542d096a64;p=platal.git diff --git a/templates/newsletter/show.tpl b/templates/newsletter/show.tpl index 52308f5..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}
-