From 6b63a934d12b15fefb7c03cebf5e853d0ff89f59 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Mon, 9 May 2011 14:50:25 +0200 Subject: [PATCH] Fixes link to email type preferences, and limit it to user with access to our main site. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Jacob --- templates/newsletter/index.tpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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} -- 2.1.4