From: Stéphane Jacob Date: Mon, 9 May 2011 12:50:25 +0000 (+0200) Subject: Fixes link to email type preferences, and limit it to user with access to our main... X-Git-Tag: xorg/1.1.1~5 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=6b63a934d12b15fefb7c03cebf5e853d0ff89f59;p=platal.git Fixes link to email type preferences, and limit it to user with access to our main site. Signed-off-by: Stéphane Jacob --- diff --git a/templates/newsletter/index.tpl b/templates/newsletter/index.tpl index 990722c..6bcb7d5 100644 --- a/templates/newsletter/index.tpl +++ b/templates/newsletter/index.tpl @@ -37,9 +37,11 @@

Ton statut

{if $nl->subscriptionState()} +{if $smarty.session.user->type != 'xnet'}

-Tu es actuellement inscrit à la {$nl->name} (pour choisir le format HTML ou texte, rends toi sur la page des préférences). +Tu es actuellement inscrit à la {$nl->name} (pour choisir le format HTML ou texte, rends toi sur la page des préférences).

+{/if}