X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fnewsletter%2Fshow.tpl;h=53fb97650a7e11affac19dfa3e5de18bdbf5310e;hb=b73bc04bb05253b8391b40778715d48e337f3628;hp=4e08d1c56a29905a6a18334c24c56a17c57967e9;hpb=b829e2589f1993c40918576ac4e414096092ba31;p=platal.git diff --git a/templates/newsletter/show.tpl b/templates/newsletter/show.tpl index 4e08d1c..53fb976 100644 --- a/templates/newsletter/show.tpl +++ b/templates/newsletter/show.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2006 Polytechnique.org *} +{* Copyright (C) 2003-2008 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}
-