From 6d8ec13c63e3efbe91396273a3bf8449843e10d5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Tue, 2 Mar 2010 14:42:24 +0100 Subject: [PATCH] Removes AX-Xorg synchronisation related code. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Jacob --- modules/admin.php | 1 - templates/admin/ax-xorg.tpl | 96 -------------------------- templates/admin/index.tpl | 8 --- templates/admin/synchro_ax.tpl | 148 ----------------------------------------- 4 files changed, 253 deletions(-) delete mode 100644 templates/admin/ax-xorg.tpl delete mode 100644 templates/admin/synchro_ax.tpl diff --git a/modules/admin.php b/modules/admin.php index 3933b2a..6ce598e 100644 --- a/modules/admin.php +++ b/modules/admin.php @@ -27,7 +27,6 @@ class AdminModule extends PLModule 'phpinfo' => $this->make_hook('phpinfo', AUTH_MDP, 'admin'), 'get_rights' => $this->make_hook('get_rights', AUTH_MDP, 'admin'), 'admin' => $this->make_hook('default', AUTH_MDP, 'admin'), - 'admin/ax-xorg' => $this->make_hook('ax_xorg', AUTH_MDP, 'admin'), 'admin/dead-but-active' => $this->make_hook('dead_but_active', AUTH_MDP, 'admin'), 'admin/deaths' => $this->make_hook('deaths', AUTH_MDP, 'admin'), 'admin/downtime' => $this->make_hook('downtime', AUTH_MDP, 'admin'), diff --git a/templates/admin/ax-xorg.tpl b/templates/admin/ax-xorg.tpl deleted file mode 100644 index 33842d1..0000000 --- a/templates/admin/ax-xorg.tpl +++ /dev/null @@ -1,96 +0,0 @@ -{**************************************************************************} -{* *} -{* Copyright (C) 2003-2010 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 *} -{* *} -{**************************************************************************} - - -

- Vérifier notre table de correspondance entre l'annuaire de l'AX et le nôtre -

- -

- Liste des camarades qui n'apparaissent pas sous le même nom dans les deux annuaires -

- - - - - - - -{foreach item=x from=$diffs} - - - - - -{/foreach} -
PromoNom X.org Prénom X.org Mat X.orgNom AX Prénom AX Mat AX
{$x.promo}{$x.nom} {$x.prenom} {$x.mat}{$x.nomax} {$x.prenomax} {$x.matax}
- -

- {$diffs|@count} camarades ont un état civil différent dans les 2 annuaires. -

- -
-
- -

- Liste des camarades de l'annuaire de l'AX qui manquent à notre annuaire -

- - - - - -{foreach item=x from=$mank} - - - - - -{/foreach} -
Promo Nom Prénom
{$x.promo}{$x.nom} {if $x.nom_patro neq $x.nom}({$c.nom_patro}){/if}{$x.prenom}
-

- {$mank|@count} camarades sont absents de notre annuaire. -

- -
-
- -

- Liste des camarades de notre annuaire qui ne sont pas dans l'annuaire de l'AX -

- - - - - -{foreach item=x from=$plus} - - - -{/foreach} -
Promo Nom Prénom
{$x.promo} {$x.nom} {$x.prenom}
- -

- {$plus|@count} camarades sont absents de l'annuaire de l'AX. -

- -{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *} diff --git a/templates/admin/index.tpl b/templates/admin/index.tpl index dc213dc..9031343 100644 --- a/templates/admin/index.tpl +++ b/templates/admin/index.tpl @@ -103,14 +103,6 @@ Décès - - AX - - AX/X.org -   |   - Synchro AX - - Administration diff --git a/templates/admin/synchro_ax.tpl b/templates/admin/synchro_ax.tpl deleted file mode 100644 index 7a2cedd..0000000 --- a/templates/admin/synchro_ax.tpl +++ /dev/null @@ -1,148 +0,0 @@ -{**************************************************************************} -{* *} -{* Copyright (C) 2003-2010 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: *} -- 2.1.4