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

Synchronisation depuis l'AX

{if $no_private_key}

Impossible d'utiliser ce service, il manque la clef privée AX dans la configuration de plat/al.

{else}
Synchroniser un utilisateur
{/if} {if $x}
{if $x.profile_from_ax}
Cet utilisateur a accepeté la synchronisation
{else}
ATTENTION ! Cet utilisateur n'a pas accepté la synchronisation
{/if}
Les fiches de cet utilisateur :
{if $diff} {foreach from=$diff key='k' item='i'} {if ($k neq 'adr') and ($k neq 'adr_pro')} {/if} {/foreach} {if $diff.adr} {foreach from=$diff.adr item='adr'} {/foreach} {/if} {if $diff.adr_pro} {foreach from=$diff.adr_pro item='pro'} {/foreach} {/if}
{$k} {$x[$k]} {$i}
Adresses
{if $adr.remove} Effacer l'adresse {$adr.adrid}. {else} {if $adr.adrid}Modifier l'adresse {$adr.adrid} :{else}Ajouter l'adresse :{/if} {include file='geoloc/address.tpl' address=$adr no_div=1 for="`$x.prenom` `$x.nom`"} {/if}
Emplois
{if $pro.remove} Effacer l'emploi {$pro.entrid}. {else} {if $pro.entrid || $pro.entrid === 0}Modifier l'emploi {$pro.entrid} :{else}Ajouter l'emploi :{/if} {if $pro.entreprise}
Entreprise/Organisme : {$pro.entreprise}
{/if} {if $pro.secteur}
Secteur : {$pro.secteur}{if $pro.ss_secteur} ({$pro.ss_secteur}){/if}
{/if} {if $pro.fonction}
Fonction : {$pro.fonction}
{/if} {if $pro.poste}
Poste : {$pro.poste}
{/if} {include file='geoloc/address.tpl' address=$pro no_div=1 for=$pro.entreprise} {/if}
{else}
Le profil actuel est synchronisé avec les données de l'AX.
{/if}
{/if} {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}