X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=templates%2Fnewsletter%2Fshow.tpl;h=a681ec9653bdbab39be01aa909abdf8b61e7915c;hb=8b1f8e12d444062ef63a0db3a8fa94582a9778c3;hp=0e4693847bb89be42a08a0111fd92631689338f9;hpb=0337d704b62718d7c77106c0e4c4e26fb02beacf;p=platal.git diff --git a/templates/newsletter/show.tpl b/templates/newsletter/show.tpl index 0e46938..a681ec9 100644 --- a/templates/newsletter/show.tpl +++ b/templates/newsletter/show.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2004 Polytechnique.org *} +{* Copyright (C) 2003-2006 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -25,39 +25,34 @@
-[liste des lettres] +[liste des lettres] {if $smarty.get.text} -[version HTML] +[version HTML] {else} -[version Texte] +[version Texte] +{/if} +{if $smarty.session.perms eq admin} +[Editer] {/if} -{perms level='admin'} -[Editer] -{/perms}
- -{$nl->title()} | -
---|
- {if $smarty.get.text}
- {$nl->toText($smarty.session.prenom,$smarty.session.nom,$smarty.session.femme)}- {else} -
- {$nl->toHtml($smarty.session.prenom,$smarty.session.nom,$smarty.session.femme)|smarty:nodefaults}
-
- {/if}
- |
-