{**************************************************************************} {* *} {* Copyright (C) 2003-2014 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} {* it under the terms of the GNU General Public License as published by *} {* the Free Software Foundation; either version 2 of the License, or *} {* (at your option) any later version. *} {* *} {* This program is distributed in the hope that it will be useful, *} {* but WITHOUT ANY WARRANTY; without even the implied warranty of *} {* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *} {* GNU General Public License for more details. *} {* *} {* You should have received a copy of the GNU General Public License *} {* along with this program; if not, write to the Free Software *} {* Foundation, Inc., *} {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *} {* *} {**************************************************************************} {if $liste.own && $liste.sub} {icon name=wrench title="Modérateur"} {elseif $liste.own} {icon name=error title="Modérateur mais non-membre"} {elseif $liste.priv} {icon name=weather_cloudy title="Liste privée"} {/if} {$liste.list} {$liste.desc|smarty:nodefaults}
{if $liste.subscriptions|@count} • Demandes d'inscription
{foreach from=$liste.subscriptions item=s} {icon name=add title="Accepter"} {icon name=delete title="Refuser"} {$s.name} {if $s.login} {icon name=user_suit title="Afficher la fiche"} {/if}
{/foreach} {/if} {if $liste.mails|@count} • Demandes de modération
{foreach from=$liste.mails item=m} {icon name=add title="Valider l'email"} {icon name=delete title="Spam"} De : {$m.sender}
{icon name=magnifier title="Voir le message"} Sujet : {$m.subj|hdc|smarty:nodefaults|default:"[pas de sujet]"}
{/foreach}
{/if} {if $liste.diff eq 2}modérée{elseif $liste.diff}restreinte{else}libre{/if} {if $liste.ins}modérée{else}libre{/if} {$liste.nbsub} {if $liste.sub eq 2} {icon name=cross title="me désinscrire"} {elseif $liste.sub eq 1} {icon name=flag_orange title='inscription en attente de modération'} {else} {icon name=add title="m'inscrire"} {/if} {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}