X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=templates%2Fnewsletter%2Fshow.tpl;h=32d3454385a663491de4ab07d3594a8520147577;hb=c76545c351fae4e2298624ff9ee5bf854dc5a5b6;hp=4e08d1c56a29905a6a18334c24c56a17c57967e9;hpb=b829e2589f1993c40918576ac4e414096092ba31;p=platal.git diff --git a/templates/newsletter/show.tpl b/templates/newsletter/show.tpl index 4e08d1c..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}
-