1 {**************************************************************************}
3 {* Copyright (C) 2003-2006 Polytechnique.org *}
4 {* http://opensource.polytechnique.org/ *}
6 {* This program is free software; you can redistribute it and/or modify *}
7 {* it under the terms of the GNU General Public License as published by *}
8 {* the Free Software Foundation; either version 2 of the License, or *}
9 {* (at your option) any later version. *}
11 {* This program is distributed in the hope that it will be useful, *}
12 {* but WITHOUT ANY WARRANTY; without even the implied warranty of *}
13 {* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *}
14 {* GNU General Public License for more details. *}
16 {* You should have received a copy of the GNU General Public License *}
17 {* along with this program; if not, write to the Free Software *}
18 {* Foundation, Inc., *}
19 {* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *}
21 {**************************************************************************}
24 Synchronisation depuis l'AX
27 <form action='{$smarty.request.PHP_SELF}' method='get'>
28 <table class="tinybicol">
30 <th>Synchroniser un utilisateur</th>
33 <td style='padding:5px'>
34 <input type='text' name='user' value='{$smarty.request.user}' size='40' maxlength='255'/>
35 <input type='submit' value='Chercher' />
42 <form action='{$smarty.request.PHP_SELF}' method='post'>
43 {if $x.profile_from_ax}
44 <div style="text-align:center;margin:5px;background:green">
45 <strong>Cet utilisateur a accepeté la synchronisation</strong>
48 <div style="text-align:center;margin:5px;background:red">
49 <strong>ATTENTION ! Cet utilisateur n'a pas accepté la synchronisation</strong>
52 <div>Les fiches de cet utilisateur :
54 <li><a href='{rel}/fiche.php?user={$x.user_id}' class='popup2'>polytechnique.org</a></li>
55 <li><a href='http://www.polytechniciens.com/index.php?page=AX_FICHE_ANCIEN&anc_id={$x.matricule_ax}'>polytechniciens.com</a></li>
59 <table class="bicol" cellpadding="0" cellspacing="0" border="1">
60 {foreach from=$diff key='k' item='i'}
61 {if ($k neq 'adr') and ($k neq 'adr_pro')}
82 {foreach from=$diff.adr item='adr'}
85 Effacer l'adresse {$adr.adrid}.
87 {if $adr.adrid}Modifier l'adresse {$adr.adrid} :{else}Ajouter l'adresse :{/if}
88 {include file='geoloc/address.tpl' address=$adr no_div=1}
98 {foreach from=$diff.adr_pro item='pro'}
101 Effacer l'emploi {$pro.entrid}.
103 {if $pro.entrid || $pro.entrid === 0}Modifier l'emploi {$pro.entrid} :{else}Ajouter l'emploi :{/if}
106 <em>Entreprise/Organisme : </em> <strong>{$pro.entreprise}</strong>
112 <strong>{$pro.secteur}{if $pro.ss_secteur} ({$pro.ss_secteur}){/if}</strong>
117 <em>Fonction : </em> <strong>{$pro.fonction}</strong>
122 <em>Poste : </em> <strong>{$pro.poste}</strong>
125 {include file='geoloc/address.tpl' address=$pro no_div=1}
132 <input type='hidden' name='user' value='{$smarty.request.user}' />
133 <input type='submit' name='importe' value='Importer' />
137 Le profil actuel est synchronisé avec les données de l'AX.
144 {* vim:set et sw=2 sts=2 sws=2: *}