{**************************************************************************} {* *} {* 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 *} {* *} {**************************************************************************}

Gestion des adresses en doublon

{if $action eq "list"} {foreach from=$table item=doublon} {/foreach}
Adresse Etat Utilisateurs
Ajouter une entrée manuellement créer{icon name=add}
{$doublon.mail}
Détecté le {$doublon.detection|date_format}
{$doublon.state} {foreach from=$doublon.users item=user name=all} {if $user} {$user}{icon name=user_suit title="Fiche"} {icon name=wrench title="Administrer}{if !$smarty.foreach.all.last}
{/if} {/if} {/foreach}
{icon name=page_edit title="Editer"} {icon name=delete title="Supprimer"}
{elseif $action eq "create" || $action eq "edit"} [Retour à la liste des doublons]

{xsrf_token_field} {if $action eq "create"} {else} {foreach from=$doublon.users key=i name=all item=user} {if $user} {if $i is even}{/if} {if $i is even && $smarty.foreach.all.last}{/if} {if $i is odd || $smarty.foreach.all.last}{/if} {/if} {/foreach} {/if} {if $doublon.edit} {/if}
Commenter le doublon
Adresse mail {icon name=email title="Envoyer un email"}  {$doublon.mail}
{$user}{icon name=user_suit title="Fiche"} {icon name=wrench title="Administrer}{if !$smarty.foreach.all.last}
{/if}
Date de détection {$doublon.detection|date_format}
Danger
Description
Dernière édition par {$doublon.edit} le {$doublon.last|date_format}
{/if} {* vim:set et sw=2 sts=2 sws=2 fenc=utf-8: *}