{**************************************************************************} {* *} {* Copyright (C) 2003-2008 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 *} {* *} {**************************************************************************}

Gestion des homonymes

{if $op eq 'mail'}

mail envoyé à {$forlife}

{elseif $op eq 'correct'}

mail envoyé à {$forlife}, alias supprimé

{/if} {if $op eq 'list' || $op eq 'mail' || $op eq 'correct'}

Les utilisateurs signalés en rouge sont ceux qui conservent actuellement l'alias prenom.nom et empêchent donc la mise en place du robot détrompeur.

{foreach from=$hnymes key=login item=row} {foreach from=$row item=user} {/foreach} {/foreach}
alias concerné date de péremption de l'alias op
{$login}
   {if $user.type eq 'alias'} {$user.forlife} {else} {$user.forlife} {/if} {$user.expire|date_format} fiche edit {if $user.type eq 'alias'} mailer corriger {/if}
{elseif $op eq 'mail-conf'}
{xsrf_token_field}
Envoyer un mail pour prévenir l'utilisateur
{elseif $op eq 'correct-conf'}
{xsrf_token_field}
Mettre en place le robot {$loginbis}@{#globals.mail.domain#}
{/if} {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}