| 1 | {**************************************************************************} |
| 2 | {* *} |
| 3 | {* Copyright (C) 2003-2007 Polytechnique.org *} |
| 4 | {* http://opensource.polytechnique.org/ *} |
| 5 | {* *} |
| 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. *} |
| 10 | {* *} |
| 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. *} |
| 15 | {* *} |
| 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 *} |
| 20 | {* *} |
| 21 | {**************************************************************************} |
| 22 | |
| 23 | <h2><a href="fusionax">Fusion des annuaires X.org - AX<a> / Identifiants</h2> |
| 24 | |
| 25 | <p>Le préalable à toute fusion de renseignements pour une personne entre ce |
| 26 | que contient la base AX et ce que contient ce site est bien évidemment de |
| 27 | trouver une correspondance entre les personnes renseignés dans ces annuaires.</p> |
| 28 | |
| 29 | {if $nbMissingInAX} |
| 30 | <h3>Anciens manquants à l'AX</h3> |
| 31 | |
| 32 | <p><a href="fusionax/ids/missingInAX">{$nbMissingInAX} ancien{if $nbMissingInAX > 1}s{/if}</a>.</p> |
| 33 | {/if} |
| 34 | |
| 35 | {if $nbMissingInXorg > 0} |
| 36 | <h3>Anciens manquants à x.org</h3> |
| 37 | |
| 38 | <p><a href="fusionax/ids/missingInXorg">{$nbMissingInXorg} ancien{if $nbMissingInXorg > 1}s{/if}</a>.</p> |
| 39 | {/if} |
| 40 | |
| 41 | <h3>Mettre en correspondance</h3> |
| 42 | <form action="fusionax/ids/lier" method="get"> |
| 43 | Matricule AX : <input name="matricule_ax" value""/><br/> |
| 44 | User ID X.org : <input name="user_id" value=""/><br/> |
| 45 | <input type="submit" value="Lier"/> |
| 46 | </form> |
| 47 | |
| 48 | <p></p> |
| 49 | <h3 id="autolink" name="autolink">Mise en correspondance automatique</h3> |
| 50 | {if $easyToLink} |
| 51 | <p>Ces anciens sont probablement les mêmes (à peu près mêmes nom, prénom, promo)</p> |
| 52 | {include file="fusionax/listFusion.tpl" fusionList=$easyToLink fusionAction="fusionax/ids/link" name="lier" field1="nom_ax" namefield1="Ancien AX"} |
| 53 | <p><a href="fusionax/ids/linknext">Lier toutes les fiches affichées</a></p> |
| 54 | {else} |
| 55 | <p>Aucune correspondance automatique n'a été trouvée (mêmes nom, prénom, promo d'étude).</p> |
| 56 | {/if} |