{**************************************************************************}
{* *}
-{* Copyright (C) 2003-2011 Polytechnique.org *}
+{* Copyright (C) 2003-2014 Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
{* *}
{**************************************************************************}
-
-<h1>
- {$nl->name}
-{if $nl->mayEdit() && $nl->adminLinksEnabled()}
- [<a href="{$nl->adminPrefix()}">Administrer</a>]
-{/if}
-</h1>
+{include file="newsletter/header.tpl" current="index"}
{if $nl->maySubmit()}
<p class="center">
<h2>Ton statut</h2>
{if $nl->subscriptionState()}
+{if $smarty.session.user->type != 'xnet'}
<p>
-Tu es actuellement inscrit à la {$nl->name} (pour choisir le format HTML ou texte, rends toi sur la page <a href='prefs'>des préférences</a>).
+Tu es actuellement inscrit à la {$nl->name} (pour choisir le format HTML ou texte, rends toi sur la page <a href="https://{$globals->core->secure_domain}/prefs">des préférences</a>).
</p>
+{/if}
<div class='center'>
[<a href='{$nl->prefix()}/out'>{icon name=delete} me désinscrire de la {$nl->name}</a>]
</div>
{/foreach}
</table>
-{if $nl->mayEdit()}
-<p>Il y a actuellement {$nl->subscriberCount()} inscrits aux envois.</p>
-{/if}
-
-
{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}