X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fnewsletter%2Fshow.tpl;h=32d3454385a663491de4ab07d3594a8520147577;hb=c76545c351fae4e2298624ff9ee5bf854dc5a5b6;hp=bec53588598ce1d53a4f4876f2f1d113ba9afde0;hpb=045a152265abdde0a9b7e28d24c24ed116817cda;p=platal.git diff --git a/templates/newsletter/show.tpl b/templates/newsletter/show.tpl index bec5358..32d3454 100644 --- a/templates/newsletter/show.tpl +++ b/templates/newsletter/show.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2006 Polytechnique.org *} +{* Copyright (C) 2003-2010 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 hasPerm('admin')} + [Ãditer] + {/if}
-